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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

class CreatePromptVersionResponse < 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_atTime

The time at which the prompt was created.



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

class CreatePromptVersionResponse < 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_arnString

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



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

class CreatePromptVersionResponse < 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_variantString

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

[1]: docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

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

#descriptionString

A description for the version.



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

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

#idString

The unique identifier of the prompt.



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

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

#nameString

The name of the prompt.



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

class CreatePromptVersionResponse < 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_atTime

The time at which the prompt was last updated.



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

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

#variantsArray<Types::PromptVariant>

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



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

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

#versionString

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



2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2810

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