Class: Aws::BedrockAgent::Types::CreatePromptVersionResponse

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

#arnString

The Amazon Resource Name (ARN) of the version of the prompt.

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#created_atTime

The time at which the prompt was created.

Returns:

  • (Time)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#customer_encryption_key_arnString

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

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#default_variantString

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

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#descriptionString

A description for the version.

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#idString

The unique identifier of the prompt.

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#nameString

The name of the prompt.

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#updated_atTime

The time at which the prompt was last updated.

Returns:

  • (Time)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#variantsArray<Types::PromptVariant>

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

Returns:



2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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

#versionString

The version of the prompt that was created. Versions are numbered incrementally, starting from 1.

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2314

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