Class: Aws::BedrockAgent::Types::CreatePromptVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::CreatePromptVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockagent/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
-
#description ⇒ String
A description for the version of the prompt.
-
#prompt_identifier ⇒ String
The unique identifier of the prompt that you want to create a version of.
-
#tags ⇒ Hash<String,String>
Any tags that you want to attach to the version of the prompt.
Instance Attribute Details
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency].
**A suitable default value is auto-generated.** You should normally not need to pass this option.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2115 class CreatePromptVersionRequest < Struct.new( :client_token, :description, :prompt_identifier, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description for the version of the prompt.
2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2115 class CreatePromptVersionRequest < Struct.new( :client_token, :description, :prompt_identifier, :tags) SENSITIVE = [] include Aws::Structure end |
#prompt_identifier ⇒ String
The unique identifier of the prompt that you want to create a version of.
2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2115 class CreatePromptVersionRequest < Struct.new( :client_token, :description, :prompt_identifier, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Any tags that you want to attach to the version of the prompt. For more information, see [Tagging resources in Amazon Bedrock].
[1]: docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2115 class CreatePromptVersionRequest < Struct.new( :client_token, :description, :prompt_identifier, :tags) SENSITIVE = [] include Aws::Structure end |