amazonka-route53-domains-1.4.5: Amazon Route 53 Domains SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53Domains.UpdateTagsForDomain

Contents

Description

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.

Synopsis

Creating a Request

updateTagsForDomain Source #

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: Yes
  • utfdDomainName - 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.

Instances

Eq UpdateTagsForDomain Source # 
Data UpdateTagsForDomain Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateTagsForDomain -> c UpdateTagsForDomain #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateTagsForDomain #

toConstr :: UpdateTagsForDomain -> Constr #

dataTypeOf :: UpdateTagsForDomain -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateTagsForDomain) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateTagsForDomain) #

gmapT :: (forall b. Data b => b -> b) -> UpdateTagsForDomain -> UpdateTagsForDomain #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTagsForDomain -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTagsForDomain -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateTagsForDomain -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateTagsForDomain -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateTagsForDomain -> m UpdateTagsForDomain #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTagsForDomain -> m UpdateTagsForDomain #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTagsForDomain -> m UpdateTagsForDomain #

Read UpdateTagsForDomain Source # 
Show UpdateTagsForDomain Source # 
Generic UpdateTagsForDomain Source # 
Hashable UpdateTagsForDomain Source # 
ToJSON UpdateTagsForDomain Source # 
NFData UpdateTagsForDomain Source # 

Methods

rnf :: UpdateTagsForDomain -> () #

AWSRequest UpdateTagsForDomain Source # 
ToPath UpdateTagsForDomain Source # 
ToHeaders UpdateTagsForDomain Source # 
ToQuery UpdateTagsForDomain Source # 
type Rep UpdateTagsForDomain Source # 
type Rep UpdateTagsForDomain = D1 (MetaData "UpdateTagsForDomain" "Network.AWS.Route53Domains.UpdateTagsForDomain" "amazonka-route53-domains-1.4.5-4CnKMt89RB29537pw6MzaN" False) (C1 (MetaCons "UpdateTagsForDomain'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_utfdTagsToUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_utfdDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateTagsForDomain Source # 

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:

data UpdateTagsForDomainResponse Source #

See: updateTagsForDomainResponse smart constructor.

Instances

Eq UpdateTagsForDomainResponse Source # 
Data UpdateTagsForDomainResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateTagsForDomainResponse -> c UpdateTagsForDomainResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateTagsForDomainResponse #

toConstr :: UpdateTagsForDomainResponse -> Constr #

dataTypeOf :: UpdateTagsForDomainResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateTagsForDomainResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateTagsForDomainResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateTagsForDomainResponse -> UpdateTagsForDomainResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTagsForDomainResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTagsForDomainResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateTagsForDomainResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateTagsForDomainResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateTagsForDomainResponse -> m UpdateTagsForDomainResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTagsForDomainResponse -> m UpdateTagsForDomainResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTagsForDomainResponse -> m UpdateTagsForDomainResponse #

Read UpdateTagsForDomainResponse Source # 
Show UpdateTagsForDomainResponse Source # 
Generic UpdateTagsForDomainResponse Source # 
NFData UpdateTagsForDomainResponse Source # 
type Rep UpdateTagsForDomainResponse Source # 
type Rep UpdateTagsForDomainResponse = D1 (MetaData "UpdateTagsForDomainResponse" "Network.AWS.Route53Domains.UpdateTagsForDomain" "amazonka-route53-domains-1.4.5-4CnKMt89RB29537pw6MzaN" True) (C1 (MetaCons "UpdateTagsForDomainResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_utfdrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses