| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MQ.CreateTags
Description
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.
Constructors
| CreateTags' | |
Instances
Arguments
| :: Text | |
| -> CreateTags |
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:
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.
Constructors
| CreateTagsResponse' | |
Instances
| Generic CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags Associated Types type Rep CreateTagsResponse :: Type -> Type # Methods from :: CreateTagsResponse -> Rep CreateTagsResponse x # to :: Rep CreateTagsResponse x -> CreateTagsResponse # | |
| Read CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags Methods readsPrec :: Int -> ReadS CreateTagsResponse # readList :: ReadS [CreateTagsResponse] # | |
| Show CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags Methods showsPrec :: Int -> CreateTagsResponse -> ShowS # show :: CreateTagsResponse -> String # showList :: [CreateTagsResponse] -> ShowS # | |
| NFData CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags Methods rnf :: CreateTagsResponse -> () # | |
| Eq CreateTagsResponse Source # | |
Defined in Amazonka.MQ.CreateTags Methods (==) :: CreateTagsResponse -> CreateTagsResponse -> Bool # (/=) :: CreateTagsResponse -> CreateTagsResponse -> Bool # | |
| 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.