@@ -3,6 +3,11 @@ import { createAggregatedClient } from "@smithy/smithy-client";
3
3
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types" ;
4
4
5
5
import { AccountClient , AccountClientConfig } from "./AccountClient" ;
6
+ import {
7
+ AcceptPrimaryEmailUpdateCommand ,
8
+ AcceptPrimaryEmailUpdateCommandInput ,
9
+ AcceptPrimaryEmailUpdateCommandOutput ,
10
+ } from "./commands/AcceptPrimaryEmailUpdateCommand" ;
6
11
import {
7
12
DeleteAlternateContactCommand ,
8
13
DeleteAlternateContactCommandInput ,
@@ -28,6 +33,11 @@ import {
28
33
GetContactInformationCommandInput ,
29
34
GetContactInformationCommandOutput ,
30
35
} from "./commands/GetContactInformationCommand" ;
36
+ import {
37
+ GetPrimaryEmailCommand ,
38
+ GetPrimaryEmailCommandInput ,
39
+ GetPrimaryEmailCommandOutput ,
40
+ } from "./commands/GetPrimaryEmailCommand" ;
31
41
import {
32
42
GetRegionOptStatusCommand ,
33
43
GetRegionOptStatusCommandInput ,
@@ -44,20 +54,45 @@ import {
44
54
PutContactInformationCommandInput ,
45
55
PutContactInformationCommandOutput ,
46
56
} from "./commands/PutContactInformationCommand" ;
57
+ import {
58
+ StartPrimaryEmailUpdateCommand ,
59
+ StartPrimaryEmailUpdateCommandInput ,
60
+ StartPrimaryEmailUpdateCommandOutput ,
61
+ } from "./commands/StartPrimaryEmailUpdateCommand" ;
47
62
48
63
const commands = {
64
+ AcceptPrimaryEmailUpdateCommand,
49
65
DeleteAlternateContactCommand,
50
66
DisableRegionCommand,
51
67
EnableRegionCommand,
52
68
GetAlternateContactCommand,
53
69
GetContactInformationCommand,
70
+ GetPrimaryEmailCommand,
54
71
GetRegionOptStatusCommand,
55
72
ListRegionsCommand,
56
73
PutAlternateContactCommand,
57
74
PutContactInformationCommand,
75
+ StartPrimaryEmailUpdateCommand,
58
76
} ;
59
77
60
78
export interface Account {
79
+ /**
80
+ * @see {@link AcceptPrimaryEmailUpdateCommand }
81
+ */
82
+ acceptPrimaryEmailUpdate (
83
+ args : AcceptPrimaryEmailUpdateCommandInput ,
84
+ options ?: __HttpHandlerOptions
85
+ ) : Promise < AcceptPrimaryEmailUpdateCommandOutput > ;
86
+ acceptPrimaryEmailUpdate (
87
+ args : AcceptPrimaryEmailUpdateCommandInput ,
88
+ cb : ( err : any , data ?: AcceptPrimaryEmailUpdateCommandOutput ) => void
89
+ ) : void ;
90
+ acceptPrimaryEmailUpdate (
91
+ args : AcceptPrimaryEmailUpdateCommandInput ,
92
+ options : __HttpHandlerOptions ,
93
+ cb : ( err : any , data ?: AcceptPrimaryEmailUpdateCommandOutput ) => void
94
+ ) : void ;
95
+
61
96
/**
62
97
* @see {@link DeleteAlternateContactCommand }
63
98
*/
@@ -132,6 +167,20 @@ export interface Account {
132
167
cb : ( err : any , data ?: GetContactInformationCommandOutput ) => void
133
168
) : void ;
134
169
170
+ /**
171
+ * @see {@link GetPrimaryEmailCommand }
172
+ */
173
+ getPrimaryEmail (
174
+ args : GetPrimaryEmailCommandInput ,
175
+ options ?: __HttpHandlerOptions
176
+ ) : Promise < GetPrimaryEmailCommandOutput > ;
177
+ getPrimaryEmail ( args : GetPrimaryEmailCommandInput , cb : ( err : any , data ?: GetPrimaryEmailCommandOutput ) => void ) : void ;
178
+ getPrimaryEmail (
179
+ args : GetPrimaryEmailCommandInput ,
180
+ options : __HttpHandlerOptions ,
181
+ cb : ( err : any , data ?: GetPrimaryEmailCommandOutput ) => void
182
+ ) : void ;
183
+
135
184
/**
136
185
* @see {@link GetRegionOptStatusCommand }
137
186
*/
@@ -194,6 +243,23 @@ export interface Account {
194
243
options : __HttpHandlerOptions ,
195
244
cb : ( err : any , data ?: PutContactInformationCommandOutput ) => void
196
245
) : void ;
246
+
247
+ /**
248
+ * @see {@link StartPrimaryEmailUpdateCommand }
249
+ */
250
+ startPrimaryEmailUpdate (
251
+ args : StartPrimaryEmailUpdateCommandInput ,
252
+ options ?: __HttpHandlerOptions
253
+ ) : Promise < StartPrimaryEmailUpdateCommandOutput > ;
254
+ startPrimaryEmailUpdate (
255
+ args : StartPrimaryEmailUpdateCommandInput ,
256
+ cb : ( err : any , data ?: StartPrimaryEmailUpdateCommandOutput ) => void
257
+ ) : void ;
258
+ startPrimaryEmailUpdate (
259
+ args : StartPrimaryEmailUpdateCommandInput ,
260
+ options : __HttpHandlerOptions ,
261
+ cb : ( err : any , data ?: StartPrimaryEmailUpdateCommandOutput ) => void
262
+ ) : void ;
197
263
}
198
264
199
265
/**
0 commit comments