AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Exports optimization recommendations for Lambda functions.
Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.
You can have only one Lambda function export job in progress per Amazon Web Services Region.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginExportLambdaFunctionRecommendations and EndExportLambdaFunctionRecommendations.
Namespace: Amazon.ComputeOptimizer
Assembly: AWSSDK.ComputeOptimizer.dll
Version: 3.x.y.z
public virtual Task<ExportLambdaFunctionRecommendationsResponse> ExportLambdaFunctionRecommendationsAsync( ExportLambdaFunctionRecommendationsRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the ExportLambdaFunctionRecommendations service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
AccessDeniedException | You do not have sufficient access to perform this action. |
InternalServerException | An internal error has occurred. Try your call again. |
InvalidParameterValueException | The value supplied for the input parameter is out of range or not valid. |
LimitExceededException | The request exceeds a limit of the service. |
MissingAuthenticationTokenException | The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate. |
OptInRequiredException | The account is not opted in to Compute Optimizer. |
ServiceUnavailableException | The request has failed due to a temporary failure of the server. |
ThrottlingException | The request was denied due to request throttling. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer