Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation adds or updates tags for a specified domain.
All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.
- updateTagsForDomain :: Text -> UpdateTagsForDomain
- data UpdateTagsForDomain
- utfdTagsToUpdate :: Lens' UpdateTagsForDomain [Tag]
- utfdDomainName :: Lens' UpdateTagsForDomain Text
- updateTagsForDomainResponse :: Int -> UpdateTagsForDomainResponse
- data UpdateTagsForDomainResponse
- utfdrsResponseStatus :: Lens' UpdateTagsForDomainResponse Int
Creating a Request
Creates a value of UpdateTagsForDomain
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
utfdTagsToUpdate
- 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. Type: A complex type containing a list of tags Default: None Required: No '> Each tag includes the following elements: * Key The key (name) of a tag. Type: String Default: None Valid values: Unicode characters including alphanumeric, space, and ".:=+-@" Constraints: Each key can be 1-128 characters long. Required: Yes * Value The value of a tag. Type: String Default: None Valid values: Unicode characters including alphanumeric, space, and ".:=+-@" Constraints: Each value can be 0-256 characters long. Required: YesutfdDomainName
- The domain for which you want to add or update tags. The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode. Required: Yes
data UpdateTagsForDomain Source #
The UpdateTagsForDomainRequest includes the following elements.
See: updateTagsForDomain
smart constructor.
Request Lenses
utfdTagsToUpdate :: Lens' UpdateTagsForDomain [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. Type: A complex type containing a list of tags Default: None Required: No '> Each tag includes the following elements: * Key The key (name) of a tag. Type: String Default: None Valid values: Unicode characters including alphanumeric, space, and ".:=+-@" Constraints: Each key can be 1-128 characters long. Required: Yes * Value The value of a tag. Type: String Default: None Valid values: Unicode characters including alphanumeric, space, and ".:=+-@" Constraints: Each value can be 0-256 characters long. Required: Yes
utfdDomainName :: Lens' UpdateTagsForDomain Text Source #
The domain for which you want to add or update tags. The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode. Required: Yes
Destructuring the Response
updateTagsForDomainResponse Source #
Creates a value of UpdateTagsForDomainResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
utfdrsResponseStatus
- -- | The response status code.
data UpdateTagsForDomainResponse Source #
See: updateTagsForDomainResponse
smart constructor.
Response Lenses
utfdrsResponseStatus :: Lens' UpdateTagsForDomainResponse Int Source #
- - | The response status code.