Module: Aws::SageMakerRuntime::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-sagemakerruntime/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

BodyBlob =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BlobShape.new(name: 'BodyBlob')
CustomAttributesHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'CustomAttributesHeader')
EnableExplanationsHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EnableExplanationsHeader')
EndpointName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EndpointName')
ErrorCode =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ErrorCode')
Header =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Header')
InferenceComponentHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'InferenceComponentHeader')
InferenceId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'InferenceId')
InputLocationHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'InputLocationHeader')
InternalDependencyException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InternalDependencyException')
InternalFailure =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InternalFailure')
InternalStreamFailure =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InternalStreamFailure')
InvocationTimeoutSecondsHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'InvocationTimeoutSecondsHeader')
InvokeEndpointAsyncInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvokeEndpointAsyncInput')
InvokeEndpointAsyncOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvokeEndpointAsyncOutput')
InvokeEndpointInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvokeEndpointInput')
InvokeEndpointOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvokeEndpointOutput')
InvokeEndpointWithResponseStreamInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvokeEndpointWithResponseStreamInput')
InvokeEndpointWithResponseStreamOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvokeEndpointWithResponseStreamOutput')
LogStreamArn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LogStreamArn')
Message =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Message')
ModelError =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ModelError')
ModelNotReadyException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ModelNotReadyException')
ModelStreamError =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ModelStreamError')
PartBlob =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BlobShape.new(name: 'PartBlob')
PayloadPart =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'PayloadPart')
RequestTTLSecondsHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'RequestTTLSecondsHeader')
ResponseStream =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ResponseStream')
ServiceUnavailable =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ServiceUnavailable')
StatusCode =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'StatusCode')
TargetContainerHostnameHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TargetContainerHostnameHeader')
TargetModelHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TargetModelHeader')
TargetVariantHeader =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TargetVariantHeader')
ValidationError =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ValidationError')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2017-05-13"

  api. = {
    "apiVersion" => "2017-05-13",
    "endpointPrefix" => "runtime.sagemaker",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceFullName" => "Amazon SageMaker Runtime",
    "serviceId" => "SageMaker Runtime",
    "signatureVersion" => "v4",
    "signingName" => "sagemaker",
    "uid" => "runtime.sagemaker-2017-05-13",
  }

  api.add_operation(:invoke_endpoint, Seahorse::Model::Operation.new.tap do |o|
    o.name = "InvokeEndpoint"
    o.http_method = "POST"
    o.http_request_uri = "/endpoints/{EndpointName}/invocations"
    o.input = Shapes::ShapeRef.new(shape: InvokeEndpointInput)
    o.output = Shapes::ShapeRef.new(shape: InvokeEndpointOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailure)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailable)
    o.errors << Shapes::ShapeRef.new(shape: ValidationError)
    o.errors << Shapes::ShapeRef.new(shape: ModelError)
    o.errors << Shapes::ShapeRef.new(shape: InternalDependencyException)
    o.errors << Shapes::ShapeRef.new(shape: ModelNotReadyException)
  end)

  api.add_operation(:invoke_endpoint_async, Seahorse::Model::Operation.new.tap do |o|
    o.name = "InvokeEndpointAsync"
    o.http_method = "POST"
    o.http_request_uri = "/endpoints/{EndpointName}/async-invocations"
    o.input = Shapes::ShapeRef.new(shape: InvokeEndpointAsyncInput)
    o.output = Shapes::ShapeRef.new(shape: InvokeEndpointAsyncOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailure)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailable)
    o.errors << Shapes::ShapeRef.new(shape: ValidationError)
  end)

  api.add_operation(:invoke_endpoint_with_response_stream, Seahorse::Model::Operation.new.tap do |o|
    o.name = "InvokeEndpointWithResponseStream"
    o.http_method = "POST"
    o.http_request_uri = "/endpoints/{EndpointName}/invocations-response-stream"
    o.input = Shapes::ShapeRef.new(shape: InvokeEndpointWithResponseStreamInput)
    o.output = Shapes::ShapeRef.new(shape: InvokeEndpointWithResponseStreamOutput)
    o.errors << Shapes::ShapeRef.new(shape: InternalFailure)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailable)
    o.errors << Shapes::ShapeRef.new(shape: ValidationError)
    o.errors << Shapes::ShapeRef.new(shape: ModelError)
    o.errors << Shapes::ShapeRef.new(shape: ModelStreamError)
    o.errors << Shapes::ShapeRef.new(shape: InternalStreamFailure)
  end)
end