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

Amazonka.Route53.UpdateTrafficPolicyComment

Description

Updates the comment for a specified traffic policy version.

Synopsis

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' 

Fields

  • id :: Text

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

  • version :: Natural

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

  • comment :: Text

    The new comment for the specified traffic policy and version.

Instances

Instances details
Eq UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Read UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Show UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Generic UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Associated Types

type Rep UpdateTrafficPolicyComment :: Type -> Type #

NFData UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Hashable UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

AWSRequest UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

ToHeaders UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

ToPath UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

ToQuery UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

ToElement UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

ToXML UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

type Rep UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

type Rep UpdateTrafficPolicyComment = D1 ('MetaData "UpdateTrafficPolicyComment" "Amazonka.Route53.UpdateTrafficPolicyComment" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "UpdateTrafficPolicyComment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateTrafficPolicyComment Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

newUpdateTrafficPolicyComment Source #

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.

Constructors

UpdateTrafficPolicyCommentResponse' 

Fields

Instances

Instances details
Eq UpdateTrafficPolicyCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Read UpdateTrafficPolicyCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Show UpdateTrafficPolicyCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Generic UpdateTrafficPolicyCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

Associated Types

type Rep UpdateTrafficPolicyCommentResponse :: Type -> Type #

NFData UpdateTrafficPolicyCommentResponse Source # 
Instance details

Defined in Amazonka.Route53.UpdateTrafficPolicyComment

type Rep UpdateTrafficPolicyCommentResponse Source # 
Instance details

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_trafficPolicy :: Lens' UpdateTrafficPolicyCommentResponse TrafficPolicy Source #

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