Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Route53.UpdateTrafficPolicyComment
Description
Updates the comment for a specified traffic policy version.
- updateTrafficPolicyComment :: Text -> Natural -> Text -> UpdateTrafficPolicyComment
- data UpdateTrafficPolicyComment
- utpcId :: Lens' UpdateTrafficPolicyComment Text
- utpcVersion :: Lens' UpdateTrafficPolicyComment Natural
- utpcComment :: Lens' UpdateTrafficPolicyComment Text
- updateTrafficPolicyCommentResponse :: Int -> TrafficPolicy -> UpdateTrafficPolicyCommentResponse
- data UpdateTrafficPolicyCommentResponse
- utpcrsResponseStatus :: Lens' UpdateTrafficPolicyCommentResponse Int
- utpcrsTrafficPolicy :: Lens' UpdateTrafficPolicyCommentResponse TrafficPolicy
Creating a Request
Arguments
:: Text | |
-> Natural | |
-> Text | |
-> UpdateTrafficPolicyComment |
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:
utpcId
- The value ofId
for the traffic policy that you want to update the comment for.utpcVersion
- The value ofVersion
for the traffic policy that you want to update the comment for.utpcComment
- The new comment for the specified traffic policy and version.
data UpdateTrafficPolicyComment #
A complex type that contains information about the traffic policy that you want to update the comment for.
See: updateTrafficPolicyComment
smart constructor.
Instances
Request Lenses
utpcId :: Lens' UpdateTrafficPolicyComment Text #
The value of Id
for the traffic policy that you want to update the comment for.
utpcVersion :: Lens' UpdateTrafficPolicyComment Natural #
The value of Version
for the traffic policy that you want to update the comment for.
utpcComment :: Lens' UpdateTrafficPolicyComment Text #
The new comment for the specified traffic policy and version.
Destructuring the Response
updateTrafficPolicyCommentResponse #
Arguments
:: Int | |
-> TrafficPolicy | |
-> UpdateTrafficPolicyCommentResponse |
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:
utpcrsResponseStatus
- -- | The response status code.utpcrsTrafficPolicy
- A complex type that contains settings for the specified traffic policy.
data UpdateTrafficPolicyCommentResponse #
A complex type that contains the response information for the traffic policy.
See: updateTrafficPolicyCommentResponse
smart constructor.
Instances
Response Lenses
utpcrsResponseStatus :: Lens' UpdateTrafficPolicyCommentResponse Int #
- - | The response status code.
utpcrsTrafficPolicy :: Lens' UpdateTrafficPolicyCommentResponse TrafficPolicy #
A complex type that contains settings for the specified traffic policy.