AWS SDK for C++  1.9.123
AWS SDK for C++
Public Types | Public Member Functions | List of all members
Aws::ComputeOptimizer::ComputeOptimizerClient Class Reference

#include <ComputeOptimizerClient.h>

+ Inheritance diagram for Aws::ComputeOptimizer::ComputeOptimizerClient:

Public Types

typedef Aws::Client::AWSJsonClient BASECLASS
 
- Public Types inherited from Aws::Client::AWSJsonClient
typedef AWSClient BASECLASS
 

Public Member Functions

 ComputeOptimizerClient (const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
 
 ComputeOptimizerClient (const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
 
 ComputeOptimizerClient (const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
 
virtual ~ComputeOptimizerClient ()
 
virtual Model::DescribeRecommendationExportJobsOutcome DescribeRecommendationExportJobs (const Model::DescribeRecommendationExportJobsRequest &request) const
 
virtual Model::DescribeRecommendationExportJobsOutcomeCallable DescribeRecommendationExportJobsCallable (const Model::DescribeRecommendationExportJobsRequest &request) const
 
virtual void DescribeRecommendationExportJobsAsync (const Model::DescribeRecommendationExportJobsRequest &request, const DescribeRecommendationExportJobsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ExportAutoScalingGroupRecommendationsOutcome ExportAutoScalingGroupRecommendations (const Model::ExportAutoScalingGroupRecommendationsRequest &request) const
 
virtual Model::ExportAutoScalingGroupRecommendationsOutcomeCallable ExportAutoScalingGroupRecommendationsCallable (const Model::ExportAutoScalingGroupRecommendationsRequest &request) const
 
virtual void ExportAutoScalingGroupRecommendationsAsync (const Model::ExportAutoScalingGroupRecommendationsRequest &request, const ExportAutoScalingGroupRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ExportEBSVolumeRecommendationsOutcome ExportEBSVolumeRecommendations (const Model::ExportEBSVolumeRecommendationsRequest &request) const
 
virtual Model::ExportEBSVolumeRecommendationsOutcomeCallable ExportEBSVolumeRecommendationsCallable (const Model::ExportEBSVolumeRecommendationsRequest &request) const
 
virtual void ExportEBSVolumeRecommendationsAsync (const Model::ExportEBSVolumeRecommendationsRequest &request, const ExportEBSVolumeRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ExportEC2InstanceRecommendationsOutcome ExportEC2InstanceRecommendations (const Model::ExportEC2InstanceRecommendationsRequest &request) const
 
virtual Model::ExportEC2InstanceRecommendationsOutcomeCallable ExportEC2InstanceRecommendationsCallable (const Model::ExportEC2InstanceRecommendationsRequest &request) const
 
virtual void ExportEC2InstanceRecommendationsAsync (const Model::ExportEC2InstanceRecommendationsRequest &request, const ExportEC2InstanceRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ExportLambdaFunctionRecommendationsOutcome ExportLambdaFunctionRecommendations (const Model::ExportLambdaFunctionRecommendationsRequest &request) const
 
virtual Model::ExportLambdaFunctionRecommendationsOutcomeCallable ExportLambdaFunctionRecommendationsCallable (const Model::ExportLambdaFunctionRecommendationsRequest &request) const
 
virtual void ExportLambdaFunctionRecommendationsAsync (const Model::ExportLambdaFunctionRecommendationsRequest &request, const ExportLambdaFunctionRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetAutoScalingGroupRecommendationsOutcome GetAutoScalingGroupRecommendations (const Model::GetAutoScalingGroupRecommendationsRequest &request) const
 
virtual Model::GetAutoScalingGroupRecommendationsOutcomeCallable GetAutoScalingGroupRecommendationsCallable (const Model::GetAutoScalingGroupRecommendationsRequest &request) const
 
virtual void GetAutoScalingGroupRecommendationsAsync (const Model::GetAutoScalingGroupRecommendationsRequest &request, const GetAutoScalingGroupRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetEBSVolumeRecommendationsOutcome GetEBSVolumeRecommendations (const Model::GetEBSVolumeRecommendationsRequest &request) const
 
virtual Model::GetEBSVolumeRecommendationsOutcomeCallable GetEBSVolumeRecommendationsCallable (const Model::GetEBSVolumeRecommendationsRequest &request) const
 
virtual void GetEBSVolumeRecommendationsAsync (const Model::GetEBSVolumeRecommendationsRequest &request, const GetEBSVolumeRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetEC2InstanceRecommendationsOutcome GetEC2InstanceRecommendations (const Model::GetEC2InstanceRecommendationsRequest &request) const
 
virtual Model::GetEC2InstanceRecommendationsOutcomeCallable GetEC2InstanceRecommendationsCallable (const Model::GetEC2InstanceRecommendationsRequest &request) const
 
virtual void GetEC2InstanceRecommendationsAsync (const Model::GetEC2InstanceRecommendationsRequest &request, const GetEC2InstanceRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetEC2RecommendationProjectedMetricsOutcome GetEC2RecommendationProjectedMetrics (const Model::GetEC2RecommendationProjectedMetricsRequest &request) const
 
virtual Model::GetEC2RecommendationProjectedMetricsOutcomeCallable GetEC2RecommendationProjectedMetricsCallable (const Model::GetEC2RecommendationProjectedMetricsRequest &request) const
 
virtual void GetEC2RecommendationProjectedMetricsAsync (const Model::GetEC2RecommendationProjectedMetricsRequest &request, const GetEC2RecommendationProjectedMetricsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetEnrollmentStatusOutcome GetEnrollmentStatus (const Model::GetEnrollmentStatusRequest &request) const
 
virtual Model::GetEnrollmentStatusOutcomeCallable GetEnrollmentStatusCallable (const Model::GetEnrollmentStatusRequest &request) const
 
virtual void GetEnrollmentStatusAsync (const Model::GetEnrollmentStatusRequest &request, const GetEnrollmentStatusResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetEnrollmentStatusesForOrganizationOutcome GetEnrollmentStatusesForOrganization (const Model::GetEnrollmentStatusesForOrganizationRequest &request) const
 
virtual Model::GetEnrollmentStatusesForOrganizationOutcomeCallable GetEnrollmentStatusesForOrganizationCallable (const Model::GetEnrollmentStatusesForOrganizationRequest &request) const
 
virtual void GetEnrollmentStatusesForOrganizationAsync (const Model::GetEnrollmentStatusesForOrganizationRequest &request, const GetEnrollmentStatusesForOrganizationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetLambdaFunctionRecommendationsOutcome GetLambdaFunctionRecommendations (const Model::GetLambdaFunctionRecommendationsRequest &request) const
 
virtual Model::GetLambdaFunctionRecommendationsOutcomeCallable GetLambdaFunctionRecommendationsCallable (const Model::GetLambdaFunctionRecommendationsRequest &request) const
 
virtual void GetLambdaFunctionRecommendationsAsync (const Model::GetLambdaFunctionRecommendationsRequest &request, const GetLambdaFunctionRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetRecommendationSummariesOutcome GetRecommendationSummaries (const Model::GetRecommendationSummariesRequest &request) const
 
virtual Model::GetRecommendationSummariesOutcomeCallable GetRecommendationSummariesCallable (const Model::GetRecommendationSummariesRequest &request) const
 
virtual void GetRecommendationSummariesAsync (const Model::GetRecommendationSummariesRequest &request, const GetRecommendationSummariesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::UpdateEnrollmentStatusOutcome UpdateEnrollmentStatus (const Model::UpdateEnrollmentStatusRequest &request) const
 
virtual Model::UpdateEnrollmentStatusOutcomeCallable UpdateEnrollmentStatusCallable (const Model::UpdateEnrollmentStatusRequest &request) const
 
virtual void UpdateEnrollmentStatusAsync (const Model::UpdateEnrollmentStatusRequest &request, const UpdateEnrollmentStatusResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
void OverrideEndpoint (const Aws::String &endpoint)
 
- Public Member Functions inherited from Aws::Client::AWSJsonClient
 AWSJsonClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
 AWSJsonClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Auth::AWSAuthSignerProvider > &signerProvider, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
virtual ~AWSJsonClient ()=default
 
- Public Member Functions inherited from Aws::Client::AWSClient
 AWSClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
 AWSClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Auth::AWSAuthSignerProvider > &signerProvider, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
virtual ~AWSClient ()
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const char *signerName, long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const char *signerName, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const char *signerName, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
void DisableRequestProcessing ()
 
void EnableRequestProcessing ()
 
virtual const char * GetServiceClientName () const
 
virtual void SetServiceClientName (const Aws::String &name)
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::Client::AWSJsonClient
virtual AWSError< CoreErrorsBuildAWSError (const std::shared_ptr< Aws::Http::HttpResponse > &response) const override
 
JsonOutcome MakeRequest (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
JsonOutcome MakeRequest (const Aws::Http::URI &uri, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
JsonOutcome MakeEventStreamRequest (std::shared_ptr< Aws::Http::HttpRequest > &request) const
 
- Protected Member Functions inherited from Aws::Client::AWSClient
HttpResponseOutcome AttemptExhaustively (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod httpMethod, const char *signerName, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
HttpResponseOutcome AttemptExhaustively (const Aws::Http::URI &uri, Http::HttpMethod httpMethod, const char *signerName, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
HttpResponseOutcome AttemptOneRequest (const std::shared_ptr< Http::HttpRequest > &httpRequest, const Aws::AmazonWebServiceRequest &request, const char *signerName, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
HttpResponseOutcome AttemptOneRequest (const std::shared_ptr< Http::HttpRequest > &httpRequest, const char *signerName, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
StreamOutcome MakeRequestWithUnparsedResponse (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
StreamOutcome MakeRequestWithUnparsedResponse (const Aws::Http::URI &uri, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
virtual void BuildHttpRequest (const Aws::AmazonWebServiceRequest &request, const std::shared_ptr< Aws::Http::HttpRequest > &httpRequest) const
 
const std::shared_ptr< AWSErrorMarshaller > & GetErrorMarshaller () const
 
Aws::Client::AWSAuthSignerGetSignerByName (const char *name) const
 
std::shared_ptr< Aws::Http::HttpRequestBuildAndSignHttpRequest (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method, const char *signerName) const
 
std::shared_ptr< Aws::Http::HttpResponseMakeHttpRequest (std::shared_ptr< Aws::Http::HttpRequest > &request) const
 
- Protected Attributes inherited from Aws::Client::AWSClient
Aws::String m_region
 

Detailed Description

Compute Optimizer is a service that analyzes the configuration and utilization metrics of your Amazon Web Services compute resources, such as Amazon EC2 instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides recent utilization metric data, in addition to projected utilization metric data for the recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements. For more information about Compute Optimizer, including the required permissions to use the service, see the Compute Optimizer User Guide.

Definition at line 146 of file ComputeOptimizerClient.h.

Member Typedef Documentation

◆ BASECLASS

Definition at line 149 of file ComputeOptimizerClient.h.

Constructor & Destructor Documentation

◆ ComputeOptimizerClient() [1/3]

Aws::ComputeOptimizer::ComputeOptimizerClient::ComputeOptimizerClient ( const Aws::Client::ClientConfiguration clientConfiguration = Aws::Client::ClientConfiguration())

Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.

◆ ComputeOptimizerClient() [2/3]

Aws::ComputeOptimizer::ComputeOptimizerClient::ComputeOptimizerClient ( const Aws::Auth::AWSCredentials credentials,
const Aws::Client::ClientConfiguration clientConfiguration = Aws::Client::ClientConfiguration() 
)

Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.

◆ ComputeOptimizerClient() [3/3]

Aws::ComputeOptimizer::ComputeOptimizerClient::ComputeOptimizerClient ( const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &  credentialsProvider,
const Aws::Client::ClientConfiguration clientConfiguration = Aws::Client::ClientConfiguration() 
)

Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used

◆ ~ComputeOptimizerClient()

virtual Aws::ComputeOptimizer::ComputeOptimizerClient::~ComputeOptimizerClient ( )
virtual

Member Function Documentation

◆ DescribeRecommendationExportJobs()

virtual Model::DescribeRecommendationExportJobsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::DescribeRecommendationExportJobs ( const Model::DescribeRecommendationExportJobsRequest request) const
virtual

Describes recommendation export jobs created in the last seven days.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.

See Also:

AWS API Reference

◆ DescribeRecommendationExportJobsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::DescribeRecommendationExportJobsAsync ( const Model::DescribeRecommendationExportJobsRequest request,
const DescribeRecommendationExportJobsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Describes recommendation export jobs created in the last seven days.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ DescribeRecommendationExportJobsCallable()

virtual Model::DescribeRecommendationExportJobsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::DescribeRecommendationExportJobsCallable ( const Model::DescribeRecommendationExportJobsRequest request) const
virtual

Describes recommendation export jobs created in the last seven days.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ ExportAutoScalingGroupRecommendations()

virtual Model::ExportAutoScalingGroupRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::ExportAutoScalingGroupRecommendations ( const Model::ExportAutoScalingGroupRecommendationsRequest request) const
virtual

Exports optimization recommendations for Auto Scaling groups.

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 Auto Scaling group export job in progress per Amazon Web Services Region.

See Also:

AWS API Reference

◆ ExportAutoScalingGroupRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::ExportAutoScalingGroupRecommendationsAsync ( const Model::ExportAutoScalingGroupRecommendationsRequest request,
const ExportAutoScalingGroupRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Exports optimization recommendations for Auto Scaling groups.

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 Auto Scaling group export job in progress per Amazon Web Services Region.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ ExportAutoScalingGroupRecommendationsCallable()

virtual Model::ExportAutoScalingGroupRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::ExportAutoScalingGroupRecommendationsCallable ( const Model::ExportAutoScalingGroupRecommendationsRequest request) const
virtual

Exports optimization recommendations for Auto Scaling groups.

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 Auto Scaling group export job in progress per Amazon Web Services Region.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ ExportEBSVolumeRecommendations()

virtual Model::ExportEBSVolumeRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::ExportEBSVolumeRecommendations ( const Model::ExportEBSVolumeRecommendationsRequest request) const
virtual

Exports optimization recommendations for Amazon EBS volumes.

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

See Also:

AWS API Reference

◆ ExportEBSVolumeRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::ExportEBSVolumeRecommendationsAsync ( const Model::ExportEBSVolumeRecommendationsRequest request,
const ExportEBSVolumeRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Exports optimization recommendations for Amazon EBS volumes.

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

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ ExportEBSVolumeRecommendationsCallable()

virtual Model::ExportEBSVolumeRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::ExportEBSVolumeRecommendationsCallable ( const Model::ExportEBSVolumeRecommendationsRequest request) const
virtual

Exports optimization recommendations for Amazon EBS volumes.

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

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ ExportEC2InstanceRecommendations()

virtual Model::ExportEC2InstanceRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::ExportEC2InstanceRecommendations ( const Model::ExportEC2InstanceRecommendationsRequest request) const
virtual

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.

See Also:

AWS API Reference

◆ ExportEC2InstanceRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::ExportEC2InstanceRecommendationsAsync ( const Model::ExportEC2InstanceRecommendationsRequest request,
const ExportEC2InstanceRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

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.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ ExportEC2InstanceRecommendationsCallable()

virtual Model::ExportEC2InstanceRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::ExportEC2InstanceRecommendationsCallable ( const Model::ExportEC2InstanceRecommendationsRequest request) const
virtual

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.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ ExportLambdaFunctionRecommendations()

virtual Model::ExportLambdaFunctionRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::ExportLambdaFunctionRecommendations ( const Model::ExportLambdaFunctionRecommendationsRequest request) const
virtual

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.

See Also:

AWS API Reference

◆ ExportLambdaFunctionRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::ExportLambdaFunctionRecommendationsAsync ( const Model::ExportLambdaFunctionRecommendationsRequest request,
const ExportLambdaFunctionRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

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.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ ExportLambdaFunctionRecommendationsCallable()

virtual Model::ExportLambdaFunctionRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::ExportLambdaFunctionRecommendationsCallable ( const Model::ExportLambdaFunctionRecommendationsRequest request) const
virtual

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.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetAutoScalingGroupRecommendations()

virtual Model::GetAutoScalingGroupRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetAutoScalingGroupRecommendations ( const Model::GetAutoScalingGroupRecommendationsRequest request) const
virtual

Returns Auto Scaling group recommendations.

Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

◆ GetAutoScalingGroupRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetAutoScalingGroupRecommendationsAsync ( const Model::GetAutoScalingGroupRecommendationsRequest request,
const GetAutoScalingGroupRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns Auto Scaling group recommendations.

Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetAutoScalingGroupRecommendationsCallable()

virtual Model::GetAutoScalingGroupRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetAutoScalingGroupRecommendationsCallable ( const Model::GetAutoScalingGroupRecommendationsRequest request) const
virtual

Returns Auto Scaling group recommendations.

Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetEBSVolumeRecommendations()

virtual Model::GetEBSVolumeRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetEBSVolumeRecommendations ( const Model::GetEBSVolumeRecommendationsRequest request) const
virtual

Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.

Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

◆ GetEBSVolumeRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetEBSVolumeRecommendationsAsync ( const Model::GetEBSVolumeRecommendationsRequest request,
const GetEBSVolumeRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.

Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetEBSVolumeRecommendationsCallable()

virtual Model::GetEBSVolumeRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetEBSVolumeRecommendationsCallable ( const Model::GetEBSVolumeRecommendationsRequest request) const
virtual

Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.

Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetEC2InstanceRecommendations()

virtual Model::GetEC2InstanceRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetEC2InstanceRecommendations ( const Model::GetEC2InstanceRecommendationsRequest request) const
virtual

Returns Amazon EC2 instance recommendations.

Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

◆ GetEC2InstanceRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetEC2InstanceRecommendationsAsync ( const Model::GetEC2InstanceRecommendationsRequest request,
const GetEC2InstanceRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns Amazon EC2 instance recommendations.

Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetEC2InstanceRecommendationsCallable()

virtual Model::GetEC2InstanceRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetEC2InstanceRecommendationsCallable ( const Model::GetEC2InstanceRecommendationsRequest request) const
virtual

Returns Amazon EC2 instance recommendations.

Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetEC2RecommendationProjectedMetrics()

virtual Model::GetEC2RecommendationProjectedMetricsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetEC2RecommendationProjectedMetrics ( const Model::GetEC2RecommendationProjectedMetricsRequest request) const
virtual

Returns the projected utilization metrics of Amazon EC2 instance recommendations.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

See Also:

AWS API Reference

◆ GetEC2RecommendationProjectedMetricsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetEC2RecommendationProjectedMetricsAsync ( const Model::GetEC2RecommendationProjectedMetricsRequest request,
const GetEC2RecommendationProjectedMetricsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns the projected utilization metrics of Amazon EC2 instance recommendations.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetEC2RecommendationProjectedMetricsCallable()

virtual Model::GetEC2RecommendationProjectedMetricsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetEC2RecommendationProjectedMetricsCallable ( const Model::GetEC2RecommendationProjectedMetricsRequest request) const
virtual

Returns the projected utilization metrics of Amazon EC2 instance recommendations.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetEnrollmentStatus()

virtual Model::GetEnrollmentStatusOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetEnrollmentStatus ( const Model::GetEnrollmentStatusRequest request) const
virtual

Returns the enrollment (opt in) status of an account to the Compute Optimizer service.

If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.

See Also:

AWS API Reference

◆ GetEnrollmentStatusAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetEnrollmentStatusAsync ( const Model::GetEnrollmentStatusRequest request,
const GetEnrollmentStatusResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns the enrollment (opt in) status of an account to the Compute Optimizer service.

If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetEnrollmentStatusCallable()

virtual Model::GetEnrollmentStatusOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetEnrollmentStatusCallable ( const Model::GetEnrollmentStatusRequest request) const
virtual

Returns the enrollment (opt in) status of an account to the Compute Optimizer service.

If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetEnrollmentStatusesForOrganization()

virtual Model::GetEnrollmentStatusesForOrganizationOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetEnrollmentStatusesForOrganization ( const Model::GetEnrollmentStatusesForOrganizationRequest request) const
virtual

Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.

To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.

See Also:

AWS API Reference

◆ GetEnrollmentStatusesForOrganizationAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetEnrollmentStatusesForOrganizationAsync ( const Model::GetEnrollmentStatusesForOrganizationRequest request,
const GetEnrollmentStatusesForOrganizationResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.

To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetEnrollmentStatusesForOrganizationCallable()

virtual Model::GetEnrollmentStatusesForOrganizationOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetEnrollmentStatusesForOrganizationCallable ( const Model::GetEnrollmentStatusesForOrganizationRequest request) const
virtual

Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.

To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetLambdaFunctionRecommendations()

virtual Model::GetLambdaFunctionRecommendationsOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetLambdaFunctionRecommendations ( const Model::GetLambdaFunctionRecommendationsRequest request) const
virtual

Returns Lambda function recommendations.

Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

◆ GetLambdaFunctionRecommendationsAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetLambdaFunctionRecommendationsAsync ( const Model::GetLambdaFunctionRecommendationsRequest request,
const GetLambdaFunctionRecommendationsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns Lambda function recommendations.

Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetLambdaFunctionRecommendationsCallable()

virtual Model::GetLambdaFunctionRecommendationsOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetLambdaFunctionRecommendationsCallable ( const Model::GetLambdaFunctionRecommendationsRequest request) const
virtual

Returns Lambda function recommendations.

Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetRecommendationSummaries()

virtual Model::GetRecommendationSummariesOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::GetRecommendationSummaries ( const Model::GetRecommendationSummariesRequest request) const
virtual

Returns the optimization findings for an account.

It returns the number of:

  • Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized.

  • Auto Scaling groups in an account that are NotOptimized, or Optimized.

  • Amazon EBS volumes in an account that are NotOptimized, or Optimized.

  • Lambda functions in an account that are NotOptimized, or Optimized.

See Also:

AWS API Reference

◆ GetRecommendationSummariesAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::GetRecommendationSummariesAsync ( const Model::GetRecommendationSummariesRequest request,
const GetRecommendationSummariesResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns the optimization findings for an account.

It returns the number of:

  • Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized.

  • Auto Scaling groups in an account that are NotOptimized, or Optimized.

  • Amazon EBS volumes in an account that are NotOptimized, or Optimized.

  • Lambda functions in an account that are NotOptimized, or Optimized.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetRecommendationSummariesCallable()

virtual Model::GetRecommendationSummariesOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::GetRecommendationSummariesCallable ( const Model::GetRecommendationSummariesRequest request) const
virtual

Returns the optimization findings for an account.

It returns the number of:

  • Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized.

  • Auto Scaling groups in an account that are NotOptimized, or Optimized.

  • Amazon EBS volumes in an account that are NotOptimized, or Optimized.

  • Lambda functions in an account that are NotOptimized, or Optimized.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ OverrideEndpoint()

void Aws::ComputeOptimizer::ComputeOptimizerClient::OverrideEndpoint ( const Aws::String endpoint)

◆ UpdateEnrollmentStatus()

virtual Model::UpdateEnrollmentStatusOutcome Aws::ComputeOptimizer::ComputeOptimizerClient::UpdateEnrollmentStatus ( const Model::UpdateEnrollmentStatusRequest request) const
virtual

Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.

If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.

You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with Amazon Web Services Identity and Access Management in the Compute Optimizer User Guide.

When you opt in, Compute Optimizer automatically creates a service-linked role in your account to access its data. For more information, see Using Service-Linked Roles for Compute Optimizer in the Compute Optimizer User Guide.

See Also:

AWS API Reference

◆ UpdateEnrollmentStatusAsync()

virtual void Aws::ComputeOptimizer::ComputeOptimizerClient::UpdateEnrollmentStatusAsync ( const Model::UpdateEnrollmentStatusRequest request,
const UpdateEnrollmentStatusResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.

If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.

You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with Amazon Web Services Identity and Access Management in the Compute Optimizer User Guide.

When you opt in, Compute Optimizer automatically creates a service-linked role in your account to access its data. For more information, see Using Service-Linked Roles for Compute Optimizer in the Compute Optimizer User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ UpdateEnrollmentStatusCallable()

virtual Model::UpdateEnrollmentStatusOutcomeCallable Aws::ComputeOptimizer::ComputeOptimizerClient::UpdateEnrollmentStatusCallable ( const Model::UpdateEnrollmentStatusRequest request) const
virtual

Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.

If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.

You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with Amazon Web Services Identity and Access Management in the Compute Optimizer User Guide.

When you opt in, Compute Optimizer automatically creates a service-linked role in your account to access its data. For more information, see Using Service-Linked Roles for Compute Optimizer in the Compute Optimizer User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.


The documentation for this class was generated from the following file: