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

Amazonka.Route53.Types.TrafficPolicySummary

Description

 
Synopsis

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.

Constructors

TrafficPolicySummary' 

Fields

  • id :: Text

    The ID that Amazon Route 53 assigned to the traffic policy when you created it.

  • name :: Text

    The name that you specified for the traffic policy when you created it.

  • type' :: RRType

    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.

  • latestVersion :: Natural

    The version number of the latest version of the traffic policy.

  • trafficPolicyCount :: Natural

    The number of traffic policies that are associated with the current Amazon Web Services account.

Instances

Instances details
Eq TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

Read TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

Show TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

Generic TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

Associated Types

type Rep TrafficPolicySummary :: Type -> Type #

NFData TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

Methods

rnf :: TrafficPolicySummary -> () #

Hashable TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

FromXML TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

type Rep TrafficPolicySummary Source # 
Instance details

Defined in Amazonka.Route53.Types.TrafficPolicySummary

type Rep TrafficPolicySummary = D1 ('MetaData "TrafficPolicySummary" "Amazonka.Route53.Types.TrafficPolicySummary" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "TrafficPolicySummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RRType) :*: (S1 ('MetaSel ('Just "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "trafficPolicyCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))

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.