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.CreatePrivateDNSNamespace

Contents

Description

Creates a private namespace based on DNS, which will be visible only inside a specified Amazon VPC. 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

createPrivateDNSNamespace Source #

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

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

  • cpdnsnCreatorRequestId - A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace requests to be retried without the risk of executing the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  • cpdnsnDescription - A description for the namespace.
  • cpdnsnName - The name that you want to assign to this namespace. When you create a namespace, Amazon Route 53 automatically creates a hosted zone that has the same name as the namespace.
  • cpdnsnVPC - The ID of the Amazon VPC that you want to associate the namespace with.

data CreatePrivateDNSNamespace Source #

See: createPrivateDNSNamespace smart constructor.

Instances

Eq CreatePrivateDNSNamespace Source # 
Data CreatePrivateDNSNamespace Source # 

Methods

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

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

toConstr :: CreatePrivateDNSNamespace -> Constr #

dataTypeOf :: CreatePrivateDNSNamespace -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

cpdnsnCreatorRequestId :: Lens' CreatePrivateDNSNamespace (Maybe Text) Source #

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

cpdnsnDescription :: Lens' CreatePrivateDNSNamespace (Maybe Text) Source #

A description for the namespace.

cpdnsnName :: Lens' CreatePrivateDNSNamespace Text Source #

The name that you want to assign to this namespace. When you create a namespace, Amazon Route 53 automatically creates a hosted zone that has the same name as the namespace.

cpdnsnVPC :: Lens' CreatePrivateDNSNamespace Text Source #

The ID of the Amazon VPC that you want to associate the namespace with.

Destructuring the Response

createPrivateDNSNamespaceResponse Source #

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

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

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

data CreatePrivateDNSNamespaceResponse Source #

See: createPrivateDNSNamespaceResponse smart constructor.

Instances

Eq CreatePrivateDNSNamespaceResponse Source # 
Data CreatePrivateDNSNamespaceResponse Source # 

Methods

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

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

toConstr :: CreatePrivateDNSNamespaceResponse -> Constr #

dataTypeOf :: CreatePrivateDNSNamespaceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

cpdnsnrsOperationId :: Lens' CreatePrivateDNSNamespaceResponse (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 .