deleteDeliveryDestinationPolicy method
Deletes a delivery destination policy. For more information about these policies, see PutDeliveryDestinationPolicy.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ValidationException.
Parameter deliveryDestinationName :
The name of the delivery destination that you want to delete the policy
for.
Implementation
Future<void> deleteDeliveryDestinationPolicy({
required String deliveryDestinationName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Logs_20140328.DeleteDeliveryDestinationPolicy'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'deliveryDestinationName': deliveryDestinationName,
},
);
}