Class: Aws::ServiceDiscovery::Types::CreateHttpNamespaceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::CreateHttpNamespaceRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
When making an API call, you may pass CreateHttpNamespaceRequest data as a hash:
{
name: "NamespaceName", # required
creator_request_id: "ResourceId",
description: "ResourceDescription",
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed ‘CreateHttpNamespace` requests to be retried without the risk of executing the operation twice.
-
#description ⇒ String
A description for the namespace.
-
#name ⇒ String
The name that you want to assign to this namespace.
-
#tags ⇒ Array<Types::Tag>
The tags to add to the namespace.
Instance Attribute Details
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed ‘CreateHttpNamespace` requests to be retried without the risk of executing the operation twice. `CreatorRequestId` can be any unique string, for example, a date/time stamp.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
55 56 57 58 59 60 61 62 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 55 class CreateHttpNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description for the namespace.
55 56 57 58 59 60 61 62 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 55 class CreateHttpNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name that you want to assign to this namespace.
55 56 57 58 59 60 61 62 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 55 class CreateHttpNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
55 56 57 58 59 60 61 62 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 55 class CreateHttpNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :tags) SENSITIVE = [] include Aws::Structure end |