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