Class: Aws::BedrockAgent::Types::PromptGenAiResource

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

Overview

Note:

PromptGenAiResource is a union - when making an API calls you must set exactly one of the members.

Note:

PromptGenAiResource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PromptGenAiResource corresponding to the set member.

Contains specifications for a generative AI resource with which to use the prompt. For more information, see Create a prompt using Prompt management.

Direct Known Subclasses

Agent, Unknown

Defined Under Namespace

Classes: Agent, Unknown

Constant Summary collapse

SENSITIVE =
[:agent]

Instance Attribute Summary collapse

Instance Attribute Details

#agentTypes::PromptAgentResource

Specifies an Amazon Bedrock agent with which to use the prompt.



6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6645

class PromptGenAiResource < Struct.new(
  :agent,
  :unknown)
  SENSITIVE = [:agent]
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < PromptGenAiResource; end
  class Unknown < PromptGenAiResource; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6645
6646
6647
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6645

def unknown
  @unknown
end