Class: Aws::BedrockAgent::Types::APISchema
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::APISchema
- Defined in:
- gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb
Overview
APISchema is a union - when making an API calls you must set exactly one of the members.
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 details about the OpenAPI schema for the action group. For
more information, see Action group OpenAPI schemas. You can
either include the schema directly in the payload
field or you can
upload it to an S3 bucket and specify the S3 bucket location in the
s3
field.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[:payload]
Instance Attribute Summary collapse
-
#payload ⇒ String
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group.
-
#s3 ⇒ Types::S3Identifier
Contains details about the S3 object containing the OpenAPI schema for the action group.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#payload ⇒ String
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 49 class APISchema < Struct.new( :payload, :s3, :unknown) SENSITIVE = [:payload] include Aws::Structure include Aws::Structure::Union class Payload < APISchema; end class S3 < APISchema; end class Unknown < APISchema; end end |
#s3 ⇒ Types::S3Identifier
Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 49 class APISchema < Struct.new( :payload, :s3, :unknown) SENSITIVE = [:payload] include Aws::Structure include Aws::Structure::Union class Payload < APISchema; end class S3 < APISchema; end class Unknown < APISchema; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
49 50 51 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 49 def unknown @unknown end |