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 |
Synopsis
- data TrafficPolicySummary = TrafficPolicySummary' {
- id :: Text
- name :: Text
- type' :: RRType
- latestVersion :: Natural
- trafficPolicyCount :: Natural
- newTrafficPolicySummary :: Text -> Text -> RRType -> Natural -> Natural -> TrafficPolicySummary
- trafficPolicySummary_id :: Lens' TrafficPolicySummary Text
- trafficPolicySummary_name :: Lens' TrafficPolicySummary Text
- trafficPolicySummary_type :: Lens' TrafficPolicySummary RRType
- trafficPolicySummary_latestVersion :: Lens' TrafficPolicySummary Natural
- trafficPolicySummary_trafficPolicyCount :: Lens' TrafficPolicySummary Natural
Documentation
data TrafficPolicySummary Source #
A complex type that contains information about the latest version of one traffic policy that is associated with the current Amazon Web Services account.
See: newTrafficPolicySummary
smart constructor.
TrafficPolicySummary' | |
|
Instances
newTrafficPolicySummary Source #
Create a value of TrafficPolicySummary
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:TrafficPolicySummary'
, trafficPolicySummary_id
- The ID that Amazon Route 53 assigned to the traffic policy when you
created it.
$sel:name:TrafficPolicySummary'
, trafficPolicySummary_name
- The name that you specified for the traffic policy when you created it.
$sel:type':TrafficPolicySummary'
, trafficPolicySummary_type
- The DNS type of the resource record sets that Amazon Route 53 creates
when you use a traffic policy to create a traffic policy instance.
$sel:latestVersion:TrafficPolicySummary'
, trafficPolicySummary_latestVersion
- The version number of the latest version of the traffic policy.
$sel:trafficPolicyCount:TrafficPolicySummary'
, trafficPolicySummary_trafficPolicyCount
- The number of traffic policies that are associated with the current
Amazon Web Services account.
trafficPolicySummary_id :: Lens' TrafficPolicySummary Text Source #
The ID that Amazon Route 53 assigned to the traffic policy when you created it.
trafficPolicySummary_name :: Lens' TrafficPolicySummary Text Source #
The name that you specified for the traffic policy when you created it.
trafficPolicySummary_type :: Lens' TrafficPolicySummary RRType Source #
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
trafficPolicySummary_latestVersion :: Lens' TrafficPolicySummary Natural Source #
The version number of the latest version of the traffic policy.
trafficPolicySummary_trafficPolicyCount :: Lens' TrafficPolicySummary Natural Source #
The number of traffic policies that are associated with the current Amazon Web Services account.