@aws-sdk/client-synthetics 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 +33 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SyntheticsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +73 -2
- package/dist-cjs/protocols/Aws_restJson1.js +173 -393
- package/dist-es/index.js +1 -0
- package/dist-es/models/SyntheticsServiceException.js +12 -0
- package/dist-es/models/models_0.js +67 -1
- package/dist-es/protocols/Aws_restJson1.js +321 -463
- package/dist-types/Synthetics.d.ts +17 -4
- package/dist-types/SyntheticsClient.d.ts +2 -2
- package/dist-types/commands/DescribeCanariesCommand.d.ts +8 -4
- package/dist-types/commands/DescribeCanariesLastRunCommand.d.ts +9 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SyntheticsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +82 -16
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/SyntheticsClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SyntheticsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
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
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **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))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @aws-sdk/client-synthetics
|
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.
|
|
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) => ({
|