@aws-sdk/client-appconfig 3.52.0 → 3.53.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/index.js +3 -0
- package/dist-cjs/models/AppConfigServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +93 -2
- package/dist-cjs/protocols/Aws_restJson1.js +293 -995
- package/dist-es/index.js +1 -0
- package/dist-es/models/AppConfigServiceException.js +12 -0
- package/dist-es/models/models_0.js +86 -1
- package/dist-es/protocols/Aws_restJson1.js +647 -1134
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AppConfigServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AppConfigServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -19
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-appconfig
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppConfigServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./AppConfig"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./AppConfigClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var AppConfigServiceException_1 = require("./models/AppConfigServiceException");
|
|
11
|
+
Object.defineProperty(exports, "AppConfigServiceException", { enumerable: true, get: function () { return AppConfigServiceException_1.AppConfigServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppConfigServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class AppConfigServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, AppConfigServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.AppConfigServiceException = AppConfigServiceException;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ValidateConfigurationRequest = exports.UpdateEnvironmentRequest = exports.UpdateDeploymentStrategyRequest = exports.UpdateConfigurationProfileRequest = exports.UpdateApplicationRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopDeploymentRequest = exports.StartDeploymentRequest = exports.ResourceTags = exports.ListTagsForResourceRequest = exports.ListHostedConfigurationVersionsRequest = exports.HostedConfigurationVersions = exports.HostedConfigurationVersionSummary = void 0;
|
|
3
|
+
exports.DeploymentSummary = exports.ListConfigurationProfilesRequest = exports.ConfigurationProfiles = exports.ConfigurationProfileSummary = exports.ListApplicationsRequest = exports.Applications = exports.GetHostedConfigurationVersionRequest = exports.GetEnvironmentRequest = exports.GetDeploymentStrategyRequest = exports.GetDeploymentRequest = exports.Deployment = exports.DeploymentState = exports.DeploymentEvent = exports.TriggeredBy = exports.DeploymentEventType = exports.GetConfigurationProfileRequest = exports.GetConfigurationRequest = exports.Configuration = exports.GetApplicationRequest = exports.DeleteHostedConfigurationVersionRequest = exports.DeleteEnvironmentRequest = exports.DeleteDeploymentStrategyRequest = exports.DeleteConfigurationProfileRequest = exports.DeleteApplicationRequest = exports.ServiceQuotaExceededException = exports.PayloadTooLargeException = exports.BytesMeasure = exports.HostedConfigurationVersion = exports.CreateHostedConfigurationVersionRequest = exports.ConflictException = exports.Environment = exports.EnvironmentState = exports.CreateEnvironmentRequest = exports.Monitor = exports.DeploymentStrategy = exports.CreateDeploymentStrategyRequest = exports.ReplicateTo = exports.GrowthType = exports.ResourceNotFoundException = exports.CreateConfigurationProfileRequest = exports.ConfigurationProfile = exports.Validator = exports.ValidatorType = exports.InternalServerException = exports.CreateApplicationRequest = exports.BadRequestException = exports.BadRequestReason = exports.BadRequestDetails = exports.InvalidConfigurationDetail = exports.Application = void 0;
|
|
4
|
+
exports.ValidateConfigurationRequest = exports.UpdateEnvironmentRequest = exports.UpdateDeploymentStrategyRequest = exports.UpdateConfigurationProfileRequest = exports.UpdateApplicationRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopDeploymentRequest = exports.StartDeploymentRequest = exports.ResourceTags = exports.ListTagsForResourceRequest = exports.ListHostedConfigurationVersionsRequest = exports.HostedConfigurationVersions = exports.HostedConfigurationVersionSummary = exports.ListEnvironmentsRequest = exports.Environments = exports.ListDeploymentStrategiesRequest = exports.DeploymentStrategies = exports.ListDeploymentsRequest = exports.Deployments = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const AppConfigServiceException_1 = require("./AppConfigServiceException");
|
|
6
7
|
var Application;
|
|
7
8
|
(function (Application) {
|
|
8
9
|
Application.filterSensitiveLog = (obj) => ({
|
|
@@ -35,12 +36,42 @@ var BadRequestReason;
|
|
|
35
36
|
(function (BadRequestReason) {
|
|
36
37
|
BadRequestReason["INVALID_CONFIGURATION"] = "InvalidConfiguration";
|
|
37
38
|
})(BadRequestReason = exports.BadRequestReason || (exports.BadRequestReason = {}));
|
|
39
|
+
class BadRequestException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "BadRequestException",
|
|
43
|
+
$fault: "client",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
this.name = "BadRequestException";
|
|
47
|
+
this.$fault = "client";
|
|
48
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
49
|
+
this.Message = opts.Message;
|
|
50
|
+
this.Reason = opts.Reason;
|
|
51
|
+
this.Details = opts.Details;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.BadRequestException = BadRequestException;
|
|
38
55
|
var CreateApplicationRequest;
|
|
39
56
|
(function (CreateApplicationRequest) {
|
|
40
57
|
CreateApplicationRequest.filterSensitiveLog = (obj) => ({
|
|
41
58
|
...obj,
|
|
42
59
|
});
|
|
43
60
|
})(CreateApplicationRequest = exports.CreateApplicationRequest || (exports.CreateApplicationRequest = {}));
|
|
61
|
+
class InternalServerException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InternalServerException",
|
|
65
|
+
$fault: "server",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
this.name = "InternalServerException";
|
|
69
|
+
this.$fault = "server";
|
|
70
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
71
|
+
this.Message = opts.Message;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.InternalServerException = InternalServerException;
|
|
44
75
|
var ValidatorType;
|
|
45
76
|
(function (ValidatorType) {
|
|
46
77
|
ValidatorType["JSON_SCHEMA"] = "JSON_SCHEMA";
|
|
@@ -67,6 +98,21 @@ var CreateConfigurationProfileRequest;
|
|
|
67
98
|
...(obj.Validators && { Validators: obj.Validators.map((item) => Validator.filterSensitiveLog(item)) }),
|
|
68
99
|
});
|
|
69
100
|
})(CreateConfigurationProfileRequest = exports.CreateConfigurationProfileRequest || (exports.CreateConfigurationProfileRequest = {}));
|
|
101
|
+
class ResourceNotFoundException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
102
|
+
constructor(opts) {
|
|
103
|
+
super({
|
|
104
|
+
name: "ResourceNotFoundException",
|
|
105
|
+
$fault: "client",
|
|
106
|
+
...opts,
|
|
107
|
+
});
|
|
108
|
+
this.name = "ResourceNotFoundException";
|
|
109
|
+
this.$fault = "client";
|
|
110
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
this.ResourceName = opts.ResourceName;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
70
116
|
var GrowthType;
|
|
71
117
|
(function (GrowthType) {
|
|
72
118
|
GrowthType["EXPONENTIAL"] = "EXPONENTIAL";
|
|
@@ -114,6 +160,20 @@ var Environment;
|
|
|
114
160
|
...obj,
|
|
115
161
|
});
|
|
116
162
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
163
|
+
class ConflictException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super({
|
|
166
|
+
name: "ConflictException",
|
|
167
|
+
$fault: "client",
|
|
168
|
+
...opts,
|
|
169
|
+
});
|
|
170
|
+
this.name = "ConflictException";
|
|
171
|
+
this.$fault = "client";
|
|
172
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
173
|
+
this.Message = opts.Message;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
exports.ConflictException = ConflictException;
|
|
117
177
|
var CreateHostedConfigurationVersionRequest;
|
|
118
178
|
(function (CreateHostedConfigurationVersionRequest) {
|
|
119
179
|
CreateHostedConfigurationVersionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -132,6 +192,37 @@ var BytesMeasure;
|
|
|
132
192
|
(function (BytesMeasure) {
|
|
133
193
|
BytesMeasure["KILOBYTES"] = "KILOBYTES";
|
|
134
194
|
})(BytesMeasure = exports.BytesMeasure || (exports.BytesMeasure = {}));
|
|
195
|
+
class PayloadTooLargeException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "PayloadTooLargeException",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
this.name = "PayloadTooLargeException";
|
|
203
|
+
this.$fault = "client";
|
|
204
|
+
Object.setPrototypeOf(this, PayloadTooLargeException.prototype);
|
|
205
|
+
this.Message = opts.Message;
|
|
206
|
+
this.Measure = opts.Measure;
|
|
207
|
+
this.Limit = opts.Limit;
|
|
208
|
+
this.Size = opts.Size;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
exports.PayloadTooLargeException = PayloadTooLargeException;
|
|
212
|
+
class ServiceQuotaExceededException extends AppConfigServiceException_1.AppConfigServiceException {
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "ServiceQuotaExceededException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
this.name = "ServiceQuotaExceededException";
|
|
220
|
+
this.$fault = "client";
|
|
221
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
222
|
+
this.Message = opts.Message;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
135
226
|
var DeleteApplicationRequest;
|
|
136
227
|
(function (DeleteApplicationRequest) {
|
|
137
228
|
DeleteApplicationRequest.filterSensitiveLog = (obj) => ({
|