Class: Aws::ServiceDiscovery::Types::CreateHttpNamespaceRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-servicediscovery/types.rb

Overview

Note:

When making an API call, you may pass CreateHttpNamespaceRequest data as a hash:

{
  name: "NamespaceName", # required
  creator_request_id: "ResourceId",
  description: "ResourceDescription",
}

Instance Attribute Summary collapse

Instance Attribute Details

#creator_request_idString

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.

Returns:

  • (String)


40
41
42
43
44
45
# File 'lib/aws-sdk-servicediscovery/types.rb', line 40

class CreateHttpNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description)
  include Aws::Structure
end

#descriptionString

A description for the namespace.

Returns:

  • (String)


40
41
42
43
44
45
# File 'lib/aws-sdk-servicediscovery/types.rb', line 40

class CreateHttpNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description)
  include Aws::Structure
end

#nameString

The name that you want to assign to this namespace.

Returns:

  • (String)


40
41
42
43
44
45
# File 'lib/aws-sdk-servicediscovery/types.rb', line 40

class CreateHttpNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description)
  include Aws::Structure
end