/** * <p> * Retrieves details about your account's <a * href="http://docs.aws.amazon.com/lambda/latest/dg/limits.html">limits</a> and usage in a region. * </p> * * @param getAccountSettingsRequest * @return Result of the GetAccountSettings operation returned by the service. * @throws TooManyRequestsException * Request throughput limit exceeded. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @sample AWSLambda.GetAccountSettings * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings" target="_top">AWS API * Documentation</a> */ @Override public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest request) { request = beforeClientExecution(request); return executeGetAccountSettings(request); }
/** * <p> * Deletes a version of an <a href="http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">AWS * Lambda layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a * copy of the version remains in Lambda until no functions refer to it. * </p> * * @param deleteLayerVersionRequest * @return Result of the DeleteLayerVersion operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.DeleteLayerVersion * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteLayerVersion" target="_top">AWS API * Documentation</a> */ @Override public DeleteLayerVersionResult deleteLayerVersion(DeleteLayerVersionRequest request) { request = beforeClientExecution(request); return executeDeleteLayerVersion(request); }
/** * <p> * Deletes a Lambda function <a * href="http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>. * </p> * * @param deleteAliasRequest * @return Result of the DeleteAlias operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.DeleteAlias * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias" target="_top">AWS API * Documentation</a> */ @Override public DeleteAliasResult deleteAlias(DeleteAliasRequest request) { request = beforeClientExecution(request); return executeDeleteAlias(request); }
/** * <p> * Removes a concurrent execution limit from a function. * </p> * * @param deleteFunctionConcurrencyRequest * @return Result of the DeleteFunctionConcurrency operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws TooManyRequestsException * Request throughput limit exceeded. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @sample AWSLambda.DeleteFunctionConcurrency * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency" * target="_top">AWS API Documentation</a> */ @Override public DeleteFunctionConcurrencyResult deleteFunctionConcurrency(DeleteFunctionConcurrencyRequest request) { request = beforeClientExecution(request); return executeDeleteFunctionConcurrency(request); }
/** * <p> * Adds <a href="http://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to a function. * </p> * * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.TagResource * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource" target="_top">AWS API * Documentation</a> */ @Override public TagResourceResult tagResource(TagResourceRequest request) { request = beforeClientExecution(request); return executeTagResource(request); }
/** * <p> * Lists <a href="http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">AWS Lambda layers</a> and * shows information about the latest version of each. Specify a <a * href="http://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only * layers that indicate that they're compatible with that runtime. * </p> * * @param listLayersRequest * @return Result of the ListLayers operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.ListLayers * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers" target="_top">AWS API * Documentation</a> */ @Override public ListLayersResult listLayers(ListLayersRequest request) { request = beforeClientExecution(request); return executeListLayers(request); }
/** * <p> * Removes <a href="http://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> from a function. * </p> * * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.UntagResource * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource" target="_top">AWS API * Documentation</a> */ @Override public UntagResourceResult untagResource(UntagResourceRequest request) { request = beforeClientExecution(request); return executeUntagResource(request); }
/** * <p> * Returns information about a version of an <a * href="http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">AWS Lambda layer</a>, with a link to * download the layer archive that's valid for 10 minutes. * </p> * * @param getLayerVersionRequest * @return Result of the GetLayerVersion operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @sample AWSLambda.GetLayerVersion * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion" target="_top">AWS API * Documentation</a> */ @Override public GetLayerVersionResult getLayerVersion(GetLayerVersionRequest request) { request = beforeClientExecution(request); return executeGetLayerVersion(request); }
/** * <p> * Returns the permission policy for a version of an <a * href="http://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">AWS Lambda layer</a>. For more * information, see <a>AddLayerVersionPermission</a>. * </p> * * @param getLayerVersionPolicyRequest * @return Result of the GetLayerVersionPolicy operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws TooManyRequestsException * Request throughput limit exceeded. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @sample AWSLambda.GetLayerVersionPolicy * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionPolicy" target="_top">AWS * API Documentation</a> */ @Override public GetLayerVersionPolicyResult getLayerVersionPolicy(GetLayerVersionPolicyRequest request) { request = beforeClientExecution(request); return executeGetLayerVersionPolicy(request); }
/** * <p> * Lists event source mappings. Specify an <code>EventSourceArn</code> to only show event source mappings for a * single event source. * </p> * * @param listEventSourceMappingsRequest * @return Result of the ListEventSourceMappings operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.ListEventSourceMappings * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings" target="_top">AWS * API Documentation</a> */ @Override public ListEventSourceMappingsResult listEventSourceMappings(ListEventSourceMappingsRequest request) { request = beforeClientExecution(request); return executeListEventSourceMappings(request); }
/** * <p> * Returns details about a Lambda function <a * href="http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>. * </p> * * @param getAliasRequest * @return Result of the GetAlias operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.GetAlias * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias" target="_top">AWS API * Documentation</a> */ @Override public GetAliasResult getAlias(GetAliasRequest request) { request = beforeClientExecution(request); return executeGetAlias(request); }
/** * <p> * Returns details about an event source mapping. You can get the identifier of a mapping from the output of * <a>ListEventSourceMappings</a>. * </p> * * @param getEventSourceMappingRequest * @return Result of the GetEventSourceMapping operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.GetEventSourceMapping * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping" target="_top">AWS * API Documentation</a> */ @Override public GetEventSourceMappingResult getEventSourceMapping(GetEventSourceMappingRequest request) { request = beforeClientExecution(request); return executeGetEventSourceMapping(request); }
/** * <p> * Returns information about function or function version, with a link to download the deployment package that's * valid for 10 minutes. If you specify a function version, only details specific to that version are returned. * </p> * * @param getFunctionRequest * @return Result of the GetFunction operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws TooManyRequestsException * Request throughput limit exceeded. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @sample AWSLambda.GetFunction * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction" target="_top">AWS API * Documentation</a> */ @Override public GetFunctionResult getFunction(GetFunctionRequest request) { request = beforeClientExecution(request); return executeGetFunction(request); }
/** * <p> * Returns a list of Lambda functions, with the version-specific configuration of each. * </p> * <p> * Set <code>FunctionVersion</code> to <code>ALL</code> to include all published versions of each function in * addition to the unpublished version. To get more information about a function or version, use <a>GetFunction</a>. * </p> * * @param listFunctionsRequest * @return Result of the ListFunctions operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws TooManyRequestsException * Request throughput limit exceeded. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @sample AWSLambda.ListFunctions * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions" target="_top">AWS API * Documentation</a> */ @Override public ListFunctionsResult listFunctions(ListFunctionsRequest request) { request = beforeClientExecution(request); return executeListFunctions(request); }
/** * <p> * Returns a list of <a href="http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>, * with the version-specific configuration of each. * </p> * * @param listVersionsByFunctionRequest * @return Result of the ListVersionsByFunction operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.ListVersionsByFunction * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction" target="_top">AWS * API Documentation</a> */ @Override public ListVersionsByFunctionResult listVersionsByFunction(ListVersionsByFunctionRequest request) { request = beforeClientExecution(request); return executeListVersionsByFunction(request); }
/** * <p> * Returns a list of <a href="http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">aliases</a> for a * Lambda function. * </p> * * @param listAliasesRequest * @return Result of the ListAliases operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.ListAliases * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases" target="_top">AWS API * Documentation</a> */ @Override public ListAliasesResult listAliases(ListAliasesRequest request) { request = beforeClientExecution(request); return executeListAliases(request); }
/** * <p> * Returns a function's <a href="http://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can also * view tags with <a>GetFunction</a>. * </p> * * @param listTagsRequest * @return Result of the ListTags operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @throws TooManyRequestsException * Request throughput limit exceeded. * @sample AWSLambda.ListTags * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags" target="_top">AWS API * Documentation</a> */ @Override public ListTagsResult listTags(ListTagsRequest request) { request = beforeClientExecution(request); return executeListTags(request); }
/** * <p> * Returns the <a * href="http://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based IAM * policy</a> for a function, version, or alias. * </p> * * @param getPolicyRequest * @return Result of the GetPolicy operation returned by the service. * @throws ServiceException * The AWS Lambda service encountered an internal error. * @throws ResourceNotFoundException * The resource (for example, a Lambda function or access policy statement) specified in the request does * not exist. * @throws TooManyRequestsException * Request throughput limit exceeded. * @throws InvalidParameterValueException * One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda * to assume in the <code>CreateFunction</code> or the <code>UpdateFunctionConfiguration</code> API, that * AWS Lambda is unable to assume you will get this exception. * @sample AWSLambda.GetPolicy * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy" target="_top">AWS API * Documentation</a> */ @Override public GetPolicyResult getPolicy(GetPolicyRequest request) { request = beforeClientExecution(request); return executeGetPolicy(request); }
request = beforeClientExecution(request); return executeGetFunctionConfiguration(request);
@Deprecated public InvokeAsyncResult invokeAsync(InvokeAsyncRequest request) { request = beforeClientExecution(request); return executeInvokeAsync(request);