libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
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.AutoScaling.DescribeTags

Description

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTags Source #

See: newDescribeTags smart constructor.

Constructors

DescribeTags' 

Fields

  • filters :: Maybe [Filter]

    One or more filters to scope the tags to return. The maximum number of filters per filter type (for example, auto-scaling-group) is 1000.

  • nextToken :: Maybe Text

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

  • maxRecords :: Maybe Int

    The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

Instances

Instances details
Eq DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Read DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Show DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Generic DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Associated Types

type Rep DescribeTags :: Type -> Type #

NFData DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Methods

rnf :: DescribeTags -> () #

Hashable DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

AWSPager DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

AWSRequest DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Associated Types

type AWSResponse DescribeTags #

ToHeaders DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

ToPath DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

ToQuery DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

type Rep DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

type Rep DescribeTags = D1 ('MetaData "DescribeTags" "Amazonka.AutoScaling.DescribeTags" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeTags Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

newDescribeTags :: DescribeTags Source #

Create a value of DescribeTags 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:filters:DescribeTags', describeTags_filters - One or more filters to scope the tags to return. The maximum number of filters per filter type (for example, auto-scaling-group) is 1000.

$sel:nextToken:DescribeTags', describeTags_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:maxRecords:DescribeTags', describeTags_maxRecords - The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

Request Lenses

describeTags_filters :: Lens' DescribeTags (Maybe [Filter]) Source #

One or more filters to scope the tags to return. The maximum number of filters per filter type (for example, auto-scaling-group) is 1000.

describeTags_nextToken :: Lens' DescribeTags (Maybe Text) Source #

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

describeTags_maxRecords :: Lens' DescribeTags (Maybe Int) Source #

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

Destructuring the Response

data DescribeTagsResponse Source #

See: newDescribeTagsResponse smart constructor.

Constructors

DescribeTagsResponse' 

Fields

  • nextToken :: Maybe Text

    A string that 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.

  • tags :: Maybe [TagDescription]

    One or more tags.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeTagsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Read DescribeTagsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Show DescribeTagsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Generic DescribeTagsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Associated Types

type Rep DescribeTagsResponse :: Type -> Type #

NFData DescribeTagsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

Methods

rnf :: DescribeTagsResponse -> () #

type Rep DescribeTagsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTags

type Rep DescribeTagsResponse = D1 ('MetaData "DescribeTagsResponse" "Amazonka.AutoScaling.DescribeTags" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagDescription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTagsResponse Source #

Create a value of DescribeTagsResponse 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:nextToken:DescribeTags', describeTagsResponse_nextToken - A string that 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.

$sel:tags:DescribeTagsResponse', describeTagsResponse_tags - One or more tags.

$sel:httpStatus:DescribeTagsResponse', describeTagsResponse_httpStatus - The response's http status code.

Response Lenses

describeTagsResponse_nextToken :: Lens' DescribeTagsResponse (Maybe Text) Source #

A string that 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.