getDeliveryDestination method
Retrieves complete information about one delivery destination.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw ValidationException.
Parameter name :
The name of the delivery destination that you want to retrieve.
Implementation
Future<GetDeliveryDestinationResponse> getDeliveryDestination({
required String name,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Logs_20140328.GetDeliveryDestination'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'name': name,
},
);
return GetDeliveryDestinationResponse.fromJson(jsonResponse.body);
}