Class: Aws::PrometheusService::Types::CreateWorkspaceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb

Overview

Note:

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

{
  alias: "WorkspaceAlias",
  client_token: "IdempotencyToken",
  tags: {
    "TagKey" => "TagValue",
  },
}

Represents the input of a CreateWorkspace operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aliasString

An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.

Returns:

  • (String)


263
264
265
266
267
268
269
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 263

class CreateWorkspaceRequest < Struct.new(
  :alias,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


263
264
265
266
267
268
269
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 263

class CreateWorkspaceRequest < Struct.new(
  :alias,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Optional, user-provided tags for this workspace.

Returns:

  • (Hash<String,String>)


263
264
265
266
267
268
269
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 263

class CreateWorkspaceRequest < Struct.new(
  :alias,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end