@aws-sdk/client-account 3.181.0 → 3.183.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 +8 -0
- package/dist-es/Account.js +22 -29
- package/dist-es/AccountClient.js +22 -28
- package/dist-es/commands/DeleteAlternateContactCommand.js +22 -29
- package/dist-es/commands/GetAlternateContactCommand.js +21 -28
- package/dist-es/commands/GetContactInformationCommand.js +21 -28
- package/dist-es/commands/PutAlternateContactCommand.js +22 -29
- package/dist-es/commands/PutContactInformationCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AccountServiceException.js +5 -10
- package/dist-es/models/models_0.js +107 -67
- package/dist-es/protocols/Aws_restJson1.js +406 -551
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,82 +1,122 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
}(__BaseException));
|
|
15
|
-
export { AccessDeniedException };
|
|
14
|
+
}
|
|
16
15
|
export var AlternateContactType;
|
|
17
16
|
(function (AlternateContactType) {
|
|
18
17
|
AlternateContactType["BILLING"] = "BILLING";
|
|
19
18
|
AlternateContactType["OPERATIONS"] = "OPERATIONS";
|
|
20
19
|
AlternateContactType["SECURITY"] = "SECURITY";
|
|
21
20
|
})(AlternateContactType || (AlternateContactType = {}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
export class InternalServerException extends __BaseException {
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "InternalServerException",
|
|
25
|
+
$fault: "server",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
this.name = "InternalServerException";
|
|
29
|
+
this.$fault = "server";
|
|
30
|
+
this.$retryable = {};
|
|
31
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
}
|
|
34
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "ResourceNotFoundException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
this.name = "ResourceNotFoundException";
|
|
42
|
+
this.$fault = "client";
|
|
43
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
}
|
|
46
|
+
export class TooManyRequestsException extends __BaseException {
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "TooManyRequestsException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
this.name = "TooManyRequestsException";
|
|
54
|
+
this.$fault = "client";
|
|
55
|
+
this.$retryable = {
|
|
54
56
|
throttling: true,
|
|
55
57
|
};
|
|
56
|
-
Object.setPrototypeOf(
|
|
57
|
-
return _this;
|
|
58
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
60
|
+
}
|
|
61
|
+
export class ValidationException extends __BaseException {
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ValidationException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
this.name = "ValidationException";
|
|
69
|
+
this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
70
71
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
export
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
72
|
+
}
|
|
73
|
+
export const DeleteAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
74
|
+
...obj,
|
|
75
|
+
});
|
|
76
|
+
export const GetAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
77
|
+
...obj,
|
|
78
|
+
});
|
|
79
|
+
export const AlternateContactFilterSensitiveLog = (obj) => ({
|
|
80
|
+
...obj,
|
|
81
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
82
|
+
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
83
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
84
|
+
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
85
|
+
});
|
|
86
|
+
export const GetAlternateContactResponseFilterSensitiveLog = (obj) => ({
|
|
87
|
+
...obj,
|
|
88
|
+
...(obj.AlternateContact && { AlternateContact: AlternateContactFilterSensitiveLog(obj.AlternateContact) }),
|
|
89
|
+
});
|
|
90
|
+
export const PutAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
91
|
+
...obj,
|
|
92
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
93
|
+
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
94
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
95
|
+
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
96
|
+
});
|
|
97
|
+
export const GetContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
98
|
+
...obj,
|
|
99
|
+
});
|
|
100
|
+
export const ContactInformationFilterSensitiveLog = (obj) => ({
|
|
101
|
+
...obj,
|
|
102
|
+
...(obj.FullName && { FullName: SENSITIVE_STRING }),
|
|
103
|
+
...(obj.AddressLine1 && { AddressLine1: SENSITIVE_STRING }),
|
|
104
|
+
...(obj.AddressLine2 && { AddressLine2: SENSITIVE_STRING }),
|
|
105
|
+
...(obj.AddressLine3 && { AddressLine3: SENSITIVE_STRING }),
|
|
106
|
+
...(obj.City && { City: SENSITIVE_STRING }),
|
|
107
|
+
...(obj.StateOrRegion && { StateOrRegion: SENSITIVE_STRING }),
|
|
108
|
+
...(obj.DistrictOrCounty && { DistrictOrCounty: SENSITIVE_STRING }),
|
|
109
|
+
...(obj.PostalCode && { PostalCode: SENSITIVE_STRING }),
|
|
110
|
+
...(obj.CountryCode && { CountryCode: SENSITIVE_STRING }),
|
|
111
|
+
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
112
|
+
...(obj.CompanyName && { CompanyName: SENSITIVE_STRING }),
|
|
113
|
+
...(obj.WebsiteUrl && { WebsiteUrl: SENSITIVE_STRING }),
|
|
114
|
+
});
|
|
115
|
+
export const GetContactInformationResponseFilterSensitiveLog = (obj) => ({
|
|
116
|
+
...obj,
|
|
117
|
+
...(obj.ContactInformation && { ContactInformation: ContactInformationFilterSensitiveLog(obj.ContactInformation) }),
|
|
118
|
+
});
|
|
119
|
+
export const PutContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
...(obj.ContactInformation && { ContactInformation: ContactInformationFilterSensitiveLog(obj.ContactInformation) }),
|
|
122
|
+
});
|