libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.ListTags

Description

Returns a list of tags that are applied to the specified stack or layer.

Synopsis

Creating a Request

data ListTags Source #

See: newListTags smart constructor.

Constructors

ListTags' 

Fields

  • nextToken :: Maybe Text

    Do not use. A validation exception occurs if you add a NextToken parameter to a ListTagsRequest call.

  • maxResults :: Maybe Int

    Do not use. A validation exception occurs if you add a MaxResults parameter to a ListTagsRequest call.

  • resourceArn :: Text

    The stack or layer's Amazon Resource Number (ARN).

Instances

Instances details
Eq ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Read ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Generic ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Associated Types

type Rep ListTags :: Type -> Type #

Methods

from :: ListTags -> Rep ListTags x #

to :: Rep ListTags x -> ListTags #

NFData ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Methods

rnf :: ListTags -> () #

Hashable ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

ToJSON ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Associated Types

type AWSResponse ListTags #

ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

type Rep ListTags = D1 ('MetaData "ListTags" "Amazonka.OpsWorks.ListTags" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "ListTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListTags Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

newListTags Source #

Create a value of ListTags 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:ListTags', listTags_nextToken - Do not use. A validation exception occurs if you add a NextToken parameter to a ListTagsRequest call.

$sel:maxResults:ListTags', listTags_maxResults - Do not use. A validation exception occurs if you add a MaxResults parameter to a ListTagsRequest call.

$sel:resourceArn:ListTags', listTags_resourceArn - The stack or layer's Amazon Resource Number (ARN).

Request Lenses

listTags_nextToken :: Lens' ListTags (Maybe Text) Source #

Do not use. A validation exception occurs if you add a NextToken parameter to a ListTagsRequest call.

listTags_maxResults :: Lens' ListTags (Maybe Int) Source #

Do not use. A validation exception occurs if you add a MaxResults parameter to a ListTagsRequest call.

listTags_resourceArn :: Lens' ListTags Text Source #

The stack or layer's Amazon Resource Number (ARN).

Destructuring the Response

data ListTagsResponse Source #

Contains the response to a ListTags request.

See: newListTagsResponse smart constructor.

Constructors

ListTagsResponse' 

Fields

  • nextToken :: Maybe Text

    If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to get the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null.

  • tags :: Maybe (HashMap Text Text)

    A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.OpsWorks.ListTags" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "ListTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTagsResponse Source #

Create a value of ListTagsResponse 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:ListTags', listTagsResponse_nextToken - If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to get the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null.

$sel:tags:ListTagsResponse', listTagsResponse_tags - A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.

$sel:httpStatus:ListTagsResponse', listTagsResponse_httpStatus - The response's http status code.

Response Lenses

listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text) Source #

If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to get the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null.

listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text)) Source #

A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.