Copyright | (c) 2013-2021 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 |
Synopsis
- data Namespace = Namespace' {
- arn :: Maybe Text
- creatorRequestId :: Maybe Text
- createDate :: Maybe POSIX
- serviceCount :: Maybe Int
- name :: Maybe Text
- id :: Maybe Text
- type' :: Maybe NamespaceType
- description :: Maybe Text
- properties :: Maybe NamespaceProperties
- newNamespace :: Namespace
- namespace_arn :: Lens' Namespace (Maybe Text)
- namespace_creatorRequestId :: Lens' Namespace (Maybe Text)
- namespace_createDate :: Lens' Namespace (Maybe UTCTime)
- namespace_serviceCount :: Lens' Namespace (Maybe Int)
- namespace_name :: Lens' Namespace (Maybe Text)
- namespace_id :: Lens' Namespace (Maybe Text)
- namespace_type :: Lens' Namespace (Maybe NamespaceType)
- namespace_description :: Lens' Namespace (Maybe Text)
- namespace_properties :: Lens' Namespace (Maybe NamespaceProperties)
Documentation
A complex type that contains information about a specified namespace.
See: newNamespace
smart constructor.
Namespace' | |
|
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: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: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:serviceCount:Namespace'
, namespace_serviceCount
- The number of services that are associated with the namespace.
$sel:name:Namespace'
, namespace_name
- The name of the namespace, such as example.com
.
$sel:id:Namespace'
, namespace_id
- The ID of a 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
DiscoverInstances
API. - DNS_PUBLIC
- Instances can be discovered using public DNS queries and using the
DiscoverInstances
API. - DNS_PRIVATE
- Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstances
API.
$sel:description:Namespace'
, namespace_description
- The description that you specify for the namespace when you create it.
$sel:properties:Namespace'
, namespace_properties
- A complex type that contains information that's specific to the type of
the namespace.
namespace_arn :: Lens' Namespace (Maybe Text) Source #
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
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_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_serviceCount :: Lens' Namespace (Maybe Int) Source #
The number of services that are associated with the namespace.
namespace_name :: Lens' Namespace (Maybe Text) Source #
The name of the namespace, such as example.com
.
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
DiscoverInstances
API. - DNS_PUBLIC
- Instances can be discovered using public DNS queries and using the
DiscoverInstances
API. - DNS_PRIVATE
- Instances can be discovered using DNS queries in VPCs and using the
DiscoverInstances
API.
namespace_description :: Lens' Namespace (Maybe Text) Source #
The description that you specify for the namespace when you create it.
namespace_properties :: Lens' Namespace (Maybe NamespaceProperties) Source #
A complex type that contains information that's specific to the type of the namespace.