AWS SDK Version 4 for .NET
API Reference

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.

Updates your account’s Compute Optimizer Automation enrollment configuration.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to UpdateEnrollmentConfigurationAsync.

Namespace: Amazon.ComputeOptimizerAutomation
Assembly: AWSSDK.ComputeOptimizerAutomation.dll
Version: 3.x.y.z

Syntax

C#
public virtual UpdateEnrollmentConfigurationResponse UpdateEnrollmentConfiguration(
         UpdateEnrollmentConfigurationRequest request
)

Parameters

request
Type: Amazon.ComputeOptimizerAutomation.Model.UpdateEnrollmentConfigurationRequest

Container for the necessary parameters to execute the UpdateEnrollmentConfiguration service method.

Return Value


The response from the UpdateEnrollmentConfiguration service method, as returned by ComputeOptimizerAutomation.

Exceptions

ExceptionCondition
AccessDeniedException You do not have sufficient permissions to perform this action.
ForbiddenException You are not authorized to perform this action.
IdempotencyTokenInUseException The specified client token is already in use.
IdempotentParameterMismatchException Exception thrown when the same client token is used with different parameters, indicating a mismatch in idempotent request parameters.
InternalServerException An internal error occurred while processing the request.
InvalidParameterValueException One or more parameter values are not valid.
NotManagementAccountException The operation can only be performed by a management account.
OptInRequiredException The account must be opted in to Compute Optimizer Automation before performing this action.
ResourceNotFoundException The specified resource was not found.
ServiceUnavailableException The service is temporarily unavailable.
ThrottlingException The request was denied due to request throttling.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also