libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin
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.SSOAdmin.TagResource

Description

Associates a set of tags with a specified resource.

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.SSOAdmin.TagResource" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag]))))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

newTagResource Source #

Create a value of TagResource 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:instanceArn:TagResource', tagResource_instanceArn - The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

$sel:resourceArn:TagResource', tagResource_resourceArn - The ARN of the resource with the tags to be listed.

$sel:tags:TagResource', tagResource_tags - A set of key-value pairs that are used to manage the resource.

Request Lenses

tagResource_instanceArn :: Lens' TagResource Text Source #

The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

tagResource_resourceArn :: Lens' TagResource Text Source #

The ARN of the resource with the tags to be listed.

tagResource_tags :: Lens' TagResource [Tag] Source #

A set of key-value pairs that are used to manage the resource.

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Fields

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.SSOAdmin.TagResource" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagResourceResponse Source #

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

Response Lenses