amazonka-route53-autonaming-1.6.0: Amazon Route 53 Auto Naming SDK.

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

Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Contents

Description

Creates a public namespace based on DNS, which will be visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service will be backend.example.com . For the current limit on the number of namespaces that you can create using the same AWS account, see Limits on Auto Naming in the Route 53 Developer Guide .

Synopsis

Creating a Request

createPublicDNSNamespace Source #

Creates a value of CreatePublicDNSNamespace with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cpdnCreatorRequestId - A unique string that identifies the request and that allows failed CreatePublicDnsNamespace requests to be retried without the risk of executing the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  • cpdnDescription - A description for the namespace.
  • cpdnName - The name that you want to assign to this namespace.

data CreatePublicDNSNamespace Source #

See: createPublicDNSNamespace smart constructor.

Instances

Eq CreatePublicDNSNamespace Source # 
Data CreatePublicDNSNamespace Source # 

Methods

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

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

toConstr :: CreatePublicDNSNamespace -> Constr #

dataTypeOf :: CreatePublicDNSNamespace -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePublicDNSNamespace Source # 
Show CreatePublicDNSNamespace Source # 
Generic CreatePublicDNSNamespace Source # 
Hashable CreatePublicDNSNamespace Source # 
ToJSON CreatePublicDNSNamespace Source # 
NFData CreatePublicDNSNamespace Source # 
AWSRequest CreatePublicDNSNamespace Source # 
ToHeaders CreatePublicDNSNamespace Source # 
ToPath CreatePublicDNSNamespace Source # 
ToQuery CreatePublicDNSNamespace Source # 
type Rep CreatePublicDNSNamespace Source # 
type Rep CreatePublicDNSNamespace = D1 * (MetaData "CreatePublicDNSNamespace" "Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "CreatePublicDNSNamespace'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpdnCreatorRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpdnDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cpdnName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreatePublicDNSNamespace Source # 

Request Lenses

cpdnCreatorRequestId :: Lens' CreatePublicDNSNamespace (Maybe Text) Source #

A unique string that identifies the request and that allows failed CreatePublicDnsNamespace requests to be retried without the risk of executing the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

cpdnDescription :: Lens' CreatePublicDNSNamespace (Maybe Text) Source #

A description for the namespace.

cpdnName :: Lens' CreatePublicDNSNamespace Text Source #

The name that you want to assign to this namespace.

Destructuring the Response

createPublicDNSNamespaceResponse Source #

Creates a value of CreatePublicDNSNamespaceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cpdnrsOperationId - A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation .
  • cpdnrsResponseStatus - -- | The response status code.

data CreatePublicDNSNamespaceResponse Source #

See: createPublicDNSNamespaceResponse smart constructor.

Instances

Eq CreatePublicDNSNamespaceResponse Source # 
Data CreatePublicDNSNamespaceResponse Source # 

Methods

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

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

toConstr :: CreatePublicDNSNamespaceResponse -> Constr #

dataTypeOf :: CreatePublicDNSNamespaceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePublicDNSNamespaceResponse Source # 
Show CreatePublicDNSNamespaceResponse Source # 
Generic CreatePublicDNSNamespaceResponse Source # 
NFData CreatePublicDNSNamespaceResponse Source # 
type Rep CreatePublicDNSNamespaceResponse Source # 
type Rep CreatePublicDNSNamespaceResponse = D1 * (MetaData "CreatePublicDNSNamespaceResponse" "Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "CreatePublicDNSNamespaceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpdnrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cpdnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

cpdnrsOperationId :: Lens' CreatePublicDNSNamespaceResponse (Maybe Text) Source #

A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation .