Copyright | (c) 2013-2021 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 |
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.
Instances
newUpdateTrafficPolicyComment Source #
:: 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:
$sel:id:UpdateTrafficPolicyComment'
, updateTrafficPolicyComment_id
- The value of Id
for the traffic policy that you want to update the
comment for.
$sel:version:UpdateTrafficPolicyComment'
, updateTrafficPolicyComment_version
- The value of Version
for the traffic policy that you want to update
the comment for.
$sel:comment: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.
UpdateTrafficPolicyCommentResponse' | |
|
Instances
Eq UpdateTrafficPolicyCommentResponse Source # | |
Read UpdateTrafficPolicyCommentResponse Source # | |
Show UpdateTrafficPolicyCommentResponse Source # | |
Generic UpdateTrafficPolicyCommentResponse Source # | |
NFData UpdateTrafficPolicyCommentResponse Source # | |
Defined in Amazonka.Route53.UpdateTrafficPolicyComment rnf :: UpdateTrafficPolicyCommentResponse -> () # | |
type Rep UpdateTrafficPolicyCommentResponse Source # | |
Defined in Amazonka.Route53.UpdateTrafficPolicyComment type Rep UpdateTrafficPolicyCommentResponse = D1 ('MetaData "UpdateTrafficPolicyCommentResponse" "Amazonka.Route53.UpdateTrafficPolicyComment" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "UpdateTrafficPolicyCommentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "trafficPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrafficPolicy))) |
newUpdateTrafficPolicyCommentResponse Source #
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.