![]() |
![]()
| ![]() |
![]()
NAMEPaws::ComputeOptimizer::UpdateEnrollmentStatus - Arguments for method UpdateEnrollmentStatus on Paws::ComputeOptimizer DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESIncludeMemberAccounts => BoolIndicates whether to enroll member accounts of the organization if the account is the management account of an organization. REQUIRED Status => StrThe new enrollment status of the account. The following status options are available:
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. Valid values are: "Active", "Inactive", "Pending", "Failed" SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateEnrollmentStatus in Paws::ComputeOptimizer BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|