Class: Aws::BedrockAgentCoreControl::Types::Code

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

Overview

Note:

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

Note:

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

The source code configuration that specifies the location and details of the code to be executed.

Direct Known Subclasses

S3, Unknown

Defined Under Namespace

Classes: S3, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#s3Types::S3Location

The Amazon Amazon S3 object that contains the source code for the agent runtime.

Returns:



714
715
716
717
718
719
720
721
722
723
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 714

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

  class S3 < Code; end
  class Unknown < Code; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



714
715
716
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 714

def unknown
  @unknown
end