@aws-sdk/client-organizations 3.288.0 → 3.290.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist-types/commands/AcceptHandshakeCommand.d.ts +265 -0
  2. package/dist-types/commands/AttachPolicyCommand.d.ts +378 -0
  3. package/dist-types/commands/CancelHandshakeCommand.d.ts +201 -0
  4. package/dist-types/commands/CloseAccountCommand.d.ts +343 -0
  5. package/dist-types/commands/CreateAccountCommand.d.ts +358 -0
  6. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +336 -0
  7. package/dist-types/commands/CreateOrganizationCommand.d.ts +389 -0
  8. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +357 -0
  9. package/dist-types/commands/CreatePolicyCommand.d.ts +377 -0
  10. package/dist-types/commands/DeclineHandshakeCommand.d.ts +196 -0
  11. package/dist-types/commands/DeleteOrganizationCommand.d.ts +135 -0
  12. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +152 -0
  13. package/dist-types/commands/DeletePolicyCommand.d.ts +154 -0
  14. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +230 -0
  15. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +339 -0
  16. package/dist-types/commands/DescribeAccountCommand.d.ts +153 -0
  17. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +154 -0
  18. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +337 -0
  19. package/dist-types/commands/DescribeHandshakeCommand.d.ts +183 -0
  20. package/dist-types/commands/DescribeOrganizationCommand.d.ts +53 -0
  21. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +151 -0
  22. package/dist-types/commands/DescribePolicyCommand.d.ts +159 -0
  23. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +226 -0
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +357 -0
  25. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +331 -0
  26. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +367 -0
  27. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +331 -0
  28. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +223 -0
  29. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +375 -0
  30. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +467 -0
  31. package/dist-types/commands/LeaveOrganizationCommand.d.ts +347 -0
  32. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +327 -0
  33. package/dist-types/commands/ListAccountsCommand.d.ts +178 -0
  34. package/dist-types/commands/ListAccountsForParentCommand.d.ts +165 -0
  35. package/dist-types/commands/ListChildrenCommand.d.ts +156 -0
  36. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +182 -0
  37. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +327 -0
  38. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +335 -0
  39. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +184 -0
  40. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +230 -0
  41. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +157 -0
  42. package/dist-types/commands/ListParentsCommand.d.ts +152 -0
  43. package/dist-types/commands/ListPoliciesCommand.d.ts +171 -0
  44. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +160 -0
  45. package/dist-types/commands/ListRootsCommand.d.ts +153 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +131 -0
  47. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +168 -0
  48. package/dist-types/commands/MoveAccountCommand.d.ts +160 -0
  49. package/dist-types/commands/PutResourcePolicyCommand.d.ts +331 -0
  50. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +340 -0
  51. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +349 -0
  52. package/dist-types/commands/TagResourceCommand.d.ts +332 -0
  53. package/dist-types/commands/UntagResourceCommand.d.ts +332 -0
  54. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +159 -0
  55. package/dist-types/commands/UpdatePolicyCommand.d.ts +403 -0
  56. package/package.json +29 -29
@@ -43,6 +43,171 @@ export interface ListAccountsForParentCommandOutput extends ListAccountsForParen
43
43
  * @see {@link ListAccountsForParentCommandOutput} for command's `response` shape.
44
44
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
45
45
  *
46
+ * @throws {@link AccessDeniedException} (client fault)
47
+ * <p>You don't have permissions to perform the requested operation. The user or role that
48
+ * is making the request must have at least one IAM permissions policy attached that
49
+ * grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
50
+ * <i>IAM User Guide.</i>
51
+ * </p>
52
+ *
53
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
54
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
55
+ * credentials of an account that belongs to an organization.</p>
56
+ *
57
+ * @throws {@link InvalidInputException} (client fault)
58
+ * <p>The requested operation failed because you provided invalid values for one or more of
59
+ * the request parameters. This exception includes a reason that contains additional
60
+ * information about the violated limit:</p>
61
+ * <note>
62
+ * <p>Some of the reasons in the following list might not be applicable to this specific
63
+ * API or operation.</p>
64
+ * </note>
65
+ * <ul>
66
+ * <li>
67
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
68
+ * entity.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
72
+ * modified.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
79
+ * invited account owner.</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
89
+ * characters.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
93
+ * one invalid value.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
97
+ * parameter from the response to a previous call of the operation.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
101
+ * organization, or email) as a party.</p>
102
+ * </li>
103
+ * <li>
104
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
105
+ * pattern.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
109
+ * the required pattern.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
113
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
117
+ * (ARN) for the organization.</p>
118
+ * </li>
119
+ * <li>
120
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
121
+ * </li>
122
+ * <li>
123
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
124
+ * You can’t add, edit, or delete system tag keys because they're reserved for
125
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
129
+ * operation.</p>
130
+ * </li>
131
+ * <li>
132
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
133
+ * allowed.</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
137
+ * than allowed.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
141
+ * allowed.</p>
142
+ * </li>
143
+ * <li>
144
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
145
+ * than allowed.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
149
+ * entities in the same root.</p>
150
+ * </li>
151
+ * <li>
152
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
153
+ * entity.</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
157
+ * recognized.</p>
158
+ * </li>
159
+ * </ul>
160
+ *
161
+ * @throws {@link ParentNotFoundException} (client fault)
162
+ * <p>We can't find a root or OU with the <code>ParentId</code> that you specified.</p>
163
+ *
164
+ * @throws {@link ServiceException} (server fault)
165
+ * <p>Organizations can't complete your request because of an internal service error. Try again
166
+ * later.</p>
167
+ *
168
+ * @throws {@link TooManyRequestsException} (client fault)
169
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
170
+ * against denial-of-service attacks. Try again later.</p>
171
+ * <p>For information about quotas that affect Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html">Quotas for Organizations</a>in the
172
+ * <i>Organizations User Guide.</i>
173
+ * </p>
174
+ *
175
+ *
176
+ * @example To retrieve a list of all of the accounts in a root or OU
177
+ * ```javascript
178
+ * // The following example shows how to request a list of the accounts in an OU:/n/n
179
+ * const input = {
180
+ * "ParentId": "ou-examplerootid111-exampleouid111"
181
+ * };
182
+ * const command = new ListAccountsForParentCommand(input);
183
+ * const response = await client.send(command);
184
+ * /* response ==
185
+ * {
186
+ * "Accounts": [
187
+ * {
188
+ * "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/333333333333",
189
+ * "Email": "juan@example.com",
190
+ * "Id": "333333333333",
191
+ * "JoinedMethod": "INVITED",
192
+ * "JoinedTimestamp": 1481835795.536,
193
+ * "Name": "Development Account",
194
+ * "Status": "ACTIVE"
195
+ * },
196
+ * {
197
+ * "Arn": "arn:aws:organizations::111111111111:account/o-exampleorgid/444444444444",
198
+ * "Email": "anika@example.com",
199
+ * "Id": "444444444444",
200
+ * "JoinedMethod": "INVITED",
201
+ * "JoinedTimestamp": 1481835812.143,
202
+ * "Name": "Test Account",
203
+ * "Status": "ACTIVE"
204
+ * }
205
+ * ]
206
+ * }
207
+ * *\/
208
+ * // example id: to-retrieve-a-list-of-all-of-the-accounts-in-a-root-or-ou-1472509590974
209
+ * ```
210
+ *
46
211
  */
47
212
  export declare class ListAccountsForParentCommand extends $Command<ListAccountsForParentCommandInput, ListAccountsForParentCommandOutput, OrganizationsClientResolvedConfig> {
48
213
  readonly input: ListAccountsForParentCommandInput;
@@ -41,6 +41,162 @@ export interface ListChildrenCommandOutput extends ListChildrenResponse, __Metad
41
41
  * @see {@link ListChildrenCommandOutput} for command's `response` shape.
42
42
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
43
43
  *
44
+ * @throws {@link AccessDeniedException} (client fault)
45
+ * <p>You don't have permissions to perform the requested operation. The user or role that
46
+ * is making the request must have at least one IAM permissions policy attached that
47
+ * grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
48
+ * <i>IAM User Guide.</i>
49
+ * </p>
50
+ *
51
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
52
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
53
+ * credentials of an account that belongs to an organization.</p>
54
+ *
55
+ * @throws {@link InvalidInputException} (client fault)
56
+ * <p>The requested operation failed because you provided invalid values for one or more of
57
+ * the request parameters. This exception includes a reason that contains additional
58
+ * information about the violated limit:</p>
59
+ * <note>
60
+ * <p>Some of the reasons in the following list might not be applicable to this specific
61
+ * API or operation.</p>
62
+ * </note>
63
+ * <ul>
64
+ * <li>
65
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
66
+ * entity.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
70
+ * modified.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
77
+ * invited account owner.</p>
78
+ * </li>
79
+ * <li>
80
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
87
+ * characters.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
91
+ * one invalid value.</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
95
+ * parameter from the response to a previous call of the operation.</p>
96
+ * </li>
97
+ * <li>
98
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
99
+ * organization, or email) as a party.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
103
+ * pattern.</p>
104
+ * </li>
105
+ * <li>
106
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
107
+ * the required pattern.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
111
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
112
+ * </li>
113
+ * <li>
114
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
115
+ * (ARN) for the organization.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
119
+ * </li>
120
+ * <li>
121
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
122
+ * You can’t add, edit, or delete system tag keys because they're reserved for
123
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
127
+ * operation.</p>
128
+ * </li>
129
+ * <li>
130
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
131
+ * allowed.</p>
132
+ * </li>
133
+ * <li>
134
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
135
+ * than allowed.</p>
136
+ * </li>
137
+ * <li>
138
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
139
+ * allowed.</p>
140
+ * </li>
141
+ * <li>
142
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
143
+ * than allowed.</p>
144
+ * </li>
145
+ * <li>
146
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
147
+ * entities in the same root.</p>
148
+ * </li>
149
+ * <li>
150
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
151
+ * entity.</p>
152
+ * </li>
153
+ * <li>
154
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
155
+ * recognized.</p>
156
+ * </li>
157
+ * </ul>
158
+ *
159
+ * @throws {@link ParentNotFoundException} (client fault)
160
+ * <p>We can't find a root or OU with the <code>ParentId</code> that you specified.</p>
161
+ *
162
+ * @throws {@link ServiceException} (server fault)
163
+ * <p>Organizations can't complete your request because of an internal service error. Try again
164
+ * later.</p>
165
+ *
166
+ * @throws {@link TooManyRequestsException} (client fault)
167
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
168
+ * against denial-of-service attacks. Try again later.</p>
169
+ * <p>For information about quotas that affect Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html">Quotas for Organizations</a>in the
170
+ * <i>Organizations User Guide.</i>
171
+ * </p>
172
+ *
173
+ *
174
+ * @example To retrieve a list of all of the child accounts and OUs in a parent root or OU
175
+ * ```javascript
176
+ * // The following example shows how to request a list of the child OUs in a parent root or OU:/n/n
177
+ * const input = {
178
+ * "ChildType": "ORGANIZATIONAL_UNIT",
179
+ * "ParentId": "ou-examplerootid111-exampleouid111"
180
+ * };
181
+ * const command = new ListChildrenCommand(input);
182
+ * const response = await client.send(command);
183
+ * /* response ==
184
+ * {
185
+ * "Children": [
186
+ * {
187
+ * "Id": "ou-examplerootid111-exampleouid111",
188
+ * "Type": "ORGANIZATIONAL_UNIT"
189
+ * },
190
+ * {
191
+ * "Id": "ou-examplerootid111-exampleouid222",
192
+ * "Type": "ORGANIZATIONAL_UNIT"
193
+ * }
194
+ * ]
195
+ * }
196
+ * *\/
197
+ * // example id: to-retrieve-a-list-of-all-of-the-child-accounts-and-OUs-in-a-parent-container
198
+ * ```
199
+ *
44
200
  */
45
201
  export declare class ListChildrenCommand extends $Command<ListChildrenCommandInput, ListChildrenCommandOutput, OrganizationsClientResolvedConfig> {
46
202
  readonly input: ListChildrenCommandInput;
@@ -40,6 +40,188 @@ export interface ListCreateAccountStatusCommandOutput extends ListCreateAccountS
40
40
  * @see {@link ListCreateAccountStatusCommandOutput} for command's `response` shape.
41
41
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
42
42
  *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You don't have permissions to perform the requested operation. The user or role that
45
+ * is making the request must have at least one IAM permissions policy attached that
46
+ * grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
47
+ * <i>IAM User Guide.</i>
48
+ * </p>
49
+ *
50
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
51
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
52
+ * credentials of an account that belongs to an organization.</p>
53
+ *
54
+ * @throws {@link InvalidInputException} (client fault)
55
+ * <p>The requested operation failed because you provided invalid values for one or more of
56
+ * the request parameters. This exception includes a reason that contains additional
57
+ * information about the violated limit:</p>
58
+ * <note>
59
+ * <p>Some of the reasons in the following list might not be applicable to this specific
60
+ * API or operation.</p>
61
+ * </note>
62
+ * <ul>
63
+ * <li>
64
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
65
+ * entity.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
69
+ * modified.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
76
+ * invited account owner.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
86
+ * characters.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
90
+ * one invalid value.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
94
+ * parameter from the response to a previous call of the operation.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
98
+ * organization, or email) as a party.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
102
+ * pattern.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
106
+ * the required pattern.</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
110
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
114
+ * (ARN) for the organization.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
118
+ * </li>
119
+ * <li>
120
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
121
+ * You can’t add, edit, or delete system tag keys because they're reserved for
122
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
126
+ * operation.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
130
+ * allowed.</p>
131
+ * </li>
132
+ * <li>
133
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
134
+ * than allowed.</p>
135
+ * </li>
136
+ * <li>
137
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
138
+ * allowed.</p>
139
+ * </li>
140
+ * <li>
141
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
142
+ * than allowed.</p>
143
+ * </li>
144
+ * <li>
145
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
146
+ * entities in the same root.</p>
147
+ * </li>
148
+ * <li>
149
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
150
+ * entity.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
154
+ * recognized.</p>
155
+ * </li>
156
+ * </ul>
157
+ *
158
+ * @throws {@link ServiceException} (server fault)
159
+ * <p>Organizations can't complete your request because of an internal service error. Try again
160
+ * later.</p>
161
+ *
162
+ * @throws {@link TooManyRequestsException} (client fault)
163
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
164
+ * against denial-of-service attacks. Try again later.</p>
165
+ * <p>For information about quotas that affect Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html">Quotas for Organizations</a>in the
166
+ * <i>Organizations User Guide.</i>
167
+ * </p>
168
+ *
169
+ * @throws {@link UnsupportedAPIEndpointException} (client fault)
170
+ * <p>This action isn't available in the current Amazon Web Services Region.</p>
171
+ *
172
+ *
173
+ * @example To get a list of completed account creation requests made in the organization
174
+ * ```javascript
175
+ * // The following example shows a user requesting a list of only the completed account creation requests made for the current organization:
176
+ * const input = {
177
+ * "States": [
178
+ * "SUCCEEDED"
179
+ * ]
180
+ * };
181
+ * const command = new ListCreateAccountStatusCommand(input);
182
+ * const response = await client.send(command);
183
+ * /* response ==
184
+ * {
185
+ * "CreateAccountStatuses": [
186
+ * {
187
+ * "AccountId": "444444444444",
188
+ * "AccountName": "Developer Test Account",
189
+ * "CompletedTimestamp": "2017-01-15T13:45:23.6Z",
190
+ * "Id": "car-exampleaccountcreationrequestid1",
191
+ * "RequestedTimestamp": "2017-01-15T13:45:23.01Z",
192
+ * "State": "SUCCEEDED"
193
+ * }
194
+ * ]
195
+ * }
196
+ * *\/
197
+ * // example id: to-get-a-list-of-completed-account-creation-requests-made-in-the-organization
198
+ * ```
199
+ *
200
+ * @example To get a list of all account creation requests made in the organization
201
+ * ```javascript
202
+ * // The following example shows a user requesting a list of only the in-progress account creation requests made for the current organization:
203
+ * const input = {
204
+ * "States": [
205
+ * "IN_PROGRESS"
206
+ * ]
207
+ * };
208
+ * const command = new ListCreateAccountStatusCommand(input);
209
+ * const response = await client.send(command);
210
+ * /* response ==
211
+ * {
212
+ * "CreateAccountStatuses": [
213
+ * {
214
+ * "AccountName": "Production Account",
215
+ * "Id": "car-exampleaccountcreationrequestid2",
216
+ * "RequestedTimestamp": "2017-01-15T13:45:23.01Z",
217
+ * "State": "IN_PROGRESS"
218
+ * }
219
+ * ]
220
+ * }
221
+ * *\/
222
+ * // example id: to-get-a-list-of-all-account-creation-requests-made-in-the-organization-1472509174532
223
+ * ```
224
+ *
43
225
  */
44
226
  export declare class ListCreateAccountStatusCommand extends $Command<ListCreateAccountStatusCommandInput, ListCreateAccountStatusCommandOutput, OrganizationsClientResolvedConfig> {
45
227
  readonly input: ListCreateAccountStatusCommandInput;