Module: Aws::BedrockRuntime::ClientApi Private
- Includes:
- Seahorse::Model
- Defined in:
- lib/aws-sdk-bedrockruntime/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')
- Body =
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: 'Body')
- 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')
- InvokeModelIdentifier =
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: 'InvokeModelIdentifier')
- InvokeModelRequest =
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: 'InvokeModelRequest')
- InvokeModelResponse =
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: 'InvokeModelResponse')
- InvokeModelWithResponseStreamRequest =
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: 'InvokeModelWithResponseStreamRequest')
- InvokeModelWithResponseStreamResponse =
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: 'InvokeModelWithResponseStreamResponse')
- MimeType =
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: 'MimeType')
- ModelErrorException =
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: 'ModelErrorException')
- 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')
- ModelStreamErrorException =
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: 'ModelStreamErrorException')
- ModelTimeoutException =
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: 'ModelTimeoutException')
- NonBlankString =
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: 'NonBlankString')
- PartBody =
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: 'PartBody')
- 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')
- 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::StructureShape.new(name: 'ResponseStream')
- 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')
- 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')
- 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')
- 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 = "2023-09-30" api. = { "apiVersion" => "2023-09-30", "endpointPrefix" => "bedrock-runtime", "jsonVersion" => "1.1", "protocol" => "rest-json", "serviceFullName" => "Amazon Bedrock Runtime", "serviceId" => "Bedrock Runtime", "signatureVersion" => "v4", "signingName" => "bedrock", "uid" => "bedrock-runtime-2023-09-30", } api.add_operation(:invoke_model, Seahorse::Model::Operation.new.tap do |o| o.name = "InvokeModel" o.http_method = "POST" o.http_request_uri = "/model/{modelId}/invoke" o.input = Shapes::ShapeRef.new(shape: InvokeModelRequest) o.output = Shapes::ShapeRef.new(shape: InvokeModelResponse) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o.errors << Shapes::ShapeRef.new(shape: ModelTimeoutException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ModelNotReadyException) o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException) o.errors << Shapes::ShapeRef.new(shape: ModelErrorException) end) api.add_operation(:invoke_model_with_response_stream, Seahorse::Model::Operation.new.tap do |o| o.name = "InvokeModelWithResponseStream" o.http_method = "POST" o.http_request_uri = "/model/{modelId}/invoke-with-response-stream" o.input = Shapes::ShapeRef.new(shape: InvokeModelWithResponseStreamRequest) o.output = Shapes::ShapeRef.new(shape: InvokeModelWithResponseStreamResponse) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o.errors << Shapes::ShapeRef.new(shape: ModelTimeoutException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: ModelStreamErrorException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ModelNotReadyException) o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException) o.errors << Shapes::ShapeRef.new(shape: ModelErrorException) end) end