deleteSubscription method
Removes AWS Shield Advanced from an account. AWS Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment.
May throw InternalErrorException. May throw LockedSubscriptionException. May throw ResourceNotFoundException.
Implementation
@Deprecated('Deprecated')
Future<void> deleteSubscription() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSShield_20160616.DeleteSubscription'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
}