@aws-sdk/client-account 3.131.0 → 3.136.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 +11 -0
- package/dist-cjs/Account.js +30 -0
- package/dist-cjs/commands/GetContactInformationCommand.js +36 -0
- package/dist-cjs/commands/PutContactInformationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +43 -1
- package/dist-cjs/protocols/Aws_restJson1.js +171 -1
- package/dist-es/Account.js +30 -0
- package/dist-es/commands/GetContactInformationCommand.js +39 -0
- package/dist-es/commands/PutContactInformationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +20 -0
- 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 +133 -0
- 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 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +1 -1
|
@@ -51,6 +51,30 @@ export var serializeAws_restJson1GetAlternateContactCommand = function (input, c
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
}); };
|
|
54
|
+
export var serializeAws_restJson1GetContactInformationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
56
|
+
return __generator(this, function (_c) {
|
|
57
|
+
switch (_c.label) {
|
|
58
|
+
case 0: return [4, context.endpoint()];
|
|
59
|
+
case 1:
|
|
60
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
61
|
+
headers = {
|
|
62
|
+
"content-type": "application/json",
|
|
63
|
+
};
|
|
64
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getContactInformation";
|
|
65
|
+
body = JSON.stringify(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })));
|
|
66
|
+
return [2, new __HttpRequest({
|
|
67
|
+
protocol: protocol,
|
|
68
|
+
hostname: hostname,
|
|
69
|
+
port: port,
|
|
70
|
+
method: "POST",
|
|
71
|
+
headers: headers,
|
|
72
|
+
path: resolvedPath,
|
|
73
|
+
body: body,
|
|
74
|
+
})];
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}); };
|
|
54
78
|
export var serializeAws_restJson1PutAlternateContactCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
79
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
56
80
|
return __generator(this, function (_c) {
|
|
@@ -75,6 +99,32 @@ export var serializeAws_restJson1PutAlternateContactCommand = function (input, c
|
|
|
75
99
|
}
|
|
76
100
|
});
|
|
77
101
|
}); };
|
|
102
|
+
export var serializeAws_restJson1PutContactInformationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
103
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
104
|
+
return __generator(this, function (_c) {
|
|
105
|
+
switch (_c.label) {
|
|
106
|
+
case 0: return [4, context.endpoint()];
|
|
107
|
+
case 1:
|
|
108
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
109
|
+
headers = {
|
|
110
|
+
"content-type": "application/json",
|
|
111
|
+
};
|
|
112
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/putContactInformation";
|
|
113
|
+
body = JSON.stringify(__assign(__assign({}, (input.AccountId != null && { AccountId: input.AccountId })), (input.ContactInformation != null && {
|
|
114
|
+
ContactInformation: serializeAws_restJson1ContactInformation(input.ContactInformation, context),
|
|
115
|
+
})));
|
|
116
|
+
return [2, new __HttpRequest({
|
|
117
|
+
protocol: protocol,
|
|
118
|
+
hostname: hostname,
|
|
119
|
+
port: port,
|
|
120
|
+
method: "POST",
|
|
121
|
+
headers: headers,
|
|
122
|
+
path: resolvedPath,
|
|
123
|
+
body: body,
|
|
124
|
+
})];
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}); };
|
|
78
128
|
export var deserializeAws_restJson1DeleteAlternateContactCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
79
129
|
var contents;
|
|
80
130
|
return __generator(this, function (_a) {
|
|
@@ -215,6 +265,79 @@ var deserializeAws_restJson1GetAlternateContactCommandError = function (output,
|
|
|
215
265
|
}
|
|
216
266
|
});
|
|
217
267
|
}); };
|
|
268
|
+
export var deserializeAws_restJson1GetContactInformationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
269
|
+
var contents, data, _a, _b;
|
|
270
|
+
return __generator(this, function (_c) {
|
|
271
|
+
switch (_c.label) {
|
|
272
|
+
case 0:
|
|
273
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
274
|
+
return [2, deserializeAws_restJson1GetContactInformationCommandError(output, context)];
|
|
275
|
+
}
|
|
276
|
+
contents = {
|
|
277
|
+
$metadata: deserializeMetadata(output),
|
|
278
|
+
ContactInformation: undefined,
|
|
279
|
+
};
|
|
280
|
+
_a = __expectNonNull;
|
|
281
|
+
_b = __expectObject;
|
|
282
|
+
return [4, parseBody(output.body, context)];
|
|
283
|
+
case 1:
|
|
284
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
285
|
+
if (data.ContactInformation !== undefined && data.ContactInformation !== null) {
|
|
286
|
+
contents.ContactInformation = deserializeAws_restJson1ContactInformation(data.ContactInformation, context);
|
|
287
|
+
}
|
|
288
|
+
return [2, Promise.resolve(contents)];
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
}); };
|
|
292
|
+
var deserializeAws_restJson1GetContactInformationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
293
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
294
|
+
var _c;
|
|
295
|
+
return __generator(this, function (_d) {
|
|
296
|
+
switch (_d.label) {
|
|
297
|
+
case 0:
|
|
298
|
+
_a = [__assign({}, output)];
|
|
299
|
+
_c = {};
|
|
300
|
+
return [4, parseBody(output.body, context)];
|
|
301
|
+
case 1:
|
|
302
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
303
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
304
|
+
_b = errorCode;
|
|
305
|
+
switch (_b) {
|
|
306
|
+
case "AccessDeniedException": return [3, 2];
|
|
307
|
+
case "com.amazonaws.account#AccessDeniedException": return [3, 2];
|
|
308
|
+
case "InternalServerException": return [3, 4];
|
|
309
|
+
case "com.amazonaws.account#InternalServerException": return [3, 4];
|
|
310
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
311
|
+
case "com.amazonaws.account#ResourceNotFoundException": return [3, 6];
|
|
312
|
+
case "TooManyRequestsException": return [3, 8];
|
|
313
|
+
case "com.amazonaws.account#TooManyRequestsException": return [3, 8];
|
|
314
|
+
case "ValidationException": return [3, 10];
|
|
315
|
+
case "com.amazonaws.account#ValidationException": return [3, 10];
|
|
316
|
+
}
|
|
317
|
+
return [3, 12];
|
|
318
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
319
|
+
case 3: throw _d.sent();
|
|
320
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
321
|
+
case 5: throw _d.sent();
|
|
322
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
323
|
+
case 7: throw _d.sent();
|
|
324
|
+
case 8: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
325
|
+
case 9: throw _d.sent();
|
|
326
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
327
|
+
case 11: throw _d.sent();
|
|
328
|
+
case 12:
|
|
329
|
+
parsedBody = parsedOutput.body;
|
|
330
|
+
$metadata = deserializeMetadata(output);
|
|
331
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
332
|
+
response = new __BaseException({
|
|
333
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
$metadata: $metadata,
|
|
336
|
+
});
|
|
337
|
+
throw __decorateServiceException(response, parsedBody);
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}); };
|
|
218
341
|
export var deserializeAws_restJson1PutAlternateContactCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
219
342
|
var contents;
|
|
220
343
|
return __generator(this, function (_a) {
|
|
@@ -278,6 +401,69 @@ var deserializeAws_restJson1PutAlternateContactCommandError = function (output,
|
|
|
278
401
|
}
|
|
279
402
|
});
|
|
280
403
|
}); };
|
|
404
|
+
export var deserializeAws_restJson1PutContactInformationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
405
|
+
var contents;
|
|
406
|
+
return __generator(this, function (_a) {
|
|
407
|
+
switch (_a.label) {
|
|
408
|
+
case 0:
|
|
409
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
410
|
+
return [2, deserializeAws_restJson1PutContactInformationCommandError(output, context)];
|
|
411
|
+
}
|
|
412
|
+
contents = {
|
|
413
|
+
$metadata: deserializeMetadata(output),
|
|
414
|
+
};
|
|
415
|
+
return [4, collectBody(output.body, context)];
|
|
416
|
+
case 1:
|
|
417
|
+
_a.sent();
|
|
418
|
+
return [2, Promise.resolve(contents)];
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
}); };
|
|
422
|
+
var deserializeAws_restJson1PutContactInformationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
423
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
424
|
+
var _c;
|
|
425
|
+
return __generator(this, function (_d) {
|
|
426
|
+
switch (_d.label) {
|
|
427
|
+
case 0:
|
|
428
|
+
_a = [__assign({}, output)];
|
|
429
|
+
_c = {};
|
|
430
|
+
return [4, parseBody(output.body, context)];
|
|
431
|
+
case 1:
|
|
432
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
433
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
434
|
+
_b = errorCode;
|
|
435
|
+
switch (_b) {
|
|
436
|
+
case "AccessDeniedException": return [3, 2];
|
|
437
|
+
case "com.amazonaws.account#AccessDeniedException": return [3, 2];
|
|
438
|
+
case "InternalServerException": return [3, 4];
|
|
439
|
+
case "com.amazonaws.account#InternalServerException": return [3, 4];
|
|
440
|
+
case "TooManyRequestsException": return [3, 6];
|
|
441
|
+
case "com.amazonaws.account#TooManyRequestsException": return [3, 6];
|
|
442
|
+
case "ValidationException": return [3, 8];
|
|
443
|
+
case "com.amazonaws.account#ValidationException": return [3, 8];
|
|
444
|
+
}
|
|
445
|
+
return [3, 10];
|
|
446
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
447
|
+
case 3: throw _d.sent();
|
|
448
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
449
|
+
case 5: throw _d.sent();
|
|
450
|
+
case 6: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
451
|
+
case 7: throw _d.sent();
|
|
452
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
453
|
+
case 9: throw _d.sent();
|
|
454
|
+
case 10:
|
|
455
|
+
parsedBody = parsedOutput.body;
|
|
456
|
+
$metadata = deserializeMetadata(output);
|
|
457
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
458
|
+
response = new __BaseException({
|
|
459
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
460
|
+
$fault: "client",
|
|
461
|
+
$metadata: $metadata,
|
|
462
|
+
});
|
|
463
|
+
throw __decorateServiceException(response, parsedBody);
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
}); };
|
|
281
467
|
var deserializeAws_restJson1AccessDeniedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
282
468
|
var contents, data, exception;
|
|
283
469
|
return __generator(this, function (_a) {
|
|
@@ -338,6 +524,9 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
|
|
|
338
524
|
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
339
525
|
});
|
|
340
526
|
}); };
|
|
527
|
+
var serializeAws_restJson1ContactInformation = function (input, context) {
|
|
528
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AddressLine1 != null && { AddressLine1: input.AddressLine1 })), (input.AddressLine2 != null && { AddressLine2: input.AddressLine2 })), (input.AddressLine3 != null && { AddressLine3: input.AddressLine3 })), (input.City != null && { City: input.City })), (input.CompanyName != null && { CompanyName: input.CompanyName })), (input.CountryCode != null && { CountryCode: input.CountryCode })), (input.DistrictOrCounty != null && { DistrictOrCounty: input.DistrictOrCounty })), (input.FullName != null && { FullName: input.FullName })), (input.PhoneNumber != null && { PhoneNumber: input.PhoneNumber })), (input.PostalCode != null && { PostalCode: input.PostalCode })), (input.StateOrRegion != null && { StateOrRegion: input.StateOrRegion })), (input.WebsiteUrl != null && { WebsiteUrl: input.WebsiteUrl }));
|
|
529
|
+
};
|
|
341
530
|
var deserializeAws_restJson1AlternateContact = function (output, context) {
|
|
342
531
|
return {
|
|
343
532
|
AlternateContactType: __expectString(output.AlternateContactType),
|
|
@@ -347,6 +536,22 @@ var deserializeAws_restJson1AlternateContact = function (output, context) {
|
|
|
347
536
|
Title: __expectString(output.Title),
|
|
348
537
|
};
|
|
349
538
|
};
|
|
539
|
+
var deserializeAws_restJson1ContactInformation = function (output, context) {
|
|
540
|
+
return {
|
|
541
|
+
AddressLine1: __expectString(output.AddressLine1),
|
|
542
|
+
AddressLine2: __expectString(output.AddressLine2),
|
|
543
|
+
AddressLine3: __expectString(output.AddressLine3),
|
|
544
|
+
City: __expectString(output.City),
|
|
545
|
+
CompanyName: __expectString(output.CompanyName),
|
|
546
|
+
CountryCode: __expectString(output.CountryCode),
|
|
547
|
+
DistrictOrCounty: __expectString(output.DistrictOrCounty),
|
|
548
|
+
FullName: __expectString(output.FullName),
|
|
549
|
+
PhoneNumber: __expectString(output.PhoneNumber),
|
|
550
|
+
PostalCode: __expectString(output.PostalCode),
|
|
551
|
+
StateOrRegion: __expectString(output.StateOrRegion),
|
|
552
|
+
WebsiteUrl: __expectString(output.WebsiteUrl),
|
|
553
|
+
};
|
|
554
|
+
};
|
|
350
555
|
var deserializeMetadata = function (output) {
|
|
351
556
|
var _a;
|
|
352
557
|
return ({
|
package/dist-types/Account.d.ts
CHANGED
|
@@ -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
|
* <p>Operations for Amazon Web Services Account Management</p>
|
|
8
10
|
*/
|
|
@@ -11,6 +13,12 @@ export declare class Account extends AccountClient {
|
|
|
11
13
|
* <p>Deletes the specified alternate contact from an Amazon Web Services account.</p>
|
|
12
14
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
13
15
|
* updating the alternate contacts</a>.</p>
|
|
16
|
+
* <note>
|
|
17
|
+
* <p>Before you can update the alternate contact information for an
|
|
18
|
+
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
19
|
+
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
20
|
+
* Amazon Web Services Account Management</a>.</p>
|
|
21
|
+
* </note>
|
|
14
22
|
*/
|
|
15
23
|
deleteAlternateContact(args: DeleteAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlternateContactCommandOutput>;
|
|
16
24
|
deleteAlternateContact(args: DeleteAlternateContactCommandInput, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
|
|
@@ -18,17 +26,45 @@ export declare class Account extends AccountClient {
|
|
|
18
26
|
/**
|
|
19
27
|
* <p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
20
28
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
21
|
-
*
|
|
29
|
+
* updating the alternate contacts</a>.</p>
|
|
30
|
+
* <note>
|
|
31
|
+
* <p>Before you can update the alternate contact information for an
|
|
32
|
+
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
33
|
+
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
34
|
+
* Amazon Web Services Account Management</a>.</p>
|
|
35
|
+
* </note>
|
|
22
36
|
*/
|
|
23
37
|
getAlternateContact(args: GetAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<GetAlternateContactCommandOutput>;
|
|
24
38
|
getAlternateContact(args: GetAlternateContactCommandInput, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
25
39
|
getAlternateContact(args: GetAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* <p>Retrieves the primary contact information of an Amazon Web Services account.</p>
|
|
42
|
+
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
43
|
+
* the primary and alternate contact information</a>.</p>
|
|
44
|
+
*/
|
|
45
|
+
getContactInformation(args: GetContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetContactInformationCommandOutput>;
|
|
46
|
+
getContactInformation(args: GetContactInformationCommandInput, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
47
|
+
getContactInformation(args: GetContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
26
48
|
/**
|
|
27
49
|
* <p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
28
50
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
29
|
-
*
|
|
51
|
+
* updating the alternate contacts</a>.</p>
|
|
52
|
+
* <note>
|
|
53
|
+
* <p>Before you can update the alternate contact information for an
|
|
54
|
+
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
55
|
+
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
56
|
+
* Amazon Web Services Account Management</a>.</p>
|
|
57
|
+
* </note>
|
|
30
58
|
*/
|
|
31
59
|
putAlternateContact(args: PutAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<PutAlternateContactCommandOutput>;
|
|
32
60
|
putAlternateContact(args: PutAlternateContactCommandInput, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
33
61
|
putAlternateContact(args: PutAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Updates the primary contact information of an Amazon Web Services account.</p>
|
|
64
|
+
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
65
|
+
* the primary and alternate contact information</a>.</p>
|
|
66
|
+
*/
|
|
67
|
+
putContactInformation(args: PutContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<PutContactInformationCommandOutput>;
|
|
68
|
+
putContactInformation(args: PutContactInformationCommandInput, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
69
|
+
putContactInformation(args: PutContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
34
70
|
}
|
|
@@ -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
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -10,6 +10,12 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
* <p>Deletes the specified alternate contact from an Amazon Web Services account.</p>
|
|
11
11
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
12
12
|
* updating the alternate contacts</a>.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>Before you can update the alternate contact information for an
|
|
15
|
+
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
16
|
+
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
17
|
+
* Amazon Web Services Account Management</a>.</p>
|
|
18
|
+
* </note>
|
|
13
19
|
* @example
|
|
14
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
21
|
* ```javascript
|
|
@@ -9,7 +9,13 @@ export interface GetAlternateContactCommandOutput extends GetAlternateContactRes
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
11
11
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
12
|
-
*
|
|
12
|
+
* updating the alternate contacts</a>.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>Before you can update the alternate contact information for an
|
|
15
|
+
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
16
|
+
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
17
|
+
* Amazon Web Services Account Management</a>.</p>
|
|
18
|
+
* </note>
|
|
13
19
|
* @example
|
|
14
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
21
|
* ```javascript
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* <p>Retrieves the primary contact information of an Amazon Web Services account.</p>
|
|
11
|
+
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
12
|
+
* the primary and alternate contact information</a>.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { AccountClient, GetContactInformationCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
17
|
+
* // const { AccountClient, GetContactInformationCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
18
|
+
* const client = new AccountClient(config);
|
|
19
|
+
* const command = new GetContactInformationCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetContactInformationCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetContactInformationCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link AccountClientResolvedConfig | config} for AccountClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetContactInformationCommand extends $Command<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig> {
|
|
29
|
+
readonly input: GetContactInformationCommandInput;
|
|
30
|
+
constructor(input: GetContactInformationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContactInformationCommandInput, GetContactInformationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -9,7 +9,13 @@ export interface PutAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
11
11
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
12
|
-
*
|
|
12
|
+
* updating the alternate contacts</a>.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>Before you can update the alternate contact information for an
|
|
15
|
+
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
16
|
+
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
17
|
+
* Amazon Web Services Account Management</a>.</p>
|
|
18
|
+
* </note>
|
|
13
19
|
* @example
|
|
14
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
21
|
* ```javascript
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* <p>Updates the primary contact information of an Amazon Web Services account.</p>
|
|
11
|
+
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
12
|
+
* the primary and alternate contact information</a>.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { AccountClient, PutContactInformationCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
17
|
+
* // const { AccountClient, PutContactInformationCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
18
|
+
* const client = new AccountClient(config);
|
|
19
|
+
* const command = new PutContactInformationCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link PutContactInformationCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link PutContactInformationCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link AccountClientResolvedConfig | config} for AccountClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class PutContactInformationCommand extends $Command<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig> {
|
|
29
|
+
readonly input: PutContactInformationCommandInput;
|
|
30
|
+
constructor(input: PutContactInformationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutContactInformationCommandInput, PutContactInformationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -226,3 +226,136 @@ export declare namespace PutAlternateContactRequest {
|
|
|
226
226
|
*/
|
|
227
227
|
const filterSensitiveLog: (obj: PutAlternateContactRequest) => any;
|
|
228
228
|
}
|
|
229
|
+
export interface GetContactInformationRequest {
|
|
230
|
+
/**
|
|
231
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
232
|
+
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
233
|
+
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
234
|
+
* 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
|
|
235
|
+
* management account</a> or a delegated administrator account. The specified
|
|
236
|
+
* account ID must also be a member account in the same organization. The organization must have
|
|
237
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
238
|
+
* 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
|
|
239
|
+
* 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
|
|
240
|
+
* assigned.</p>
|
|
241
|
+
* <note>
|
|
242
|
+
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
243
|
+
* the operation in standalone context by not including the <code>AccountId</code>
|
|
244
|
+
* parameter.</p>
|
|
245
|
+
* </note>
|
|
246
|
+
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
247
|
+
* specify this parameter. Instead, call the operation using an identity belonging to
|
|
248
|
+
* the account whose contacts you wish to retrieve or modify.</p>
|
|
249
|
+
*/
|
|
250
|
+
AccountId?: string;
|
|
251
|
+
}
|
|
252
|
+
export declare namespace GetContactInformationRequest {
|
|
253
|
+
/**
|
|
254
|
+
* @internal
|
|
255
|
+
*/
|
|
256
|
+
const filterSensitiveLog: (obj: GetContactInformationRequest) => any;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
260
|
+
*/
|
|
261
|
+
export interface ContactInformation {
|
|
262
|
+
/**
|
|
263
|
+
* <p>The full name of the primary contact address.</p>
|
|
264
|
+
*/
|
|
265
|
+
FullName: string | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* <p>The first line of the primary contact address.</p>
|
|
268
|
+
*/
|
|
269
|
+
AddressLine1: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* <p>The second line of the primary contact address, if any.</p>
|
|
272
|
+
*/
|
|
273
|
+
AddressLine2?: string;
|
|
274
|
+
/**
|
|
275
|
+
* <p>The third line of the primary contact address, if any.</p>
|
|
276
|
+
*/
|
|
277
|
+
AddressLine3?: string;
|
|
278
|
+
/**
|
|
279
|
+
* <p>The city of the primary contact address.</p>
|
|
280
|
+
*/
|
|
281
|
+
City: string | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* <p>The state or region of the primary contact address. This field is required in selected countries.</p>
|
|
284
|
+
*/
|
|
285
|
+
StateOrRegion?: string;
|
|
286
|
+
/**
|
|
287
|
+
* <p>The district or county of the primary contact address, if any.</p>
|
|
288
|
+
*/
|
|
289
|
+
DistrictOrCounty?: string;
|
|
290
|
+
/**
|
|
291
|
+
* <p>The postal code of the primary contact address.</p>
|
|
292
|
+
*/
|
|
293
|
+
PostalCode: string | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* <p>The ISO-3166 two-letter country code for the primary contact address.</p>
|
|
296
|
+
*/
|
|
297
|
+
CountryCode: string | undefined;
|
|
298
|
+
/**
|
|
299
|
+
* <p>The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.</p>
|
|
300
|
+
*/
|
|
301
|
+
PhoneNumber: string | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* <p>The name of the company associated with the primary contact information, if any.</p>
|
|
304
|
+
*/
|
|
305
|
+
CompanyName?: string;
|
|
306
|
+
/**
|
|
307
|
+
* <p>The URL of the website associated with the primary contact information, if any.</p>
|
|
308
|
+
*/
|
|
309
|
+
WebsiteUrl?: string;
|
|
310
|
+
}
|
|
311
|
+
export declare namespace ContactInformation {
|
|
312
|
+
/**
|
|
313
|
+
* @internal
|
|
314
|
+
*/
|
|
315
|
+
const filterSensitiveLog: (obj: ContactInformation) => any;
|
|
316
|
+
}
|
|
317
|
+
export interface GetContactInformationResponse {
|
|
318
|
+
/**
|
|
319
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
320
|
+
*/
|
|
321
|
+
ContactInformation?: ContactInformation;
|
|
322
|
+
}
|
|
323
|
+
export declare namespace GetContactInformationResponse {
|
|
324
|
+
/**
|
|
325
|
+
* @internal
|
|
326
|
+
*/
|
|
327
|
+
const filterSensitiveLog: (obj: GetContactInformationResponse) => any;
|
|
328
|
+
}
|
|
329
|
+
export interface PutContactInformationRequest {
|
|
330
|
+
/**
|
|
331
|
+
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
332
|
+
*/
|
|
333
|
+
ContactInformation: ContactInformation | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
336
|
+
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
337
|
+
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
338
|
+
* 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
|
|
339
|
+
* management account</a> or a delegated administrator account. The specified
|
|
340
|
+
* account ID must also be a member account in the same organization. The organization must have
|
|
341
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features
|
|
342
|
+
* 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
|
|
343
|
+
* 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
|
|
344
|
+
* assigned.</p>
|
|
345
|
+
* <note>
|
|
346
|
+
* <p>The management account can't specify its own <code>AccountId</code>. It must call
|
|
347
|
+
* the operation in standalone context by not including the <code>AccountId</code>
|
|
348
|
+
* parameter.</p>
|
|
349
|
+
* </note>
|
|
350
|
+
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
351
|
+
* specify this parameter. Instead, call the operation using an identity belonging to
|
|
352
|
+
* the account whose contacts you wish to retrieve or modify.</p>
|
|
353
|
+
*/
|
|
354
|
+
AccountId?: string;
|
|
355
|
+
}
|
|
356
|
+
export declare namespace PutContactInformationRequest {
|
|
357
|
+
/**
|
|
358
|
+
* @internal
|
|
359
|
+
*/
|
|
360
|
+
const filterSensitiveLog: (obj: PutContactInformationRequest) => any;
|
|
361
|
+
}
|
|
@@ -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>;
|