amazonka-appconfig-2.0: Amazon AppConfig SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppConfig.TagResource

Description

Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

  • resourceArn :: Text

    The ARN of the resource for which to retrieve tags.

  • tags :: HashMap Text Text

    The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

Instances

Instances details
ToJSON TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Associated Types

type AWSResponse TagResource #

Generic TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

Read TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

NFData TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Methods

rnf :: TagResource -> () #

Eq TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Hashable TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.AppConfig.TagResource" "amazonka-appconfig-2.0-KxEFpSAUlWtLf1lFyPWujo" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))

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:

TagResource, tagResource_resourceArn - The ARN of the resource for which to retrieve tags.

$sel:tags:TagResource', tagResource_tags - The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

Request Lenses

tagResource_resourceArn :: Lens' TagResource Text Source #

The ARN of the resource for which to retrieve tags.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Instances

Instances details
Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

Methods

rnf :: TagResourceResponse -> () #

Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.AppConfig.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.AppConfig.TagResource" "amazonka-appconfig-2.0-KxEFpSAUlWtLf1lFyPWujo" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTagResourceResponse :: TagResourceResponse Source #

Create a value of TagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.