@aws-sdk/client-account 3.130.0 → 3.137.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/CHANGELOG.md +30 -0
- package/dist-cjs/Account.js +30 -0
- package/dist-cjs/commands/DeleteAlternateContactCommand.js +1 -1
- package/dist-cjs/commands/GetAlternateContactCommand.js +2 -2
- package/dist-cjs/commands/GetContactInformationCommand.js +36 -0
- package/dist-cjs/commands/PutAlternateContactCommand.js +1 -1
- package/dist-cjs/commands/PutContactInformationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +60 -40
- package/dist-cjs/protocols/Aws_restJson1.js +171 -1
- package/dist-es/Account.js +30 -0
- package/dist-es/commands/DeleteAlternateContactCommand.js +2 -2
- package/dist-es/commands/GetAlternateContactCommand.js +3 -3
- package/dist-es/commands/GetContactInformationCommand.js +39 -0
- package/dist-es/commands/PutAlternateContactCommand.js +2 -2
- package/dist-es/commands/PutContactInformationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +9 -20
- package/dist-es/protocols/Aws_restJson1.js +205 -0
- package/dist-types/Account.d.ts +38 -2
- package/dist-types/AccountClient.d.ts +4 -2
- package/dist-types/commands/DeleteAlternateContactCommand.d.ts +6 -0
- package/dist-types/commands/GetAlternateContactCommand.d.ts +7 -1
- package/dist-types/commands/GetContactInformationCommand.d.ts +37 -0
- package/dist-types/commands/PutAlternateContactCommand.d.ts +7 -1
- package/dist-types/commands/PutContactInformationCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +142 -27
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Account.d.ts +10 -0
- package/dist-types/ts3.4/AccountClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetContactInformationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutContactInformationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -18
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +7 -7
|
@@ -44,12 +44,6 @@ export interface DeleteAlternateContactRequest {
|
|
|
44
44
|
*/
|
|
45
45
|
AccountId?: string;
|
|
46
46
|
}
|
|
47
|
-
export declare namespace DeleteAlternateContactRequest {
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
const filterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
|
|
52
|
-
}
|
|
53
47
|
/**
|
|
54
48
|
* <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again
|
|
55
49
|
* later.</p>
|
|
@@ -127,12 +121,6 @@ export interface GetAlternateContactRequest {
|
|
|
127
121
|
*/
|
|
128
122
|
AccountId?: string;
|
|
129
123
|
}
|
|
130
|
-
export declare namespace GetAlternateContactRequest {
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
const filterSensitiveLog: (obj: GetAlternateContactRequest) => any;
|
|
135
|
-
}
|
|
136
124
|
/**
|
|
137
125
|
* <p>A structure that contains the details of an alternate contact associated with an Amazon Web Services
|
|
138
126
|
* account</p>
|
|
@@ -159,24 +147,12 @@ export interface AlternateContact {
|
|
|
159
147
|
*/
|
|
160
148
|
AlternateContactType?: AlternateContactType | string;
|
|
161
149
|
}
|
|
162
|
-
export declare namespace AlternateContact {
|
|
163
|
-
/**
|
|
164
|
-
* @internal
|
|
165
|
-
*/
|
|
166
|
-
const filterSensitiveLog: (obj: AlternateContact) => any;
|
|
167
|
-
}
|
|
168
150
|
export interface GetAlternateContactResponse {
|
|
169
151
|
/**
|
|
170
152
|
* <p>A structure that contains the details for the specified alternate contact.</p>
|
|
171
153
|
*/
|
|
172
154
|
AlternateContact?: AlternateContact;
|
|
173
155
|
}
|
|
174
|
-
export declare namespace GetAlternateContactResponse {
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
178
|
-
const filterSensitiveLog: (obj: GetAlternateContactResponse) => any;
|
|
179
|
-
}
|
|
180
156
|
export interface PutAlternateContactRequest {
|
|
181
157
|
/**
|
|
182
158
|
* <p>Specifies a name for the alternate contact.</p>
|
|
@@ -220,9 +196,148 @@ export interface PutAlternateContactRequest {
|
|
|
220
196
|
*/
|
|
221
197
|
AccountId?: string;
|
|
222
198
|
}
|
|
223
|
-
export
|
|
199
|
+
export interface GetContactInformationRequest {
|
|
224
200
|
/**
|
|
225
|
-
*
|
|
201
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
202
|
+
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
203
|
+
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
204
|
+
* 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
|
|
205
|
+
* management account</a> or a delegated administrator account. The specified
|
|
206
|
+
* account ID must also be a member account in the same organization. The organization must have
|
|
207
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
208
|
+
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
209
|
+
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
210
|
+
* assigned.</p>
|
|
211
|
+
* <note>
|
|
212
|
+
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
213
|
+
* the operation in standalone context by not including the <code>AccountId</code>
|
|
214
|
+
* parameter.</p>
|
|
215
|
+
* </note>
|
|
216
|
+
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
217
|
+
* specify this parameter. Instead, call the operation using an identity belonging to
|
|
218
|
+
* the account whose contacts you wish to retrieve or modify.</p>
|
|
226
219
|
*/
|
|
227
|
-
|
|
220
|
+
AccountId?: string;
|
|
228
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
224
|
+
*/
|
|
225
|
+
export interface ContactInformation {
|
|
226
|
+
/**
|
|
227
|
+
* <p>The full name of the primary contact address.</p>
|
|
228
|
+
*/
|
|
229
|
+
FullName: string | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* <p>The first line of the primary contact address.</p>
|
|
232
|
+
*/
|
|
233
|
+
AddressLine1: string | undefined;
|
|
234
|
+
/**
|
|
235
|
+
* <p>The second line of the primary contact address, if any.</p>
|
|
236
|
+
*/
|
|
237
|
+
AddressLine2?: string;
|
|
238
|
+
/**
|
|
239
|
+
* <p>The third line of the primary contact address, if any.</p>
|
|
240
|
+
*/
|
|
241
|
+
AddressLine3?: string;
|
|
242
|
+
/**
|
|
243
|
+
* <p>The city of the primary contact address.</p>
|
|
244
|
+
*/
|
|
245
|
+
City: string | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* <p>The state or region of the primary contact address. This field is required in selected countries.</p>
|
|
248
|
+
*/
|
|
249
|
+
StateOrRegion?: string;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The district or county of the primary contact address, if any.</p>
|
|
252
|
+
*/
|
|
253
|
+
DistrictOrCounty?: string;
|
|
254
|
+
/**
|
|
255
|
+
* <p>The postal code of the primary contact address.</p>
|
|
256
|
+
*/
|
|
257
|
+
PostalCode: string | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* <p>The ISO-3166 two-letter country code for the primary contact address.</p>
|
|
260
|
+
*/
|
|
261
|
+
CountryCode: string | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* <p>The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.</p>
|
|
264
|
+
*/
|
|
265
|
+
PhoneNumber: string | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* <p>The name of the company associated with the primary contact information, if any.</p>
|
|
268
|
+
*/
|
|
269
|
+
CompanyName?: string;
|
|
270
|
+
/**
|
|
271
|
+
* <p>The URL of the website associated with the primary contact information, if any.</p>
|
|
272
|
+
*/
|
|
273
|
+
WebsiteUrl?: string;
|
|
274
|
+
}
|
|
275
|
+
export interface GetContactInformationResponse {
|
|
276
|
+
/**
|
|
277
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
278
|
+
*/
|
|
279
|
+
ContactInformation?: ContactInformation;
|
|
280
|
+
}
|
|
281
|
+
export interface PutContactInformationRequest {
|
|
282
|
+
/**
|
|
283
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
284
|
+
*/
|
|
285
|
+
ContactInformation: ContactInformation | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
288
|
+
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
289
|
+
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
290
|
+
* 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
|
|
291
|
+
* management account</a> or a delegated administrator account. The specified
|
|
292
|
+
* account ID must also be a member account in the same organization. The organization must have
|
|
293
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
294
|
+
* enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html">trusted access</a> enabled
|
|
295
|
+
* for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html">delegated admin</a> account
|
|
296
|
+
* assigned.</p>
|
|
297
|
+
* <note>
|
|
298
|
+
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
299
|
+
* the operation in standalone context by not including the <code>AccountId</code>
|
|
300
|
+
* parameter.</p>
|
|
301
|
+
* </note>
|
|
302
|
+
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
303
|
+
* specify this parameter. Instead, call the operation using an identity belonging to
|
|
304
|
+
* the account whose contacts you wish to retrieve or modify.</p>
|
|
305
|
+
*/
|
|
306
|
+
AccountId?: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
export declare const DeleteAlternateContactRequestFilterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
|
|
312
|
+
/**
|
|
313
|
+
* @internal
|
|
314
|
+
*/
|
|
315
|
+
export declare const GetAlternateContactRequestFilterSensitiveLog: (obj: GetAlternateContactRequest) => any;
|
|
316
|
+
/**
|
|
317
|
+
* @internal
|
|
318
|
+
*/
|
|
319
|
+
export declare const AlternateContactFilterSensitiveLog: (obj: AlternateContact) => any;
|
|
320
|
+
/**
|
|
321
|
+
* @internal
|
|
322
|
+
*/
|
|
323
|
+
export declare const GetAlternateContactResponseFilterSensitiveLog: (obj: GetAlternateContactResponse) => any;
|
|
324
|
+
/**
|
|
325
|
+
* @internal
|
|
326
|
+
*/
|
|
327
|
+
export declare const PutAlternateContactRequestFilterSensitiveLog: (obj: PutAlternateContactRequest) => any;
|
|
328
|
+
/**
|
|
329
|
+
* @internal
|
|
330
|
+
*/
|
|
331
|
+
export declare const GetContactInformationRequestFilterSensitiveLog: (obj: GetContactInformationRequest) => any;
|
|
332
|
+
/**
|
|
333
|
+
* @internal
|
|
334
|
+
*/
|
|
335
|
+
export declare const ContactInformationFilterSensitiveLog: (obj: ContactInformation) => any;
|
|
336
|
+
/**
|
|
337
|
+
* @internal
|
|
338
|
+
*/
|
|
339
|
+
export declare const GetContactInformationResponseFilterSensitiveLog: (obj: GetContactInformationResponse) => any;
|
|
340
|
+
/**
|
|
341
|
+
* @internal
|
|
342
|
+
*/
|
|
343
|
+
export declare const PutContactInformationRequestFilterSensitiveLog: (obj: PutContactInformationRequest) => any;
|
|
@@ -2,10 +2,16 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "../commands/DeleteAlternateContactCommand";
|
|
4
4
|
import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "../commands/GetAlternateContactCommand";
|
|
5
|
+
import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "../commands/GetContactInformationCommand";
|
|
5
6
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "../commands/PutAlternateContactCommand";
|
|
7
|
+
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "../commands/PutContactInformationCommand";
|
|
6
8
|
export declare const serializeAws_restJson1DeleteAlternateContactCommand: (input: DeleteAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
9
|
export declare const serializeAws_restJson1GetAlternateContactCommand: (input: GetAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_restJson1GetContactInformationCommand: (input: GetContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
11
|
export declare const serializeAws_restJson1PutAlternateContactCommand: (input: PutAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_restJson1PutContactInformationCommand: (input: PutContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
13
|
export declare const deserializeAws_restJson1DeleteAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAlternateContactCommandOutput>;
|
|
10
14
|
export declare const deserializeAws_restJson1GetAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAlternateContactCommandOutput>;
|
|
15
|
+
export declare const deserializeAws_restJson1GetContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContactInformationCommandOutput>;
|
|
11
16
|
export declare const deserializeAws_restJson1PutAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAlternateContactCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_restJson1PutContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutContactInformationCommandOutput>;
|
|
@@ -2,7 +2,9 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { AccountClient } from "./AccountClient";
|
|
3
3
|
import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "./commands/DeleteAlternateContactCommand";
|
|
4
4
|
import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "./commands/GetAlternateContactCommand";
|
|
5
|
+
import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "./commands/GetContactInformationCommand";
|
|
5
6
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
|
|
7
|
+
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
|
|
6
8
|
|
|
7
9
|
export declare class Account extends AccountClient {
|
|
8
10
|
|
|
@@ -14,7 +16,15 @@ export declare class Account extends AccountClient {
|
|
|
14
16
|
getAlternateContact(args: GetAlternateContactCommandInput, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
15
17
|
getAlternateContact(args: GetAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
16
18
|
|
|
19
|
+
getContactInformation(args: GetContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetContactInformationCommandOutput>;
|
|
20
|
+
getContactInformation(args: GetContactInformationCommandInput, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
21
|
+
getContactInformation(args: GetContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
22
|
+
|
|
17
23
|
putAlternateContact(args: PutAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<PutAlternateContactCommandOutput>;
|
|
18
24
|
putAlternateContact(args: PutAlternateContactCommandInput, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
19
25
|
putAlternateContact(args: PutAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
26
|
+
|
|
27
|
+
putContactInformation(args: PutContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<PutContactInformationCommandOutput>;
|
|
28
|
+
putContactInformation(args: PutContactInformationCommandInput, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
29
|
+
putContactInformation(args: PutContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
20
30
|
}
|
|
@@ -8,9 +8,11 @@ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfig
|
|
|
8
8
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "./commands/DeleteAlternateContactCommand";
|
|
10
10
|
import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "./commands/GetAlternateContactCommand";
|
|
11
|
+
import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "./commands/GetContactInformationCommand";
|
|
11
12
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
|
|
12
|
-
|
|
13
|
-
export declare type
|
|
13
|
+
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
|
|
14
|
+
export declare type ServiceInputTypes = DeleteAlternateContactCommandInput | GetAlternateContactCommandInput | GetContactInformationCommandInput | PutAlternateContactCommandInput | PutContactInformationCommandInput;
|
|
15
|
+
export declare type ServiceOutputTypes = DeleteAlternateContactCommandOutput | GetAlternateContactCommandOutput | GetContactInformationCommandOutput | PutAlternateContactCommandOutput | PutContactInformationCommandOutput;
|
|
14
16
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
15
17
|
|
|
16
18
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
|
|
4
|
+
import { GetContactInformationRequest, GetContactInformationResponse } from "../models/models_0";
|
|
5
|
+
export interface GetContactInformationCommandInput extends GetContactInformationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetContactInformationCommandOutput extends GetContactInformationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetContactInformationCommand extends $Command<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig> {
|
|
11
|
+
readonly input: GetContactInformationCommandInput;
|
|
12
|
+
constructor(input: GetContactInformationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContactInformationCommandInput, GetContactInformationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
|
|
4
|
+
import { PutContactInformationRequest } from "../models/models_0";
|
|
5
|
+
export interface PutContactInformationCommandInput extends PutContactInformationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutContactInformationCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutContactInformationCommand extends $Command<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig> {
|
|
11
|
+
readonly input: PutContactInformationCommandInput;
|
|
12
|
+
constructor(input: PutContactInformationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutContactInformationCommandInput, PutContactInformationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -18,10 +18,6 @@ export interface DeleteAlternateContactRequest {
|
|
|
18
18
|
|
|
19
19
|
AccountId?: string;
|
|
20
20
|
}
|
|
21
|
-
export declare namespace DeleteAlternateContactRequest {
|
|
22
|
-
|
|
23
|
-
const filterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
|
|
24
|
-
}
|
|
25
21
|
|
|
26
22
|
export declare class InternalServerException extends __BaseException {
|
|
27
23
|
readonly name: "InternalServerException";
|
|
@@ -60,10 +56,6 @@ export interface GetAlternateContactRequest {
|
|
|
60
56
|
|
|
61
57
|
AccountId?: string;
|
|
62
58
|
}
|
|
63
|
-
export declare namespace GetAlternateContactRequest {
|
|
64
|
-
|
|
65
|
-
const filterSensitiveLog: (obj: GetAlternateContactRequest) => any;
|
|
66
|
-
}
|
|
67
59
|
|
|
68
60
|
export interface AlternateContact {
|
|
69
61
|
|
|
@@ -77,18 +69,10 @@ export interface AlternateContact {
|
|
|
77
69
|
|
|
78
70
|
AlternateContactType?: AlternateContactType | string;
|
|
79
71
|
}
|
|
80
|
-
export declare namespace AlternateContact {
|
|
81
|
-
|
|
82
|
-
const filterSensitiveLog: (obj: AlternateContact) => any;
|
|
83
|
-
}
|
|
84
72
|
export interface GetAlternateContactResponse {
|
|
85
73
|
|
|
86
74
|
AlternateContact?: AlternateContact;
|
|
87
75
|
}
|
|
88
|
-
export declare namespace GetAlternateContactResponse {
|
|
89
|
-
|
|
90
|
-
const filterSensitiveLog: (obj: GetAlternateContactResponse) => any;
|
|
91
|
-
}
|
|
92
76
|
export interface PutAlternateContactRequest {
|
|
93
77
|
|
|
94
78
|
Name: string | undefined;
|
|
@@ -103,7 +87,62 @@ export interface PutAlternateContactRequest {
|
|
|
103
87
|
|
|
104
88
|
AccountId?: string;
|
|
105
89
|
}
|
|
106
|
-
export
|
|
90
|
+
export interface GetContactInformationRequest {
|
|
107
91
|
|
|
108
|
-
|
|
92
|
+
AccountId?: string;
|
|
109
93
|
}
|
|
94
|
+
|
|
95
|
+
export interface ContactInformation {
|
|
96
|
+
|
|
97
|
+
FullName: string | undefined;
|
|
98
|
+
|
|
99
|
+
AddressLine1: string | undefined;
|
|
100
|
+
|
|
101
|
+
AddressLine2?: string;
|
|
102
|
+
|
|
103
|
+
AddressLine3?: string;
|
|
104
|
+
|
|
105
|
+
City: string | undefined;
|
|
106
|
+
|
|
107
|
+
StateOrRegion?: string;
|
|
108
|
+
|
|
109
|
+
DistrictOrCounty?: string;
|
|
110
|
+
|
|
111
|
+
PostalCode: string | undefined;
|
|
112
|
+
|
|
113
|
+
CountryCode: string | undefined;
|
|
114
|
+
|
|
115
|
+
PhoneNumber: string | undefined;
|
|
116
|
+
|
|
117
|
+
CompanyName?: string;
|
|
118
|
+
|
|
119
|
+
WebsiteUrl?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface GetContactInformationResponse {
|
|
122
|
+
|
|
123
|
+
ContactInformation?: ContactInformation;
|
|
124
|
+
}
|
|
125
|
+
export interface PutContactInformationRequest {
|
|
126
|
+
|
|
127
|
+
ContactInformation: ContactInformation | undefined;
|
|
128
|
+
|
|
129
|
+
AccountId?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export declare const DeleteAlternateContactRequestFilterSensitiveLog: (obj: DeleteAlternateContactRequest) => any;
|
|
133
|
+
|
|
134
|
+
export declare const GetAlternateContactRequestFilterSensitiveLog: (obj: GetAlternateContactRequest) => any;
|
|
135
|
+
|
|
136
|
+
export declare const AlternateContactFilterSensitiveLog: (obj: AlternateContact) => any;
|
|
137
|
+
|
|
138
|
+
export declare const GetAlternateContactResponseFilterSensitiveLog: (obj: GetAlternateContactResponse) => any;
|
|
139
|
+
|
|
140
|
+
export declare const PutAlternateContactRequestFilterSensitiveLog: (obj: PutAlternateContactRequest) => any;
|
|
141
|
+
|
|
142
|
+
export declare const GetContactInformationRequestFilterSensitiveLog: (obj: GetContactInformationRequest) => any;
|
|
143
|
+
|
|
144
|
+
export declare const ContactInformationFilterSensitiveLog: (obj: ContactInformation) => any;
|
|
145
|
+
|
|
146
|
+
export declare const GetContactInformationResponseFilterSensitiveLog: (obj: GetContactInformationResponse) => any;
|
|
147
|
+
|
|
148
|
+
export declare const PutContactInformationRequestFilterSensitiveLog: (obj: PutContactInformationRequest) => any;
|
|
@@ -2,10 +2,16 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "../commands/DeleteAlternateContactCommand";
|
|
4
4
|
import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "../commands/GetAlternateContactCommand";
|
|
5
|
+
import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "../commands/GetContactInformationCommand";
|
|
5
6
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "../commands/PutAlternateContactCommand";
|
|
7
|
+
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "../commands/PutContactInformationCommand";
|
|
6
8
|
export declare const serializeAws_restJson1DeleteAlternateContactCommand: (input: DeleteAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
9
|
export declare const serializeAws_restJson1GetAlternateContactCommand: (input: GetAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_restJson1GetContactInformationCommand: (input: GetContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
11
|
export declare const serializeAws_restJson1PutAlternateContactCommand: (input: PutAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_restJson1PutContactInformationCommand: (input: PutContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
13
|
export declare const deserializeAws_restJson1DeleteAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAlternateContactCommandOutput>;
|
|
10
14
|
export declare const deserializeAws_restJson1GetAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAlternateContactCommandOutput>;
|
|
15
|
+
export declare const deserializeAws_restJson1GetContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContactInformationCommandOutput>;
|
|
11
16
|
export declare const deserializeAws_restJson1PutAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAlternateContactCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_restJson1PutContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutContactInformationCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account",
|
|
3
3
|
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.137.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.137.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.137.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|