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 |
This operation adds or updates tags for a specified domain.
All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.
Synopsis
- data UpdateTagsForDomain = UpdateTagsForDomain' {
- tagsToUpdate :: Maybe [Tag]
- domainName :: Text
- newUpdateTagsForDomain :: Text -> UpdateTagsForDomain
- updateTagsForDomain_tagsToUpdate :: Lens' UpdateTagsForDomain (Maybe [Tag])
- updateTagsForDomain_domainName :: Lens' UpdateTagsForDomain Text
- data UpdateTagsForDomainResponse = UpdateTagsForDomainResponse' {
- httpStatus :: Int
- newUpdateTagsForDomainResponse :: Int -> UpdateTagsForDomainResponse
- updateTagsForDomainResponse_httpStatus :: Lens' UpdateTagsForDomainResponse Int
Creating a Request
data UpdateTagsForDomain Source #
The UpdateTagsForDomainRequest includes the following elements.
See: newUpdateTagsForDomain
smart constructor.
UpdateTagsForDomain' | |
|
Instances
newUpdateTagsForDomain Source #
Create a value of UpdateTagsForDomain
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:tagsToUpdate:UpdateTagsForDomain'
, updateTagsForDomain_tagsToUpdate
- A list of the tag keys and values that you want to add or update. If you
specify a key that already exists, the corresponding value will be
replaced.
$sel:domainName:UpdateTagsForDomain'
, updateTagsForDomain_domainName
- The domain for which you want to add or update tags.
Request Lenses
updateTagsForDomain_tagsToUpdate :: Lens' UpdateTagsForDomain (Maybe [Tag]) Source #
A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
updateTagsForDomain_domainName :: Lens' UpdateTagsForDomain Text Source #
The domain for which you want to add or update tags.
Destructuring the Response
data UpdateTagsForDomainResponse Source #
See: newUpdateTagsForDomainResponse
smart constructor.
UpdateTagsForDomainResponse' | |
|
Instances
newUpdateTagsForDomainResponse Source #
Create a value of UpdateTagsForDomainResponse
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:UpdateTagsForDomainResponse'
, updateTagsForDomainResponse_httpStatus
- The response's http status code.
Response Lenses
updateTagsForDomainResponse_httpStatus :: Lens' UpdateTagsForDomainResponse Int Source #
The response's http status code.