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

Description

Gets information about a specified traffic policy instance.

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

In the Route 53 console, traffic policy instances are known as policy records.

Synopsis

Creating a Request

data GetTrafficPolicyInstance Source #

Gets information about a specified traffic policy instance.

See: newGetTrafficPolicyInstance smart constructor.

Constructors

GetTrafficPolicyInstance' 

Fields

  • id :: Text

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

Instances

Instances details
Eq GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Read GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Show GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Generic GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Associated Types

type Rep GetTrafficPolicyInstance :: Type -> Type #

NFData GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Hashable GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

AWSRequest GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

ToHeaders GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

ToPath GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

ToQuery GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

type Rep GetTrafficPolicyInstance Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

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

Defined in Amazonka.Route53.GetTrafficPolicyInstance

newGetTrafficPolicyInstance Source #

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

Request Lenses

getTrafficPolicyInstance_id :: Lens' GetTrafficPolicyInstance Text Source #

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

Destructuring the Response

data GetTrafficPolicyInstanceResponse Source #

A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy.

See: newGetTrafficPolicyInstanceResponse smart constructor.

Constructors

GetTrafficPolicyInstanceResponse' 

Fields

Instances

Instances details
Eq GetTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Read GetTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Show GetTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Generic GetTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

Associated Types

type Rep GetTrafficPolicyInstanceResponse :: Type -> Type #

NFData GetTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

type Rep GetTrafficPolicyInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53.GetTrafficPolicyInstance

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

newGetTrafficPolicyInstanceResponse Source #

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

$sel:trafficPolicyInstance:GetTrafficPolicyInstanceResponse', getTrafficPolicyInstanceResponse_trafficPolicyInstance - A complex type that contains settings for the traffic policy instance.

Response Lenses