Class: Aws::ManagedGrafana::Types::CreateWorkspaceApiKeyResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:key]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key token. Use this value as a bearer token to authenticate HTTP requests to the workspace.

Returns:

  • (String)


258
259
260
261
262
263
264
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 258

class CreateWorkspaceApiKeyResponse < Struct.new(
  :key,
  :key_name,
  :workspace_id)
  SENSITIVE = [:key]
  include Aws::Structure
end

#key_nameString

The name of the key that was created.

Returns:

  • (String)


258
259
260
261
262
263
264
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 258

class CreateWorkspaceApiKeyResponse < Struct.new(
  :key,
  :key_name,
  :workspace_id)
  SENSITIVE = [:key]
  include Aws::Structure
end

#workspace_idString

The ID of the workspace that the key is valid for.

Returns:

  • (String)


258
259
260
261
262
263
264
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 258

class CreateWorkspaceApiKeyResponse < Struct.new(
  :key,
  :key_name,
  :workspace_id)
  SENSITIVE = [:key]
  include Aws::Structure
end