Module: Aws::SagemakerJobRuntime::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-sagemakerjobruntime/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

AccessDeniedException =

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: 'AccessDeniedException')
CompleteRolloutRequest =

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: 'CompleteRolloutRequest')
CompleteRolloutResponse =

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: 'CompleteRolloutResponse')
CompletionStatus =

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: 'CompletionStatus')
ConflictException =

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: 'ConflictException')
Double =

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::FloatShape.new(name: 'Double')
DoubleList =

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::ListShape.new(name: 'DoubleList')
FailureReason =

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: 'FailureReason')
InferenceRequestBody =

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: 'InferenceRequestBody')
InferenceResponseBody =

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: 'InferenceResponseBody')
InternalServiceError =

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: 'InternalServiceError')
JobArn =

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: 'JobArn')
ResourceNotFoundException =

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: 'ResourceNotFoundException')
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::BlobShape.new(name: 'ResponseStream', streaming: true)
SampleRequest =

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: 'SampleRequest')
SampleResponse =

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: 'SampleResponse')
SampleWithResponseStreamRequest =

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: 'SampleWithResponseStreamRequest')
SampleWithResponseStreamResponse =

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: 'SampleWithResponseStreamResponse')
ServiceQuotaExceededException =

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: 'ServiceQuotaExceededException')
String =

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: 'String')
ThrottlingException =

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: 'ThrottlingException')
TrajectoryId =

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: 'TrajectoryId')
UpdateRewardRequest =

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: 'UpdateRewardRequest')
UpdateRewardResponse =

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: 'UpdateRewardResponse')
ValidationException =

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: 'ValidationException')
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 = "2026-02-01"

  api. = {
    "apiVersion" => "2026-02-01",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "job-runtime.sagemaker",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceFullName" => "Sagemaker Job Runtime Service",
    "serviceId" => "SagemakerJobRuntime",
    "signatureVersion" => "v4",
    "signingName" => "sagemaker",
    "uid" => "sagemakerjobruntime-2026-02-01",
  }

  api.add_operation(:complete_rollout, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CompleteRollout"
    o.http_method = "POST"
    o.http_request_uri = "/complete-rollout"
    o.input = Shapes::ShapeRef.new(shape: CompleteRolloutRequest)
    o.output = Shapes::ShapeRef.new(shape: CompleteRolloutResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:sample, Seahorse::Model::Operation.new.tap do |o|
    o.name = "Sample"
    o.http_method = "POST"
    o.http_request_uri = "/sample"
    o.input = Shapes::ShapeRef.new(shape: SampleRequest)
    o.output = Shapes::ShapeRef.new(shape: SampleResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:sample_with_response_stream, Seahorse::Model::Operation.new.tap do |o|
    o.name = "SampleWithResponseStream"
    o.http_method = "POST"
    o.http_request_uri = "/sample-with-response-stream"
    o.input = Shapes::ShapeRef.new(shape: SampleWithResponseStreamRequest)
    o.output = Shapes::ShapeRef.new(shape: SampleWithResponseStreamResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:update_reward, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateReward"
    o.http_method = "POST"
    o.http_request_uri = "/update-reward"
    o.input = Shapes::ShapeRef.new(shape: UpdateRewardRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateRewardResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)
end