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

Contents

Description

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

Synopsis

Creating a Request

getTrafficPolicy Source

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

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

data GetTrafficPolicy Source

Gets information about a specific traffic policy version. To get the information, send a GET request to the //Route 53 API version//trafficpolicy resource, and specify the ID and the version of the traffic policy.

See: getTrafficPolicy smart constructor.

Request Lenses

gtpId :: Lens' GetTrafficPolicy Text Source

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

gtpVersion :: Lens' GetTrafficPolicy Natural Source

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

Destructuring the Response

getTrafficPolicyResponse Source

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

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

Response Lenses

gtprsTrafficPolicy :: Lens' GetTrafficPolicyResponse TrafficPolicy Source

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