Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Add a tag to a resource.
Synopsis
Creating a Request
data CreateTags Source #
A map of the key-value pairs for the resource tag.
See: newCreateTags
smart constructor.
Instances
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:tags:CreateTags'
, createTags_tags
- The key-value pair for the resource tag.
$sel:resourceArn:CreateTags'
, createTags_resourceArn
- The Amazon Resource Name (ARN) of the resource tag.
Request Lenses
createTags_tags :: Lens' CreateTags (Maybe (HashMap Text Text)) Source #
The key-value pair for the resource tag.
createTags_resourceArn :: Lens' CreateTags Text Source #
The Amazon Resource Name (ARN) of the resource tag.
Destructuring the Response
data CreateTagsResponse Source #
See: newCreateTagsResponse
smart constructor.
Instances
Eq CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags (==) :: CreateTagsResponse -> CreateTagsResponse -> Bool # (/=) :: CreateTagsResponse -> CreateTagsResponse -> Bool # | |
Read CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags | |
Show CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags showsPrec :: Int -> CreateTagsResponse -> ShowS # show :: CreateTagsResponse -> String # showList :: [CreateTagsResponse] -> ShowS # | |
Generic CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags type Rep CreateTagsResponse :: Type -> Type # from :: CreateTagsResponse -> Rep CreateTagsResponse x # to :: Rep CreateTagsResponse x -> CreateTagsResponse # | |
NFData CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags rnf :: CreateTagsResponse -> () # | |
type Rep CreateTagsResponse Source # | |
newCreateTagsResponse :: CreateTagsResponse Source #
Create a value of CreateTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.