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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

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.

Returns:

  • (String)


2795
2796
2797
2798
2799
2800
2801
2802
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2795

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

#description ⇒ String

A description for the version of the prompt.

Returns:

  • (String)


2795
2796
2797
2798
2799
2800
2801
2802
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2795

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

#prompt_identifier ⇒ String

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

Returns:

  • (String)


2795
2796
2797
2798
2799
2800
2801
2802
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2795

class CreatePromptVersionRequest < Struct.new(
  :prompt_identifier,
  :description,
  :client_token,
  :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.

Returns:

  • (Hash<String,String>)


2795
2796
2797
2798
2799
2800
2801
2802
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 2795

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