@aws-sdk/client-synthetics 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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./SyntheticsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SyntheticsServiceException } from "./models/SyntheticsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var SyntheticsServiceException = (function (_super) {
4
+ __extends(SyntheticsServiceException, _super);
5
+ function SyntheticsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SyntheticsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return SyntheticsServiceException;
11
+ }(__ServiceException));
12
+ export { SyntheticsServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
2
3
  export var EncryptionMode;
3
4
  (function (EncryptionMode) {
4
5
  EncryptionMode["SSE_KMS"] = "SSE_KMS";
@@ -107,6 +108,19 @@ export var CanaryScheduleInput;
107
108
  (function (CanaryScheduleInput) {
108
109
  CanaryScheduleInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
110
  })(CanaryScheduleInput || (CanaryScheduleInput = {}));
111
+ var ConflictException = (function (_super) {
112
+ __extends(ConflictException, _super);
113
+ function ConflictException(opts) {
114
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
115
+ _this.name = "ConflictException";
116
+ _this.$fault = "client";
117
+ Object.setPrototypeOf(_this, ConflictException.prototype);
118
+ _this.Message = opts.Message;
119
+ return _this;
120
+ }
121
+ return ConflictException;
122
+ }(__BaseException));
123
+ export { ConflictException };
110
124
  export var VpcConfigInput;
111
125
  (function (VpcConfigInput) {
112
126
  VpcConfigInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -119,6 +133,45 @@ export var CreateCanaryResponse;
119
133
  (function (CreateCanaryResponse) {
120
134
  CreateCanaryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
135
  })(CreateCanaryResponse || (CreateCanaryResponse = {}));
136
+ var InternalServerException = (function (_super) {
137
+ __extends(InternalServerException, _super);
138
+ function InternalServerException(opts) {
139
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
140
+ _this.name = "InternalServerException";
141
+ _this.$fault = "server";
142
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
143
+ _this.Message = opts.Message;
144
+ return _this;
145
+ }
146
+ return InternalServerException;
147
+ }(__BaseException));
148
+ export { InternalServerException };
149
+ var RequestEntityTooLargeException = (function (_super) {
150
+ __extends(RequestEntityTooLargeException, _super);
151
+ function RequestEntityTooLargeException(opts) {
152
+ var _this = _super.call(this, __assign({ name: "RequestEntityTooLargeException", $fault: "client" }, opts)) || this;
153
+ _this.name = "RequestEntityTooLargeException";
154
+ _this.$fault = "client";
155
+ Object.setPrototypeOf(_this, RequestEntityTooLargeException.prototype);
156
+ _this.Message = opts.Message;
157
+ return _this;
158
+ }
159
+ return RequestEntityTooLargeException;
160
+ }(__BaseException));
161
+ export { RequestEntityTooLargeException };
162
+ var ValidationException = (function (_super) {
163
+ __extends(ValidationException, _super);
164
+ function ValidationException(opts) {
165
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
166
+ _this.name = "ValidationException";
167
+ _this.$fault = "client";
168
+ Object.setPrototypeOf(_this, ValidationException.prototype);
169
+ _this.Message = opts.Message;
170
+ return _this;
171
+ }
172
+ return ValidationException;
173
+ }(__BaseException));
174
+ export { ValidationException };
122
175
  export var DeleteCanaryRequest;
123
176
  (function (DeleteCanaryRequest) {
124
177
  DeleteCanaryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -127,6 +180,19 @@ export var DeleteCanaryResponse;
127
180
  (function (DeleteCanaryResponse) {
128
181
  DeleteCanaryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
182
  })(DeleteCanaryResponse || (DeleteCanaryResponse = {}));
183
+ var ResourceNotFoundException = (function (_super) {
184
+ __extends(ResourceNotFoundException, _super);
185
+ function ResourceNotFoundException(opts) {
186
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
187
+ _this.name = "ResourceNotFoundException";
188
+ _this.$fault = "client";
189
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
190
+ _this.Message = opts.Message;
191
+ return _this;
192
+ }
193
+ return ResourceNotFoundException;
194
+ }(__BaseException));
195
+ export { ResourceNotFoundException };
130
196
  export var DescribeCanariesRequest;
131
197
  (function (DescribeCanariesRequest) {
132
198
  DescribeCanariesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };