Copyright | (c) 2013-2021 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 |
Gets the number of traffic policy instances that are associated with the current Amazon Web Services account.
Synopsis
- data GetTrafficPolicyInstanceCount = GetTrafficPolicyInstanceCount' {
- newGetTrafficPolicyInstanceCount :: GetTrafficPolicyInstanceCount
- data GetTrafficPolicyInstanceCountResponse = GetTrafficPolicyInstanceCountResponse' {}
- newGetTrafficPolicyInstanceCountResponse :: Int -> Int -> GetTrafficPolicyInstanceCountResponse
- getTrafficPolicyInstanceCountResponse_httpStatus :: Lens' GetTrafficPolicyInstanceCountResponse Int
- getTrafficPolicyInstanceCountResponse_trafficPolicyInstanceCount :: Lens' GetTrafficPolicyInstanceCountResponse Int
Creating a Request
data GetTrafficPolicyInstanceCount Source #
Request to get the number of traffic policy instances that are associated with the current Amazon Web Services account.
See: newGetTrafficPolicyInstanceCount
smart constructor.
Instances
newGetTrafficPolicyInstanceCount :: GetTrafficPolicyInstanceCount Source #
Create a value of GetTrafficPolicyInstanceCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetTrafficPolicyInstanceCountResponse Source #
A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy.
See: newGetTrafficPolicyInstanceCountResponse
smart constructor.
GetTrafficPolicyInstanceCountResponse' | |
|
Instances
newGetTrafficPolicyInstanceCountResponse Source #
:: Int | |
-> Int |
|
-> GetTrafficPolicyInstanceCountResponse |
Create a value of GetTrafficPolicyInstanceCountResponse
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:GetTrafficPolicyInstanceCountResponse'
, getTrafficPolicyInstanceCountResponse_httpStatus
- The response's http status code.
$sel:trafficPolicyInstanceCount:GetTrafficPolicyInstanceCountResponse'
, getTrafficPolicyInstanceCountResponse_trafficPolicyInstanceCount
- The number of traffic policy instances that are associated with the
current Amazon Web Services account.
Response Lenses
getTrafficPolicyInstanceCountResponse_httpStatus :: Lens' GetTrafficPolicyInstanceCountResponse Int Source #
The response's http status code.
getTrafficPolicyInstanceCountResponse_trafficPolicyInstanceCount :: Lens' GetTrafficPolicyInstanceCountResponse Int Source #
The number of traffic policy instances that are associated with the current Amazon Web Services account.