Paws::ComputeOptimizer::UpdateEnrollmentStatus - Arguments for method UpdateEnrollmentStatus on Paws::ComputeOptimizer
This class represents the parameters used for calling the method UpdateEnrollmentStatus on the AWS Compute Optimizer service. Use the attributes of this class as arguments to method UpdateEnrollmentStatus.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateEnrollmentStatus.
my $compute-optimizer = Paws->service('ComputeOptimizer'); my $UpdateEnrollmentStatusResponse = $compute -optimizer->UpdateEnrollmentStatus( Status => 'Active', IncludeMemberAccounts => 1, # OPTIONAL ); # Results: my $Status = $UpdateEnrollmentStatusResponse->Status; my $StatusReason = $UpdateEnrollmentStatusResponse->StatusReason; # Returns a L<Paws::ComputeOptimizer::UpdateEnrollmentStatusResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer/UpdateEnrollmentStatus
Indicates whether to enroll member accounts of the organization if the account is the management account of an organization.
The new enrollment status of the account.
The following status options are available:
Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins analyzing the configuration and utilization metrics of your AWS resources after you opt in. For more information, see Metrics analyzed by AWS Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html) in the AWS Compute Optimizer User Guide.
Active
Inactive - Opts out your account from the Compute Optimizer service. Your account's recommendations and related metrics data will be deleted from Compute Optimizer after you opt out.
Inactive
The Pending and Failed options cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.
Pending
Failed
Valid values are: "Active", "Inactive", "Pending", "Failed"
"Active"
"Inactive"
"Pending"
"Failed"
This class forms part of Paws, documenting arguments for method UpdateEnrollmentStatus in Paws::ComputeOptimizer
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.