Module Smaws_Client_ComputeOptimizer.GetRecommendationPreferences

Returns existing recommendation preferences, such as enhanced infrastructure metrics.

Use the scope parameter to specify which preferences to return. You can specify to return preferences for an organization, a specific account ID, or a specific EC2 instance or Auto Scaling group Amazon Resource Name (ARN).

For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

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 | `MissingAuthenticationToken of Types.missing_authentication_token | `OptInRequiredException of Types.opt_in_required_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_recommendation_preferences_request -> (Types.get_recommendation_preferences_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 | `MissingAuthenticationToken of Types.missing_authentication_token | `OptInRequiredException of Types.opt_in_required_exception | `ResourceNotFoundException of Types.resource_not_found_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.get_recommendation_preferences_request -> (Types.get_recommendation_preferences_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 | `MissingAuthenticationToken of Types.missing_authentication_token | `OptInRequiredException of Types.opt_in_required_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result