Class: Aws::BedrockAgent::Types::CreatePromptResponse

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)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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 that you encrypted the prompt with.

Returns:

  • (String)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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 your prompt.

Returns:

  • (String)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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:



2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

class CreatePromptResponse < 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 create a prompt, the version created is the DRAFT version.

Returns:

  • (String)


2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2746

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