| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Route53.GetTrafficPolicy
Description
Gets information about a specific traffic policy version.
Synopsis
- getTrafficPolicy :: Text -> Natural -> GetTrafficPolicy
- data GetTrafficPolicy
- gtpId :: Lens' GetTrafficPolicy Text
- gtpVersion :: Lens' GetTrafficPolicy Natural
- getTrafficPolicyResponse :: Int -> TrafficPolicy -> GetTrafficPolicyResponse
- data GetTrafficPolicyResponse
- gtprsResponseStatus :: Lens' GetTrafficPolicyResponse Int
- gtprsTrafficPolicy :: Lens' GetTrafficPolicyResponse TrafficPolicy
Creating a Request
Arguments
| :: Text | |
| -> Natural | |
| -> GetTrafficPolicy |
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:
gtpId- The ID of the traffic policy that you want to get information about.gtpVersion- The version number of the traffic policy that you want to get information about.
data GetTrafficPolicy Source #
Gets information about a specific traffic policy version.
See: getTrafficPolicy smart constructor.
Instances
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:
gtprsResponseStatus- -- | The response status code.gtprsTrafficPolicy- A complex type that contains settings for the specified traffic policy.
data GetTrafficPolicyResponse Source #
A complex type that contains the response information for the request.
See: getTrafficPolicyResponse smart constructor.
Instances
Response Lenses
gtprsResponseStatus :: Lens' GetTrafficPolicyResponse Int Source #
- - | The response status code.
gtprsTrafficPolicy :: Lens' GetTrafficPolicyResponse TrafficPolicy Source #
A complex type that contains settings for the specified traffic policy.