Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

use Moose;
has AdminAccountId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'adminAccountId', required => 1);
has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken');
class_has _api_call => (isa => 'Str', is => 'ro', default => 'EnableOrganizationAdminAccount');
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/admin');
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Macie2::EnableOrganizationAdminAccountResponse');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Macie2::EnableOrganizationAdminAccount - Arguments for method EnableOrganizationAdminAccount on L<Paws::Macie2>
=head1 DESCRIPTION
This class represents the parameters used for calling the method EnableOrganizationAdminAccount on the
L<Amazon Macie 2|Paws::Macie2> service. Use the attributes of this class
as arguments to method EnableOrganizationAdminAccount.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to EnableOrganizationAdminAccount.
=head1 SYNOPSIS
my $macie2 = Paws->service('Macie2');
my $EnableOrganizationAdminAccountResponse =
$macie2->EnableOrganizationAdminAccount(
AdminAccountId => 'My__string',
ClientToken => 'My__string', # OPTIONAL
);
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.
=head1 ATTRIBUTES
=head2 B<REQUIRED> AdminAccountId => Str
The Amazon Web Services account ID for the account to designate as the
delegated Amazon Macie administrator account for the organization.
=head2 ClientToken => Str
A unique, case-sensitive token that you provide to ensure the
idempotency of the request.
=head1 SEE ALSO
This class forms part of L<Paws>, documenting arguments for method EnableOrganizationAdminAccount in L<Paws::Macie2>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut