Module Smaws_Client_ComputeOptimizer.ExportEC2InstanceRecommendations

Exports optimization recommendations for Amazon EC2 instances.

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 Amazon EC2 instance export job in progress per Amazon Web Services Region.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `LimitExceededException of Types.limit_exceeded_exception | `MissingAuthenticationToken of Types.missing_authentication_token | `OptInRequiredException of Types.opt_in_required_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.export_ec2_instance_recommendations_request -> (Types.export_ec2_instance_recommendations_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `LimitExceededException of Types.limit_exceeded_exception | `MissingAuthenticationToken of Types.missing_authentication_token | `OptInRequiredException of Types.opt_in_required_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.export_ec2_instance_recommendations_request -> (Types.export_ec2_instance_recommendations_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `InvalidParameterValueException of Types.invalid_parameter_value_exception | `LimitExceededException of Types.limit_exceeded_exception | `MissingAuthenticationToken of Types.missing_authentication_token | `OptInRequiredException of Types.opt_in_required_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result