Example usage for com.amazonaws.services.lambda.model DeleteEventSourceMappingRequest DeleteEventSourceMappingRequest

List of usage examples for com.amazonaws.services.lambda.model DeleteEventSourceMappingRequest DeleteEventSourceMappingRequest

Introduction

In this page you can find the example usage for com.amazonaws.services.lambda.model DeleteEventSourceMappingRequest DeleteEventSourceMappingRequest.

Prototype

DeleteEventSourceMappingRequest

Source Link

Usage

From source file:com.netflix.spinnaker.clouddriver.lambda.deploy.ops.DeleteLambdaEventSourceAtomicOperation.java

License:Apache License

private DeleteEventSourceMappingResult deleteEventSourceMappingResult() {
    updateTaskStatus("Initializing Deleting of AWS Lambda Function Event Mapping Operation...");

    AWSLambda client = getLambdaClient();
    DeleteEventSourceMappingRequest request = new DeleteEventSourceMappingRequest()
            .withUUID(description.getUuid());

    DeleteEventSourceMappingResult result = client.deleteEventSourceMapping(request);
    updateTaskStatus("Finished Deleting of AWS Lambda Function Event Mapping Operation...");

    return result;
}