libZSservicesZSamazonka-discoveryZSamazonka-discovery
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.Discovery.CreateTags

Description

Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.

Synopsis

Creating a Request

data CreateTags Source #

See: newCreateTags smart constructor.

Constructors

CreateTags' 

Fields

  • configurationIds :: [Text]

    A list of configuration items that you want to tag.

  • tags :: [Tag]

    Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

    {"key": "serverType", "value": "webServer"}

Instances

Instances details
Eq CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Read CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Show CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Generic CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Associated Types

type Rep CreateTags :: Type -> Type #

NFData CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Methods

rnf :: CreateTags -> () #

Hashable CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

ToJSON CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

AWSRequest CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Associated Types

type AWSResponse CreateTags #

ToHeaders CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Methods

toHeaders :: CreateTags -> [Header] #

ToPath CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

ToQuery CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

type Rep CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

type Rep CreateTags = D1 ('MetaData "CreateTags" "Amazonka.Discovery.CreateTags" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "CreateTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse CreateTags Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

newCreateTags :: CreateTags Source #

Create a value of CreateTags 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:configurationIds:CreateTags', createTags_configurationIds - A list of configuration items that you want to tag.

$sel:tags:CreateTags', createTags_tags - Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

{"key": "serverType", "value": "webServer"}

Request Lenses

createTags_configurationIds :: Lens' CreateTags [Text] Source #

A list of configuration items that you want to tag.

createTags_tags :: Lens' CreateTags [Tag] Source #

Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

{"key": "serverType", "value": "webServer"}

Destructuring the Response

data CreateTagsResponse Source #

See: newCreateTagsResponse smart constructor.

Constructors

CreateTagsResponse' 

Fields

Instances

Instances details
Eq CreateTagsResponse Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Read CreateTagsResponse Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Show CreateTagsResponse Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Generic CreateTagsResponse Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Associated Types

type Rep CreateTagsResponse :: Type -> Type #

NFData CreateTagsResponse Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

Methods

rnf :: CreateTagsResponse -> () #

type Rep CreateTagsResponse Source # 
Instance details

Defined in Amazonka.Discovery.CreateTags

type Rep CreateTagsResponse = D1 ('MetaData "CreateTagsResponse" "Amazonka.Discovery.CreateTags" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "CreateTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateTagsResponse Source #

Create a value of CreateTagsResponse 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:httpStatus:CreateTagsResponse', createTagsResponse_httpStatus - The response's http status code.

Response Lenses