@aws-sdk/client-account 3.787.0 → 3.796.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.
- package/README.md +16 -0
- package/dist-cjs/index.js +152 -5
- package/dist-es/Account.js +4 -0
- package/dist-es/commands/GetAccountInformationCommand.js +23 -0
- package/dist-es/commands/PutAccountNameCommand.js +23 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/protocols/Aws_restJson1.js +71 -6
- package/dist-types/Account.d.ts +15 -0
- package/dist-types/AccountClient.d.ts +4 -2
- package/dist-types/commands/AcceptPrimaryEmailUpdateCommand.d.ts +5 -11
- package/dist-types/commands/DeleteAlternateContactCommand.d.ts +4 -15
- package/dist-types/commands/DisableRegionCommand.d.ts +5 -14
- package/dist-types/commands/EnableRegionCommand.d.ts +4 -9
- package/dist-types/commands/GetAccountInformationCommand.d.ts +86 -0
- package/dist-types/commands/GetAlternateContactCommand.d.ts +4 -15
- package/dist-types/commands/GetContactInformationCommand.d.ts +4 -9
- package/dist-types/commands/GetPrimaryEmailCommand.d.ts +3 -6
- package/dist-types/commands/GetRegionOptStatusCommand.d.ts +3 -6
- package/dist-types/commands/ListRegionsCommand.d.ts +4 -9
- package/dist-types/commands/PutAccountNameCommand.d.ts +83 -0
- package/dist-types/commands/PutAlternateContactCommand.d.ts +4 -15
- package/dist-types/commands/PutContactInformationCommand.d.ts +4 -9
- package/dist-types/commands/StartPrimaryEmailUpdateCommand.d.ts +5 -11
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +116 -278
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Account.d.ts +35 -0
- package/dist-types/ts3.4/AccountClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetAccountInformationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutAccountNameCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +5 -5
|
@@ -5,33 +5,17 @@ import { AccountServiceException as __BaseException } from "./AccountServiceExce
|
|
|
5
5
|
*/
|
|
6
6
|
export interface AcceptPrimaryEmailUpdateRequest {
|
|
7
7
|
/**
|
|
8
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
9
|
-
* or modify with this operation. To use this parameter, the caller must be an identity in
|
|
10
|
-
* the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
11
|
-
* management account</a> or a delegated administrator account. The specified
|
|
12
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
13
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
14
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
15
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
16
|
-
* assigned.</p>
|
|
17
|
-
* <p>This operation can only be called from the management account or the delegated
|
|
18
|
-
* administrator account of an organization for a member account.</p>
|
|
19
|
-
* <note>
|
|
20
|
-
* <p>The management account can't specify its own <code>AccountId</code>.</p>
|
|
21
|
-
* </note>
|
|
8
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>
|
|
22
9
|
* @public
|
|
23
10
|
*/
|
|
24
11
|
AccountId: string | undefined;
|
|
25
12
|
/**
|
|
26
|
-
* <p>The new primary email address for use with the specified account. This must
|
|
27
|
-
* match the <code>PrimaryEmail</code> from the <code>StartPrimaryEmailUpdate</code> API
|
|
28
|
-
* call.</p>
|
|
13
|
+
* <p>The new primary email address for use with the specified account. This must match the <code>PrimaryEmail</code> from the <code>StartPrimaryEmailUpdate</code> API call.</p>
|
|
29
14
|
* @public
|
|
30
15
|
*/
|
|
31
16
|
PrimaryEmail: string | undefined;
|
|
32
17
|
/**
|
|
33
|
-
* <p>The OTP code sent to the <code>PrimaryEmail</code> specified on the
|
|
34
|
-
* <code>StartPrimaryEmailUpdate</code> API call.</p>
|
|
18
|
+
* <p>The OTP code sent to the <code>PrimaryEmail</code> specified on the <code>StartPrimaryEmailUpdate</code> API call.</p>
|
|
35
19
|
* @public
|
|
36
20
|
*/
|
|
37
21
|
Otp: string | undefined;
|
|
@@ -59,41 +43,52 @@ export interface AcceptPrimaryEmailUpdateResponse {
|
|
|
59
43
|
Status?: PrimaryEmailUpdateStatus | undefined;
|
|
60
44
|
}
|
|
61
45
|
/**
|
|
62
|
-
* <p>The operation failed because the calling identity doesn't have the minimum required
|
|
63
|
-
* permissions.</p>
|
|
46
|
+
* <p>The operation failed because the calling identity doesn't have the minimum required permissions.</p>
|
|
64
47
|
* @public
|
|
65
48
|
*/
|
|
66
49
|
export declare class AccessDeniedException extends __BaseException {
|
|
67
50
|
readonly name: "AccessDeniedException";
|
|
68
51
|
readonly $fault: "client";
|
|
52
|
+
/**
|
|
53
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
errorType?: string | undefined;
|
|
69
57
|
/**
|
|
70
58
|
* @internal
|
|
71
59
|
*/
|
|
72
60
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
73
61
|
}
|
|
74
62
|
/**
|
|
75
|
-
* <p>The request could not be processed because of a conflict in the current status of the
|
|
76
|
-
* resource. For example, this happens if you try to enable a Region that is currently being disabled
|
|
77
|
-
* (in a status of DISABLING).</p>
|
|
63
|
+
* <p>The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING) or if you try to change an account’s root user email to an email address which is already in use.</p>
|
|
78
64
|
* @public
|
|
79
65
|
*/
|
|
80
66
|
export declare class ConflictException extends __BaseException {
|
|
81
67
|
readonly name: "ConflictException";
|
|
82
68
|
readonly $fault: "client";
|
|
69
|
+
/**
|
|
70
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
errorType?: string | undefined;
|
|
83
74
|
/**
|
|
84
75
|
* @internal
|
|
85
76
|
*/
|
|
86
77
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
87
78
|
}
|
|
88
79
|
/**
|
|
89
|
-
* <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again
|
|
90
|
-
* later.</p>
|
|
80
|
+
* <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again later.</p>
|
|
91
81
|
* @public
|
|
92
82
|
*/
|
|
93
83
|
export declare class InternalServerException extends __BaseException {
|
|
94
84
|
readonly name: "InternalServerException";
|
|
95
85
|
readonly $fault: "server";
|
|
96
86
|
$retryable: {};
|
|
87
|
+
/**
|
|
88
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
errorType?: string | undefined;
|
|
97
92
|
/**
|
|
98
93
|
* @internal
|
|
99
94
|
*/
|
|
@@ -106,14 +101,18 @@ export declare class InternalServerException extends __BaseException {
|
|
|
106
101
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
107
102
|
readonly name: "ResourceNotFoundException";
|
|
108
103
|
readonly $fault: "client";
|
|
104
|
+
/**
|
|
105
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
errorType?: string | undefined;
|
|
109
109
|
/**
|
|
110
110
|
* @internal
|
|
111
111
|
*/
|
|
112
112
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
* <p>The operation failed because it was called too frequently and exceeded a throttle
|
|
116
|
-
* limit.</p>
|
|
115
|
+
* <p>The operation failed because it was called too frequently and exceeded a throttle limit.</p>
|
|
117
116
|
* @public
|
|
118
117
|
*/
|
|
119
118
|
export declare class TooManyRequestsException extends __BaseException {
|
|
@@ -122,6 +121,11 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
122
121
|
$retryable: {
|
|
123
122
|
throttling: boolean;
|
|
124
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
errorType?: string | undefined;
|
|
125
129
|
/**
|
|
126
130
|
* @internal
|
|
127
131
|
*/
|
|
@@ -177,6 +181,51 @@ export declare class ValidationException extends __BaseException {
|
|
|
177
181
|
*/
|
|
178
182
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
179
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export interface GetAccountInformationRequest {
|
|
188
|
+
/**
|
|
189
|
+
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
AccountId?: string | undefined;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export interface GetAccountInformationResponse {
|
|
198
|
+
/**
|
|
199
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
AccountId?: string | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>The name of the account.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
AccountName?: string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>The date and time the account was created.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
AccountCreatedDate?: Date | undefined;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export interface PutAccountNameRequest {
|
|
218
|
+
/**
|
|
219
|
+
* <p>The name of the account.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
AccountName: string | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
AccountId?: string | undefined;
|
|
228
|
+
}
|
|
180
229
|
/**
|
|
181
230
|
* @public
|
|
182
231
|
* @enum
|
|
@@ -200,24 +249,7 @@ export interface DeleteAlternateContactRequest {
|
|
|
200
249
|
*/
|
|
201
250
|
AlternateContactType: AlternateContactType | undefined;
|
|
202
251
|
/**
|
|
203
|
-
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
|
|
204
|
-
* you want to access or modify with this operation.</p>
|
|
205
|
-
* <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the
|
|
206
|
-
* identity used to call the operation.</p>
|
|
207
|
-
* <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and
|
|
208
|
-
* the specified account ID must be a member account in the same organization. The
|
|
209
|
-
* organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
210
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the
|
|
211
|
-
* Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
212
|
-
* assigned.</p>
|
|
213
|
-
* <note>
|
|
214
|
-
* <p>The management account can't specify its own <code>AccountId</code>; it must call
|
|
215
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
216
|
-
* parameter.</p>
|
|
217
|
-
* </note>
|
|
218
|
-
* <p>To call this operation on an account that is not a member of an organization, then
|
|
219
|
-
* don't specify this parameter, and call the operation using an identity belonging to
|
|
220
|
-
* the account whose contacts you wish to retrieve or modify.</p>
|
|
252
|
+
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
221
253
|
* @public
|
|
222
254
|
*/
|
|
223
255
|
AccountId?: string | undefined;
|
|
@@ -232,31 +264,13 @@ export interface GetAlternateContactRequest {
|
|
|
232
264
|
*/
|
|
233
265
|
AlternateContactType: AlternateContactType | undefined;
|
|
234
266
|
/**
|
|
235
|
-
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
|
|
236
|
-
* you want to access or modify with this operation.</p>
|
|
237
|
-
* <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the
|
|
238
|
-
* identity used to call the operation.</p>
|
|
239
|
-
* <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and
|
|
240
|
-
* the specified account ID must be a member account in the same organization. The
|
|
241
|
-
* organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
242
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the
|
|
243
|
-
* Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
244
|
-
* assigned.</p>
|
|
245
|
-
* <note>
|
|
246
|
-
* <p>The management account can't specify its own <code>AccountId</code>; it must call
|
|
247
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
248
|
-
* parameter.</p>
|
|
249
|
-
* </note>
|
|
250
|
-
* <p>To call this operation on an account that is not a member of an organization, then
|
|
251
|
-
* don't specify this parameter, and call the operation using an identity belonging to
|
|
252
|
-
* the account whose contacts you wish to retrieve or modify.</p>
|
|
267
|
+
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
253
268
|
* @public
|
|
254
269
|
*/
|
|
255
270
|
AccountId?: string | undefined;
|
|
256
271
|
}
|
|
257
272
|
/**
|
|
258
|
-
* <p>A structure that contains the details of an alternate contact associated with an Amazon Web Services
|
|
259
|
-
* account</p>
|
|
273
|
+
* <p>A structure that contains the details of an alternate contact associated with an Amazon Web Services account</p>
|
|
260
274
|
* @public
|
|
261
275
|
*/
|
|
262
276
|
export interface AlternateContact {
|
|
@@ -326,24 +340,7 @@ export interface PutAlternateContactRequest {
|
|
|
326
340
|
*/
|
|
327
341
|
AlternateContactType: AlternateContactType | undefined;
|
|
328
342
|
/**
|
|
329
|
-
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
|
|
330
|
-
* you want to access or modify with this operation.</p>
|
|
331
|
-
* <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the
|
|
332
|
-
* identity used to call the operation.</p>
|
|
333
|
-
* <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and
|
|
334
|
-
* the specified account ID must be a member account in the same organization. The
|
|
335
|
-
* organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
336
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the
|
|
337
|
-
* Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
338
|
-
* assigned.</p>
|
|
339
|
-
* <note>
|
|
340
|
-
* <p>The management account can't specify its own <code>AccountId</code>; it must call
|
|
341
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
342
|
-
* parameter.</p>
|
|
343
|
-
* </note>
|
|
344
|
-
* <p>To call this operation on an account that is not a member of an organization, then
|
|
345
|
-
* don't specify this parameter, and call the operation using an identity belonging to
|
|
346
|
-
* the account whose contacts you wish to retrieve or modify.</p>
|
|
343
|
+
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
347
344
|
* @public
|
|
348
345
|
*/
|
|
349
346
|
AccountId?: string | undefined;
|
|
@@ -353,31 +350,13 @@ export interface PutAlternateContactRequest {
|
|
|
353
350
|
*/
|
|
354
351
|
export interface GetContactInformationRequest {
|
|
355
352
|
/**
|
|
356
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
357
|
-
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
358
|
-
* Amazon Web Services account of the identity used to call the operation. To use this
|
|
359
|
-
* parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
360
|
-
* management account</a> or a delegated administrator account. The specified
|
|
361
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
362
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
363
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
364
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
365
|
-
* assigned.</p>
|
|
366
|
-
* <note>
|
|
367
|
-
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
368
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
369
|
-
* parameter.</p>
|
|
370
|
-
* </note>
|
|
371
|
-
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
372
|
-
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
373
|
-
* account whose contacts you wish to retrieve or modify.</p>
|
|
353
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
374
354
|
* @public
|
|
375
355
|
*/
|
|
376
356
|
AccountId?: string | undefined;
|
|
377
357
|
}
|
|
378
358
|
/**
|
|
379
|
-
* <p>Contains the details of the primary contact information associated with an
|
|
380
|
-
* Amazon Web Services account.</p>
|
|
359
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
381
360
|
* @public
|
|
382
361
|
*/
|
|
383
362
|
export interface ContactInformation {
|
|
@@ -407,11 +386,7 @@ export interface ContactInformation {
|
|
|
407
386
|
*/
|
|
408
387
|
City: string | undefined;
|
|
409
388
|
/**
|
|
410
|
-
* <p>The state or region of the primary contact address. If the mailing address is within the United States (US), the
|
|
411
|
-
* value in this field can be either a two character state code (for example, <code>NJ</code>) or the full state name
|
|
412
|
-
* (for example, <code>New Jersey</code>). This field is required in the following countries: <code>US</code>,
|
|
413
|
-
* <code>CA</code>, <code>GB</code>, <code>DE</code>, <code>JP</code>, <code>IN</code>,
|
|
414
|
-
* and <code>BR</code>.</p>
|
|
389
|
+
* <p>The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, <code>NJ</code>) or the full state name (for example, <code>New Jersey</code>). This field is required in the following countries: <code>US</code>, <code>CA</code>, <code>GB</code>, <code>DE</code>, <code>JP</code>, <code>IN</code>, and <code>BR</code>.</p>
|
|
415
390
|
* @public
|
|
416
391
|
*/
|
|
417
392
|
StateOrRegion?: string | undefined;
|
|
@@ -431,14 +406,12 @@ export interface ContactInformation {
|
|
|
431
406
|
*/
|
|
432
407
|
CountryCode: string | undefined;
|
|
433
408
|
/**
|
|
434
|
-
* <p>The phone number of the primary contact information. The number will be validated and,
|
|
435
|
-
* in some countries, checked for activation.</p>
|
|
409
|
+
* <p>The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.</p>
|
|
436
410
|
* @public
|
|
437
411
|
*/
|
|
438
412
|
PhoneNumber: string | undefined;
|
|
439
413
|
/**
|
|
440
|
-
* <p>The name of the company associated with the primary contact information, if
|
|
441
|
-
* any.</p>
|
|
414
|
+
* <p>The name of the company associated with the primary contact information, if any.</p>
|
|
442
415
|
* @public
|
|
443
416
|
*/
|
|
444
417
|
CompanyName?: string | undefined;
|
|
@@ -453,8 +426,7 @@ export interface ContactInformation {
|
|
|
453
426
|
*/
|
|
454
427
|
export interface GetContactInformationResponse {
|
|
455
428
|
/**
|
|
456
|
-
* <p>Contains the details of the primary contact information associated with an
|
|
457
|
-
* Amazon Web Services account.</p>
|
|
429
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
458
430
|
* @public
|
|
459
431
|
*/
|
|
460
432
|
ContactInformation?: ContactInformation | undefined;
|
|
@@ -464,30 +436,12 @@ export interface GetContactInformationResponse {
|
|
|
464
436
|
*/
|
|
465
437
|
export interface PutContactInformationRequest {
|
|
466
438
|
/**
|
|
467
|
-
* <p>Contains the details of the primary contact information associated with an
|
|
468
|
-
* Amazon Web Services account.</p>
|
|
439
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
469
440
|
* @public
|
|
470
441
|
*/
|
|
471
442
|
ContactInformation: ContactInformation | undefined;
|
|
472
443
|
/**
|
|
473
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
474
|
-
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
475
|
-
* Amazon Web Services account of the identity used to call the operation. To use this
|
|
476
|
-
* parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
477
|
-
* management account</a> or a delegated administrator account. The specified
|
|
478
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
479
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
480
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
481
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
482
|
-
* assigned.</p>
|
|
483
|
-
* <note>
|
|
484
|
-
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
485
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
486
|
-
* parameter.</p>
|
|
487
|
-
* </note>
|
|
488
|
-
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
489
|
-
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
490
|
-
* account whose contacts you wish to retrieve or modify.</p>
|
|
444
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
491
445
|
* @public
|
|
492
446
|
*/
|
|
493
447
|
AccountId?: string | undefined;
|
|
@@ -497,20 +451,7 @@ export interface PutContactInformationRequest {
|
|
|
497
451
|
*/
|
|
498
452
|
export interface GetPrimaryEmailRequest {
|
|
499
453
|
/**
|
|
500
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
501
|
-
* or modify with this operation. To use this parameter, the caller must be an identity in
|
|
502
|
-
* the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
503
|
-
* management account</a> or a delegated administrator account. The specified
|
|
504
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
505
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
506
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
507
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
508
|
-
* assigned.</p>
|
|
509
|
-
* <p>This operation can only be called from the management account or the delegated
|
|
510
|
-
* administrator account of an organization for a member account.</p>
|
|
511
|
-
* <note>
|
|
512
|
-
* <p>The management account can't specify its own <code>AccountId</code>.</p>
|
|
513
|
-
* </note>
|
|
454
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>
|
|
514
455
|
* @public
|
|
515
456
|
*/
|
|
516
457
|
AccountId: string | undefined;
|
|
@@ -520,8 +461,7 @@ export interface GetPrimaryEmailRequest {
|
|
|
520
461
|
*/
|
|
521
462
|
export interface GetPrimaryEmailResponse {
|
|
522
463
|
/**
|
|
523
|
-
* <p>Retrieves the primary email address associated with the specified
|
|
524
|
-
* account.</p>
|
|
464
|
+
* <p>Retrieves the primary email address associated with the specified account.</p>
|
|
525
465
|
* @public
|
|
526
466
|
*/
|
|
527
467
|
PrimaryEmail?: string | undefined;
|
|
@@ -531,26 +471,12 @@ export interface GetPrimaryEmailResponse {
|
|
|
531
471
|
*/
|
|
532
472
|
export interface StartPrimaryEmailUpdateRequest {
|
|
533
473
|
/**
|
|
534
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
535
|
-
* or modify with this operation. To use this parameter, the caller must be an identity in
|
|
536
|
-
* the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
537
|
-
* management account</a> or a delegated administrator account. The specified
|
|
538
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
539
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
540
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
541
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
542
|
-
* assigned.</p>
|
|
543
|
-
* <p>This operation can only be called from the management account or the delegated
|
|
544
|
-
* administrator account of an organization for a member account.</p>
|
|
545
|
-
* <note>
|
|
546
|
-
* <p>The management account can't specify its own <code>AccountId</code>.</p>
|
|
547
|
-
* </note>
|
|
474
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>
|
|
548
475
|
* @public
|
|
549
476
|
*/
|
|
550
477
|
AccountId: string | undefined;
|
|
551
478
|
/**
|
|
552
|
-
* <p>The new primary email address (also known as the root user email address) to
|
|
553
|
-
* use in the specified account.</p>
|
|
479
|
+
* <p>The new primary email address (also known as the root user email address) to use in the specified account.</p>
|
|
554
480
|
* @public
|
|
555
481
|
*/
|
|
556
482
|
PrimaryEmail: string | undefined;
|
|
@@ -570,33 +496,12 @@ export interface StartPrimaryEmailUpdateResponse {
|
|
|
570
496
|
*/
|
|
571
497
|
export interface DisableRegionRequest {
|
|
572
498
|
/**
|
|
573
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
574
|
-
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
575
|
-
* Amazon Web Services account of the identity used to call the operation. To use this
|
|
576
|
-
* parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
577
|
-
* management account</a> or a delegated administrator account. The specified
|
|
578
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
579
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
580
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
581
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
582
|
-
* assigned.</p>
|
|
583
|
-
* <note>
|
|
584
|
-
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
585
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
586
|
-
* parameter.</p>
|
|
587
|
-
* </note>
|
|
588
|
-
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
589
|
-
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
590
|
-
* account whose contacts you wish to retrieve or modify.</p>
|
|
499
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
591
500
|
* @public
|
|
592
501
|
*/
|
|
593
502
|
AccountId?: string | undefined;
|
|
594
503
|
/**
|
|
595
|
-
* <p>Specifies the Region-code for a given Region name (for example,
|
|
596
|
-
* <code>af-south-1</code>). When you disable a Region, Amazon Web Services performs actions to
|
|
597
|
-
* deactivate that Region in your account, such as destroying IAM resources in the Region.
|
|
598
|
-
* This process takes a few minutes for most accounts, but this can take several hours. You
|
|
599
|
-
* cannot enable the Region until the disabling process is fully completed.</p>
|
|
504
|
+
* <p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When you disable a Region, Amazon Web Services performs actions to deactivate that Region in your account, such as destroying IAM resources in the Region. This process takes a few minutes for most accounts, but this can take several hours. You cannot enable the Region until the disabling process is fully completed.</p>
|
|
600
505
|
* @public
|
|
601
506
|
*/
|
|
602
507
|
RegionName: string | undefined;
|
|
@@ -606,34 +511,12 @@ export interface DisableRegionRequest {
|
|
|
606
511
|
*/
|
|
607
512
|
export interface EnableRegionRequest {
|
|
608
513
|
/**
|
|
609
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
610
|
-
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
611
|
-
* Amazon Web Services account of the identity used to call the operation. To use this
|
|
612
|
-
* parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
613
|
-
* management account</a> or a delegated administrator account. The specified
|
|
614
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
615
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
616
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
617
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
618
|
-
* assigned.</p>
|
|
619
|
-
* <note>
|
|
620
|
-
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
621
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
622
|
-
* parameter.</p>
|
|
623
|
-
* </note>
|
|
624
|
-
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
625
|
-
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
626
|
-
* account whose contacts you wish to retrieve or modify.</p>
|
|
514
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
627
515
|
* @public
|
|
628
516
|
*/
|
|
629
517
|
AccountId?: string | undefined;
|
|
630
518
|
/**
|
|
631
|
-
* <p>Specifies the Region-code for a given Region name (for example,
|
|
632
|
-
* <code>af-south-1</code>). When you enable a Region, Amazon Web Services performs actions to
|
|
633
|
-
* prepare your account in that Region, such as distributing your IAM resources to the
|
|
634
|
-
* Region. This process takes a few minutes for most accounts, but it can take several
|
|
635
|
-
* hours. You cannot use the Region until this process is complete. Furthermore, you cannot
|
|
636
|
-
* disable the Region until the enabling process is fully completed.</p>
|
|
519
|
+
* <p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When you enable a Region, Amazon Web Services performs actions to prepare your account in that Region, such as distributing your IAM resources to the Region. This process takes a few minutes for most accounts, but it can take several hours. You cannot use the Region until this process is complete. Furthermore, you cannot disable the Region until the enabling process is fully completed.</p>
|
|
637
520
|
* @public
|
|
638
521
|
*/
|
|
639
522
|
RegionName: string | undefined;
|
|
@@ -643,31 +526,12 @@ export interface EnableRegionRequest {
|
|
|
643
526
|
*/
|
|
644
527
|
export interface GetRegionOptStatusRequest {
|
|
645
528
|
/**
|
|
646
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
647
|
-
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
648
|
-
* Amazon Web Services account of the identity used to call the operation. To use this
|
|
649
|
-
* parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
650
|
-
* management account</a> or a delegated administrator account. The specified
|
|
651
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
652
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
653
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
654
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
655
|
-
* assigned.</p>
|
|
656
|
-
* <note>
|
|
657
|
-
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
658
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
659
|
-
* parameter.</p>
|
|
660
|
-
* </note>
|
|
661
|
-
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
662
|
-
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
663
|
-
* account whose contacts you wish to retrieve or modify.</p>
|
|
529
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
664
530
|
* @public
|
|
665
531
|
*/
|
|
666
532
|
AccountId?: string | undefined;
|
|
667
533
|
/**
|
|
668
|
-
* <p>Specifies the Region-code for a given Region name (for example,
|
|
669
|
-
* <code>af-south-1</code>). This function will return the status of whatever Region
|
|
670
|
-
* you pass into this parameter. </p>
|
|
534
|
+
* <p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). This function will return the status of whatever Region you pass into this parameter. </p>
|
|
671
535
|
* @public
|
|
672
536
|
*/
|
|
673
537
|
RegionName: string | undefined;
|
|
@@ -697,8 +561,7 @@ export interface GetRegionOptStatusResponse {
|
|
|
697
561
|
*/
|
|
698
562
|
RegionName?: string | undefined;
|
|
699
563
|
/**
|
|
700
|
-
* <p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled,
|
|
701
|
-
* Disabling, Enabled_By_Default).</p>
|
|
564
|
+
* <p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).</p>
|
|
702
565
|
* @public
|
|
703
566
|
*/
|
|
704
567
|
RegionOptStatus?: RegionOptStatus | undefined;
|
|
@@ -708,57 +571,28 @@ export interface GetRegionOptStatusResponse {
|
|
|
708
571
|
*/
|
|
709
572
|
export interface ListRegionsRequest {
|
|
710
573
|
/**
|
|
711
|
-
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
712
|
-
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
713
|
-
* Amazon Web Services account of the identity used to call the operation. To use this
|
|
714
|
-
* parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's
|
|
715
|
-
* management account</a> or a delegated administrator account. The specified
|
|
716
|
-
* account ID must be a member account in the same organization. The organization must have
|
|
717
|
-
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
718
|
-
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
719
|
-
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
720
|
-
* assigned.</p>
|
|
721
|
-
* <note>
|
|
722
|
-
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
723
|
-
* the operation in standalone context by not including the <code>AccountId</code>
|
|
724
|
-
* parameter.</p>
|
|
725
|
-
* </note>
|
|
726
|
-
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
727
|
-
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
728
|
-
* account whose contacts you wish to retrieve or modify.</p>
|
|
574
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>
|
|
729
575
|
* @public
|
|
730
576
|
*/
|
|
731
577
|
AccountId?: string | undefined;
|
|
732
578
|
/**
|
|
733
|
-
* <p>The total number of items to return in the command’s output. If the total number of
|
|
734
|
-
* items available is more than the value specified, a <code>NextToken</code> is provided
|
|
735
|
-
* in the command’s output. To resume pagination, provide the <code>NextToken</code> value
|
|
736
|
-
* in the <code>starting-token</code> argument of a subsequent command. Do not use the
|
|
737
|
-
* <code>NextToken</code> response element directly outside of the Amazon Web Services CLI. For usage
|
|
738
|
-
* examples, see <a href="http://docs.aws.amazon.com/cli/latest/userguide/pagination.html">Pagination</a> in the <i>Amazon Web Services Command Line Interface User
|
|
739
|
-
* Guide</i>. </p>
|
|
579
|
+
* <p>The total number of items to return in the command’s output. If the total number of items available is more than the value specified, a <code>NextToken</code> is provided in the command’s output. To resume pagination, provide the <code>NextToken</code> value in the <code>starting-token</code> argument of a subsequent command. Do not use the <code>NextToken</code> response element directly outside of the Amazon Web Services CLI. For usage examples, see <a href="http://docs.aws.amazon.com/cli/latest/userguide/pagination.html">Pagination</a> in the <i>Amazon Web Services Command Line Interface User Guide</i>. </p>
|
|
740
580
|
* @public
|
|
741
581
|
*/
|
|
742
582
|
MaxResults?: number | undefined;
|
|
743
583
|
/**
|
|
744
|
-
* <p>A token used to specify where to start paginating. This is the <code>NextToken</code>
|
|
745
|
-
* from a previously truncated response. For usage examples, see <a href="http://docs.aws.amazon.com/cli/latest/userguide/pagination.html">Pagination</a> in the
|
|
746
|
-
* <i>Amazon Web Services Command Line Interface User Guide</i>.</p>
|
|
584
|
+
* <p>A token used to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response. For usage examples, see <a href="http://docs.aws.amazon.com/cli/latest/userguide/pagination.html">Pagination</a> in the <i>Amazon Web Services Command Line Interface User Guide</i>.</p>
|
|
747
585
|
* @public
|
|
748
586
|
*/
|
|
749
587
|
NextToken?: string | undefined;
|
|
750
588
|
/**
|
|
751
|
-
* <p>A list of Region statuses (Enabling, Enabled, Disabling, Disabled, Enabled_by_default)
|
|
752
|
-
* to use to filter the list of Regions for a given account. For example, passing in a
|
|
753
|
-
* value of ENABLING will only return a list of Regions with a Region status of
|
|
754
|
-
* ENABLING.</p>
|
|
589
|
+
* <p>A list of Region statuses (Enabling, Enabled, Disabling, Disabled, Enabled_by_default) to use to filter the list of Regions for a given account. For example, passing in a value of ENABLING will only return a list of Regions with a Region status of ENABLING.</p>
|
|
755
590
|
* @public
|
|
756
591
|
*/
|
|
757
592
|
RegionOptStatusContains?: RegionOptStatus[] | undefined;
|
|
758
593
|
}
|
|
759
594
|
/**
|
|
760
|
-
* <p>This is a structure that expresses the Region for a given account, consisting of a
|
|
761
|
-
* name and opt-in status.</p>
|
|
595
|
+
* <p>This is a structure that expresses the Region for a given account, consisting of a name and opt-in status.</p>
|
|
762
596
|
* @public
|
|
763
597
|
*/
|
|
764
598
|
export interface Region {
|
|
@@ -768,8 +602,7 @@ export interface Region {
|
|
|
768
602
|
*/
|
|
769
603
|
RegionName?: string | undefined;
|
|
770
604
|
/**
|
|
771
|
-
* <p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled,
|
|
772
|
-
* Disabling, Enabled_By_Default).</p>
|
|
605
|
+
* <p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).</p>
|
|
773
606
|
* @public
|
|
774
607
|
*/
|
|
775
608
|
RegionOptStatus?: RegionOptStatus | undefined;
|
|
@@ -779,15 +612,12 @@ export interface Region {
|
|
|
779
612
|
*/
|
|
780
613
|
export interface ListRegionsResponse {
|
|
781
614
|
/**
|
|
782
|
-
* <p>If there is more data to be returned, this will be populated. It should be passed into
|
|
783
|
-
* the <code>next-token</code> request parameter of <code>list-regions</code>.</p>
|
|
615
|
+
* <p>If there is more data to be returned, this will be populated. It should be passed into the <code>next-token</code> request parameter of <code>list-regions</code>.</p>
|
|
784
616
|
* @public
|
|
785
617
|
*/
|
|
786
618
|
NextToken?: string | undefined;
|
|
787
619
|
/**
|
|
788
|
-
* <p>This is a list of Regions for a given account, or if the filtered parameter was used,
|
|
789
|
-
* a list of Regions that match the filter criteria set in the <code>filter</code>
|
|
790
|
-
* parameter.</p>
|
|
620
|
+
* <p>This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that match the filter criteria set in the <code>filter</code> parameter.</p>
|
|
791
621
|
* @public
|
|
792
622
|
*/
|
|
793
623
|
Regions?: Region[] | undefined;
|
|
@@ -800,6 +630,14 @@ export declare const AcceptPrimaryEmailUpdateRequestFilterSensitiveLog: (obj: Ac
|
|
|
800
630
|
* @internal
|
|
801
631
|
*/
|
|
802
632
|
export declare const ValidationExceptionFieldFilterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
633
|
+
/**
|
|
634
|
+
* @internal
|
|
635
|
+
*/
|
|
636
|
+
export declare const GetAccountInformationResponseFilterSensitiveLog: (obj: GetAccountInformationResponse) => any;
|
|
637
|
+
/**
|
|
638
|
+
* @internal
|
|
639
|
+
*/
|
|
640
|
+
export declare const PutAccountNameRequestFilterSensitiveLog: (obj: PutAccountNameRequest) => any;
|
|
803
641
|
/**
|
|
804
642
|
* @internal
|
|
805
643
|
*/
|