@aws-sdk/client-synthetics 3.52.0 → 3.54.1

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,36 @@
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.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-synthetics
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
26
+
27
+
28
+ ### Features
29
+
30
+ * **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))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
37
 
8
38
 
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SyntheticsServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Synthetics"), exports);
5
6
  tslib_1.__exportStar(require("./SyntheticsClient"), 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 SyntheticsServiceException_1 = require("./models/SyntheticsServiceException");
11
+ Object.defineProperty(exports, "SyntheticsServiceException", { enumerable: true, get: function () { return SyntheticsServiceException_1.SyntheticsServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SyntheticsServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class SyntheticsServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, SyntheticsServiceException.prototype);
9
+ }
10
+ }
11
+ exports.SyntheticsServiceException = SyntheticsServiceException;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopCanaryResponse = exports.StopCanaryRequest = exports.StartCanaryResponse = exports.StartCanaryRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetCanaryRunsResponse = exports.GetCanaryRunsRequest = exports.GetCanaryResponse = exports.GetCanaryRequest = exports.DescribeRuntimeVersionsResponse = exports.RuntimeVersion = exports.DescribeRuntimeVersionsRequest = exports.DescribeCanariesLastRunResponse = exports.DescribeCanariesLastRunRequest = exports.DescribeCanariesResponse = exports.DescribeCanariesRequest = exports.DeleteCanaryResponse = exports.DeleteCanaryRequest = exports.CreateCanaryResponse = exports.CreateCanaryRequest = exports.VpcConfigInput = exports.CanaryScheduleInput = exports.CanaryRunConfigInput = exports.CanaryCodeInput = exports.CanaryLastRun = exports.CanaryRun = exports.CanaryRunTimeline = exports.CanaryRunStatus = exports.CanaryRunStateReasonCode = exports.CanaryRunState = exports.Canary = exports.VpcConfigOutput = exports.VisualReferenceOutput = exports.CanaryTimeline = exports.CanaryStatus = exports.CanaryStateReasonCode = exports.CanaryState = exports.CanaryScheduleOutput = exports.CanaryRunConfigOutput = exports.CanaryCodeOutput = exports.BaseScreenshot = exports.ArtifactConfigOutput = exports.ArtifactConfigInput = exports.S3EncryptionConfig = exports.EncryptionMode = void 0;
4
- exports.UpdateCanaryResponse = exports.UpdateCanaryRequest = exports.VisualReferenceInput = void 0;
3
+ exports.StopCanaryRequest = exports.StartCanaryResponse = exports.StartCanaryRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetCanaryRunsResponse = exports.GetCanaryRunsRequest = exports.GetCanaryResponse = exports.GetCanaryRequest = exports.DescribeRuntimeVersionsResponse = exports.RuntimeVersion = exports.DescribeRuntimeVersionsRequest = exports.DescribeCanariesLastRunResponse = exports.DescribeCanariesLastRunRequest = exports.DescribeCanariesResponse = exports.DescribeCanariesRequest = exports.ResourceNotFoundException = exports.DeleteCanaryResponse = exports.DeleteCanaryRequest = exports.ValidationException = exports.RequestEntityTooLargeException = exports.InternalServerException = exports.CreateCanaryResponse = exports.CreateCanaryRequest = exports.VpcConfigInput = exports.ConflictException = exports.CanaryScheduleInput = exports.CanaryRunConfigInput = exports.CanaryCodeInput = exports.CanaryLastRun = exports.CanaryRun = exports.CanaryRunTimeline = exports.CanaryRunStatus = exports.CanaryRunStateReasonCode = exports.CanaryRunState = exports.Canary = exports.VpcConfigOutput = exports.VisualReferenceOutput = exports.CanaryTimeline = exports.CanaryStatus = exports.CanaryStateReasonCode = exports.CanaryState = exports.CanaryScheduleOutput = exports.CanaryRunConfigOutput = exports.CanaryCodeOutput = exports.BaseScreenshot = exports.ArtifactConfigOutput = exports.ArtifactConfigInput = exports.S3EncryptionConfig = exports.EncryptionMode = void 0;
4
+ exports.UpdateCanaryResponse = exports.UpdateCanaryRequest = exports.VisualReferenceInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopCanaryResponse = void 0;
5
+ const SyntheticsServiceException_1 = require("./SyntheticsServiceException");
5
6
  var EncryptionMode;
6
7
  (function (EncryptionMode) {
7
8
  EncryptionMode["SSE_KMS"] = "SSE_KMS";
@@ -148,6 +149,20 @@ var CanaryScheduleInput;
148
149
  ...obj,
149
150
  });
150
151
  })(CanaryScheduleInput = exports.CanaryScheduleInput || (exports.CanaryScheduleInput = {}));
152
+ class ConflictException extends SyntheticsServiceException_1.SyntheticsServiceException {
153
+ constructor(opts) {
154
+ super({
155
+ name: "ConflictException",
156
+ $fault: "client",
157
+ ...opts,
158
+ });
159
+ this.name = "ConflictException";
160
+ this.$fault = "client";
161
+ Object.setPrototypeOf(this, ConflictException.prototype);
162
+ this.Message = opts.Message;
163
+ }
164
+ }
165
+ exports.ConflictException = ConflictException;
151
166
  var VpcConfigInput;
152
167
  (function (VpcConfigInput) {
153
168
  VpcConfigInput.filterSensitiveLog = (obj) => ({
@@ -166,6 +181,48 @@ var CreateCanaryResponse;
166
181
  ...obj,
167
182
  });
168
183
  })(CreateCanaryResponse = exports.CreateCanaryResponse || (exports.CreateCanaryResponse = {}));
184
+ class InternalServerException extends SyntheticsServiceException_1.SyntheticsServiceException {
185
+ constructor(opts) {
186
+ super({
187
+ name: "InternalServerException",
188
+ $fault: "server",
189
+ ...opts,
190
+ });
191
+ this.name = "InternalServerException";
192
+ this.$fault = "server";
193
+ Object.setPrototypeOf(this, InternalServerException.prototype);
194
+ this.Message = opts.Message;
195
+ }
196
+ }
197
+ exports.InternalServerException = InternalServerException;
198
+ class RequestEntityTooLargeException extends SyntheticsServiceException_1.SyntheticsServiceException {
199
+ constructor(opts) {
200
+ super({
201
+ name: "RequestEntityTooLargeException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ this.name = "RequestEntityTooLargeException";
206
+ this.$fault = "client";
207
+ Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
208
+ this.Message = opts.Message;
209
+ }
210
+ }
211
+ exports.RequestEntityTooLargeException = RequestEntityTooLargeException;
212
+ class ValidationException extends SyntheticsServiceException_1.SyntheticsServiceException {
213
+ constructor(opts) {
214
+ super({
215
+ name: "ValidationException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ this.name = "ValidationException";
220
+ this.$fault = "client";
221
+ Object.setPrototypeOf(this, ValidationException.prototype);
222
+ this.Message = opts.Message;
223
+ }
224
+ }
225
+ exports.ValidationException = ValidationException;
169
226
  var DeleteCanaryRequest;
170
227
  (function (DeleteCanaryRequest) {
171
228
  DeleteCanaryRequest.filterSensitiveLog = (obj) => ({
@@ -178,6 +235,20 @@ var DeleteCanaryResponse;
178
235
  ...obj,
179
236
  });
180
237
  })(DeleteCanaryResponse = exports.DeleteCanaryResponse || (exports.DeleteCanaryResponse = {}));
238
+ class ResourceNotFoundException extends SyntheticsServiceException_1.SyntheticsServiceException {
239
+ constructor(opts) {
240
+ super({
241
+ name: "ResourceNotFoundException",
242
+ $fault: "client",
243
+ ...opts,
244
+ });
245
+ this.name = "ResourceNotFoundException";
246
+ this.$fault = "client";
247
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
248
+ this.Message = opts.Message;
249
+ }
250
+ }
251
+ exports.ResourceNotFoundException = ResourceNotFoundException;
181
252
  var DescribeCanariesRequest;
182
253
  (function (DescribeCanariesRequest) {
183
254
  DescribeCanariesRequest.filterSensitiveLog = (obj) => ({