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.GetTrafficPolicy

Description

Gets information about a specific traffic policy version.

For information about how of deleting a traffic policy affects the response from GetTrafficPolicy, see DeleteTrafficPolicy.

Synopsis

Creating a Request

data GetTrafficPolicy Source #

Gets information about a specific traffic policy version.

See: newGetTrafficPolicy smart constructor.

Constructors

GetTrafficPolicy' 

Fields

  • id :: Text

    The ID of the traffic policy that you want to get information about.

  • version :: Natural

    The version number of the traffic policy that you want to get information about.

Instances

Instances details
Eq GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Read GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Show GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Generic GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Associated Types

type Rep GetTrafficPolicy :: Type -> Type #

NFData GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Methods

rnf :: GetTrafficPolicy -> () #

Hashable GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

AWSRequest GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Associated Types

type AWSResponse GetTrafficPolicy #

ToHeaders GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

ToPath GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

ToQuery GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

type Rep GetTrafficPolicy Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

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

Defined in Amazonka.Route53.GetTrafficPolicy

newGetTrafficPolicy Source #

Create a value of GetTrafficPolicy 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:GetTrafficPolicy', getTrafficPolicy_id - The ID of the traffic policy that you want to get information about.

$sel:version:GetTrafficPolicy', getTrafficPolicy_version - The version number of the traffic policy that you want to get information about.

Request Lenses

getTrafficPolicy_id :: Lens' GetTrafficPolicy Text Source #

The ID of the traffic policy that you want to get information about.

getTrafficPolicy_version :: Lens' GetTrafficPolicy Natural Source #

The version number of the traffic policy that you want to get information about.

Destructuring the Response

data GetTrafficPolicyResponse Source #

A complex type that contains the response information for the request.

See: newGetTrafficPolicyResponse smart constructor.

Constructors

GetTrafficPolicyResponse' 

Fields

Instances

Instances details
Eq GetTrafficPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Read GetTrafficPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Show GetTrafficPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Generic GetTrafficPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

Associated Types

type Rep GetTrafficPolicyResponse :: Type -> Type #

NFData GetTrafficPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

type Rep GetTrafficPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicy

type Rep GetTrafficPolicyResponse = D1 ('MetaData "GetTrafficPolicyResponse" "Amazonka.Route53.GetTrafficPolicy" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "GetTrafficPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "trafficPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrafficPolicy)))

newGetTrafficPolicyResponse Source #

Create a value of GetTrafficPolicyResponse 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:GetTrafficPolicyResponse', getTrafficPolicyResponse_httpStatus - The response's http status code.

$sel:trafficPolicy:GetTrafficPolicyResponse', getTrafficPolicyResponse_trafficPolicy - A complex type that contains settings for the specified traffic policy.

Response Lenses

getTrafficPolicyResponse_trafficPolicy :: Lens' GetTrafficPolicyResponse TrafficPolicy Source #

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