describePage method
Lists details of the engagement to a contact channel.
May throw AccessDeniedException.
May throw DataEncryptionException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter pageId :
The ID of the engagement to a contact channel.
Implementation
Future<DescribePageResult> describePage({
required String pageId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SSMContacts.DescribePage'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'PageId': pageId,
},
);
return DescribePageResult.fromJson(jsonResponse.body);
}