@aws-sdk/client-appconfig 3.51.0 → 3.54.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 CHANGED
@@ -3,6 +3,33 @@
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.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-appconfig
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **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))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-appconfig
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **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.ListEnvironmentsRequest = exports.Environments = exports.ListDeploymentStrategiesRequest = exports.DeploymentStrategies = exports.ListDeploymentsRequest = exports.Deployments = 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.BytesMeasure = exports.HostedConfigurationVersion = exports.CreateHostedConfigurationVersionRequest = exports.Environment = exports.EnvironmentState = exports.CreateEnvironmentRequest = exports.Monitor = exports.DeploymentStrategy = exports.CreateDeploymentStrategyRequest = exports.ReplicateTo = exports.GrowthType = exports.CreateConfigurationProfileRequest = exports.ConfigurationProfile = exports.Validator = exports.ValidatorType = exports.CreateApplicationRequest = 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 = 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) => ({