amazonka-autoscaling-1.2.0: Amazon Auto Scaling SDK.

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

Network.AWS.AutoScaling.DescribeTags

Contents

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.

See: AWS API Reference for DescribeTags.

This operation returns paginated results.

Synopsis

Creating a Request

describeTags :: DescribeTags Source

Creates a value of DescribeTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dtFilters :: Lens' DescribeTags [Filter] Source

A filter used to scope the tags to return.

dtNextToken :: Lens' DescribeTags (Maybe Text) Source

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

dtMaxRecords :: Lens' DescribeTags (Maybe Int) Source

The maximum number of items to return with this call.

Destructuring the Response

describeTagsResponse Source

Creates a value of DescribeTagsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dtrsNextToken :: Lens' DescribeTagsResponse (Maybe Text) Source

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

dtrsStatus :: Lens' DescribeTagsResponse Int Source

The response status code.