@aws-sdk/client-account 3.1136.0 → 3.1138.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/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.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -348,10 +348,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.account";
348
348
  const _se = "server";
349
349
  const _xaE = "x-amzn-ErrorType";
350
350
  const n0 = "com.amazonaws.account";
351
- const _s_registry = TypeRegistry.for(_s);
351
+ const _s_registry = new TypeRegistry(_s);
352
352
  var AccountServiceException$ = [-3, _s, "AccountServiceException", 0, [], []];
353
353
  _s_registry.registerError(AccountServiceException$, AccountServiceException);
354
- const n0_registry = TypeRegistry.for(n0);
354
+ const n0_registry = new TypeRegistry(n0);
355
355
  var AccessDeniedException$ = [-3, n0, _ADE,
356
356
  { [_e]: _c, [_hE]: 403 },
357
357
  [_m, _eT],
@@ -106,10 +106,10 @@ const n0 = "com.amazonaws.account";
106
106
  import { TypeRegistry } from "@smithy/core/schema";
107
107
  import { AccountServiceException } from "../models/AccountServiceException";
108
108
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ResourceUnavailableException, TooManyRequestsException, ValidationException, } from "../models/errors";
109
- const _s_registry = TypeRegistry.for(_s);
109
+ const _s_registry = new TypeRegistry(_s);
110
110
  export var AccountServiceException$ = [-3, _s, "AccountServiceException", 0, [], []];
111
111
  _s_registry.registerError(AccountServiceException$, AccountServiceException);
112
- const n0_registry = TypeRegistry.for(n0);
112
+ const n0_registry = new TypeRegistry(n0);
113
113
  export var AccessDeniedException$ = [-3, n0, _ADE,
114
114
  { [_e]: _c, [_hE]: 403 },
115
115
  [_m, _eT],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { AccountClient } from "./AccountClient";
3
3
  import { type AcceptPrimaryEmailUpdateCommandInput, type AcceptPrimaryEmailUpdateCommandOutput } from "./commands/AcceptPrimaryEmailUpdateCommand";
4
4
  import { type DeleteAlternateContactCommandInput, type DeleteAlternateContactCommandOutput } from "./commands/DeleteAlternateContactCommand";
@@ -16,108 +16,114 @@ import { type PutAccountNameCommandInput, type PutAccountNameCommandOutput } fro
16
16
  import { type PutAlternateContactCommandInput, type PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
17
17
  import { type PutContactInformationCommandInput, type PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
18
18
  import { type StartPrimaryEmailUpdateCommandInput, type StartPrimaryEmailUpdateCommandOutput } from "./commands/StartPrimaryEmailUpdateCommand";
19
+ /**
20
+ * @public
21
+ */
22
+ export interface AccountRequestOptions extends __HttpHandlerOptions {
23
+ metricsRecorder?: __MetricsRecorder<unknown>;
24
+ }
19
25
  export interface Account {
20
26
  /**
21
27
  * @see {@link AcceptPrimaryEmailUpdateCommand}
22
28
  */
23
- acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, options?: __HttpHandlerOptions): Promise<AcceptPrimaryEmailUpdateCommandOutput>;
29
+ acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, options?: AccountRequestOptions): Promise<AcceptPrimaryEmailUpdateCommandOutput>;
24
30
  acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, cb: (err: any, data?: AcceptPrimaryEmailUpdateCommandOutput) => void): void;
25
- acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptPrimaryEmailUpdateCommandOutput) => void): void;
31
+ acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, options: AccountRequestOptions, cb: (err: any, data?: AcceptPrimaryEmailUpdateCommandOutput) => void): void;
26
32
  /**
27
33
  * @see {@link DeleteAlternateContactCommand}
28
34
  */
29
- deleteAlternateContact(args: DeleteAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlternateContactCommandOutput>;
35
+ deleteAlternateContact(args: DeleteAlternateContactCommandInput, options?: AccountRequestOptions): Promise<DeleteAlternateContactCommandOutput>;
30
36
  deleteAlternateContact(args: DeleteAlternateContactCommandInput, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
31
- deleteAlternateContact(args: DeleteAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
37
+ deleteAlternateContact(args: DeleteAlternateContactCommandInput, options: AccountRequestOptions, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
32
38
  /**
33
39
  * @see {@link DisableRegionCommand}
34
40
  */
35
- disableRegion(args: DisableRegionCommandInput, options?: __HttpHandlerOptions): Promise<DisableRegionCommandOutput>;
41
+ disableRegion(args: DisableRegionCommandInput, options?: AccountRequestOptions): Promise<DisableRegionCommandOutput>;
36
42
  disableRegion(args: DisableRegionCommandInput, cb: (err: any, data?: DisableRegionCommandOutput) => void): void;
37
- disableRegion(args: DisableRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableRegionCommandOutput) => void): void;
43
+ disableRegion(args: DisableRegionCommandInput, options: AccountRequestOptions, cb: (err: any, data?: DisableRegionCommandOutput) => void): void;
38
44
  /**
39
45
  * @see {@link EnableRegionCommand}
40
46
  */
41
- enableRegion(args: EnableRegionCommandInput, options?: __HttpHandlerOptions): Promise<EnableRegionCommandOutput>;
47
+ enableRegion(args: EnableRegionCommandInput, options?: AccountRequestOptions): Promise<EnableRegionCommandOutput>;
42
48
  enableRegion(args: EnableRegionCommandInput, cb: (err: any, data?: EnableRegionCommandOutput) => void): void;
43
- enableRegion(args: EnableRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableRegionCommandOutput) => void): void;
49
+ enableRegion(args: EnableRegionCommandInput, options: AccountRequestOptions, cb: (err: any, data?: EnableRegionCommandOutput) => void): void;
44
50
  /**
45
51
  * @see {@link GetAccountInformationCommand}
46
52
  */
47
53
  getAccountInformation(): Promise<GetAccountInformationCommandOutput>;
48
- getAccountInformation(args: GetAccountInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountInformationCommandOutput>;
54
+ getAccountInformation(args: GetAccountInformationCommandInput, options?: AccountRequestOptions): Promise<GetAccountInformationCommandOutput>;
49
55
  getAccountInformation(args: GetAccountInformationCommandInput, cb: (err: any, data?: GetAccountInformationCommandOutput) => void): void;
50
- getAccountInformation(args: GetAccountInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountInformationCommandOutput) => void): void;
56
+ getAccountInformation(args: GetAccountInformationCommandInput, options: AccountRequestOptions, cb: (err: any, data?: GetAccountInformationCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link GetAlternateContactCommand}
53
59
  */
54
- getAlternateContact(args: GetAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<GetAlternateContactCommandOutput>;
60
+ getAlternateContact(args: GetAlternateContactCommandInput, options?: AccountRequestOptions): Promise<GetAlternateContactCommandOutput>;
55
61
  getAlternateContact(args: GetAlternateContactCommandInput, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
56
- getAlternateContact(args: GetAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
62
+ getAlternateContact(args: GetAlternateContactCommandInput, options: AccountRequestOptions, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link GetContactInformationCommand}
59
65
  */
60
66
  getContactInformation(): Promise<GetContactInformationCommandOutput>;
61
- getContactInformation(args: GetContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetContactInformationCommandOutput>;
67
+ getContactInformation(args: GetContactInformationCommandInput, options?: AccountRequestOptions): Promise<GetContactInformationCommandOutput>;
62
68
  getContactInformation(args: GetContactInformationCommandInput, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
63
- getContactInformation(args: GetContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
69
+ getContactInformation(args: GetContactInformationCommandInput, options: AccountRequestOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link GetGovCloudAccountInformationCommand}
66
72
  */
67
73
  getGovCloudAccountInformation(): Promise<GetGovCloudAccountInformationCommandOutput>;
68
- getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetGovCloudAccountInformationCommandOutput>;
74
+ getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, options?: AccountRequestOptions): Promise<GetGovCloudAccountInformationCommandOutput>;
69
75
  getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, cb: (err: any, data?: GetGovCloudAccountInformationCommandOutput) => void): void;
70
- getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGovCloudAccountInformationCommandOutput) => void): void;
76
+ getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, options: AccountRequestOptions, cb: (err: any, data?: GetGovCloudAccountInformationCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link GetPrimaryEmailCommand}
73
79
  */
74
- getPrimaryEmail(args: GetPrimaryEmailCommandInput, options?: __HttpHandlerOptions): Promise<GetPrimaryEmailCommandOutput>;
80
+ getPrimaryEmail(args: GetPrimaryEmailCommandInput, options?: AccountRequestOptions): Promise<GetPrimaryEmailCommandOutput>;
75
81
  getPrimaryEmail(args: GetPrimaryEmailCommandInput, cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void): void;
76
- getPrimaryEmail(args: GetPrimaryEmailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void): void;
82
+ getPrimaryEmail(args: GetPrimaryEmailCommandInput, options: AccountRequestOptions, cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link GetPrimaryEmailUpdateStatusCommand}
79
85
  */
80
86
  getPrimaryEmailUpdateStatus(): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
81
- getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
87
+ getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, options?: AccountRequestOptions): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
82
88
  getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void): void;
83
- getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void): void;
89
+ getPrimaryEmailUpdateStatus(args: GetPrimaryEmailUpdateStatusCommandInput, options: AccountRequestOptions, cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void): void;
84
90
  /**
85
91
  * @see {@link GetRegionOptStatusCommand}
86
92
  */
87
- getRegionOptStatus(args: GetRegionOptStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetRegionOptStatusCommandOutput>;
93
+ getRegionOptStatus(args: GetRegionOptStatusCommandInput, options?: AccountRequestOptions): Promise<GetRegionOptStatusCommandOutput>;
88
94
  getRegionOptStatus(args: GetRegionOptStatusCommandInput, cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void): void;
89
- getRegionOptStatus(args: GetRegionOptStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void): void;
95
+ getRegionOptStatus(args: GetRegionOptStatusCommandInput, options: AccountRequestOptions, cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void): void;
90
96
  /**
91
97
  * @see {@link ListRegionsCommand}
92
98
  */
93
99
  listRegions(): Promise<ListRegionsCommandOutput>;
94
- listRegions(args: ListRegionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegionsCommandOutput>;
100
+ listRegions(args: ListRegionsCommandInput, options?: AccountRequestOptions): Promise<ListRegionsCommandOutput>;
95
101
  listRegions(args: ListRegionsCommandInput, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
96
- listRegions(args: ListRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
102
+ listRegions(args: ListRegionsCommandInput, options: AccountRequestOptions, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
97
103
  /**
98
104
  * @see {@link PutAccountNameCommand}
99
105
  */
100
- putAccountName(args: PutAccountNameCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountNameCommandOutput>;
106
+ putAccountName(args: PutAccountNameCommandInput, options?: AccountRequestOptions): Promise<PutAccountNameCommandOutput>;
101
107
  putAccountName(args: PutAccountNameCommandInput, cb: (err: any, data?: PutAccountNameCommandOutput) => void): void;
102
- putAccountName(args: PutAccountNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountNameCommandOutput) => void): void;
108
+ putAccountName(args: PutAccountNameCommandInput, options: AccountRequestOptions, cb: (err: any, data?: PutAccountNameCommandOutput) => void): void;
103
109
  /**
104
110
  * @see {@link PutAlternateContactCommand}
105
111
  */
106
- putAlternateContact(args: PutAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<PutAlternateContactCommandOutput>;
112
+ putAlternateContact(args: PutAlternateContactCommandInput, options?: AccountRequestOptions): Promise<PutAlternateContactCommandOutput>;
107
113
  putAlternateContact(args: PutAlternateContactCommandInput, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
108
- putAlternateContact(args: PutAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
114
+ putAlternateContact(args: PutAlternateContactCommandInput, options: AccountRequestOptions, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
109
115
  /**
110
116
  * @see {@link PutContactInformationCommand}
111
117
  */
112
- putContactInformation(args: PutContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<PutContactInformationCommandOutput>;
118
+ putContactInformation(args: PutContactInformationCommandInput, options?: AccountRequestOptions): Promise<PutContactInformationCommandOutput>;
113
119
  putContactInformation(args: PutContactInformationCommandInput, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
114
- putContactInformation(args: PutContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
120
+ putContactInformation(args: PutContactInformationCommandInput, options: AccountRequestOptions, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
115
121
  /**
116
122
  * @see {@link StartPrimaryEmailUpdateCommand}
117
123
  */
118
- startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, options?: __HttpHandlerOptions): Promise<StartPrimaryEmailUpdateCommandOutput>;
124
+ startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, options?: AccountRequestOptions): Promise<StartPrimaryEmailUpdateCommandOutput>;
119
125
  startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, cb: (err: any, data?: StartPrimaryEmailUpdateCommandOutput) => void): void;
120
- startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPrimaryEmailUpdateCommandOutput) => void): void;
126
+ startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, options: AccountRequestOptions, cb: (err: any, data?: StartPrimaryEmailUpdateCommandOutput) => void): void;
121
127
  /**
122
128
  * @see {@link ListRegionsCommand}
123
129
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -65,10 +66,13 @@ import {
65
66
  StartPrimaryEmailUpdateCommandInput,
66
67
  StartPrimaryEmailUpdateCommandOutput,
67
68
  } from "./commands/StartPrimaryEmailUpdateCommand";
69
+ export interface AccountRequestOptions extends __HttpHandlerOptions {
70
+ metricsRecorder?: __MetricsRecorder<unknown>;
71
+ }
68
72
  export interface Account {
69
73
  acceptPrimaryEmailUpdate(
70
74
  args: AcceptPrimaryEmailUpdateCommandInput,
71
- options?: __HttpHandlerOptions,
75
+ options?: AccountRequestOptions,
72
76
  ): Promise<AcceptPrimaryEmailUpdateCommandOutput>;
73
77
  acceptPrimaryEmailUpdate(
74
78
  args: AcceptPrimaryEmailUpdateCommandInput,
@@ -76,12 +80,12 @@ export interface Account {
76
80
  ): void;
77
81
  acceptPrimaryEmailUpdate(
78
82
  args: AcceptPrimaryEmailUpdateCommandInput,
79
- options: __HttpHandlerOptions,
83
+ options: AccountRequestOptions,
80
84
  cb: (err: any, data?: AcceptPrimaryEmailUpdateCommandOutput) => void,
81
85
  ): void;
82
86
  deleteAlternateContact(
83
87
  args: DeleteAlternateContactCommandInput,
84
- options?: __HttpHandlerOptions,
88
+ options?: AccountRequestOptions,
85
89
  ): Promise<DeleteAlternateContactCommandOutput>;
86
90
  deleteAlternateContact(
87
91
  args: DeleteAlternateContactCommandInput,
@@ -89,12 +93,12 @@ export interface Account {
89
93
  ): void;
90
94
  deleteAlternateContact(
91
95
  args: DeleteAlternateContactCommandInput,
92
- options: __HttpHandlerOptions,
96
+ options: AccountRequestOptions,
93
97
  cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void,
94
98
  ): void;
95
99
  disableRegion(
96
100
  args: DisableRegionCommandInput,
97
- options?: __HttpHandlerOptions,
101
+ options?: AccountRequestOptions,
98
102
  ): Promise<DisableRegionCommandOutput>;
99
103
  disableRegion(
100
104
  args: DisableRegionCommandInput,
@@ -102,12 +106,12 @@ export interface Account {
102
106
  ): void;
103
107
  disableRegion(
104
108
  args: DisableRegionCommandInput,
105
- options: __HttpHandlerOptions,
109
+ options: AccountRequestOptions,
106
110
  cb: (err: any, data?: DisableRegionCommandOutput) => void,
107
111
  ): void;
108
112
  enableRegion(
109
113
  args: EnableRegionCommandInput,
110
- options?: __HttpHandlerOptions,
114
+ options?: AccountRequestOptions,
111
115
  ): Promise<EnableRegionCommandOutput>;
112
116
  enableRegion(
113
117
  args: EnableRegionCommandInput,
@@ -115,13 +119,13 @@ export interface Account {
115
119
  ): void;
116
120
  enableRegion(
117
121
  args: EnableRegionCommandInput,
118
- options: __HttpHandlerOptions,
122
+ options: AccountRequestOptions,
119
123
  cb: (err: any, data?: EnableRegionCommandOutput) => void,
120
124
  ): void;
121
125
  getAccountInformation(): Promise<GetAccountInformationCommandOutput>;
122
126
  getAccountInformation(
123
127
  args: GetAccountInformationCommandInput,
124
- options?: __HttpHandlerOptions,
128
+ options?: AccountRequestOptions,
125
129
  ): Promise<GetAccountInformationCommandOutput>;
126
130
  getAccountInformation(
127
131
  args: GetAccountInformationCommandInput,
@@ -129,12 +133,12 @@ export interface Account {
129
133
  ): void;
130
134
  getAccountInformation(
131
135
  args: GetAccountInformationCommandInput,
132
- options: __HttpHandlerOptions,
136
+ options: AccountRequestOptions,
133
137
  cb: (err: any, data?: GetAccountInformationCommandOutput) => void,
134
138
  ): void;
135
139
  getAlternateContact(
136
140
  args: GetAlternateContactCommandInput,
137
- options?: __HttpHandlerOptions,
141
+ options?: AccountRequestOptions,
138
142
  ): Promise<GetAlternateContactCommandOutput>;
139
143
  getAlternateContact(
140
144
  args: GetAlternateContactCommandInput,
@@ -142,13 +146,13 @@ export interface Account {
142
146
  ): void;
143
147
  getAlternateContact(
144
148
  args: GetAlternateContactCommandInput,
145
- options: __HttpHandlerOptions,
149
+ options: AccountRequestOptions,
146
150
  cb: (err: any, data?: GetAlternateContactCommandOutput) => void,
147
151
  ): void;
148
152
  getContactInformation(): Promise<GetContactInformationCommandOutput>;
149
153
  getContactInformation(
150
154
  args: GetContactInformationCommandInput,
151
- options?: __HttpHandlerOptions,
155
+ options?: AccountRequestOptions,
152
156
  ): Promise<GetContactInformationCommandOutput>;
153
157
  getContactInformation(
154
158
  args: GetContactInformationCommandInput,
@@ -156,13 +160,13 @@ export interface Account {
156
160
  ): void;
157
161
  getContactInformation(
158
162
  args: GetContactInformationCommandInput,
159
- options: __HttpHandlerOptions,
163
+ options: AccountRequestOptions,
160
164
  cb: (err: any, data?: GetContactInformationCommandOutput) => void,
161
165
  ): void;
162
166
  getGovCloudAccountInformation(): Promise<GetGovCloudAccountInformationCommandOutput>;
163
167
  getGovCloudAccountInformation(
164
168
  args: GetGovCloudAccountInformationCommandInput,
165
- options?: __HttpHandlerOptions,
169
+ options?: AccountRequestOptions,
166
170
  ): Promise<GetGovCloudAccountInformationCommandOutput>;
167
171
  getGovCloudAccountInformation(
168
172
  args: GetGovCloudAccountInformationCommandInput,
@@ -170,12 +174,12 @@ export interface Account {
170
174
  ): void;
171
175
  getGovCloudAccountInformation(
172
176
  args: GetGovCloudAccountInformationCommandInput,
173
- options: __HttpHandlerOptions,
177
+ options: AccountRequestOptions,
174
178
  cb: (err: any, data?: GetGovCloudAccountInformationCommandOutput) => void,
175
179
  ): void;
176
180
  getPrimaryEmail(
177
181
  args: GetPrimaryEmailCommandInput,
178
- options?: __HttpHandlerOptions,
182
+ options?: AccountRequestOptions,
179
183
  ): Promise<GetPrimaryEmailCommandOutput>;
180
184
  getPrimaryEmail(
181
185
  args: GetPrimaryEmailCommandInput,
@@ -183,13 +187,13 @@ export interface Account {
183
187
  ): void;
184
188
  getPrimaryEmail(
185
189
  args: GetPrimaryEmailCommandInput,
186
- options: __HttpHandlerOptions,
190
+ options: AccountRequestOptions,
187
191
  cb: (err: any, data?: GetPrimaryEmailCommandOutput) => void,
188
192
  ): void;
189
193
  getPrimaryEmailUpdateStatus(): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
190
194
  getPrimaryEmailUpdateStatus(
191
195
  args: GetPrimaryEmailUpdateStatusCommandInput,
192
- options?: __HttpHandlerOptions,
196
+ options?: AccountRequestOptions,
193
197
  ): Promise<GetPrimaryEmailUpdateStatusCommandOutput>;
194
198
  getPrimaryEmailUpdateStatus(
195
199
  args: GetPrimaryEmailUpdateStatusCommandInput,
@@ -197,12 +201,12 @@ export interface Account {
197
201
  ): void;
198
202
  getPrimaryEmailUpdateStatus(
199
203
  args: GetPrimaryEmailUpdateStatusCommandInput,
200
- options: __HttpHandlerOptions,
204
+ options: AccountRequestOptions,
201
205
  cb: (err: any, data?: GetPrimaryEmailUpdateStatusCommandOutput) => void,
202
206
  ): void;
203
207
  getRegionOptStatus(
204
208
  args: GetRegionOptStatusCommandInput,
205
- options?: __HttpHandlerOptions,
209
+ options?: AccountRequestOptions,
206
210
  ): Promise<GetRegionOptStatusCommandOutput>;
207
211
  getRegionOptStatus(
208
212
  args: GetRegionOptStatusCommandInput,
@@ -210,13 +214,13 @@ export interface Account {
210
214
  ): void;
211
215
  getRegionOptStatus(
212
216
  args: GetRegionOptStatusCommandInput,
213
- options: __HttpHandlerOptions,
217
+ options: AccountRequestOptions,
214
218
  cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void,
215
219
  ): void;
216
220
  listRegions(): Promise<ListRegionsCommandOutput>;
217
221
  listRegions(
218
222
  args: ListRegionsCommandInput,
219
- options?: __HttpHandlerOptions,
223
+ options?: AccountRequestOptions,
220
224
  ): Promise<ListRegionsCommandOutput>;
221
225
  listRegions(
222
226
  args: ListRegionsCommandInput,
@@ -224,12 +228,12 @@ export interface Account {
224
228
  ): void;
225
229
  listRegions(
226
230
  args: ListRegionsCommandInput,
227
- options: __HttpHandlerOptions,
231
+ options: AccountRequestOptions,
228
232
  cb: (err: any, data?: ListRegionsCommandOutput) => void,
229
233
  ): void;
230
234
  putAccountName(
231
235
  args: PutAccountNameCommandInput,
232
- options?: __HttpHandlerOptions,
236
+ options?: AccountRequestOptions,
233
237
  ): Promise<PutAccountNameCommandOutput>;
234
238
  putAccountName(
235
239
  args: PutAccountNameCommandInput,
@@ -237,12 +241,12 @@ export interface Account {
237
241
  ): void;
238
242
  putAccountName(
239
243
  args: PutAccountNameCommandInput,
240
- options: __HttpHandlerOptions,
244
+ options: AccountRequestOptions,
241
245
  cb: (err: any, data?: PutAccountNameCommandOutput) => void,
242
246
  ): void;
243
247
  putAlternateContact(
244
248
  args: PutAlternateContactCommandInput,
245
- options?: __HttpHandlerOptions,
249
+ options?: AccountRequestOptions,
246
250
  ): Promise<PutAlternateContactCommandOutput>;
247
251
  putAlternateContact(
248
252
  args: PutAlternateContactCommandInput,
@@ -250,12 +254,12 @@ export interface Account {
250
254
  ): void;
251
255
  putAlternateContact(
252
256
  args: PutAlternateContactCommandInput,
253
- options: __HttpHandlerOptions,
257
+ options: AccountRequestOptions,
254
258
  cb: (err: any, data?: PutAlternateContactCommandOutput) => void,
255
259
  ): void;
256
260
  putContactInformation(
257
261
  args: PutContactInformationCommandInput,
258
- options?: __HttpHandlerOptions,
262
+ options?: AccountRequestOptions,
259
263
  ): Promise<PutContactInformationCommandOutput>;
260
264
  putContactInformation(
261
265
  args: PutContactInformationCommandInput,
@@ -263,12 +267,12 @@ export interface Account {
263
267
  ): void;
264
268
  putContactInformation(
265
269
  args: PutContactInformationCommandInput,
266
- options: __HttpHandlerOptions,
270
+ options: AccountRequestOptions,
267
271
  cb: (err: any, data?: PutContactInformationCommandOutput) => void,
268
272
  ): void;
269
273
  startPrimaryEmailUpdate(
270
274
  args: StartPrimaryEmailUpdateCommandInput,
271
- options?: __HttpHandlerOptions,
275
+ options?: AccountRequestOptions,
272
276
  ): Promise<StartPrimaryEmailUpdateCommandOutput>;
273
277
  startPrimaryEmailUpdate(
274
278
  args: StartPrimaryEmailUpdateCommandInput,
@@ -276,7 +280,7 @@ export interface Account {
276
280
  ): void;
277
281
  startPrimaryEmailUpdate(
278
282
  args: StartPrimaryEmailUpdateCommandInput,
279
- options: __HttpHandlerOptions,
283
+ options: AccountRequestOptions,
280
284
  cb: (err: any, data?: StartPrimaryEmailUpdateCommandOutput) => void,
281
285
  ): void;
282
286
  paginateListRegions(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-account",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.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,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {