Class: Aws::BedrockAgent::Types::UpdatePromptResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:variants]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the prompt.

Returns:

  • (String)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#created_at ⇒ Time

The time at which the prompt was created.

Returns:

  • (Time)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#customer_encryption_key_arn ⇒ String

The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.

Returns:

  • (String)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#default_variant ⇒ String

The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.

Returns:

  • (String)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#description ⇒ String

The description of the prompt.

Returns:

  • (String)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#id ⇒ String

The unique identifier of the prompt.

Returns:

  • (String)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#name ⇒ String

The name of the prompt.

Returns:

  • (String)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#updated_at ⇒ Time

The time at which the prompt was last updated.

Returns:

  • (Time)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#variants ⇒ Array<Types::PromptVariant>

A list of objects, each containing details about a variant of the prompt.

Returns:



12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#version ⇒ String

The version of the prompt. When you update a prompt, the version updated is the DRAFT version.

Returns:

  • (String)


12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12218

class UpdatePromptResponse < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :id,
  :arn,
  :version,
  :created_at,
  :updated_at)
  SENSITIVE = [:variants]
  include Aws::Structure
end