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

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)


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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

Returns:

  • (String)


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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

Returns:

  • (String)


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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



2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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

Returns:

  • (String)


2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2076

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