amazonka-autoscaling-2.0: Amazon Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AutoScaling.DescribeTrafficSources

Description

__Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change.__

Gets information about the traffic sources for the specified Auto Scaling group.

Synopsis

Creating a Request

data DescribeTrafficSources Source #

See: newDescribeTrafficSources smart constructor.

Constructors

DescribeTrafficSources' 

Fields

Instances

Instances details
ToHeaders DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

ToPath DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

ToQuery DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

AWSRequest DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Associated Types

type AWSResponse DescribeTrafficSources #

Generic DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Associated Types

type Rep DescribeTrafficSources :: Type -> Type #

Read DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Show DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

NFData DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Methods

rnf :: DescribeTrafficSources -> () #

Eq DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Hashable DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

type AWSResponse DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

type Rep DescribeTrafficSources Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

type Rep DescribeTrafficSources = D1 ('MetaData "DescribeTrafficSources" "Amazonka.AutoScaling.DescribeTrafficSources" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DescribeTrafficSources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "trafficSourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDescribeTrafficSources Source #

Create a value of DescribeTrafficSources 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:maxRecords:DescribeTrafficSources', describeTrafficSources_maxRecords - The maximum number of items to return with this call. The maximum value is 50.

DescribeTrafficSources, describeTrafficSources_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

DescribeTrafficSources, describeTrafficSources_autoScalingGroupName - The name of the Auto Scaling group.

$sel:trafficSourceType:DescribeTrafficSources', describeTrafficSources_trafficSourceType - The type of traffic source you are describing. Currently, the only valid value is vpc-lattice.

Request Lenses

describeTrafficSources_maxRecords :: Lens' DescribeTrafficSources (Maybe Int) Source #

The maximum number of items to return with this call. The maximum value is 50.

describeTrafficSources_nextToken :: Lens' DescribeTrafficSources (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

describeTrafficSources_trafficSourceType :: Lens' DescribeTrafficSources Text Source #

The type of traffic source you are describing. Currently, the only valid value is vpc-lattice.

Destructuring the Response

data DescribeTrafficSourcesResponse Source #

See: newDescribeTrafficSourcesResponse smart constructor.

Constructors

DescribeTrafficSourcesResponse' 

Fields

  • nextToken :: Maybe Text

    This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.

  • trafficSources :: Maybe [TrafficSourceState]

    Information about the traffic sources.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Associated Types

type Rep DescribeTrafficSourcesResponse :: Type -> Type #

Read DescribeTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Show DescribeTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

NFData DescribeTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

Eq DescribeTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

type Rep DescribeTrafficSourcesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTrafficSources

type Rep DescribeTrafficSourcesResponse = D1 ('MetaData "DescribeTrafficSourcesResponse" "Amazonka.AutoScaling.DescribeTrafficSources" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DescribeTrafficSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "trafficSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TrafficSourceState])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTrafficSourcesResponse Source #

Create a value of DescribeTrafficSourcesResponse 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:

DescribeTrafficSources, describeTrafficSourcesResponse_nextToken - This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.

DescribeTrafficSourcesResponse, describeTrafficSourcesResponse_trafficSources - Information about the traffic sources.

$sel:httpStatus:DescribeTrafficSourcesResponse', describeTrafficSourcesResponse_httpStatus - The response's http status code.

Response Lenses

describeTrafficSourcesResponse_nextToken :: Lens' DescribeTrafficSourcesResponse (Maybe Text) Source #

This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.