Module: Aws::BedrockAgent

Defined in:
lib/aws-sdk-bedrockagent/endpoint_parameters.rb,
lib/aws-sdk-bedrockagent/plugins/endpoints.rb,
lib/aws-sdk-bedrockagent/endpoint_provider.rb,
lib/aws-sdk-bedrockagent/client_api.rb,
lib/aws-sdk-bedrockagent/endpoints.rb,
lib/aws-sdk-bedrockagent/resource.rb,
lib/aws-sdk-bedrockagent/errors.rb,
lib/aws-sdk-bedrockagent/client.rb,
lib/aws-sdk-bedrockagent/types.rb,
lib/aws-sdk-bedrockagent.rb

Overview

This module provides support for Agents for Amazon Bedrock. This module is available in the ‘aws-sdk-bedrockagent` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

bedrock_agent = Aws::BedrockAgent::Client.new
resp = bedrock_agent.associate_agent_knowledge_base(params)

See Client for more information.

# Errors

Errors returned from Agents for Amazon Bedrock are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::BedrockAgent::Errors::ServiceError
  # rescues all Agents for Amazon Bedrock API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.3.0'