@aws-sdk/client-account 3.490.0 → 3.496.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Account.js +1 -29
- package/dist-cjs/AccountClient.js +1 -43
- package/dist-cjs/commands/DeleteAlternateContactCommand.js +1 -28
- package/dist-cjs/commands/DisableRegionCommand.js +1 -28
- package/dist-cjs/commands/EnableRegionCommand.js +1 -28
- package/dist-cjs/commands/GetAlternateContactCommand.js +1 -29
- package/dist-cjs/commands/GetContactInformationCommand.js +1 -29
- package/dist-cjs/commands/GetRegionOptStatusCommand.js +1 -28
- package/dist-cjs/commands/ListRegionsCommand.js +1 -28
- package/dist-cjs/commands/PutAlternateContactCommand.js +1 -29
- package/dist-cjs/commands/PutContactInformationCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -12
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1201 -11
- package/dist-cjs/models/AccountServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -157
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListRegionsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -5
- package/dist-cjs/protocols/Aws_restJson1.js +1 -664
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccountServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class AccountServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, AccountServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.AccountServiceException = AccountServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,157 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutContactInformationRequestFilterSensitiveLog = exports.GetContactInformationResponseFilterSensitiveLog = exports.ContactInformationFilterSensitiveLog = exports.PutAlternateContactRequestFilterSensitiveLog = exports.GetAlternateContactResponseFilterSensitiveLog = exports.AlternateContactFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.RegionOptStatus = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AlternateContactType = exports.AccessDeniedException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const AccountServiceException_1 = require("./AccountServiceException");
|
|
6
|
-
class AccessDeniedException extends AccountServiceException_1.AccountServiceException {
|
|
7
|
-
constructor(opts) {
|
|
8
|
-
super({
|
|
9
|
-
name: "AccessDeniedException",
|
|
10
|
-
$fault: "client",
|
|
11
|
-
...opts,
|
|
12
|
-
});
|
|
13
|
-
this.name = "AccessDeniedException";
|
|
14
|
-
this.$fault = "client";
|
|
15
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
exports.AlternateContactType = {
|
|
20
|
-
BILLING: "BILLING",
|
|
21
|
-
OPERATIONS: "OPERATIONS",
|
|
22
|
-
SECURITY: "SECURITY",
|
|
23
|
-
};
|
|
24
|
-
class InternalServerException extends AccountServiceException_1.AccountServiceException {
|
|
25
|
-
constructor(opts) {
|
|
26
|
-
super({
|
|
27
|
-
name: "InternalServerException",
|
|
28
|
-
$fault: "server",
|
|
29
|
-
...opts,
|
|
30
|
-
});
|
|
31
|
-
this.name = "InternalServerException";
|
|
32
|
-
this.$fault = "server";
|
|
33
|
-
this.$retryable = {};
|
|
34
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.InternalServerException = InternalServerException;
|
|
38
|
-
class ResourceNotFoundException extends AccountServiceException_1.AccountServiceException {
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "ResourceNotFoundException",
|
|
42
|
-
$fault: "client",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
this.name = "ResourceNotFoundException";
|
|
46
|
-
this.$fault = "client";
|
|
47
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
51
|
-
class TooManyRequestsException extends AccountServiceException_1.AccountServiceException {
|
|
52
|
-
constructor(opts) {
|
|
53
|
-
super({
|
|
54
|
-
name: "TooManyRequestsException",
|
|
55
|
-
$fault: "client",
|
|
56
|
-
...opts,
|
|
57
|
-
});
|
|
58
|
-
this.name = "TooManyRequestsException";
|
|
59
|
-
this.$fault = "client";
|
|
60
|
-
this.$retryable = {
|
|
61
|
-
throttling: true,
|
|
62
|
-
};
|
|
63
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
67
|
-
exports.ValidationExceptionReason = {
|
|
68
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
69
|
-
INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget",
|
|
70
|
-
};
|
|
71
|
-
class ValidationException extends AccountServiceException_1.AccountServiceException {
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ValidationException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
this.name = "ValidationException";
|
|
79
|
-
this.$fault = "client";
|
|
80
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
|
-
this.reason = opts.reason;
|
|
82
|
-
this.fieldList = opts.fieldList;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
exports.ValidationException = ValidationException;
|
|
86
|
-
class ConflictException extends AccountServiceException_1.AccountServiceException {
|
|
87
|
-
constructor(opts) {
|
|
88
|
-
super({
|
|
89
|
-
name: "ConflictException",
|
|
90
|
-
$fault: "client",
|
|
91
|
-
...opts,
|
|
92
|
-
});
|
|
93
|
-
this.name = "ConflictException";
|
|
94
|
-
this.$fault = "client";
|
|
95
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
exports.ConflictException = ConflictException;
|
|
99
|
-
exports.RegionOptStatus = {
|
|
100
|
-
DISABLED: "DISABLED",
|
|
101
|
-
DISABLING: "DISABLING",
|
|
102
|
-
ENABLED: "ENABLED",
|
|
103
|
-
ENABLED_BY_DEFAULT: "ENABLED_BY_DEFAULT",
|
|
104
|
-
ENABLING: "ENABLING",
|
|
105
|
-
};
|
|
106
|
-
const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
107
|
-
...obj,
|
|
108
|
-
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
109
|
-
});
|
|
110
|
-
exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
|
|
111
|
-
const AlternateContactFilterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
114
|
-
...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
|
|
115
|
-
...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
116
|
-
...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
|
|
117
|
-
});
|
|
118
|
-
exports.AlternateContactFilterSensitiveLog = AlternateContactFilterSensitiveLog;
|
|
119
|
-
const GetAlternateContactResponseFilterSensitiveLog = (obj) => ({
|
|
120
|
-
...obj,
|
|
121
|
-
...(obj.AlternateContact && { AlternateContact: (0, exports.AlternateContactFilterSensitiveLog)(obj.AlternateContact) }),
|
|
122
|
-
});
|
|
123
|
-
exports.GetAlternateContactResponseFilterSensitiveLog = GetAlternateContactResponseFilterSensitiveLog;
|
|
124
|
-
const PutAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
125
|
-
...obj,
|
|
126
|
-
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
127
|
-
...(obj.Title && { Title: smithy_client_1.SENSITIVE_STRING }),
|
|
128
|
-
...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
129
|
-
...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
|
|
130
|
-
});
|
|
131
|
-
exports.PutAlternateContactRequestFilterSensitiveLog = PutAlternateContactRequestFilterSensitiveLog;
|
|
132
|
-
const ContactInformationFilterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
...(obj.FullName && { FullName: smithy_client_1.SENSITIVE_STRING }),
|
|
135
|
-
...(obj.AddressLine1 && { AddressLine1: smithy_client_1.SENSITIVE_STRING }),
|
|
136
|
-
...(obj.AddressLine2 && { AddressLine2: smithy_client_1.SENSITIVE_STRING }),
|
|
137
|
-
...(obj.AddressLine3 && { AddressLine3: smithy_client_1.SENSITIVE_STRING }),
|
|
138
|
-
...(obj.City && { City: smithy_client_1.SENSITIVE_STRING }),
|
|
139
|
-
...(obj.StateOrRegion && { StateOrRegion: smithy_client_1.SENSITIVE_STRING }),
|
|
140
|
-
...(obj.DistrictOrCounty && { DistrictOrCounty: smithy_client_1.SENSITIVE_STRING }),
|
|
141
|
-
...(obj.PostalCode && { PostalCode: smithy_client_1.SENSITIVE_STRING }),
|
|
142
|
-
...(obj.CountryCode && { CountryCode: smithy_client_1.SENSITIVE_STRING }),
|
|
143
|
-
...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
|
|
144
|
-
...(obj.CompanyName && { CompanyName: smithy_client_1.SENSITIVE_STRING }),
|
|
145
|
-
...(obj.WebsiteUrl && { WebsiteUrl: smithy_client_1.SENSITIVE_STRING }),
|
|
146
|
-
});
|
|
147
|
-
exports.ContactInformationFilterSensitiveLog = ContactInformationFilterSensitiveLog;
|
|
148
|
-
const GetContactInformationResponseFilterSensitiveLog = (obj) => ({
|
|
149
|
-
...obj,
|
|
150
|
-
...(obj.ContactInformation && { ContactInformation: (0, exports.ContactInformationFilterSensitiveLog)(obj.ContactInformation) }),
|
|
151
|
-
});
|
|
152
|
-
exports.GetContactInformationResponseFilterSensitiveLog = GetContactInformationResponseFilterSensitiveLog;
|
|
153
|
-
const PutContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
154
|
-
...obj,
|
|
155
|
-
...(obj.ContactInformation && { ContactInformation: (0, exports.ContactInformationFilterSensitiveLog)(obj.ContactInformation) }),
|
|
156
|
-
});
|
|
157
|
-
exports.PutContactInformationRequestFilterSensitiveLog = PutContactInformationRequestFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRegions = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccountClient_1 = require("../AccountClient");
|
|
6
|
-
const ListRegionsCommand_1 = require("../commands/ListRegionsCommand");
|
|
7
|
-
exports.paginateListRegions = (0, core_1.createPaginator)(AccountClient_1.AccountClient, ListRegionsCommand_1.ListRegionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListRegionsPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|