Module: Aws::AugmentedAIRuntime::ClientApi Private

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

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')
ContentClassifier =

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: 'ContentClassifier')
ContentClassifiers =

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: 'ContentClassifiers')
DeleteHumanLoopRequest =

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: 'DeleteHumanLoopRequest')
DeleteHumanLoopResponse =

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: 'DeleteHumanLoopResponse')
DescribeHumanLoopRequest =

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: 'DescribeHumanLoopRequest')
DescribeHumanLoopResponse =

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: 'DescribeHumanLoopResponse')
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')
FlowDefinitionArn =

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: 'FlowDefinitionArn')
HumanLoopArn =

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: 'HumanLoopArn')
HumanLoopDataAttributes =

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: 'HumanLoopDataAttributes')
HumanLoopInput =

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: 'HumanLoopInput')
HumanLoopName =

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: 'HumanLoopName')
HumanLoopOutput =

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: 'HumanLoopOutput')
HumanLoopStatus =

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: 'HumanLoopStatus')
HumanLoopSummaries =

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: 'HumanLoopSummaries')
HumanLoopSummary =

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: 'HumanLoopSummary')
InputContent =

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: 'InputContent')
InternalServerException =

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: 'InternalServerException')
ListHumanLoopsRequest =

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: 'ListHumanLoopsRequest')
ListHumanLoopsResponse =

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: 'ListHumanLoopsResponse')
MaxResults =

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: 'MaxResults')
NextToken =

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: 'NextToken')
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')
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')
SortOrder =

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: 'SortOrder')
StartHumanLoopRequest =

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: 'StartHumanLoopRequest')
StartHumanLoopResponse =

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: 'StartHumanLoopResponse')
StopHumanLoopRequest =

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: 'StopHumanLoopRequest')
StopHumanLoopResponse =

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: 'StopHumanLoopResponse')
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')
Timestamp =

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::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
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 = "2019-11-07"

  api. = {
    "apiVersion" => "2019-11-07",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "a2i-runtime.sagemaker",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceFullName" => "Amazon Augmented AI Runtime",
    "serviceId" => "SageMaker A2I Runtime",
    "signatureVersion" => "v4",
    "signingName" => "sagemaker",
    "uid" => "sagemaker-a2i-runtime-2019-11-07",
  }

  api.add_operation(:delete_human_loop, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteHumanLoop"
    o.http_method = "DELETE"
    o.http_request_uri = "/human-loops/{HumanLoopName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteHumanLoopRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteHumanLoopResponse)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:describe_human_loop, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeHumanLoop"
    o.http_method = "GET"
    o.http_request_uri = "/human-loops/{HumanLoopName}"
    o.input = Shapes::ShapeRef.new(shape: DescribeHumanLoopRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeHumanLoopResponse)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)

  api.add_operation(:list_human_loops, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListHumanLoops"
    o.http_method = "GET"
    o.http_request_uri = "/human-loops"
    o.input = Shapes::ShapeRef.new(shape: ListHumanLoopsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListHumanLoopsResponse)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:start_human_loop, Seahorse::Model::Operation.new.tap do |o|
    o.name = "StartHumanLoop"
    o.http_method = "POST"
    o.http_request_uri = "/human-loops"
    o.input = Shapes::ShapeRef.new(shape: StartHumanLoopRequest)
    o.output = Shapes::ShapeRef.new(shape: StartHumanLoopResponse)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
  end)

  api.add_operation(:stop_human_loop, Seahorse::Model::Operation.new.tap do |o|
    o.name = "StopHumanLoop"
    o.http_method = "POST"
    o.http_request_uri = "/human-loops/stop"
    o.input = Shapes::ShapeRef.new(shape: StopHumanLoopRequest)
    o.output = Shapes::ShapeRef.new(shape: StopHumanLoopResponse)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
  end)
end