OpenSearchServiceServerless / Client / delete_lifecycle_policy
delete_lifecycle_policy#
- OpenSearchServiceServerless.Client.delete_lifecycle_policy(**kwargs)#
- Deletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies. - See also: AWS API Documentation - Request Syntax- response = client.delete_lifecycle_policy( clientToken='string', name='string', type='retention' ) - Parameters:
- clientToken (string) – - Unique, case-sensitive identifier to ensure idempotency of the request. - This field is autopopulated if not provided. 
- name (string) – - [REQUIRED] - The name of the policy to delete. 
- type (string) – - [REQUIRED] - The type of lifecycle policy. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- OpenSearchServiceServerless.Client.exceptions.InternalServerException
- OpenSearchServiceServerless.Client.exceptions.ResourceNotFoundException
- OpenSearchServiceServerless.Client.exceptions.ConflictException
- OpenSearchServiceServerless.Client.exceptions.ValidationException