Module: Aws::LambdaPreview::ClientApi Private

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

AddEventSourceRequest =

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: 'AddEventSourceRequest')
Blob =

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: 'Blob', streaming: true)
Boolean =

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::BooleanShape.new(name: 'Boolean')
DeleteFunctionRequest =

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: 'DeleteFunctionRequest')
Description =

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: 'Description')
EventSourceConfiguration =

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: 'EventSourceConfiguration')
EventSourceList =

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: 'EventSourceList')
FunctionArn =

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: 'FunctionArn')
FunctionCodeLocation =

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: 'FunctionCodeLocation')
FunctionConfiguration =

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: 'FunctionConfiguration')
FunctionList =

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: 'FunctionList')
FunctionName =

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: 'FunctionName')
GetEventSourceRequest =

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: 'GetEventSourceRequest')
GetFunctionConfigurationRequest =

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: 'GetFunctionConfigurationRequest')
GetFunctionRequest =

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: 'GetFunctionRequest')
GetFunctionResponse =

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: 'GetFunctionResponse')
Handler =

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: 'Handler')
HttpStatus =

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: 'HttpStatus')
Integer =

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: 'Integer')
InvalidParameterValueException =

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: 'InvalidParameterValueException')
InvalidRequestContentException =

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: 'InvalidRequestContentException')
InvokeAsyncRequest =

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: 'InvokeAsyncRequest')
InvokeAsyncResponse =

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: 'InvokeAsyncResponse')
ListEventSourcesRequest =

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: 'ListEventSourcesRequest')
ListEventSourcesResponse =

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: 'ListEventSourcesResponse')
ListFunctionsRequest =

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: 'ListFunctionsRequest')
ListFunctionsResponse =

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: 'ListFunctionsResponse')
Long =

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: 'Long')
Map =

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::MapShape.new(name: 'Map')
MaxListItems =

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: 'MaxListItems')
MemorySize =

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: 'MemorySize')
Mode =

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: 'Mode')
RemoveEventSourceRequest =

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: 'RemoveEventSourceRequest')
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')
RoleArn =

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: 'RoleArn')
Runtime =

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: 'Runtime')
ServiceException =

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: 'ServiceException')
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')
Timeout =

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: 'Timeout')
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')
UpdateFunctionConfigurationRequest =

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: 'UpdateFunctionConfigurationRequest')
UploadFunctionRequest =

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: 'UploadFunctionRequest')
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 = "2014-11-11"

  api. = {
    "apiVersion" => "2014-11-11",
    "endpointPrefix" => "lambda",
    "protocol" => "rest-json",
    "serviceFullName" => "AWS Lambda",
    "serviceId" => "Lambda Preview",
    "signatureVersion" => "v4",
    "uid" => "lambda-2014-11-11",
  }

  api.add_operation(:add_event_source, Seahorse::Model::Operation.new.tap do |o|
    o.name = "AddEventSource"
    o.http_method = "POST"
    o.http_request_uri = "/2014-11-13/event-source-mappings/"
    o.input = Shapes::ShapeRef.new(shape: AddEventSourceRequest)
    o.output = Shapes::ShapeRef.new(shape: EventSourceConfiguration)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
  end)

  api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteFunction"
    o.http_method = "DELETE"
    o.http_request_uri = "/2014-11-13/functions/{FunctionName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteFunctionRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:get_event_source, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetEventSource"
    o.http_method = "GET"
    o.http_request_uri = "/2014-11-13/event-source-mappings/{UUID}"
    o.input = Shapes::ShapeRef.new(shape: GetEventSourceRequest)
    o.output = Shapes::ShapeRef.new(shape: EventSourceConfiguration)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
  end)

  api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetFunction"
    o.http_method = "GET"
    o.http_request_uri = "/2014-11-13/functions/{FunctionName}"
    o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
    o.output = Shapes::ShapeRef.new(shape: GetFunctionResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:get_function_configuration, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetFunctionConfiguration"
    o.http_method = "GET"
    o.http_request_uri = "/2014-11-13/functions/{FunctionName}/configuration"
    o.input = Shapes::ShapeRef.new(shape: GetFunctionConfigurationRequest)
    o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:invoke_async, Seahorse::Model::Operation.new.tap do |o|
    o.name = "InvokeAsync"
    o.http_method = "POST"
    o.http_request_uri = "/2014-11-13/functions/{FunctionName}/invoke-async/"
    o.input = Shapes::ShapeRef.new(shape: InvokeAsyncRequest)
    o.output = Shapes::ShapeRef.new(shape: InvokeAsyncResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
  end)

  api.add_operation(:list_event_sources, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListEventSources"
    o.http_method = "GET"
    o.http_request_uri = "/2014-11-13/event-source-mappings/"
    o.input = Shapes::ShapeRef.new(shape: ListEventSourcesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListEventSourcesResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_items",
      tokens: {
        "next_marker" => "marker"
      }
    )
  end)

  api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListFunctions"
    o.http_method = "GET"
    o.http_request_uri = "/2014-11-13/functions/"
    o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListFunctionsResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_items",
      tokens: {
        "next_marker" => "marker"
      }
    )
  end)

  api.add_operation(:remove_event_source, Seahorse::Model::Operation.new.tap do |o|
    o.name = "RemoveEventSource"
    o.http_method = "DELETE"
    o.http_request_uri = "/2014-11-13/event-source-mappings/{UUID}"
    o.input = Shapes::ShapeRef.new(shape: RemoveEventSourceRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
  end)

  api.add_operation(:update_function_configuration, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateFunctionConfiguration"
    o.http_method = "PUT"
    o.http_request_uri = "/2014-11-13/functions/{FunctionName}/configuration"
    o.input = Shapes::ShapeRef.new(shape: UpdateFunctionConfigurationRequest)
    o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
  end)

  api.add_operation(:upload_function, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UploadFunction"
    o.http_method = "PUT"
    o.http_request_uri = "/2014-11-13/functions/{FunctionName}"
    o.input = Shapes::ShapeRef.new(shape: UploadFunctionRequest)
    o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)
end