amazonka-route53-autonaming-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Data CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Show CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Generic CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Associated Types

type Rep CreatePublicDNSNamespace :: Type -> Type #

Hashable CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

ToJSON CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

AWSRequest CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Associated Types

type Rs CreatePublicDNSNamespace :: Type #

ToHeaders CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

ToPath CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

ToQuery CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

NFData CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

type Rep CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

type Rep CreatePublicDNSNamespace = D1 (MetaData "CreatePublicDNSNamespace" "Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "CreatePublicDNSNamespace'" PrefixI True) (S1 (MetaSel (Just "_cpdnCreatorRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cpdnDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cpdnName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreatePublicDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Data CreatePublicDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

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 # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Show CreatePublicDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Generic CreatePublicDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

Associated Types

type Rep CreatePublicDNSNamespaceResponse :: Type -> Type #

NFData CreatePublicDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

type Rep CreatePublicDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace

type Rep CreatePublicDNSNamespaceResponse = D1 (MetaData "CreatePublicDNSNamespaceResponse" "Network.AWS.Route53AutoNaming.CreatePublicDNSNamespace" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "CreatePublicDNSNamespaceResponse'" PrefixI True) (S1 (MetaSel (Just "_cpdnrsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 .