File Coverage

blib/lib/Paws/Organizations/MoveAccount.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Organizations::MoveAccount;
3 1     1   468 use Moose;
  1         3  
  1         9  
4             has AccountId => (is => 'ro', isa => 'Str', required => 1);
5             has DestinationParentId => (is => 'ro', isa => 'Str', required => 1);
6             has SourceParentId => (is => 'ro', isa => 'Str', required => 1);
7              
8 1     1   7795 use MooseX::ClassAttribute;
  1         4  
  1         10  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'MoveAccount');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::Organizations::MoveAccount - Arguments for method MoveAccount on Paws::Organizations
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method MoveAccount on the
24             AWS Organizations service. Use the attributes of this class
25             as arguments to method MoveAccount.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to MoveAccount.
28              
29             As an example:
30              
31             $service_obj->MoveAccount(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 B<REQUIRED> AccountId => Str
39              
40             The unique identifier (ID) of the account that you want to move.
41              
42             The regex pattern for an account ID string requires exactly 12 digits.
43              
44              
45              
46             =head2 B<REQUIRED> DestinationParentId => Str
47              
48             The unique identifier (ID) of the root or organizational unit that you
49             want to move the account to.
50              
51             The regex pattern for a parent ID string requires one of the following:
52              
53             =over
54              
55             =item *
56              
57             Root: a string that begins with "r-" followed by from 4 to 32
58             lower-case letters or digits.
59              
60             =item *
61              
62             Organizational unit (OU): a string that begins with "ou-" followed by
63             from 4 to 32 lower-case letters or digits (the ID of the root that the
64             OU is in) followed by a second "-" dash and from 8 to 32 additional
65             lower-case letters or digits.
66              
67             =back
68              
69              
70              
71              
72             =head2 B<REQUIRED> SourceParentId => Str
73              
74             The unique identifier (ID) of the root or organizational unit that you
75             want to move the account from.
76              
77             The regex pattern for a parent ID string requires one of the following:
78              
79             =over
80              
81             =item *
82              
83             Root: a string that begins with "r-" followed by from 4 to 32
84             lower-case letters or digits.
85              
86             =item *
87              
88             Organizational unit (OU): a string that begins with "ou-" followed by
89             from 4 to 32 lower-case letters or digits (the ID of the root that the
90             OU is in) followed by a second "-" dash and from 8 to 32 additional
91             lower-case letters or digits.
92              
93             =back
94              
95              
96              
97              
98              
99             =head1 SEE ALSO
100              
101             This class forms part of L<Paws>, documenting arguments for method MoveAccount in L<Paws::Organizations>
102              
103             =head1 BUGS and CONTRIBUTIONS
104              
105             The source code is located here: https://github.com/pplu/aws-sdk-perl
106              
107             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
108              
109             =cut
110