| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53.UpdateTrafficPolicyComment
Description
Updates the comment for a specified traffic policy version.
Synopsis
- data UpdateTrafficPolicyComment = UpdateTrafficPolicyComment' {}
- newUpdateTrafficPolicyComment :: Text -> Natural -> Text -> UpdateTrafficPolicyComment
- updateTrafficPolicyComment_id :: Lens' UpdateTrafficPolicyComment Text
- updateTrafficPolicyComment_version :: Lens' UpdateTrafficPolicyComment Natural
- updateTrafficPolicyComment_comment :: Lens' UpdateTrafficPolicyComment Text
- data UpdateTrafficPolicyCommentResponse = UpdateTrafficPolicyCommentResponse' {}
- newUpdateTrafficPolicyCommentResponse :: Int -> TrafficPolicy -> UpdateTrafficPolicyCommentResponse
- updateTrafficPolicyCommentResponse_httpStatus :: Lens' UpdateTrafficPolicyCommentResponse Int
- updateTrafficPolicyCommentResponse_trafficPolicy :: Lens' UpdateTrafficPolicyCommentResponse TrafficPolicy
Creating a Request
data UpdateTrafficPolicyComment Source #
A complex type that contains information about the traffic policy that you want to update the comment for.
See: newUpdateTrafficPolicyComment smart constructor.
Constructors
| UpdateTrafficPolicyComment' | |
Instances
newUpdateTrafficPolicyComment Source #
Arguments
| :: Text | |
| -> Natural | |
| -> Text | |
| -> UpdateTrafficPolicyComment |
Create a value of UpdateTrafficPolicyComment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateTrafficPolicyComment, updateTrafficPolicyComment_id - The value of Id for the traffic policy that you want to update the
comment for.
UpdateTrafficPolicyComment, updateTrafficPolicyComment_version - The value of Version for the traffic policy that you want to update
the comment for.
UpdateTrafficPolicyComment, updateTrafficPolicyComment_comment - The new comment for the specified traffic policy and version.
Request Lenses
updateTrafficPolicyComment_id :: Lens' UpdateTrafficPolicyComment Text Source #
The value of Id for the traffic policy that you want to update the
comment for.
updateTrafficPolicyComment_version :: Lens' UpdateTrafficPolicyComment Natural Source #
The value of Version for the traffic policy that you want to update
the comment for.
updateTrafficPolicyComment_comment :: Lens' UpdateTrafficPolicyComment Text Source #
The new comment for the specified traffic policy and version.
Destructuring the Response
data UpdateTrafficPolicyCommentResponse Source #
A complex type that contains the response information for the traffic policy.
See: newUpdateTrafficPolicyCommentResponse smart constructor.
Constructors
| UpdateTrafficPolicyCommentResponse' | |
Fields
| |
Instances
newUpdateTrafficPolicyCommentResponse Source #
Arguments
| :: Int | |
| -> TrafficPolicy | |
| -> UpdateTrafficPolicyCommentResponse |
Create a value of UpdateTrafficPolicyCommentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateTrafficPolicyCommentResponse', updateTrafficPolicyCommentResponse_httpStatus - The response's http status code.
$sel:trafficPolicy:UpdateTrafficPolicyCommentResponse', updateTrafficPolicyCommentResponse_trafficPolicy - A complex type that contains settings for the specified traffic policy.
Response Lenses
updateTrafficPolicyCommentResponse_httpStatus :: Lens' UpdateTrafficPolicyCommentResponse Int Source #
The response's http status code.
updateTrafficPolicyCommentResponse_trafficPolicy :: Lens' UpdateTrafficPolicyCommentResponse TrafficPolicy Source #
A complex type that contains settings for the specified traffic policy.