@aws-sdk/client-account 3.1095.0 → 3.1096.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 +7 -0
- package/dist-cjs/index.js +28 -1
- package/dist-es/Account.js +2 -0
- package/dist-es/commands/GetPrimaryEmailUpdateStatusCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +2 -0
- package/dist-es/schemas/schemas_0.js +17 -0
- package/dist-types/Account.d.ts +8 -0
- package/dist-types/AccountClient.d.ts +3 -2
- package/dist-types/commands/GetPrimaryEmailUpdateStatusCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +25 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/Account.d.ts +18 -0
- package/dist-types/ts3.4/AccountClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetPrimaryEmailUpdateStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -244,6 +244,13 @@ GetPrimaryEmail
|
|
|
244
244
|
</details>
|
|
245
245
|
<details>
|
|
246
246
|
<summary>
|
|
247
|
+
GetPrimaryEmailUpdateStatus
|
|
248
|
+
</summary>
|
|
249
|
+
|
|
250
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/GetPrimaryEmailUpdateStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetPrimaryEmailUpdateStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetPrimaryEmailUpdateStatusCommandOutput/)
|
|
251
|
+
</details>
|
|
252
|
+
<details>
|
|
253
|
+
<summary>
|
|
247
254
|
GetRegionOptStatus
|
|
248
255
|
</summary>
|
|
249
256
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1095.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -288,6 +288,9 @@ const _GGCAIRe = "GetGovCloudAccountInformationResponse";
|
|
|
288
288
|
const _GPE = "GetPrimaryEmail";
|
|
289
289
|
const _GPER = "GetPrimaryEmailRequest";
|
|
290
290
|
const _GPERe = "GetPrimaryEmailResponse";
|
|
291
|
+
const _GPEUS = "GetPrimaryEmailUpdateStatus";
|
|
292
|
+
const _GPEUSR = "GetPrimaryEmailUpdateStatusRequest";
|
|
293
|
+
const _GPEUSRe = "GetPrimaryEmailUpdateStatusResponse";
|
|
291
294
|
const _GROS = "GetRegionOptStatus";
|
|
292
295
|
const _GROSR = "GetRegionOptStatusRequest";
|
|
293
296
|
const _GROSRe = "GetRegionOptStatusResponse";
|
|
@@ -326,6 +329,7 @@ const _SPEURt = "StartPrimaryEmailUpdateResponse";
|
|
|
326
329
|
const _SS = "SensitiveString";
|
|
327
330
|
const _T = "Title";
|
|
328
331
|
const _TMRE = "TooManyRequestsException";
|
|
332
|
+
const _UA = "UpdatedAt";
|
|
329
333
|
const _VE = "ValidationException";
|
|
330
334
|
const _VEF = "ValidationExceptionField";
|
|
331
335
|
const _VEFL = "ValidationExceptionFieldList";
|
|
@@ -497,6 +501,16 @@ var GetPrimaryEmailResponse$ = [3, n0, _GPERe,
|
|
|
497
501
|
[_PE],
|
|
498
502
|
[[() => PrimaryEmailAddress, 0]]
|
|
499
503
|
];
|
|
504
|
+
var GetPrimaryEmailUpdateStatusRequest$ = [3, n0, _GPEUSR,
|
|
505
|
+
0,
|
|
506
|
+
[_AI],
|
|
507
|
+
[0]
|
|
508
|
+
];
|
|
509
|
+
var GetPrimaryEmailUpdateStatusResponse$ = [3, n0, _GPEUSRe,
|
|
510
|
+
0,
|
|
511
|
+
[_S, _UA],
|
|
512
|
+
[0, 4], 1
|
|
513
|
+
];
|
|
500
514
|
var GetRegionOptStatusRequest$ = [3, n0, _GROSR,
|
|
501
515
|
0,
|
|
502
516
|
[_RN, _AI],
|
|
@@ -587,6 +601,9 @@ var GetGovCloudAccountInformation$ = [9, n0, _GGCAI,
|
|
|
587
601
|
var GetPrimaryEmail$ = [9, n0, _GPE,
|
|
588
602
|
{ [_h]: ["POST", "/getPrimaryEmail", 200] }, () => GetPrimaryEmailRequest$, () => GetPrimaryEmailResponse$
|
|
589
603
|
];
|
|
604
|
+
var GetPrimaryEmailUpdateStatus$ = [9, n0, _GPEUS,
|
|
605
|
+
{ [_h]: ["POST", "/getPrimaryEmailUpdateStatus", 200] }, () => GetPrimaryEmailUpdateStatusRequest$, () => GetPrimaryEmailUpdateStatusResponse$
|
|
606
|
+
];
|
|
590
607
|
var GetRegionOptStatus$ = [9, n0, _GROS,
|
|
591
608
|
{ [_h]: ["POST", "/getRegionOptStatus", 200] }, () => GetRegionOptStatusRequest$, () => GetRegionOptStatusResponse$
|
|
592
609
|
];
|
|
@@ -783,6 +800,9 @@ class GetGovCloudAccountInformationCommand extends command(_ep0, _mw0, "GetGovCl
|
|
|
783
800
|
class GetPrimaryEmailCommand extends command(_ep0, _mw0, "GetPrimaryEmail", GetPrimaryEmail$) {
|
|
784
801
|
}
|
|
785
802
|
|
|
803
|
+
class GetPrimaryEmailUpdateStatusCommand extends command(_ep0, _mw0, "GetPrimaryEmailUpdateStatus", GetPrimaryEmailUpdateStatus$) {
|
|
804
|
+
}
|
|
805
|
+
|
|
786
806
|
class GetRegionOptStatusCommand extends command(_ep0, _mw0, "GetRegionOptStatus", GetRegionOptStatus$) {
|
|
787
807
|
}
|
|
788
808
|
|
|
@@ -813,6 +833,7 @@ const commands = {
|
|
|
813
833
|
GetContactInformationCommand,
|
|
814
834
|
GetGovCloudAccountInformationCommand,
|
|
815
835
|
GetPrimaryEmailCommand,
|
|
836
|
+
GetPrimaryEmailUpdateStatusCommand,
|
|
816
837
|
GetRegionOptStatusCommand,
|
|
817
838
|
ListRegionsCommand,
|
|
818
839
|
PutAccountNameCommand,
|
|
@@ -829,6 +850,8 @@ createAggregatedClient(commands, Account, { paginators });
|
|
|
829
850
|
|
|
830
851
|
const PrimaryEmailUpdateStatus = {
|
|
831
852
|
ACCEPTED: "ACCEPTED",
|
|
853
|
+
COMPLETED: "COMPLETED",
|
|
854
|
+
FAILED: "FAILED",
|
|
832
855
|
PENDING: "PENDING",
|
|
833
856
|
};
|
|
834
857
|
const ValidationExceptionReason = {
|
|
@@ -906,6 +929,10 @@ exports.GetPrimaryEmail$ = GetPrimaryEmail$;
|
|
|
906
929
|
exports.GetPrimaryEmailCommand = GetPrimaryEmailCommand;
|
|
907
930
|
exports.GetPrimaryEmailRequest$ = GetPrimaryEmailRequest$;
|
|
908
931
|
exports.GetPrimaryEmailResponse$ = GetPrimaryEmailResponse$;
|
|
932
|
+
exports.GetPrimaryEmailUpdateStatus$ = GetPrimaryEmailUpdateStatus$;
|
|
933
|
+
exports.GetPrimaryEmailUpdateStatusCommand = GetPrimaryEmailUpdateStatusCommand;
|
|
934
|
+
exports.GetPrimaryEmailUpdateStatusRequest$ = GetPrimaryEmailUpdateStatusRequest$;
|
|
935
|
+
exports.GetPrimaryEmailUpdateStatusResponse$ = GetPrimaryEmailUpdateStatusResponse$;
|
|
909
936
|
exports.GetRegionOptStatus$ = GetRegionOptStatus$;
|
|
910
937
|
exports.GetRegionOptStatusCommand = GetRegionOptStatusCommand;
|
|
911
938
|
exports.GetRegionOptStatusRequest$ = GetRegionOptStatusRequest$;
|
package/dist-es/Account.js
CHANGED
|
@@ -9,6 +9,7 @@ import { GetAlternateContactCommand, } from "./commands/GetAlternateContactComma
|
|
|
9
9
|
import { GetContactInformationCommand, } from "./commands/GetContactInformationCommand";
|
|
10
10
|
import { GetGovCloudAccountInformationCommand, } from "./commands/GetGovCloudAccountInformationCommand";
|
|
11
11
|
import { GetPrimaryEmailCommand, } from "./commands/GetPrimaryEmailCommand";
|
|
12
|
+
import { GetPrimaryEmailUpdateStatusCommand, } from "./commands/GetPrimaryEmailUpdateStatusCommand";
|
|
12
13
|
import { GetRegionOptStatusCommand, } from "./commands/GetRegionOptStatusCommand";
|
|
13
14
|
import { ListRegionsCommand, } from "./commands/ListRegionsCommand";
|
|
14
15
|
import { PutAccountNameCommand, } from "./commands/PutAccountNameCommand";
|
|
@@ -26,6 +27,7 @@ const commands = {
|
|
|
26
27
|
GetContactInformationCommand,
|
|
27
28
|
GetGovCloudAccountInformationCommand,
|
|
28
29
|
GetPrimaryEmailCommand,
|
|
30
|
+
GetPrimaryEmailUpdateStatusCommand,
|
|
29
31
|
GetRegionOptStatusCommand,
|
|
30
32
|
ListRegionsCommand,
|
|
31
33
|
PutAccountNameCommand,
|
|
@@ -7,6 +7,7 @@ export * from "./GetAlternateContactCommand";
|
|
|
7
7
|
export * from "./GetContactInformationCommand";
|
|
8
8
|
export * from "./GetGovCloudAccountInformationCommand";
|
|
9
9
|
export * from "./GetPrimaryEmailCommand";
|
|
10
|
+
export * from "./GetPrimaryEmailUpdateStatusCommand";
|
|
10
11
|
export * from "./GetRegionOptStatusCommand";
|
|
11
12
|
export * from "./ListRegionsCommand";
|
|
12
13
|
export * from "./PutAccountNameCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -43,6 +43,9 @@ const _GGCAIRe = "GetGovCloudAccountInformationResponse";
|
|
|
43
43
|
const _GPE = "GetPrimaryEmail";
|
|
44
44
|
const _GPER = "GetPrimaryEmailRequest";
|
|
45
45
|
const _GPERe = "GetPrimaryEmailResponse";
|
|
46
|
+
const _GPEUS = "GetPrimaryEmailUpdateStatus";
|
|
47
|
+
const _GPEUSR = "GetPrimaryEmailUpdateStatusRequest";
|
|
48
|
+
const _GPEUSRe = "GetPrimaryEmailUpdateStatusResponse";
|
|
46
49
|
const _GROS = "GetRegionOptStatus";
|
|
47
50
|
const _GROSR = "GetRegionOptStatusRequest";
|
|
48
51
|
const _GROSRe = "GetRegionOptStatusResponse";
|
|
@@ -81,6 +84,7 @@ const _SPEURt = "StartPrimaryEmailUpdateResponse";
|
|
|
81
84
|
const _SS = "SensitiveString";
|
|
82
85
|
const _T = "Title";
|
|
83
86
|
const _TMRE = "TooManyRequestsException";
|
|
87
|
+
const _UA = "UpdatedAt";
|
|
84
88
|
const _VE = "ValidationException";
|
|
85
89
|
const _VEF = "ValidationExceptionField";
|
|
86
90
|
const _VEFL = "ValidationExceptionFieldList";
|
|
@@ -255,6 +259,16 @@ export var GetPrimaryEmailResponse$ = [3, n0, _GPERe,
|
|
|
255
259
|
[_PE],
|
|
256
260
|
[[() => PrimaryEmailAddress, 0]]
|
|
257
261
|
];
|
|
262
|
+
export var GetPrimaryEmailUpdateStatusRequest$ = [3, n0, _GPEUSR,
|
|
263
|
+
0,
|
|
264
|
+
[_AI],
|
|
265
|
+
[0]
|
|
266
|
+
];
|
|
267
|
+
export var GetPrimaryEmailUpdateStatusResponse$ = [3, n0, _GPEUSRe,
|
|
268
|
+
0,
|
|
269
|
+
[_S, _UA],
|
|
270
|
+
[0, 4], 1
|
|
271
|
+
];
|
|
258
272
|
export var GetRegionOptStatusRequest$ = [3, n0, _GROSR,
|
|
259
273
|
0,
|
|
260
274
|
[_RN, _AI],
|
|
@@ -346,6 +360,9 @@ export var GetGovCloudAccountInformation$ = [9, n0, _GGCAI,
|
|
|
346
360
|
export var GetPrimaryEmail$ = [9, n0, _GPE,
|
|
347
361
|
{ [_h]: ["POST", "/getPrimaryEmail", 200] }, () => GetPrimaryEmailRequest$, () => GetPrimaryEmailResponse$
|
|
348
362
|
];
|
|
363
|
+
export var GetPrimaryEmailUpdateStatus$ = [9, n0, _GPEUS,
|
|
364
|
+
{ [_h]: ["POST", "/getPrimaryEmailUpdateStatus", 200] }, () => GetPrimaryEmailUpdateStatusRequest$, () => GetPrimaryEmailUpdateStatusResponse$
|
|
365
|
+
];
|
|
349
366
|
export var GetRegionOptStatus$ = [9, n0, _GROS,
|
|
350
367
|
{ [_h]: ["POST", "/getRegionOptStatus", 200] }, () => GetRegionOptStatusRequest$, () => GetRegionOptStatusResponse$
|
|
351
368
|
];
|
package/dist-types/Account.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { type GetAlternateContactCommandInput, type GetAlternateContactCommandOu
|
|
|
9
9
|
import { type GetContactInformationCommandInput, type GetContactInformationCommandOutput } from "./commands/GetContactInformationCommand";
|
|
10
10
|
import { type GetGovCloudAccountInformationCommandInput, type GetGovCloudAccountInformationCommandOutput } from "./commands/GetGovCloudAccountInformationCommand";
|
|
11
11
|
import { type GetPrimaryEmailCommandInput, type GetPrimaryEmailCommandOutput } from "./commands/GetPrimaryEmailCommand";
|
|
12
|
+
import { type GetPrimaryEmailUpdateStatusCommandInput, type GetPrimaryEmailUpdateStatusCommandOutput } from "./commands/GetPrimaryEmailUpdateStatusCommand";
|
|
12
13
|
import { type GetRegionOptStatusCommandInput, type GetRegionOptStatusCommandOutput } from "./commands/GetRegionOptStatusCommand";
|
|
13
14
|
import { type ListRegionsCommandInput, type ListRegionsCommandOutput } from "./commands/ListRegionsCommand";
|
|
14
15
|
import { type PutAccountNameCommandInput, type PutAccountNameCommandOutput } from "./commands/PutAccountNameCommand";
|
|
@@ -73,6 +74,13 @@ export interface Account {
|
|
|
73
74
|
getPrimaryEmail(args: GetPrimaryEmailCommandInput, options?: __HttpHandlerOptions): Promise<GetPrimaryEmailCommandOutput>;
|
|
74
75
|
getPrimaryEmail(args: GetPrimaryEmailCommandInput, cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void): void;
|
|
75
76
|
getPrimaryEmail(args: GetPrimaryEmailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link GetPrimaryEmailUpdateStatusCommand}
|
|
79
|
+
*/
|
|
80
|
+
getPrimaryEmailUpdateStatus(): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
|
|
81
|
+
getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
|
|
82
|
+
getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void): void;
|
|
83
|
+
getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void): void;
|
|
76
84
|
/**
|
|
77
85
|
* @see {@link GetRegionOptStatusCommand}
|
|
78
86
|
*/
|
|
@@ -15,6 +15,7 @@ import type { GetAlternateContactCommandInput, GetAlternateContactCommandOutput
|
|
|
15
15
|
import type { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "./commands/GetContactInformationCommand";
|
|
16
16
|
import type { GetGovCloudAccountInformationCommandInput, GetGovCloudAccountInformationCommandOutput } from "./commands/GetGovCloudAccountInformationCommand";
|
|
17
17
|
import type { GetPrimaryEmailCommandInput, GetPrimaryEmailCommandOutput } from "./commands/GetPrimaryEmailCommand";
|
|
18
|
+
import type { GetPrimaryEmailUpdateStatusCommandInput, GetPrimaryEmailUpdateStatusCommandOutput } from "./commands/GetPrimaryEmailUpdateStatusCommand";
|
|
18
19
|
import type { GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput } from "./commands/GetRegionOptStatusCommand";
|
|
19
20
|
import type { ListRegionsCommandInput, ListRegionsCommandOutput } from "./commands/ListRegionsCommand";
|
|
20
21
|
import type { PutAccountNameCommandInput, PutAccountNameCommandOutput } from "./commands/PutAccountNameCommand";
|
|
@@ -27,11 +28,11 @@ export { __Client };
|
|
|
27
28
|
/**
|
|
28
29
|
* @public
|
|
29
30
|
*/
|
|
30
|
-
export type ServiceInputTypes = AcceptPrimaryEmailUpdateCommandInput | DeleteAlternateContactCommandInput | DisableRegionCommandInput | EnableRegionCommandInput | GetAccountInformationCommandInput | GetAlternateContactCommandInput | GetContactInformationCommandInput | GetGovCloudAccountInformationCommandInput | GetPrimaryEmailCommandInput | GetRegionOptStatusCommandInput | ListRegionsCommandInput | PutAccountNameCommandInput | PutAlternateContactCommandInput | PutContactInformationCommandInput | StartPrimaryEmailUpdateCommandInput;
|
|
31
|
+
export type ServiceInputTypes = AcceptPrimaryEmailUpdateCommandInput | DeleteAlternateContactCommandInput | DisableRegionCommandInput | EnableRegionCommandInput | GetAccountInformationCommandInput | GetAlternateContactCommandInput | GetContactInformationCommandInput | GetGovCloudAccountInformationCommandInput | GetPrimaryEmailCommandInput | GetPrimaryEmailUpdateStatusCommandInput | GetRegionOptStatusCommandInput | ListRegionsCommandInput | PutAccountNameCommandInput | PutAlternateContactCommandInput | PutContactInformationCommandInput | StartPrimaryEmailUpdateCommandInput;
|
|
31
32
|
/**
|
|
32
33
|
* @public
|
|
33
34
|
*/
|
|
34
|
-
export type ServiceOutputTypes = AcceptPrimaryEmailUpdateCommandOutput | DeleteAlternateContactCommandOutput | DisableRegionCommandOutput | EnableRegionCommandOutput | GetAccountInformationCommandOutput | GetAlternateContactCommandOutput | GetContactInformationCommandOutput | GetGovCloudAccountInformationCommandOutput | GetPrimaryEmailCommandOutput | GetRegionOptStatusCommandOutput | ListRegionsCommandOutput | PutAccountNameCommandOutput | PutAlternateContactCommandOutput | PutContactInformationCommandOutput | StartPrimaryEmailUpdateCommandOutput;
|
|
35
|
+
export type ServiceOutputTypes = AcceptPrimaryEmailUpdateCommandOutput | DeleteAlternateContactCommandOutput | DisableRegionCommandOutput | EnableRegionCommandOutput | GetAccountInformationCommandOutput | GetAlternateContactCommandOutput | GetContactInformationCommandOutput | GetGovCloudAccountInformationCommandOutput | GetPrimaryEmailCommandOutput | GetPrimaryEmailUpdateStatusCommandOutput | GetRegionOptStatusCommandOutput | ListRegionsCommandOutput | PutAccountNameCommandOutput | PutAlternateContactCommandOutput | PutContactInformationCommandOutput | StartPrimaryEmailUpdateCommandOutput;
|
|
35
36
|
/**
|
|
36
37
|
* @public
|
|
37
38
|
*/
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetPrimaryEmailUpdateStatusRequest, GetPrimaryEmailUpdateStatusResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetPrimaryEmailUpdateStatusCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetPrimaryEmailUpdateStatusCommandInput extends GetPrimaryEmailUpdateStatusRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetPrimaryEmailUpdateStatusCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetPrimaryEmailUpdateStatusCommandOutput extends GetPrimaryEmailUpdateStatusResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetPrimaryEmailUpdateStatusCommand_base: {
|
|
22
|
+
new (input: GetPrimaryEmailUpdateStatusCommandInput): import("@smithy/core/client").CommandImpl<GetPrimaryEmailUpdateStatusCommandInput, GetPrimaryEmailUpdateStatusCommandOutput, import("..").AccountClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetPrimaryEmailUpdateStatusCommandInput]): import("@smithy/core/client").CommandImpl<GetPrimaryEmailUpdateStatusCommandInput, GetPrimaryEmailUpdateStatusCommandOutput, import("..").AccountClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the status of the most recent primary email update for the specified account. For complete details about how to update the primary email address, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-root-user-email.html">Update the primary email address for your AWS account</a>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { AccountClient, GetPrimaryEmailUpdateStatusCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
32
|
+
* // const { AccountClient, GetPrimaryEmailUpdateStatusCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
33
|
+
* // import type { AccountClientConfig } from "@aws-sdk/client-account";
|
|
34
|
+
* const config = {}; // type is AccountClientConfig
|
|
35
|
+
* const client = new AccountClient(config);
|
|
36
|
+
* const input = { // GetPrimaryEmailUpdateStatusRequest
|
|
37
|
+
* AccountId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetPrimaryEmailUpdateStatusCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetPrimaryEmailUpdateStatusResponse
|
|
42
|
+
* // Status: "STRING_VALUE", // required
|
|
43
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetPrimaryEmailUpdateStatusCommandInput - {@link GetPrimaryEmailUpdateStatusCommandInput}
|
|
49
|
+
* @returns {@link GetPrimaryEmailUpdateStatusCommandOutput}
|
|
50
|
+
* @see {@link GetPrimaryEmailUpdateStatusCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetPrimaryEmailUpdateStatusCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link AccountClientResolvedConfig | config} for AccountClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>The operation failed because the calling identity doesn't have the minimum required permissions.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again later.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The operation failed because it specified a resource that can't be found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
64
|
+
* <p>The operation failed because it was called too frequently and exceeded a throttle limit.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The operation failed because one of the input parameters was invalid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccountServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class GetPrimaryEmailUpdateStatusCommand extends GetPrimaryEmailUpdateStatusCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: GetPrimaryEmailUpdateStatusRequest;
|
|
80
|
+
output: GetPrimaryEmailUpdateStatusResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: GetPrimaryEmailUpdateStatusCommandInput;
|
|
84
|
+
output: GetPrimaryEmailUpdateStatusCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./GetAlternateContactCommand";
|
|
|
7
7
|
export * from "./GetContactInformationCommand";
|
|
8
8
|
export * from "./GetGovCloudAccountInformationCommand";
|
|
9
9
|
export * from "./GetPrimaryEmailCommand";
|
|
10
|
+
export * from "./GetPrimaryEmailUpdateStatusCommand";
|
|
10
11
|
export * from "./GetRegionOptStatusCommand";
|
|
11
12
|
export * from "./ListRegionsCommand";
|
|
12
13
|
export * from "./PutAccountNameCommand";
|
|
@@ -347,6 +347,31 @@ export interface GetPrimaryEmailResponse {
|
|
|
347
347
|
*/
|
|
348
348
|
PrimaryEmail?: string | undefined;
|
|
349
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
export interface GetPrimaryEmailUpdateStatusRequest {
|
|
354
|
+
/**
|
|
355
|
+
* <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>
|
|
356
|
+
* @public
|
|
357
|
+
*/
|
|
358
|
+
AccountId?: string | undefined;
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* @public
|
|
362
|
+
*/
|
|
363
|
+
export interface GetPrimaryEmailUpdateStatusResponse {
|
|
364
|
+
/**
|
|
365
|
+
* <p>The status of the most recent primary email update request.</p>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
Status: PrimaryEmailUpdateStatus | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* <p>The date and time that the most recent primary email update status was last changed.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
UpdatedAt?: Date | undefined;
|
|
374
|
+
}
|
|
350
375
|
/**
|
|
351
376
|
* @public
|
|
352
377
|
*/
|
|
@@ -31,6 +31,8 @@ export declare var GetGovCloudAccountInformationRequest$: StaticStructureSchema;
|
|
|
31
31
|
export declare var GetGovCloudAccountInformationResponse$: StaticStructureSchema;
|
|
32
32
|
export declare var GetPrimaryEmailRequest$: StaticStructureSchema;
|
|
33
33
|
export declare var GetPrimaryEmailResponse$: StaticStructureSchema;
|
|
34
|
+
export declare var GetPrimaryEmailUpdateStatusRequest$: StaticStructureSchema;
|
|
35
|
+
export declare var GetPrimaryEmailUpdateStatusResponse$: StaticStructureSchema;
|
|
34
36
|
export declare var GetRegionOptStatusRequest$: StaticStructureSchema;
|
|
35
37
|
export declare var GetRegionOptStatusResponse$: StaticStructureSchema;
|
|
36
38
|
export declare var ListRegionsRequest$: StaticStructureSchema;
|
|
@@ -51,6 +53,7 @@ export declare var GetAlternateContact$: StaticOperationSchema;
|
|
|
51
53
|
export declare var GetContactInformation$: StaticOperationSchema;
|
|
52
54
|
export declare var GetGovCloudAccountInformation$: StaticOperationSchema;
|
|
53
55
|
export declare var GetPrimaryEmail$: StaticOperationSchema;
|
|
56
|
+
export declare var GetPrimaryEmailUpdateStatus$: StaticOperationSchema;
|
|
54
57
|
export declare var GetRegionOptStatus$: StaticOperationSchema;
|
|
55
58
|
export declare var ListRegions$: StaticOperationSchema;
|
|
56
59
|
export declare var PutAccountName$: StaticOperationSchema;
|
|
@@ -40,6 +40,10 @@ import {
|
|
|
40
40
|
GetPrimaryEmailCommandInput,
|
|
41
41
|
GetPrimaryEmailCommandOutput,
|
|
42
42
|
} from "./commands/GetPrimaryEmailCommand";
|
|
43
|
+
import {
|
|
44
|
+
GetPrimaryEmailUpdateStatusCommandInput,
|
|
45
|
+
GetPrimaryEmailUpdateStatusCommandOutput,
|
|
46
|
+
} from "./commands/GetPrimaryEmailUpdateStatusCommand";
|
|
43
47
|
import {
|
|
44
48
|
GetRegionOptStatusCommandInput,
|
|
45
49
|
GetRegionOptStatusCommandOutput,
|
|
@@ -182,6 +186,20 @@ export interface Account {
|
|
|
182
186
|
options: __HttpHandlerOptions,
|
|
183
187
|
cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void,
|
|
184
188
|
): void;
|
|
189
|
+
getPrimaryEmailUpdateStatus(): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
|
|
190
|
+
getPrimaryEmailUpdateStatus(
|
|
191
|
+
args: GetPrimaryEmailUpdateStatusCommandInput,
|
|
192
|
+
options?: __HttpHandlerOptions,
|
|
193
|
+
): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
|
|
194
|
+
getPrimaryEmailUpdateStatus(
|
|
195
|
+
args: GetPrimaryEmailUpdateStatusCommandInput,
|
|
196
|
+
cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void,
|
|
197
|
+
): void;
|
|
198
|
+
getPrimaryEmailUpdateStatus(
|
|
199
|
+
args: GetPrimaryEmailUpdateStatusCommandInput,
|
|
200
|
+
options: __HttpHandlerOptions,
|
|
201
|
+
cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void,
|
|
202
|
+
): void;
|
|
185
203
|
getRegionOptStatus(
|
|
186
204
|
args: GetRegionOptStatusCommandInput,
|
|
187
205
|
options?: __HttpHandlerOptions,
|
|
@@ -69,6 +69,10 @@ import {
|
|
|
69
69
|
GetPrimaryEmailCommandInput,
|
|
70
70
|
GetPrimaryEmailCommandOutput,
|
|
71
71
|
} from "./commands/GetPrimaryEmailCommand";
|
|
72
|
+
import {
|
|
73
|
+
GetPrimaryEmailUpdateStatusCommandInput,
|
|
74
|
+
GetPrimaryEmailUpdateStatusCommandOutput,
|
|
75
|
+
} from "./commands/GetPrimaryEmailUpdateStatusCommand";
|
|
72
76
|
import {
|
|
73
77
|
GetRegionOptStatusCommandInput,
|
|
74
78
|
GetRegionOptStatusCommandOutput,
|
|
@@ -107,6 +111,7 @@ export type ServiceInputTypes =
|
|
|
107
111
|
| GetContactInformationCommandInput
|
|
108
112
|
| GetGovCloudAccountInformationCommandInput
|
|
109
113
|
| GetPrimaryEmailCommandInput
|
|
114
|
+
| GetPrimaryEmailUpdateStatusCommandInput
|
|
110
115
|
| GetRegionOptStatusCommandInput
|
|
111
116
|
| ListRegionsCommandInput
|
|
112
117
|
| PutAccountNameCommandInput
|
|
@@ -123,6 +128,7 @@ export type ServiceOutputTypes =
|
|
|
123
128
|
| GetContactInformationCommandOutput
|
|
124
129
|
| GetGovCloudAccountInformationCommandOutput
|
|
125
130
|
| GetPrimaryEmailCommandOutput
|
|
131
|
+
| GetPrimaryEmailUpdateStatusCommandOutput
|
|
126
132
|
| GetRegionOptStatusCommandOutput
|
|
127
133
|
| ListRegionsCommandOutput
|
|
128
134
|
| PutAccountNameCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetPrimaryEmailUpdateStatusRequest,
|
|
4
|
+
GetPrimaryEmailUpdateStatusResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface GetPrimaryEmailUpdateStatusCommandInput extends GetPrimaryEmailUpdateStatusRequest {}
|
|
8
|
+
export interface GetPrimaryEmailUpdateStatusCommandOutput
|
|
9
|
+
extends GetPrimaryEmailUpdateStatusResponse, __MetadataBearer {}
|
|
10
|
+
declare const GetPrimaryEmailUpdateStatusCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: GetPrimaryEmailUpdateStatusCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
GetPrimaryEmailUpdateStatusCommandInput,
|
|
15
|
+
GetPrimaryEmailUpdateStatusCommandOutput,
|
|
16
|
+
import("..").AccountClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
...[input]: [] | [GetPrimaryEmailUpdateStatusCommandInput]
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetPrimaryEmailUpdateStatusCommandInput,
|
|
24
|
+
GetPrimaryEmailUpdateStatusCommandOutput,
|
|
25
|
+
import("..").AccountClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class GetPrimaryEmailUpdateStatusCommand extends GetPrimaryEmailUpdateStatusCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: GetPrimaryEmailUpdateStatusRequest;
|
|
35
|
+
output: GetPrimaryEmailUpdateStatusResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: GetPrimaryEmailUpdateStatusCommandInput;
|
|
39
|
+
output: GetPrimaryEmailUpdateStatusCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./GetAlternateContactCommand";
|
|
|
7
7
|
export * from "./GetContactInformationCommand";
|
|
8
8
|
export * from "./GetGovCloudAccountInformationCommand";
|
|
9
9
|
export * from "./GetPrimaryEmailCommand";
|
|
10
|
+
export * from "./GetPrimaryEmailUpdateStatusCommand";
|
|
10
11
|
export * from "./GetRegionOptStatusCommand";
|
|
11
12
|
export * from "./ListRegionsCommand";
|
|
12
13
|
export * from "./PutAccountNameCommand";
|
|
@@ -93,6 +93,13 @@ export interface GetPrimaryEmailRequest {
|
|
|
93
93
|
export interface GetPrimaryEmailResponse {
|
|
94
94
|
PrimaryEmail?: string | undefined;
|
|
95
95
|
}
|
|
96
|
+
export interface GetPrimaryEmailUpdateStatusRequest {
|
|
97
|
+
AccountId?: string | undefined;
|
|
98
|
+
}
|
|
99
|
+
export interface GetPrimaryEmailUpdateStatusResponse {
|
|
100
|
+
Status: PrimaryEmailUpdateStatus | undefined;
|
|
101
|
+
UpdatedAt?: Date | undefined;
|
|
102
|
+
}
|
|
96
103
|
export interface StartPrimaryEmailUpdateRequest {
|
|
97
104
|
AccountId: string | undefined;
|
|
98
105
|
PrimaryEmail: string | undefined;
|
|
@@ -26,6 +26,8 @@ export declare var GetGovCloudAccountInformationRequest$: StaticStructureSchema;
|
|
|
26
26
|
export declare var GetGovCloudAccountInformationResponse$: StaticStructureSchema;
|
|
27
27
|
export declare var GetPrimaryEmailRequest$: StaticStructureSchema;
|
|
28
28
|
export declare var GetPrimaryEmailResponse$: StaticStructureSchema;
|
|
29
|
+
export declare var GetPrimaryEmailUpdateStatusRequest$: StaticStructureSchema;
|
|
30
|
+
export declare var GetPrimaryEmailUpdateStatusResponse$: StaticStructureSchema;
|
|
29
31
|
export declare var GetRegionOptStatusRequest$: StaticStructureSchema;
|
|
30
32
|
export declare var GetRegionOptStatusResponse$: StaticStructureSchema;
|
|
31
33
|
export declare var ListRegionsRequest$: StaticStructureSchema;
|
|
@@ -46,6 +48,7 @@ export declare var GetAlternateContact$: StaticOperationSchema;
|
|
|
46
48
|
export declare var GetContactInformation$: StaticOperationSchema;
|
|
47
49
|
export declare var GetGovCloudAccountInformation$: StaticOperationSchema;
|
|
48
50
|
export declare var GetPrimaryEmail$: StaticOperationSchema;
|
|
51
|
+
export declare var GetPrimaryEmailUpdateStatus$: StaticOperationSchema;
|
|
49
52
|
export declare var GetRegionOptStatus$: StaticOperationSchema;
|
|
50
53
|
export declare var ListRegions$: StaticOperationSchema;
|
|
51
54
|
export declare var PutAccountName$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1096.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-account",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.977.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.977.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.73",
|
|
51
51
|
"@aws-sdk/types": "^3.974.2",
|
|
52
52
|
"@smithy/core": "^3.29.8",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.6.10",
|