Class: Aws::BedrockAgent::Types::APISchema

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

Overview

Note:

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

Note:

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

Contains information about the API Schema for the Action Group

Direct Known Subclasses

Payload, S3, Unknown

Defined Under Namespace

Classes: Payload, S3, Unknown

Constant Summary collapse

SENSITIVE =
[:payload]

Instance Attribute Summary collapse

Instance Attribute Details

#payloadString

String OpenAPI Payload

Returns:

  • (String)


29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/aws-sdk-bedrockagent/types.rb', line 29

class APISchema < Struct.new(
  :s3,
  :payload,
  :unknown)
  SENSITIVE = [:payload]
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < APISchema; end
  class Payload < APISchema; end
  class Unknown < APISchema; end
end

#s3Types::S3Identifier

The identifier for the S3 resource.

Returns:



29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/aws-sdk-bedrockagent/types.rb', line 29

class APISchema < Struct.new(
  :s3,
  :payload,
  :unknown)
  SENSITIVE = [:payload]
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < APISchema; end
  class Payload < APISchema; end
  class Unknown < APISchema; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



29
30
31
# File 'lib/aws-sdk-bedrockagent/types.rb', line 29

def unknown
  @unknown
end