Route53 / Client / update_traffic_policy_comment
update_traffic_policy_comment#
- Route53.Client.update_traffic_policy_comment(**kwargs)#
Updates the comment for a specified traffic policy version.
See also: AWS API Documentation
Request Syntax
response = client.update_traffic_policy_comment( Id='string', Version=123, Comment='string' )
- Parameters:
Id (string) –
[REQUIRED]
The value of
Id
for the traffic policy that you want to update the comment for.Version (integer) –
[REQUIRED]
The value of
Version
for the traffic policy that you want to update the comment for.Comment (string) –
[REQUIRED]
The new comment for the specified traffic policy and version.
- Return type:
dict
- Returns:
Response Syntax
{ 'TrafficPolicy': { 'Id': 'string', 'Version': 123, 'Name': 'string', 'Type': 'SOA'|'A'|'TXT'|'NS'|'CNAME'|'MX'|'NAPTR'|'PTR'|'SRV'|'SPF'|'AAAA'|'CAA'|'DS'|'TLSA'|'SSHFP'|'SVCB'|'HTTPS', 'Document': 'string', 'Comment': 'string' } }
Response Structure
(dict) –
A complex type that contains the response information for the traffic policy.
TrafficPolicy (dict) –
A complex type that contains settings for the specified traffic policy.
Id (string) –
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
Version (integer) –
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of
Version
is always 1.Name (string) –
The name that you specified when you created the traffic policy.
Type (string) –
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
Document (string) –
The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the
CreateTrafficPolicy
request. For more information about the JSON format, see Traffic Policy Document Format.Comment (string) –
The comment that you specify in the
CreateTrafficPolicy
request, if any.
Exceptions