Get Namespace
| servicediscovery_get_namespace | R Documentation |
Gets information about a namespace¶
Description¶
Gets information about a namespace.
Usage¶
servicediscovery_get_namespace(Id)
Arguments¶
Id |
[required] The ID or Amazon Resource Name (ARN) of the namespace that you want to get information about. For namespaces shared with your Amazon Web Services account, specify the namespace ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide |
Value¶
A list with the following syntax:
list(
Namespace = list(
Id = "string",
Arn = "string",
ResourceOwner = "string",
Name = "string",
Type = "DNS_PUBLIC"|"DNS_PRIVATE"|"HTTP",
Description = "string",
ServiceCount = 123,
Properties = list(
DnsProperties = list(
HostedZoneId = "string",
SOA = list(
TTL = 123
)
),
HttpProperties = list(
HttpName = "string"
)
),
CreateDate = as.POSIXct(
"2015-01-01"
),
CreatorRequestId = "string"
)
)
Request syntax¶
svc$get_namespace(
Id = "string"
)
Examples¶
## Not run:
# This example gets information about a specified namespace.
svc$get_namespace(
Id = "ns-e4anhexample0004"
)
## End(Not run)