deleteLifecyclePolicy method
Future<DeleteLifecyclePolicyResponse>
deleteLifecyclePolicy({
- required String lifecyclePolicyArn,
Delete the specified lifecycle policy resource.
May throw CallRateLimitExceededException.
May throw ClientException.
May throw ForbiddenException.
May throw InvalidRequestException.
May throw ResourceDependencyException.
May throw ServiceException.
May throw ServiceUnavailableException.
Parameter lifecyclePolicyArn :
The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.
Implementation
Future<DeleteLifecyclePolicyResponse> deleteLifecyclePolicy({
required String lifecyclePolicyArn,
}) async {
final $query = <String, List<String>>{
'lifecyclePolicyArn': [lifecyclePolicyArn],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/DeleteLifecyclePolicy',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DeleteLifecyclePolicyResponse.fromJson(response);
}