Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
- createPublicDNSNamespace :: Text -> CreatePublicDNSNamespace
- data CreatePublicDNSNamespace
- cpdnCreatorRequestId :: Lens' CreatePublicDNSNamespace (Maybe Text)
- cpdnDescription :: Lens' CreatePublicDNSNamespace (Maybe Text)
- cpdnName :: Lens' CreatePublicDNSNamespace Text
- createPublicDNSNamespaceResponse :: Int -> CreatePublicDNSNamespaceResponse
- data CreatePublicDNSNamespaceResponse
- cpdnrsOperationId :: Lens' CreatePublicDNSNamespaceResponse (Maybe Text)
- cpdnrsResponseStatus :: Lens' CreatePublicDNSNamespaceResponse Int
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 failedCreatePublicDnsNamespace
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.
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, seeGetOperation
.cpdnrsResponseStatus
- -- | The response status code.
data CreatePublicDNSNamespaceResponse Source #
See: createPublicDNSNamespaceResponse
smart constructor.
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
.
cpdnrsResponseStatus :: Lens' CreatePublicDNSNamespaceResponse Int Source #
- - | The response status code.