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

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Data CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

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

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Show CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Generic CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Associated Types

type Rep CreatePrivateDNSNamespace :: Type -> Type #

Hashable CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

ToJSON CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

AWSRequest CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Associated Types

type Rs CreatePrivateDNSNamespace :: Type #

ToHeaders CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

ToPath CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

ToQuery CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

NFData CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

type Rep CreatePrivateDNSNamespace Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

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

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

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

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Data CreatePrivateDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

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

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Show CreatePrivateDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Generic CreatePrivateDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

Associated Types

type Rep CreatePrivateDNSNamespaceResponse :: Type -> Type #

NFData CreatePrivateDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

type Rep CreatePrivateDNSNamespaceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.CreatePrivateDNSNamespace

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