amazonka-route53-1.4.0: Amazon Route 53 SDK.

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

Network.AWS.Route53.GetTrafficPolicyInstance

Contents

Description

Gets information about a specified traffic policy instance.

To get information about the traffic policy instance, send a GET request to the '/Route 53 API version/trafficpolicyinstance' resource.

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.

Synopsis

Creating a Request

getTrafficPolicyInstance Source

Creates a value of GetTrafficPolicyInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gtpiId :: Lens' GetTrafficPolicyInstance Text Source

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

Destructuring the Response

getTrafficPolicyInstanceResponse Source

Creates a value of GetTrafficPolicyInstanceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gtpirsTrafficPolicyInstance :: Lens' GetTrafficPolicyInstanceResponse TrafficPolicyInstance Source

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