update_contact_channel
(**kwargs)¶Updates a contact's contact channel.
See also: AWS API Documentation
Request Syntax
response = client.update_contact_channel(
ContactChannelId='string',
Name='string',
DeliveryAddress={
'SimpleAddress': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the contact channel you want to update.
The details that Incident Manager uses when trying to engage the contact channel.
The format is dependent on the type of the contact channel. The following are the expected formats:
dict
Response Syntax
{}
Response Structure
Exceptions
SSMContacts.Client.exceptions.AccessDeniedException
SSMContacts.Client.exceptions.ConflictException
SSMContacts.Client.exceptions.DataEncryptionException
SSMContacts.Client.exceptions.InternalServerException
SSMContacts.Client.exceptions.ResourceNotFoundException
SSMContacts.Client.exceptions.ThrottlingException
SSMContacts.Client.exceptions.ValidationException
Examples
The following update-contact-channel example updates the name and delivery address of a contact channel.
response = client.update_contact_channel(
ContactChannelId='arn:aws:ssm-contacts:us-east-2:111122223333:contact-channel/akuam/49f3c24d-5f9f-4638-ae25-3f49e04229ad',
DeliveryAddress={
'SimpleAddress': '+15005550198',
},
Name='akuas voice channel',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}