Class: Aws::BedrockAgent::Types::GetPromptResponse

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 or the prompt version (if you specified a version in the request).



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

class GetPromptResponse < 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 that the prompt is encrypted with.



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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

The descriptino of the prompt.



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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



5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5451

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