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

Description

Gets information about the traffic policy instances that you created by using a specify traffic policy version.

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100.

Synopsis

Creating a Request

data ListTrafficPolicyInstancesByPolicy Source #

A complex type that contains the information about the request to list your traffic policy instances.

See: newListTrafficPolicyInstancesByPolicy smart constructor.

Constructors

ListTrafficPolicyInstancesByPolicy' 

Fields

  • trafficPolicyInstanceTypeMarker :: Maybe RRType

    If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

    For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

    If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

  • maxItems :: Maybe Text

    The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

  • hostedZoneIdMarker :: Maybe ResourceId

    If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

    For the value of hostedzoneid, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

    If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

  • trafficPolicyInstanceNameMarker :: Maybe Text

    If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

    For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

    If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

  • trafficPolicyId :: Text

    The ID of the traffic policy for which you want to list traffic policy instances.

  • trafficPolicyVersion :: Natural

    The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

Instances

Instances details
Eq ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Read ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Show ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Generic ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Associated Types

type Rep ListTrafficPolicyInstancesByPolicy :: Type -> Type #

NFData ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Hashable ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

AWSRequest ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

ToHeaders ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

ToPath ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

ToQuery ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicy = D1 ('MetaData "ListTrafficPolicyInstancesByPolicy" "Amazonka.Route53.ListTrafficPolicyInstancesByPolicy" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ListTrafficPolicyInstancesByPolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "trafficPolicyInstanceTypeMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RRType)) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostedZoneIdMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceId)))) :*: (S1 ('MetaSel ('Just "trafficPolicyInstanceNameMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "trafficPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "trafficPolicyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))
type AWSResponse ListTrafficPolicyInstancesByPolicy Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

newListTrafficPolicyInstancesByPolicy Source #

Create a value of ListTrafficPolicyInstancesByPolicy 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:trafficPolicyInstanceTypeMarker:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicy_trafficPolicyInstanceTypeMarker - If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

$sel:maxItems:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicy_maxItems - The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

$sel:hostedZoneIdMarker:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicy_hostedZoneIdMarker - If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of hostedzoneid, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

$sel:trafficPolicyInstanceNameMarker:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicy_trafficPolicyInstanceNameMarker - If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

$sel:trafficPolicyId:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicy_trafficPolicyId - The ID of the traffic policy for which you want to list traffic policy instances.

$sel:trafficPolicyVersion:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicy_trafficPolicyVersion - The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

Request Lenses

listTrafficPolicyInstancesByPolicy_trafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe RRType) Source #

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

listTrafficPolicyInstancesByPolicy_maxItems :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text) Source #

The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

listTrafficPolicyInstancesByPolicy_hostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe ResourceId) Source #

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of hostedzoneid, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

listTrafficPolicyInstancesByPolicy_trafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text) Source #

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

listTrafficPolicyInstancesByPolicy_trafficPolicyId :: Lens' ListTrafficPolicyInstancesByPolicy Text Source #

The ID of the traffic policy for which you want to list traffic policy instances.

listTrafficPolicyInstancesByPolicy_trafficPolicyVersion :: Lens' ListTrafficPolicyInstancesByPolicy Natural Source #

The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

Destructuring the Response

data ListTrafficPolicyInstancesByPolicyResponse Source #

A complex type that contains the response information for the request.

See: newListTrafficPolicyInstancesByPolicyResponse smart constructor.

Constructors

ListTrafficPolicyInstancesByPolicyResponse' 

Fields

  • trafficPolicyInstanceTypeMarker :: Maybe RRType

    If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

  • hostedZoneIdMarker :: Maybe ResourceId

    If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.

  • trafficPolicyInstanceNameMarker :: Maybe Text

    If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

  • httpStatus :: Int

    The response's http status code.

  • trafficPolicyInstances :: [TrafficPolicyInstance]

    A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

  • isTruncated :: Bool

    A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

  • maxItems :: Text

    The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

Instances

Instances details
Eq ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Read ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Show ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

Generic ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

NFData ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicyResponse Source # 
Instance details

Defined in Amazonka.Route53.ListTrafficPolicyInstancesByPolicy

type Rep ListTrafficPolicyInstancesByPolicyResponse = D1 ('MetaData "ListTrafficPolicyInstancesByPolicyResponse" "Amazonka.Route53.ListTrafficPolicyInstancesByPolicy" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ListTrafficPolicyInstancesByPolicyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "trafficPolicyInstanceTypeMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RRType)) :*: (S1 ('MetaSel ('Just "hostedZoneIdMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceId)) :*: S1 ('MetaSel ('Just "trafficPolicyInstanceNameMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "trafficPolicyInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TrafficPolicyInstance])) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListTrafficPolicyInstancesByPolicyResponse Source #

Create a value of ListTrafficPolicyInstancesByPolicyResponse 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:trafficPolicyInstanceTypeMarker:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicyResponse_trafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

$sel:hostedZoneIdMarker:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicyResponse_hostedZoneIdMarker - If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.

$sel:trafficPolicyInstanceNameMarker:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicyResponse_trafficPolicyInstanceNameMarker - If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

$sel:httpStatus:ListTrafficPolicyInstancesByPolicyResponse', listTrafficPolicyInstancesByPolicyResponse_httpStatus - The response's http status code.

$sel:trafficPolicyInstances:ListTrafficPolicyInstancesByPolicyResponse', listTrafficPolicyInstancesByPolicyResponse_trafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

$sel:isTruncated:ListTrafficPolicyInstancesByPolicyResponse', listTrafficPolicyInstancesByPolicyResponse_isTruncated - A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

$sel:maxItems:ListTrafficPolicyInstancesByPolicy', listTrafficPolicyInstancesByPolicyResponse_maxItems - The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

Response Lenses

listTrafficPolicyInstancesByPolicyResponse_trafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe RRType) Source #

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

listTrafficPolicyInstancesByPolicyResponse_hostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe ResourceId) Source #

If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.

listTrafficPolicyInstancesByPolicyResponse_trafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe Text) Source #

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

listTrafficPolicyInstancesByPolicyResponse_trafficPolicyInstances :: Lens' ListTrafficPolicyInstancesByPolicyResponse [TrafficPolicyInstance] Source #

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

listTrafficPolicyInstancesByPolicyResponse_isTruncated :: Lens' ListTrafficPolicyInstancesByPolicyResponse Bool Source #

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

listTrafficPolicyInstancesByPolicyResponse_maxItems :: Lens' ListTrafficPolicyInstancesByPolicyResponse Text Source #

The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.