amazonka-route53-1.3.7: Amazon Route 53 SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.UpdateTrafficPolicyComment

Contents

Description

Updates the comment for a specified traffic policy version.

To update the comment, send a POST request to the '\/2013-04-01\/trafficpolicy\/' resource.

The request body must include an XML document with an UpdateTrafficPolicyCommentRequest element.

See: AWS API Reference for UpdateTrafficPolicyComment.

Synopsis

Creating a Request

updateTrafficPolicyComment Source

Creates a value of UpdateTrafficPolicyComment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

utpcId :: Lens' UpdateTrafficPolicyComment Text Source

The value of Id for the traffic policy for which you want to update the comment.

utpcVersion :: Lens' UpdateTrafficPolicyComment Natural Source

The value of Version for the traffic policy for which you want to update the comment.

utpcComment :: Lens' UpdateTrafficPolicyComment Text Source

The new comment for the specified traffic policy and version.

Destructuring the Response

updateTrafficPolicyCommentResponse Source

Creates a value of UpdateTrafficPolicyCommentResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

utpcrsTrafficPolicy :: Lens' UpdateTrafficPolicyCommentResponse TrafficPolicy Source

A complex type that contains settings for the specified traffic policy.