CustomerProfiles / Client / delete_segment_subscription
delete_segment_subscription¶
- CustomerProfiles.Client.delete_segment_subscription(**kwargs)¶
Deletes a segment subscription for membership events. All active event notifications for this segment are stopped.
See also: AWS API Documentation
Request Syntax
response = client.delete_segment_subscription( DomainName='string', SegmentDefinitionName='string' )
- Parameters:
DomainName (string) –
[REQUIRED]
The unique name of the domain.
SegmentDefinitionName (string) –
[REQUIRED]
The unique name of the segment definition.
- Return type:
dict
- Returns:
Response Syntax
{ 'Message': 'string' }
Response Structure
(dict) –
Message (string) –
A confirmation message indicating the subscription was deleted successfully.
Exceptions
CustomerProfiles.Client.exceptions.ResourceNotFoundExceptionCustomerProfiles.Client.exceptions.InternalServerExceptionCustomerProfiles.Client.exceptions.BadRequestExceptionCustomerProfiles.Client.exceptions.ThrottlingExceptionCustomerProfiles.Client.exceptions.AccessDeniedException