@aws-sdk/client-organizations 3.289.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 +208 -0
  2. package/dist-types/commands/AttachPolicyCommand.d.ts +352 -0
  3. package/dist-types/commands/CancelHandshakeCommand.d.ts +139 -0
  4. package/dist-types/commands/CloseAccountCommand.d.ts +343 -0
  5. package/dist-types/commands/CreateAccountCommand.d.ts +336 -0
  6. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +336 -0
  7. package/dist-types/commands/CreateOrganizationCommand.d.ts +334 -0
  8. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +334 -0
  9. package/dist-types/commands/CreatePolicyCommand.d.ts +348 -0
  10. package/dist-types/commands/DeclineHandshakeCommand.d.ts +139 -0
  11. package/dist-types/commands/DeleteOrganizationCommand.d.ts +135 -0
  12. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +139 -0
  13. package/dist-types/commands/DeletePolicyCommand.d.ts +141 -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 +132 -0
  17. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +134 -0
  18. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +337 -0
  19. package/dist-types/commands/DescribeHandshakeCommand.d.ts +130 -0
  20. package/dist-types/commands/DescribeOrganizationCommand.d.ts +27 -0
  21. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +131 -0
  22. package/dist-types/commands/DescribePolicyCommand.d.ts +133 -0
  23. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +226 -0
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +345 -0
  25. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +331 -0
  26. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +345 -0
  27. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +331 -0
  28. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +190 -0
  29. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +348 -0
  30. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +406 -0
  31. package/dist-types/commands/LeaveOrganizationCommand.d.ts +338 -0
  32. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +327 -0
  33. package/dist-types/commands/ListAccountsCommand.d.ts +127 -0
  34. package/dist-types/commands/ListAccountsForParentCommand.d.ts +130 -0
  35. package/dist-types/commands/ListChildrenCommand.d.ts +130 -0
  36. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +130 -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 +127 -0
  40. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +131 -0
  41. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +130 -0
  42. package/dist-types/commands/ListParentsCommand.d.ts +131 -0
  43. package/dist-types/commands/ListPoliciesCommand.d.ts +130 -0
  44. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +134 -0
  45. package/dist-types/commands/ListRootsCommand.d.ts +127 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +131 -0
  47. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +133 -0
  48. package/dist-types/commands/MoveAccountCommand.d.ts +147 -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 +338 -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 +138 -0
  55. package/dist-types/commands/UpdatePolicyCommand.d.ts +348 -0
  56. package/package.json +29 -29
@@ -39,6 +39,136 @@ export interface ListOrganizationalUnitsForParentCommandOutput extends ListOrgan
39
39
  * @see {@link ListOrganizationalUnitsForParentCommandOutput} for command's `response` shape.
40
40
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
41
41
  *
42
+ * @throws {@link AccessDeniedException} (client fault)
43
+ * <p>You don't have permissions to perform the requested operation. The user or role that
44
+ * is making the request must have at least one IAM permissions policy attached that
45
+ * 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
46
+ * <i>IAM User Guide.</i>
47
+ * </p>
48
+ *
49
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
50
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
51
+ * credentials of an account that belongs to an organization.</p>
52
+ *
53
+ * @throws {@link InvalidInputException} (client fault)
54
+ * <p>The requested operation failed because you provided invalid values for one or more of
55
+ * the request parameters. This exception includes a reason that contains additional
56
+ * information about the violated limit:</p>
57
+ * <note>
58
+ * <p>Some of the reasons in the following list might not be applicable to this specific
59
+ * API or operation.</p>
60
+ * </note>
61
+ * <ul>
62
+ * <li>
63
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
64
+ * entity.</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
68
+ * modified.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
75
+ * invited account owner.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
85
+ * characters.</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
89
+ * one invalid value.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
93
+ * parameter from the response to a previous call of the operation.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
97
+ * organization, or email) as a party.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
101
+ * pattern.</p>
102
+ * </li>
103
+ * <li>
104
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
105
+ * the required pattern.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
109
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
113
+ * (ARN) for the organization.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
117
+ * </li>
118
+ * <li>
119
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
120
+ * You can’t add, edit, or delete system tag keys because they're reserved for
121
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
122
+ * </li>
123
+ * <li>
124
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
125
+ * operation.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
129
+ * allowed.</p>
130
+ * </li>
131
+ * <li>
132
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
133
+ * than allowed.</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
137
+ * allowed.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
141
+ * than allowed.</p>
142
+ * </li>
143
+ * <li>
144
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
145
+ * entities in the same root.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
149
+ * entity.</p>
150
+ * </li>
151
+ * <li>
152
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
153
+ * recognized.</p>
154
+ * </li>
155
+ * </ul>
156
+ *
157
+ * @throws {@link ParentNotFoundException} (client fault)
158
+ * <p>We can't find a root or OU with the <code>ParentId</code> that you specified.</p>
159
+ *
160
+ * @throws {@link ServiceException} (server fault)
161
+ * <p>Organizations can't complete your request because of an internal service error. Try again
162
+ * later.</p>
163
+ *
164
+ * @throws {@link TooManyRequestsException} (client fault)
165
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
166
+ * against denial-of-service attacks. Try again later.</p>
167
+ * <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
168
+ * <i>Organizations User Guide.</i>
169
+ * </p>
170
+ *
171
+ *
42
172
  * @example To retrieve a list of all of the child OUs in a parent root or OU
43
173
  * ```javascript
44
174
  * // The following example shows how to get a list of OUs in a specified root:/n/n
@@ -44,6 +44,137 @@ export interface ListParentsCommandOutput extends ListParentsResponse, __Metadat
44
44
  * @see {@link ListParentsCommandOutput} for command's `response` shape.
45
45
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
46
46
  *
47
+ * @throws {@link AccessDeniedException} (client fault)
48
+ * <p>You don't have permissions to perform the requested operation. The user or role that
49
+ * is making the request must have at least one IAM permissions policy attached that
50
+ * 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
51
+ * <i>IAM User Guide.</i>
52
+ * </p>
53
+ *
54
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
55
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
56
+ * credentials of an account that belongs to an organization.</p>
57
+ *
58
+ * @throws {@link ChildNotFoundException} (client fault)
59
+ * <p>We can't find an organizational unit (OU) or Amazon Web Services account with the
60
+ * <code>ChildId</code> that you specified.</p>
61
+ *
62
+ * @throws {@link InvalidInputException} (client fault)
63
+ * <p>The requested operation failed because you provided invalid values for one or more of
64
+ * the request parameters. This exception includes a reason that contains additional
65
+ * information about the violated limit:</p>
66
+ * <note>
67
+ * <p>Some of the reasons in the following list might not be applicable to this specific
68
+ * API or operation.</p>
69
+ * </note>
70
+ * <ul>
71
+ * <li>
72
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
73
+ * entity.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
77
+ * modified.</p>
78
+ * </li>
79
+ * <li>
80
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
84
+ * invited account owner.</p>
85
+ * </li>
86
+ * <li>
87
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
94
+ * characters.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
98
+ * one invalid value.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
102
+ * parameter from the response to a previous call of the operation.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
106
+ * organization, or email) as a party.</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
110
+ * pattern.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
114
+ * the required pattern.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
118
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
122
+ * (ARN) for the organization.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
126
+ * </li>
127
+ * <li>
128
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
129
+ * You can’t add, edit, or delete system tag keys because they're reserved for
130
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
131
+ * </li>
132
+ * <li>
133
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
134
+ * operation.</p>
135
+ * </li>
136
+ * <li>
137
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
138
+ * allowed.</p>
139
+ * </li>
140
+ * <li>
141
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
142
+ * than allowed.</p>
143
+ * </li>
144
+ * <li>
145
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
146
+ * allowed.</p>
147
+ * </li>
148
+ * <li>
149
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
150
+ * than allowed.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
154
+ * entities in the same root.</p>
155
+ * </li>
156
+ * <li>
157
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
158
+ * entity.</p>
159
+ * </li>
160
+ * <li>
161
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
162
+ * recognized.</p>
163
+ * </li>
164
+ * </ul>
165
+ *
166
+ * @throws {@link ServiceException} (server fault)
167
+ * <p>Organizations can't complete your request because of an internal service error. Try again
168
+ * later.</p>
169
+ *
170
+ * @throws {@link TooManyRequestsException} (client fault)
171
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
172
+ * against denial-of-service attacks. Try again later.</p>
173
+ * <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
174
+ * <i>Organizations User Guide.</i>
175
+ * </p>
176
+ *
177
+ *
47
178
  * @example To retrieve a list of all of the parents of a child OU or account
48
179
  * ```javascript
49
180
  * // The following example shows how to list the root or OUs that contain account 444444444444:/n/n
@@ -39,6 +39,136 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
39
39
  * @see {@link ListPoliciesCommandOutput} for command's `response` shape.
40
40
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
41
41
  *
42
+ * @throws {@link AccessDeniedException} (client fault)
43
+ * <p>You don't have permissions to perform the requested operation. The user or role that
44
+ * is making the request must have at least one IAM permissions policy attached that
45
+ * 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
46
+ * <i>IAM User Guide.</i>
47
+ * </p>
48
+ *
49
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
50
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
51
+ * credentials of an account that belongs to an organization.</p>
52
+ *
53
+ * @throws {@link InvalidInputException} (client fault)
54
+ * <p>The requested operation failed because you provided invalid values for one or more of
55
+ * the request parameters. This exception includes a reason that contains additional
56
+ * information about the violated limit:</p>
57
+ * <note>
58
+ * <p>Some of the reasons in the following list might not be applicable to this specific
59
+ * API or operation.</p>
60
+ * </note>
61
+ * <ul>
62
+ * <li>
63
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
64
+ * entity.</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
68
+ * modified.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
75
+ * invited account owner.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
85
+ * characters.</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
89
+ * one invalid value.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
93
+ * parameter from the response to a previous call of the operation.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
97
+ * organization, or email) as a party.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
101
+ * pattern.</p>
102
+ * </li>
103
+ * <li>
104
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
105
+ * the required pattern.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
109
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
113
+ * (ARN) for the organization.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
117
+ * </li>
118
+ * <li>
119
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
120
+ * You can’t add, edit, or delete system tag keys because they're reserved for
121
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
122
+ * </li>
123
+ * <li>
124
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
125
+ * operation.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
129
+ * allowed.</p>
130
+ * </li>
131
+ * <li>
132
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
133
+ * than allowed.</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
137
+ * allowed.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
141
+ * than allowed.</p>
142
+ * </li>
143
+ * <li>
144
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
145
+ * entities in the same root.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
149
+ * entity.</p>
150
+ * </li>
151
+ * <li>
152
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
153
+ * recognized.</p>
154
+ * </li>
155
+ * </ul>
156
+ *
157
+ * @throws {@link ServiceException} (server fault)
158
+ * <p>Organizations can't complete your request because of an internal service error. Try again
159
+ * later.</p>
160
+ *
161
+ * @throws {@link TooManyRequestsException} (client fault)
162
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
163
+ * against denial-of-service attacks. Try again later.</p>
164
+ * <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
165
+ * <i>Organizations User Guide.</i>
166
+ * </p>
167
+ *
168
+ * @throws {@link UnsupportedAPIEndpointException} (client fault)
169
+ * <p>This action isn't available in the current Amazon Web Services Region.</p>
170
+ *
171
+ *
42
172
  * @example To retrieve a list policies in the organization
43
173
  * ```javascript
44
174
  * // The following example shows how to get a list of service control policies (SCPs):/n/n
@@ -41,6 +41,140 @@ export interface ListPoliciesForTargetCommandOutput extends ListPoliciesForTarge
41
41
  * @see {@link ListPoliciesForTargetCommandOutput} 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 ServiceException} (server fault)
160
+ * <p>Organizations can't complete your request because of an internal service error. Try again
161
+ * later.</p>
162
+ *
163
+ * @throws {@link TargetNotFoundException} (client fault)
164
+ * <p>We can't find a root, OU, account, or policy with the <code>TargetId</code> that you
165
+ * specified.</p>
166
+ *
167
+ * @throws {@link TooManyRequestsException} (client fault)
168
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
169
+ * against denial-of-service attacks. Try again later.</p>
170
+ * <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
171
+ * <i>Organizations User Guide.</i>
172
+ * </p>
173
+ *
174
+ * @throws {@link UnsupportedAPIEndpointException} (client fault)
175
+ * <p>This action isn't available in the current Amazon Web Services Region.</p>
176
+ *
177
+ *
44
178
  * @example To retrieve a list policies attached to a root, OU, or account
45
179
  * ```javascript
46
180
  * // The following example shows how to get a list of all service control policies (SCPs) of the type specified by the Filter parameter, that are directly attached to an account. The returned list does not include policies that apply to the account because of inheritance from its location in an OU hierarchy:/n/n