| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53AutoNaming.Types.Namespace
Description
Synopsis
- data Namespace = Namespace' {
- arn :: Maybe Text
- createDate :: Maybe POSIX
- creatorRequestId :: Maybe Text
- description :: Maybe Text
- id :: Maybe Text
- name :: Maybe Text
- properties :: Maybe NamespaceProperties
- serviceCount :: Maybe Int
- type' :: Maybe NamespaceType
- newNamespace :: Namespace
- namespace_arn :: Lens' Namespace (Maybe Text)
- namespace_createDate :: Lens' Namespace (Maybe UTCTime)
- namespace_creatorRequestId :: Lens' Namespace (Maybe Text)
- namespace_description :: Lens' Namespace (Maybe Text)
- namespace_id :: Lens' Namespace (Maybe Text)
- namespace_name :: Lens' Namespace (Maybe Text)
- namespace_properties :: Lens' Namespace (Maybe NamespaceProperties)
- namespace_serviceCount :: Lens' Namespace (Maybe Int)
- namespace_type :: Lens' Namespace (Maybe NamespaceType)
Documentation
A complex type that contains information about a specified namespace.
See: newNamespace smart constructor.
Constructors
| Namespace' | |
Fields
| |
Instances
newNamespace :: Namespace Source #
Create a value of Namespace with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:Namespace', namespace_arn - The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace
when you create it.
$sel:createDate:Namespace', namespace_createDate - The date that the namespace was created, in Unix date/time format and
Coordinated Universal Time (UTC). The value of CreateDate is accurate
to milliseconds. For example, the value 1516925490.087 represents
Friday, January 26, 2018 12:11:30.087 AM.
$sel:creatorRequestId:Namespace', namespace_creatorRequestId - A unique string that identifies the request and that allows failed
requests to be retried without the risk of running an operation twice.
$sel:description:Namespace', namespace_description - The description that you specify for the namespace when you create it.
$sel:id:Namespace', namespace_id - The ID of a namespace.
$sel:name:Namespace', namespace_name - The name of the namespace, such as example.com.
$sel:properties:Namespace', namespace_properties - A complex type that contains information that's specific to the type of
the namespace.
$sel:serviceCount:Namespace', namespace_serviceCount - The number of services that are associated with the namespace.
$sel:type':Namespace', namespace_type - The type of the namespace. The methods for discovering instances depends
on the value that you specify:
- HTTP
- Instances can be discovered only programmatically, using the Cloud
Map
DiscoverInstancesAPI. - DNS_PUBLIC
- Instances can be discovered using public DNS queries and using the
DiscoverInstancesAPI. - DNS_PRIVATE
- Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstancesAPI.
namespace_arn :: Lens' Namespace (Maybe Text) Source #
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
namespace_createDate :: Lens' Namespace (Maybe UTCTime) Source #
The date that the namespace was created, in Unix date/time format and
Coordinated Universal Time (UTC). The value of CreateDate is accurate
to milliseconds. For example, the value 1516925490.087 represents
Friday, January 26, 2018 12:11:30.087 AM.
namespace_creatorRequestId :: Lens' Namespace (Maybe Text) Source #
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
namespace_description :: Lens' Namespace (Maybe Text) Source #
The description that you specify for the namespace when you create it.
namespace_name :: Lens' Namespace (Maybe Text) Source #
The name of the namespace, such as example.com.
namespace_properties :: Lens' Namespace (Maybe NamespaceProperties) Source #
A complex type that contains information that's specific to the type of the namespace.
namespace_serviceCount :: Lens' Namespace (Maybe Int) Source #
The number of services that are associated with the namespace.
namespace_type :: Lens' Namespace (Maybe NamespaceType) Source #
The type of the namespace. The methods for discovering instances depends on the value that you specify:
- HTTP
- Instances can be discovered only programmatically, using the Cloud
Map
DiscoverInstancesAPI. - DNS_PUBLIC
- Instances can be discovered using public DNS queries and using the
DiscoverInstancesAPI. - DNS_PRIVATE
- Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstancesAPI.