libZSservicesZSamazonka-workspacesZSamazonka-workspaces
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.WorkSpaces.CreateTags

Description

Creates the specified tags for the specified WorkSpaces resource.

Synopsis

Creating a Request

data CreateTags Source #

See: newCreateTags smart constructor.

Constructors

CreateTags' 

Fields

  • resourceId :: Text

    The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

  • tags :: [Tag]

    The tags. Each WorkSpaces resource can have a maximum of 50 tags.

Instances

Instances details
Eq CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Read CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Show CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Generic CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Associated Types

type Rep CreateTags :: Type -> Type #

NFData CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Methods

rnf :: CreateTags -> () #

Hashable CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

ToJSON CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

AWSRequest CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Associated Types

type AWSResponse CreateTags #

ToHeaders CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Methods

toHeaders :: CreateTags -> [Header] #

ToPath CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

ToQuery CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

type Rep CreateTags Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

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

Defined in Amazonka.WorkSpaces.CreateTags

newCreateTags 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:resourceId:CreateTags', createTags_resourceId - The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

$sel:tags:CreateTags', createTags_tags - The tags. Each WorkSpaces resource can have a maximum of 50 tags.

Request Lenses

createTags_resourceId :: Lens' CreateTags Text Source #

The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

createTags_tags :: Lens' CreateTags [Tag] Source #

The tags. Each WorkSpaces resource can have a maximum of 50 tags.

Destructuring the Response

data CreateTagsResponse Source #

See: newCreateTagsResponse smart constructor.

Constructors

CreateTagsResponse' 

Fields

Instances

Instances details
Eq CreateTagsResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Read CreateTagsResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Show CreateTagsResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Generic CreateTagsResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Associated Types

type Rep CreateTagsResponse :: Type -> Type #

NFData CreateTagsResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

Methods

rnf :: CreateTagsResponse -> () #

type Rep CreateTagsResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateTags

type Rep CreateTagsResponse = D1 ('MetaData "CreateTagsResponse" "Amazonka.WorkSpaces.CreateTags" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" '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