@aws-sdk/client-account 3.590.0 → 3.596.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +204 -41
  3. package/dist-es/Account.js +6 -0
  4. package/dist-es/commands/AcceptPrimaryEmailUpdateCommand.js +25 -0
  5. package/dist-es/commands/GetPrimaryEmailCommand.js +25 -0
  6. package/dist-es/commands/StartPrimaryEmailUpdateCommand.js +25 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +34 -17
  9. package/dist-es/protocols/Aws_restJson1.js +87 -3
  10. package/dist-types/Account.d.ts +21 -0
  11. package/dist-types/AccountClient.d.ts +5 -2
  12. package/dist-types/commands/AcceptPrimaryEmailUpdateCommand.d.ts +86 -0
  13. package/dist-types/commands/DeleteAlternateContactCommand.d.ts +2 -1
  14. package/dist-types/commands/DisableRegionCommand.d.ts +6 -1
  15. package/dist-types/commands/EnableRegionCommand.d.ts +2 -1
  16. package/dist-types/commands/GetAlternateContactCommand.d.ts +2 -1
  17. package/dist-types/commands/GetContactInformationCommand.d.ts +2 -1
  18. package/dist-types/commands/GetPrimaryEmailCommand.d.ts +78 -0
  19. package/dist-types/commands/GetRegionOptStatusCommand.d.ts +2 -1
  20. package/dist-types/commands/ListRegionsCommand.d.ts +2 -1
  21. package/dist-types/commands/PutAlternateContactCommand.d.ts +2 -1
  22. package/dist-types/commands/PutContactInformationCommand.d.ts +3 -2
  23. package/dist-types/commands/StartPrimaryEmailUpdateCommand.d.ts +85 -0
  24. package/dist-types/commands/index.d.ts +3 -0
  25. package/dist-types/index.d.ts +2 -2
  26. package/dist-types/models/AccountServiceException.d.ts +2 -1
  27. package/dist-types/models/models_0.d.ts +244 -91
  28. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  29. package/dist-types/ts3.4/Account.d.ts +51 -0
  30. package/dist-types/ts3.4/AccountClient.d.ts +20 -2
  31. package/dist-types/ts3.4/commands/AcceptPrimaryEmailUpdateCommand.d.ts +40 -0
  32. package/dist-types/ts3.4/commands/DeleteAlternateContactCommand.d.ts +2 -1
  33. package/dist-types/ts3.4/commands/DisableRegionCommand.d.ts +2 -1
  34. package/dist-types/ts3.4/commands/EnableRegionCommand.d.ts +2 -1
  35. package/dist-types/ts3.4/commands/GetAlternateContactCommand.d.ts +2 -1
  36. package/dist-types/ts3.4/commands/GetContactInformationCommand.d.ts +2 -1
  37. package/dist-types/ts3.4/commands/GetPrimaryEmailCommand.d.ts +39 -0
  38. package/dist-types/ts3.4/commands/GetRegionOptStatusCommand.d.ts +2 -1
  39. package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +2 -1
  40. package/dist-types/ts3.4/commands/PutAlternateContactCommand.d.ts +2 -1
  41. package/dist-types/ts3.4/commands/PutContactInformationCommand.d.ts +2 -1
  42. package/dist-types/ts3.4/commands/StartPrimaryEmailUpdateCommand.d.ts +40 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  44. package/dist-types/ts3.4/models/AccountServiceException.d.ts +2 -1
  45. package/dist-types/ts3.4/models/models_0.d.ts +50 -14
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  47. package/package.json +6 -6
@@ -1,14 +1,21 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AcceptPrimaryEmailUpdateCommandInput, AcceptPrimaryEmailUpdateCommandOutput } from "../commands/AcceptPrimaryEmailUpdateCommand";
3
4
  import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "../commands/DeleteAlternateContactCommand";
4
5
  import { DisableRegionCommandInput, DisableRegionCommandOutput } from "../commands/DisableRegionCommand";
5
6
  import { EnableRegionCommandInput, EnableRegionCommandOutput } from "../commands/EnableRegionCommand";
6
7
  import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "../commands/GetAlternateContactCommand";
7
8
  import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "../commands/GetContactInformationCommand";
9
+ import { GetPrimaryEmailCommandInput, GetPrimaryEmailCommandOutput } from "../commands/GetPrimaryEmailCommand";
8
10
  import { GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput } from "../commands/GetRegionOptStatusCommand";
9
11
  import { ListRegionsCommandInput, ListRegionsCommandOutput } from "../commands/ListRegionsCommand";
10
12
  import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "../commands/PutAlternateContactCommand";
11
13
  import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "../commands/PutContactInformationCommand";
14
+ import { StartPrimaryEmailUpdateCommandInput, StartPrimaryEmailUpdateCommandOutput } from "../commands/StartPrimaryEmailUpdateCommand";
15
+ /**
16
+ * serializeAws_restJson1AcceptPrimaryEmailUpdateCommand
17
+ */
18
+ export declare const se_AcceptPrimaryEmailUpdateCommand: (input: AcceptPrimaryEmailUpdateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
19
  /**
13
20
  * serializeAws_restJson1DeleteAlternateContactCommand
14
21
  */
@@ -29,6 +36,10 @@ export declare const se_GetAlternateContactCommand: (input: GetAlternateContactC
29
36
  * serializeAws_restJson1GetContactInformationCommand
30
37
  */
31
38
  export declare const se_GetContactInformationCommand: (input: GetContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_restJson1GetPrimaryEmailCommand
41
+ */
42
+ export declare const se_GetPrimaryEmailCommand: (input: GetPrimaryEmailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
43
  /**
33
44
  * serializeAws_restJson1GetRegionOptStatusCommand
34
45
  */
@@ -45,6 +56,14 @@ export declare const se_PutAlternateContactCommand: (input: PutAlternateContactC
45
56
  * serializeAws_restJson1PutContactInformationCommand
46
57
  */
47
58
  export declare const se_PutContactInformationCommand: (input: PutContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
+ /**
60
+ * serializeAws_restJson1StartPrimaryEmailUpdateCommand
61
+ */
62
+ export declare const se_StartPrimaryEmailUpdateCommand: (input: StartPrimaryEmailUpdateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ /**
64
+ * deserializeAws_restJson1AcceptPrimaryEmailUpdateCommand
65
+ */
66
+ export declare const de_AcceptPrimaryEmailUpdateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AcceptPrimaryEmailUpdateCommandOutput>;
48
67
  /**
49
68
  * deserializeAws_restJson1DeleteAlternateContactCommand
50
69
  */
@@ -65,6 +84,10 @@ export declare const de_GetAlternateContactCommand: (output: __HttpResponse, con
65
84
  * deserializeAws_restJson1GetContactInformationCommand
66
85
  */
67
86
  export declare const de_GetContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContactInformationCommandOutput>;
87
+ /**
88
+ * deserializeAws_restJson1GetPrimaryEmailCommand
89
+ */
90
+ export declare const de_GetPrimaryEmailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPrimaryEmailCommandOutput>;
68
91
  /**
69
92
  * deserializeAws_restJson1GetRegionOptStatusCommand
70
93
  */
@@ -81,3 +104,7 @@ export declare const de_PutAlternateContactCommand: (output: __HttpResponse, con
81
104
  * deserializeAws_restJson1PutContactInformationCommand
82
105
  */
83
106
  export declare const de_PutContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutContactInformationCommandOutput>;
107
+ /**
108
+ * deserializeAws_restJson1StartPrimaryEmailUpdateCommand
109
+ */
110
+ export declare const de_StartPrimaryEmailUpdateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartPrimaryEmailUpdateCommandOutput>;
@@ -1,5 +1,9 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AccountClient } from "./AccountClient";
3
+ import {
4
+ AcceptPrimaryEmailUpdateCommandInput,
5
+ AcceptPrimaryEmailUpdateCommandOutput,
6
+ } from "./commands/AcceptPrimaryEmailUpdateCommand";
3
7
  import {
4
8
  DeleteAlternateContactCommandInput,
5
9
  DeleteAlternateContactCommandOutput,
@@ -20,6 +24,10 @@ import {
20
24
  GetContactInformationCommandInput,
21
25
  GetContactInformationCommandOutput,
22
26
  } from "./commands/GetContactInformationCommand";
27
+ import {
28
+ GetPrimaryEmailCommandInput,
29
+ GetPrimaryEmailCommandOutput,
30
+ } from "./commands/GetPrimaryEmailCommand";
23
31
  import {
24
32
  GetRegionOptStatusCommandInput,
25
33
  GetRegionOptStatusCommandOutput,
@@ -36,7 +44,24 @@ import {
36
44
  PutContactInformationCommandInput,
37
45
  PutContactInformationCommandOutput,
38
46
  } from "./commands/PutContactInformationCommand";
47
+ import {
48
+ StartPrimaryEmailUpdateCommandInput,
49
+ StartPrimaryEmailUpdateCommandOutput,
50
+ } from "./commands/StartPrimaryEmailUpdateCommand";
39
51
  export interface Account {
52
+ acceptPrimaryEmailUpdate(
53
+ args: AcceptPrimaryEmailUpdateCommandInput,
54
+ options?: __HttpHandlerOptions
55
+ ): Promise<AcceptPrimaryEmailUpdateCommandOutput>;
56
+ acceptPrimaryEmailUpdate(
57
+ args: AcceptPrimaryEmailUpdateCommandInput,
58
+ cb: (err: any, data?: AcceptPrimaryEmailUpdateCommandOutput) => void
59
+ ): void;
60
+ acceptPrimaryEmailUpdate(
61
+ args: AcceptPrimaryEmailUpdateCommandInput,
62
+ options: __HttpHandlerOptions,
63
+ cb: (err: any, data?: AcceptPrimaryEmailUpdateCommandOutput) => void
64
+ ): void;
40
65
  deleteAlternateContact(
41
66
  args: DeleteAlternateContactCommandInput,
42
67
  options?: __HttpHandlerOptions
@@ -103,6 +128,19 @@ export interface Account {
103
128
  options: __HttpHandlerOptions,
104
129
  cb: (err: any, data?: GetContactInformationCommandOutput) => void
105
130
  ): void;
131
+ getPrimaryEmail(
132
+ args: GetPrimaryEmailCommandInput,
133
+ options?: __HttpHandlerOptions
134
+ ): Promise<GetPrimaryEmailCommandOutput>;
135
+ getPrimaryEmail(
136
+ args: GetPrimaryEmailCommandInput,
137
+ cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void
138
+ ): void;
139
+ getPrimaryEmail(
140
+ args: GetPrimaryEmailCommandInput,
141
+ options: __HttpHandlerOptions,
142
+ cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void
143
+ ): void;
106
144
  getRegionOptStatus(
107
145
  args: GetRegionOptStatusCommandInput,
108
146
  options?: __HttpHandlerOptions
@@ -156,5 +194,18 @@ export interface Account {
156
194
  options: __HttpHandlerOptions,
157
195
  cb: (err: any, data?: PutContactInformationCommandOutput) => void
158
196
  ): void;
197
+ startPrimaryEmailUpdate(
198
+ args: StartPrimaryEmailUpdateCommandInput,
199
+ options?: __HttpHandlerOptions
200
+ ): Promise<StartPrimaryEmailUpdateCommandOutput>;
201
+ startPrimaryEmailUpdate(
202
+ args: StartPrimaryEmailUpdateCommandInput,
203
+ cb: (err: any, data?: StartPrimaryEmailUpdateCommandOutput) => void
204
+ ): void;
205
+ startPrimaryEmailUpdate(
206
+ args: StartPrimaryEmailUpdateCommandInput,
207
+ options: __HttpHandlerOptions,
208
+ cb: (err: any, data?: StartPrimaryEmailUpdateCommandOutput) => void
209
+ ): void;
159
210
  }
160
211
  export declare class Account extends AccountClient implements Account {}
@@ -45,6 +45,10 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AcceptPrimaryEmailUpdateCommandInput,
50
+ AcceptPrimaryEmailUpdateCommandOutput,
51
+ } from "./commands/AcceptPrimaryEmailUpdateCommand";
48
52
  import {
49
53
  DeleteAlternateContactCommandInput,
50
54
  DeleteAlternateContactCommandOutput,
@@ -65,6 +69,10 @@ import {
65
69
  GetContactInformationCommandInput,
66
70
  GetContactInformationCommandOutput,
67
71
  } from "./commands/GetContactInformationCommand";
72
+ import {
73
+ GetPrimaryEmailCommandInput,
74
+ GetPrimaryEmailCommandOutput,
75
+ } from "./commands/GetPrimaryEmailCommand";
68
76
  import {
69
77
  GetRegionOptStatusCommandInput,
70
78
  GetRegionOptStatusCommandOutput,
@@ -81,6 +89,10 @@ import {
81
89
  PutContactInformationCommandInput,
82
90
  PutContactInformationCommandOutput,
83
91
  } from "./commands/PutContactInformationCommand";
92
+ import {
93
+ StartPrimaryEmailUpdateCommandInput,
94
+ StartPrimaryEmailUpdateCommandOutput,
95
+ } from "./commands/StartPrimaryEmailUpdateCommand";
84
96
  import {
85
97
  ClientInputEndpointParameters,
86
98
  ClientResolvedEndpointParameters,
@@ -89,25 +101,31 @@ import {
89
101
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
90
102
  export { __Client };
91
103
  export type ServiceInputTypes =
104
+ | AcceptPrimaryEmailUpdateCommandInput
92
105
  | DeleteAlternateContactCommandInput
93
106
  | DisableRegionCommandInput
94
107
  | EnableRegionCommandInput
95
108
  | GetAlternateContactCommandInput
96
109
  | GetContactInformationCommandInput
110
+ | GetPrimaryEmailCommandInput
97
111
  | GetRegionOptStatusCommandInput
98
112
  | ListRegionsCommandInput
99
113
  | PutAlternateContactCommandInput
100
- | PutContactInformationCommandInput;
114
+ | PutContactInformationCommandInput
115
+ | StartPrimaryEmailUpdateCommandInput;
101
116
  export type ServiceOutputTypes =
117
+ | AcceptPrimaryEmailUpdateCommandOutput
102
118
  | DeleteAlternateContactCommandOutput
103
119
  | DisableRegionCommandOutput
104
120
  | EnableRegionCommandOutput
105
121
  | GetAlternateContactCommandOutput
106
122
  | GetContactInformationCommandOutput
123
+ | GetPrimaryEmailCommandOutput
107
124
  | GetRegionOptStatusCommandOutput
108
125
  | ListRegionsCommandOutput
109
126
  | PutAlternateContactCommandOutput
110
- | PutContactInformationCommandOutput;
127
+ | PutContactInformationCommandOutput
128
+ | StartPrimaryEmailUpdateCommandOutput;
111
129
  export interface ClientDefaults
112
130
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
113
131
  requestHandler?: __HttpHandlerUserInput;
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccountClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccountClient";
8
+ import {
9
+ AcceptPrimaryEmailUpdateRequest,
10
+ AcceptPrimaryEmailUpdateResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AcceptPrimaryEmailUpdateCommandInput
15
+ extends AcceptPrimaryEmailUpdateRequest {}
16
+ export interface AcceptPrimaryEmailUpdateCommandOutput
17
+ extends AcceptPrimaryEmailUpdateResponse,
18
+ __MetadataBearer {}
19
+ declare const AcceptPrimaryEmailUpdateCommand_base: {
20
+ new (
21
+ input: AcceptPrimaryEmailUpdateCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ AcceptPrimaryEmailUpdateCommandInput,
24
+ AcceptPrimaryEmailUpdateCommandOutput,
25
+ AccountClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: AcceptPrimaryEmailUpdateCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ AcceptPrimaryEmailUpdateCommandInput,
33
+ AcceptPrimaryEmailUpdateCommandOutput,
34
+ AccountClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class AcceptPrimaryEmailUpdateCommand extends AcceptPrimaryEmailUpdateCommand_base {}
@@ -6,7 +6,8 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../AccountClient";
8
8
  import { DeleteAlternateContactRequest } from "../models/models_0";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface DeleteAlternateContactCommandInput
11
12
  extends DeleteAlternateContactRequest {}
12
13
  export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {}
@@ -6,7 +6,8 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../AccountClient";
8
8
  import { DisableRegionRequest } from "../models/models_0";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface DisableRegionCommandInput extends DisableRegionRequest {}
11
12
  export interface DisableRegionCommandOutput extends __MetadataBearer {}
12
13
  declare const DisableRegionCommand_base: {
@@ -6,7 +6,8 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../AccountClient";
8
8
  import { EnableRegionRequest } from "../models/models_0";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface EnableRegionCommandInput extends EnableRegionRequest {}
11
12
  export interface EnableRegionCommandOutput extends __MetadataBearer {}
12
13
  declare const EnableRegionCommand_base: {
@@ -9,7 +9,8 @@ import {
9
9
  GetAlternateContactRequest,
10
10
  GetAlternateContactResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetAlternateContactCommandInput
14
15
  extends GetAlternateContactRequest {}
15
16
  export interface GetAlternateContactCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  GetContactInformationRequest,
10
10
  GetContactInformationResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetContactInformationCommandInput
14
15
  extends GetContactInformationRequest {}
15
16
  export interface GetContactInformationCommandOutput
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccountClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccountClient";
8
+ import {
9
+ GetPrimaryEmailRequest,
10
+ GetPrimaryEmailResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetPrimaryEmailCommandInput extends GetPrimaryEmailRequest {}
15
+ export interface GetPrimaryEmailCommandOutput
16
+ extends GetPrimaryEmailResponse,
17
+ __MetadataBearer {}
18
+ declare const GetPrimaryEmailCommand_base: {
19
+ new (
20
+ input: GetPrimaryEmailCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetPrimaryEmailCommandInput,
23
+ GetPrimaryEmailCommandOutput,
24
+ AccountClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GetPrimaryEmailCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetPrimaryEmailCommandInput,
32
+ GetPrimaryEmailCommandOutput,
33
+ AccountClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetPrimaryEmailCommand extends GetPrimaryEmailCommand_base {}
@@ -9,7 +9,8 @@ import {
9
9
  GetRegionOptStatusRequest,
10
10
  GetRegionOptStatusResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetRegionOptStatusCommandInput
14
15
  extends GetRegionOptStatusRequest {}
15
16
  export interface GetRegionOptStatusCommandOutput
@@ -6,7 +6,8 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../AccountClient";
8
8
  import { ListRegionsRequest, ListRegionsResponse } from "../models/models_0";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface ListRegionsCommandInput extends ListRegionsRequest {}
11
12
  export interface ListRegionsCommandOutput
12
13
  extends ListRegionsResponse,
@@ -6,7 +6,8 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../AccountClient";
8
8
  import { PutAlternateContactRequest } from "../models/models_0";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface PutAlternateContactCommandInput
11
12
  extends PutAlternateContactRequest {}
12
13
  export interface PutAlternateContactCommandOutput extends __MetadataBearer {}
@@ -6,7 +6,8 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../AccountClient";
8
8
  import { PutContactInformationRequest } from "../models/models_0";
9
- export { __MetadataBearer, $Command };
9
+ export { __MetadataBearer };
10
+ export { $Command };
10
11
  export interface PutContactInformationCommandInput
11
12
  extends PutContactInformationRequest {}
12
13
  export interface PutContactInformationCommandOutput extends __MetadataBearer {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AccountClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AccountClient";
8
+ import {
9
+ StartPrimaryEmailUpdateRequest,
10
+ StartPrimaryEmailUpdateResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartPrimaryEmailUpdateCommandInput
15
+ extends StartPrimaryEmailUpdateRequest {}
16
+ export interface StartPrimaryEmailUpdateCommandOutput
17
+ extends StartPrimaryEmailUpdateResponse,
18
+ __MetadataBearer {}
19
+ declare const StartPrimaryEmailUpdateCommand_base: {
20
+ new (
21
+ input: StartPrimaryEmailUpdateCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartPrimaryEmailUpdateCommandInput,
24
+ StartPrimaryEmailUpdateCommandOutput,
25
+ AccountClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: StartPrimaryEmailUpdateCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartPrimaryEmailUpdateCommandInput,
33
+ StartPrimaryEmailUpdateCommandOutput,
34
+ AccountClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartPrimaryEmailUpdateCommand extends StartPrimaryEmailUpdateCommand_base {}
@@ -1,9 +1,12 @@
1
+ export * from "./AcceptPrimaryEmailUpdateCommand";
1
2
  export * from "./DeleteAlternateContactCommand";
2
3
  export * from "./DisableRegionCommand";
3
4
  export * from "./EnableRegionCommand";
4
5
  export * from "./GetAlternateContactCommand";
5
6
  export * from "./GetContactInformationCommand";
7
+ export * from "./GetPrimaryEmailCommand";
6
8
  export * from "./GetRegionOptStatusCommand";
7
9
  export * from "./ListRegionsCommand";
8
10
  export * from "./PutAlternateContactCommand";
9
11
  export * from "./PutContactInformationCommand";
12
+ export * from "./StartPrimaryEmailUpdateCommand";
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class AccountServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -1,5 +1,19 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AccountServiceException as __BaseException } from "./AccountServiceException";
3
+ export interface AcceptPrimaryEmailUpdateRequest {
4
+ AccountId: string | undefined;
5
+ PrimaryEmail: string | undefined;
6
+ Otp: string | undefined;
7
+ }
8
+ export declare const PrimaryEmailUpdateStatus: {
9
+ readonly ACCEPTED: "ACCEPTED";
10
+ readonly PENDING: "PENDING";
11
+ };
12
+ export type PrimaryEmailUpdateStatus =
13
+ (typeof PrimaryEmailUpdateStatus)[keyof typeof PrimaryEmailUpdateStatus];
14
+ export interface AcceptPrimaryEmailUpdateResponse {
15
+ Status?: PrimaryEmailUpdateStatus;
16
+ }
3
17
  export declare class AccessDeniedException extends __BaseException {
4
18
  readonly name: "AccessDeniedException";
5
19
  readonly $fault: "client";
@@ -7,16 +21,10 @@ export declare class AccessDeniedException extends __BaseException {
7
21
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
22
  );
9
23
  }
10
- export declare const AlternateContactType: {
11
- readonly BILLING: "BILLING";
12
- readonly OPERATIONS: "OPERATIONS";
13
- readonly SECURITY: "SECURITY";
14
- };
15
- export type AlternateContactType =
16
- (typeof AlternateContactType)[keyof typeof AlternateContactType];
17
- export interface DeleteAlternateContactRequest {
18
- AlternateContactType: AlternateContactType | undefined;
19
- AccountId?: string;
24
+ export declare class ConflictException extends __BaseException {
25
+ readonly name: "ConflictException";
26
+ readonly $fault: "client";
27
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
28
  }
21
29
  export declare class InternalServerException extends __BaseException {
22
30
  readonly name: "InternalServerException";
@@ -62,6 +70,17 @@ export declare class ValidationException extends __BaseException {
62
70
  opts: __ExceptionOptionType<ValidationException, __BaseException>
63
71
  );
64
72
  }
73
+ export declare const AlternateContactType: {
74
+ readonly BILLING: "BILLING";
75
+ readonly OPERATIONS: "OPERATIONS";
76
+ readonly SECURITY: "SECURITY";
77
+ };
78
+ export type AlternateContactType =
79
+ (typeof AlternateContactType)[keyof typeof AlternateContactType];
80
+ export interface DeleteAlternateContactRequest {
81
+ AlternateContactType: AlternateContactType | undefined;
82
+ AccountId?: string;
83
+ }
65
84
  export interface GetAlternateContactRequest {
66
85
  AlternateContactType: AlternateContactType | undefined;
67
86
  AccountId?: string;
@@ -108,10 +127,18 @@ export interface PutContactInformationRequest {
108
127
  ContactInformation: ContactInformation | undefined;
109
128
  AccountId?: string;
110
129
  }
111
- export declare class ConflictException extends __BaseException {
112
- readonly name: "ConflictException";
113
- readonly $fault: "client";
114
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
130
+ export interface GetPrimaryEmailRequest {
131
+ AccountId: string | undefined;
132
+ }
133
+ export interface GetPrimaryEmailResponse {
134
+ PrimaryEmail?: string;
135
+ }
136
+ export interface StartPrimaryEmailUpdateRequest {
137
+ AccountId: string | undefined;
138
+ PrimaryEmail: string | undefined;
139
+ }
140
+ export interface StartPrimaryEmailUpdateResponse {
141
+ Status?: PrimaryEmailUpdateStatus;
115
142
  }
116
143
  export interface DisableRegionRequest {
117
144
  AccountId?: string;
@@ -152,6 +179,9 @@ export interface ListRegionsResponse {
152
179
  NextToken?: string;
153
180
  Regions?: Region[];
154
181
  }
182
+ export declare const AcceptPrimaryEmailUpdateRequestFilterSensitiveLog: (
183
+ obj: AcceptPrimaryEmailUpdateRequest
184
+ ) => any;
155
185
  export declare const ValidationExceptionFieldFilterSensitiveLog: (
156
186
  obj: ValidationExceptionField
157
187
  ) => any;
@@ -173,3 +203,9 @@ export declare const GetContactInformationResponseFilterSensitiveLog: (
173
203
  export declare const PutContactInformationRequestFilterSensitiveLog: (
174
204
  obj: PutContactInformationRequest
175
205
  ) => any;
206
+ export declare const GetPrimaryEmailResponseFilterSensitiveLog: (
207
+ obj: GetPrimaryEmailResponse
208
+ ) => any;
209
+ export declare const StartPrimaryEmailUpdateRequestFilterSensitiveLog: (
210
+ obj: StartPrimaryEmailUpdateRequest
211
+ ) => any;
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ AcceptPrimaryEmailUpdateCommandInput,
8
+ AcceptPrimaryEmailUpdateCommandOutput,
9
+ } from "../commands/AcceptPrimaryEmailUpdateCommand";
6
10
  import {
7
11
  DeleteAlternateContactCommandInput,
8
12
  DeleteAlternateContactCommandOutput,
@@ -23,6 +27,10 @@ import {
23
27
  GetContactInformationCommandInput,
24
28
  GetContactInformationCommandOutput,
25
29
  } from "../commands/GetContactInformationCommand";
30
+ import {
31
+ GetPrimaryEmailCommandInput,
32
+ GetPrimaryEmailCommandOutput,
33
+ } from "../commands/GetPrimaryEmailCommand";
26
34
  import {
27
35
  GetRegionOptStatusCommandInput,
28
36
  GetRegionOptStatusCommandOutput,
@@ -39,6 +47,14 @@ import {
39
47
  PutContactInformationCommandInput,
40
48
  PutContactInformationCommandOutput,
41
49
  } from "../commands/PutContactInformationCommand";
50
+ import {
51
+ StartPrimaryEmailUpdateCommandInput,
52
+ StartPrimaryEmailUpdateCommandOutput,
53
+ } from "../commands/StartPrimaryEmailUpdateCommand";
54
+ export declare const se_AcceptPrimaryEmailUpdateCommand: (
55
+ input: AcceptPrimaryEmailUpdateCommandInput,
56
+ context: __SerdeContext
57
+ ) => Promise<__HttpRequest>;
42
58
  export declare const se_DeleteAlternateContactCommand: (
43
59
  input: DeleteAlternateContactCommandInput,
44
60
  context: __SerdeContext
@@ -59,6 +75,10 @@ export declare const se_GetContactInformationCommand: (
59
75
  input: GetContactInformationCommandInput,
60
76
  context: __SerdeContext
61
77
  ) => Promise<__HttpRequest>;
78
+ export declare const se_GetPrimaryEmailCommand: (
79
+ input: GetPrimaryEmailCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
62
82
  export declare const se_GetRegionOptStatusCommand: (
63
83
  input: GetRegionOptStatusCommandInput,
64
84
  context: __SerdeContext
@@ -75,6 +95,14 @@ export declare const se_PutContactInformationCommand: (
75
95
  input: PutContactInformationCommandInput,
76
96
  context: __SerdeContext
77
97
  ) => Promise<__HttpRequest>;
98
+ export declare const se_StartPrimaryEmailUpdateCommand: (
99
+ input: StartPrimaryEmailUpdateCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
102
+ export declare const de_AcceptPrimaryEmailUpdateCommand: (
103
+ output: __HttpResponse,
104
+ context: __SerdeContext
105
+ ) => Promise<AcceptPrimaryEmailUpdateCommandOutput>;
78
106
  export declare const de_DeleteAlternateContactCommand: (
79
107
  output: __HttpResponse,
80
108
  context: __SerdeContext
@@ -95,6 +123,10 @@ export declare const de_GetContactInformationCommand: (
95
123
  output: __HttpResponse,
96
124
  context: __SerdeContext
97
125
  ) => Promise<GetContactInformationCommandOutput>;
126
+ export declare const de_GetPrimaryEmailCommand: (
127
+ output: __HttpResponse,
128
+ context: __SerdeContext
129
+ ) => Promise<GetPrimaryEmailCommandOutput>;
98
130
  export declare const de_GetRegionOptStatusCommand: (
99
131
  output: __HttpResponse,
100
132
  context: __SerdeContext
@@ -111,3 +143,7 @@ export declare const de_PutContactInformationCommand: (
111
143
  output: __HttpResponse,
112
144
  context: __SerdeContext
113
145
  ) => Promise<PutContactInformationCommandOutput>;
146
+ export declare const de_StartPrimaryEmailUpdateCommand: (
147
+ output: __HttpResponse,
148
+ context: __SerdeContext
149
+ ) => Promise<StartPrimaryEmailUpdateCommandOutput>;