Class: Aws::BedrockAgent::Types::CreatePromptVersionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

Returns:

  • (String)


2125
2126
2127
2128
2129
2130
2131
2132
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2125

class CreatePromptVersionRequest < Struct.new(
  :client_token,
  :description,
  :prompt_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the version of the prompt.

Returns:

  • (String)


2125
2126
2127
2128
2129
2130
2131
2132
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2125

class CreatePromptVersionRequest < Struct.new(
  :client_token,
  :description,
  :prompt_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_identifierString

The unique identifier of the prompt that you want to create a version of.

Returns:

  • (String)


2125
2126
2127
2128
2129
2130
2131
2132
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2125

class CreatePromptVersionRequest < Struct.new(
  :client_token,
  :description,
  :prompt_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<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

Returns:

  • (Hash<String,String>)


2125
2126
2127
2128
2129
2130
2131
2132
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2125

class CreatePromptVersionRequest < Struct.new(
  :client_token,
  :description,
  :prompt_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end