Module: Aws::SageMakerRuntimeHTTP2

Defined in:
lib/aws-sdk-sagemakerruntimehttp2/endpoint_parameters.rb,
lib/aws-sdk-sagemakerruntimehttp2/plugins/endpoints.rb,
lib/aws-sdk-sagemakerruntimehttp2/endpoint_provider.rb,
lib/aws-sdk-sagemakerruntimehttp2/event_streams.rb,
lib/aws-sdk-sagemakerruntimehttp2/async_client.rb,
lib/aws-sdk-sagemakerruntimehttp2/client_api.rb,
lib/aws-sdk-sagemakerruntimehttp2/endpoints.rb,
lib/aws-sdk-sagemakerruntimehttp2/errors.rb,
lib/aws-sdk-sagemakerruntimehttp2/types.rb,
lib/aws-sdk-sagemakerruntimehttp2.rb

Overview

This module provides support for Amazon SageMaker Runtime HTTP2. This module is available in the ‘aws-sdk-sagemakerruntimehttp2` gem.

# Async Client

The AsyncClient class provides one asynchronous method for each API operation. Operation methods each accept a hash of request parameters and return an async response. For streaming operations, you can signal input events and register output event callbacks before waiting on the response.

sage_maker_runtime_http2 = Aws::SageMakerRuntimeHTTP2::AsyncClient.new
resp = sage_maker_runtime_http2.invoke_endpoint_with_bidirectional_stream(
  # params and input stream
 ) do |output_stream|
  # register callbacks for events
end

See AsyncClient for more information.

# Errors

Errors returned from Amazon SageMaker Runtime HTTP2 are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::SageMakerRuntimeHTTP2::Errors::ServiceError
  # rescues all Amazon SageMaker Runtime HTTP2 API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, EventStreams, Plugins, Types Classes: AsyncClient, EndpointParameters, EndpointProvider

service collapse

GEM_VERSION =
'1.0.0'