SecurityIncidentResponse / Client / cancel_membership
cancel_membership#
- SecurityIncidentResponse.Client.cancel_membership(**kwargs)#
- Grants permissions to cancel an existing membership. - See also: AWS API Documentation - Request Syntax- response = client.cancel_membership( membershipId='string' ) - Parameters:
- membershipId (string) – - [REQUIRED] - Required element used in combination with CancelMembershipRequest to identify the membership ID to cancel. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'membershipId': 'string' } - Response Structure- (dict) – - membershipId (string) – - The response element providing responses for requests to CancelMembershipRequest. 
 
 
 - Exceptions- SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededException
- SecurityIncidentResponse.Client.exceptions.AccessDeniedException
- SecurityIncidentResponse.Client.exceptions.ValidationException
- SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException
- SecurityIncidentResponse.Client.exceptions.InternalServerException
- SecurityIncidentResponse.Client.exceptions.ConflictException
- SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException
- SecurityIncidentResponse.Client.exceptions.ThrottlingException
- SecurityIncidentResponse.Client.exceptions.InvalidTokenException