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

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 prompt.

Returns:

  • (String)


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

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


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

class UpdatePromptResponse < 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 prompt.

Returns:

  • (String)


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

class UpdatePromptResponse < 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.

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

Returns:

  • (String)


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

class UpdatePromptResponse < 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

The description of the prompt.

Returns:

  • (String)


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

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


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

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


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

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


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

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



7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

class UpdatePromptResponse < 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. When you update a prompt, the version updated is the ‘DRAFT` version.

Returns:

  • (String)


7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7722

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