@aws-sdk/client-cloudcontrol 3.186.0 → 3.188.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.
@@ -1,19 +1,18 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
2
  import { CloudControlServiceException as __BaseException } from "./CloudControlServiceException";
4
- var AlreadyExistsException = (function (_super) {
5
- __extends(AlreadyExistsException, _super);
6
- function AlreadyExistsException(opts) {
7
- var _this = _super.call(this, __assign({ name: "AlreadyExistsException", $fault: "client" }, opts)) || this;
8
- _this.name = "AlreadyExistsException";
9
- _this.$fault = "client";
10
- Object.setPrototypeOf(_this, AlreadyExistsException.prototype);
11
- _this.Message = opts.Message;
12
- return _this;
3
+ export class AlreadyExistsException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "AlreadyExistsException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "AlreadyExistsException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
13
+ this.Message = opts.Message;
13
14
  }
14
- return AlreadyExistsException;
15
- }(__BaseException));
16
- export { AlreadyExistsException };
15
+ }
17
16
  export var HandlerErrorCode;
18
17
  (function (HandlerErrorCode) {
19
18
  HandlerErrorCode["ACCESS_DENIED"] = "AccessDenied";
@@ -47,290 +46,339 @@ export var OperationStatus;
47
46
  OperationStatus["PENDING"] = "PENDING";
48
47
  OperationStatus["SUCCESS"] = "SUCCESS";
49
48
  })(OperationStatus || (OperationStatus = {}));
50
- var ConcurrentModificationException = (function (_super) {
51
- __extends(ConcurrentModificationException, _super);
52
- function ConcurrentModificationException(opts) {
53
- var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "server" }, opts)) || this;
54
- _this.name = "ConcurrentModificationException";
55
- _this.$fault = "server";
56
- Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
57
- _this.Message = opts.Message;
58
- return _this;
49
+ export class ConcurrentModificationException extends __BaseException {
50
+ constructor(opts) {
51
+ super({
52
+ name: "ConcurrentModificationException",
53
+ $fault: "server",
54
+ ...opts,
55
+ });
56
+ this.name = "ConcurrentModificationException";
57
+ this.$fault = "server";
58
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
59
+ this.Message = opts.Message;
59
60
  }
60
- return ConcurrentModificationException;
61
- }(__BaseException));
62
- export { ConcurrentModificationException };
63
- var RequestTokenNotFoundException = (function (_super) {
64
- __extends(RequestTokenNotFoundException, _super);
65
- function RequestTokenNotFoundException(opts) {
66
- var _this = _super.call(this, __assign({ name: "RequestTokenNotFoundException", $fault: "client" }, opts)) || this;
67
- _this.name = "RequestTokenNotFoundException";
68
- _this.$fault = "client";
69
- Object.setPrototypeOf(_this, RequestTokenNotFoundException.prototype);
70
- _this.Message = opts.Message;
71
- return _this;
61
+ }
62
+ export class RequestTokenNotFoundException extends __BaseException {
63
+ constructor(opts) {
64
+ super({
65
+ name: "RequestTokenNotFoundException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ this.name = "RequestTokenNotFoundException";
70
+ this.$fault = "client";
71
+ Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
72
+ this.Message = opts.Message;
72
73
  }
73
- return RequestTokenNotFoundException;
74
- }(__BaseException));
75
- export { RequestTokenNotFoundException };
76
- var ClientTokenConflictException = (function (_super) {
77
- __extends(ClientTokenConflictException, _super);
78
- function ClientTokenConflictException(opts) {
79
- var _this = _super.call(this, __assign({ name: "ClientTokenConflictException", $fault: "client" }, opts)) || this;
80
- _this.name = "ClientTokenConflictException";
81
- _this.$fault = "client";
82
- Object.setPrototypeOf(_this, ClientTokenConflictException.prototype);
83
- _this.Message = opts.Message;
84
- return _this;
74
+ }
75
+ export class ClientTokenConflictException extends __BaseException {
76
+ constructor(opts) {
77
+ super({
78
+ name: "ClientTokenConflictException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ this.name = "ClientTokenConflictException";
83
+ this.$fault = "client";
84
+ Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
85
+ this.Message = opts.Message;
85
86
  }
86
- return ClientTokenConflictException;
87
- }(__BaseException));
88
- export { ClientTokenConflictException };
89
- var ConcurrentOperationException = (function (_super) {
90
- __extends(ConcurrentOperationException, _super);
91
- function ConcurrentOperationException(opts) {
92
- var _this = _super.call(this, __assign({ name: "ConcurrentOperationException", $fault: "client" }, opts)) || this;
93
- _this.name = "ConcurrentOperationException";
94
- _this.$fault = "client";
95
- Object.setPrototypeOf(_this, ConcurrentOperationException.prototype);
96
- _this.Message = opts.Message;
97
- return _this;
87
+ }
88
+ export class ConcurrentOperationException extends __BaseException {
89
+ constructor(opts) {
90
+ super({
91
+ name: "ConcurrentOperationException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ this.name = "ConcurrentOperationException";
96
+ this.$fault = "client";
97
+ Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
98
+ this.Message = opts.Message;
98
99
  }
99
- return ConcurrentOperationException;
100
- }(__BaseException));
101
- export { ConcurrentOperationException };
102
- var GeneralServiceException = (function (_super) {
103
- __extends(GeneralServiceException, _super);
104
- function GeneralServiceException(opts) {
105
- var _this = _super.call(this, __assign({ name: "GeneralServiceException", $fault: "client" }, opts)) || this;
106
- _this.name = "GeneralServiceException";
107
- _this.$fault = "client";
108
- Object.setPrototypeOf(_this, GeneralServiceException.prototype);
109
- _this.Message = opts.Message;
110
- return _this;
100
+ }
101
+ export class GeneralServiceException extends __BaseException {
102
+ constructor(opts) {
103
+ super({
104
+ name: "GeneralServiceException",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ this.name = "GeneralServiceException";
109
+ this.$fault = "client";
110
+ Object.setPrototypeOf(this, GeneralServiceException.prototype);
111
+ this.Message = opts.Message;
111
112
  }
112
- return GeneralServiceException;
113
- }(__BaseException));
114
- export { GeneralServiceException };
115
- var HandlerFailureException = (function (_super) {
116
- __extends(HandlerFailureException, _super);
117
- function HandlerFailureException(opts) {
118
- var _this = _super.call(this, __assign({ name: "HandlerFailureException", $fault: "server" }, opts)) || this;
119
- _this.name = "HandlerFailureException";
120
- _this.$fault = "server";
121
- Object.setPrototypeOf(_this, HandlerFailureException.prototype);
122
- _this.Message = opts.Message;
123
- return _this;
113
+ }
114
+ export class HandlerFailureException extends __BaseException {
115
+ constructor(opts) {
116
+ super({
117
+ name: "HandlerFailureException",
118
+ $fault: "server",
119
+ ...opts,
120
+ });
121
+ this.name = "HandlerFailureException";
122
+ this.$fault = "server";
123
+ Object.setPrototypeOf(this, HandlerFailureException.prototype);
124
+ this.Message = opts.Message;
124
125
  }
125
- return HandlerFailureException;
126
- }(__BaseException));
127
- export { HandlerFailureException };
128
- var HandlerInternalFailureException = (function (_super) {
129
- __extends(HandlerInternalFailureException, _super);
130
- function HandlerInternalFailureException(opts) {
131
- var _this = _super.call(this, __assign({ name: "HandlerInternalFailureException", $fault: "server" }, opts)) || this;
132
- _this.name = "HandlerInternalFailureException";
133
- _this.$fault = "server";
134
- Object.setPrototypeOf(_this, HandlerInternalFailureException.prototype);
135
- _this.Message = opts.Message;
136
- return _this;
126
+ }
127
+ export class HandlerInternalFailureException extends __BaseException {
128
+ constructor(opts) {
129
+ super({
130
+ name: "HandlerInternalFailureException",
131
+ $fault: "server",
132
+ ...opts,
133
+ });
134
+ this.name = "HandlerInternalFailureException";
135
+ this.$fault = "server";
136
+ Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
137
+ this.Message = opts.Message;
137
138
  }
138
- return HandlerInternalFailureException;
139
- }(__BaseException));
140
- export { HandlerInternalFailureException };
141
- var InvalidCredentialsException = (function (_super) {
142
- __extends(InvalidCredentialsException, _super);
143
- function InvalidCredentialsException(opts) {
144
- var _this = _super.call(this, __assign({ name: "InvalidCredentialsException", $fault: "client" }, opts)) || this;
145
- _this.name = "InvalidCredentialsException";
146
- _this.$fault = "client";
147
- Object.setPrototypeOf(_this, InvalidCredentialsException.prototype);
148
- _this.Message = opts.Message;
149
- return _this;
139
+ }
140
+ export class InvalidCredentialsException extends __BaseException {
141
+ constructor(opts) {
142
+ super({
143
+ name: "InvalidCredentialsException",
144
+ $fault: "client",
145
+ ...opts,
146
+ });
147
+ this.name = "InvalidCredentialsException";
148
+ this.$fault = "client";
149
+ Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
150
+ this.Message = opts.Message;
150
151
  }
151
- return InvalidCredentialsException;
152
- }(__BaseException));
153
- export { InvalidCredentialsException };
154
- var InvalidRequestException = (function (_super) {
155
- __extends(InvalidRequestException, _super);
156
- function InvalidRequestException(opts) {
157
- var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
158
- _this.name = "InvalidRequestException";
159
- _this.$fault = "client";
160
- Object.setPrototypeOf(_this, InvalidRequestException.prototype);
161
- _this.Message = opts.Message;
162
- return _this;
152
+ }
153
+ export class InvalidRequestException extends __BaseException {
154
+ constructor(opts) {
155
+ super({
156
+ name: "InvalidRequestException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ this.name = "InvalidRequestException";
161
+ this.$fault = "client";
162
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
163
+ this.Message = opts.Message;
163
164
  }
164
- return InvalidRequestException;
165
- }(__BaseException));
166
- export { InvalidRequestException };
167
- var NetworkFailureException = (function (_super) {
168
- __extends(NetworkFailureException, _super);
169
- function NetworkFailureException(opts) {
170
- var _this = _super.call(this, __assign({ name: "NetworkFailureException", $fault: "server" }, opts)) || this;
171
- _this.name = "NetworkFailureException";
172
- _this.$fault = "server";
173
- Object.setPrototypeOf(_this, NetworkFailureException.prototype);
174
- _this.Message = opts.Message;
175
- return _this;
165
+ }
166
+ export class NetworkFailureException extends __BaseException {
167
+ constructor(opts) {
168
+ super({
169
+ name: "NetworkFailureException",
170
+ $fault: "server",
171
+ ...opts,
172
+ });
173
+ this.name = "NetworkFailureException";
174
+ this.$fault = "server";
175
+ Object.setPrototypeOf(this, NetworkFailureException.prototype);
176
+ this.Message = opts.Message;
176
177
  }
177
- return NetworkFailureException;
178
- }(__BaseException));
179
- export { NetworkFailureException };
180
- var NotStabilizedException = (function (_super) {
181
- __extends(NotStabilizedException, _super);
182
- function NotStabilizedException(opts) {
183
- var _this = _super.call(this, __assign({ name: "NotStabilizedException", $fault: "client" }, opts)) || this;
184
- _this.name = "NotStabilizedException";
185
- _this.$fault = "client";
186
- Object.setPrototypeOf(_this, NotStabilizedException.prototype);
187
- _this.Message = opts.Message;
188
- return _this;
178
+ }
179
+ export class NotStabilizedException extends __BaseException {
180
+ constructor(opts) {
181
+ super({
182
+ name: "NotStabilizedException",
183
+ $fault: "client",
184
+ ...opts,
185
+ });
186
+ this.name = "NotStabilizedException";
187
+ this.$fault = "client";
188
+ Object.setPrototypeOf(this, NotStabilizedException.prototype);
189
+ this.Message = opts.Message;
189
190
  }
190
- return NotStabilizedException;
191
- }(__BaseException));
192
- export { NotStabilizedException };
193
- var NotUpdatableException = (function (_super) {
194
- __extends(NotUpdatableException, _super);
195
- function NotUpdatableException(opts) {
196
- var _this = _super.call(this, __assign({ name: "NotUpdatableException", $fault: "client" }, opts)) || this;
197
- _this.name = "NotUpdatableException";
198
- _this.$fault = "client";
199
- Object.setPrototypeOf(_this, NotUpdatableException.prototype);
200
- _this.Message = opts.Message;
201
- return _this;
191
+ }
192
+ export class NotUpdatableException extends __BaseException {
193
+ constructor(opts) {
194
+ super({
195
+ name: "NotUpdatableException",
196
+ $fault: "client",
197
+ ...opts,
198
+ });
199
+ this.name = "NotUpdatableException";
200
+ this.$fault = "client";
201
+ Object.setPrototypeOf(this, NotUpdatableException.prototype);
202
+ this.Message = opts.Message;
202
203
  }
203
- return NotUpdatableException;
204
- }(__BaseException));
205
- export { NotUpdatableException };
206
- var PrivateTypeException = (function (_super) {
207
- __extends(PrivateTypeException, _super);
208
- function PrivateTypeException(opts) {
209
- var _this = _super.call(this, __assign({ name: "PrivateTypeException", $fault: "client" }, opts)) || this;
210
- _this.name = "PrivateTypeException";
211
- _this.$fault = "client";
212
- Object.setPrototypeOf(_this, PrivateTypeException.prototype);
213
- _this.Message = opts.Message;
214
- return _this;
204
+ }
205
+ export class PrivateTypeException extends __BaseException {
206
+ constructor(opts) {
207
+ super({
208
+ name: "PrivateTypeException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ this.name = "PrivateTypeException";
213
+ this.$fault = "client";
214
+ Object.setPrototypeOf(this, PrivateTypeException.prototype);
215
+ this.Message = opts.Message;
215
216
  }
216
- return PrivateTypeException;
217
- }(__BaseException));
218
- export { PrivateTypeException };
219
- var ResourceConflictException = (function (_super) {
220
- __extends(ResourceConflictException, _super);
221
- function ResourceConflictException(opts) {
222
- var _this = _super.call(this, __assign({ name: "ResourceConflictException", $fault: "client" }, opts)) || this;
223
- _this.name = "ResourceConflictException";
224
- _this.$fault = "client";
225
- Object.setPrototypeOf(_this, ResourceConflictException.prototype);
226
- _this.Message = opts.Message;
227
- return _this;
217
+ }
218
+ export class ResourceConflictException extends __BaseException {
219
+ constructor(opts) {
220
+ super({
221
+ name: "ResourceConflictException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ this.name = "ResourceConflictException";
226
+ this.$fault = "client";
227
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
228
+ this.Message = opts.Message;
228
229
  }
229
- return ResourceConflictException;
230
- }(__BaseException));
231
- export { ResourceConflictException };
232
- var ResourceNotFoundException = (function (_super) {
233
- __extends(ResourceNotFoundException, _super);
234
- function ResourceNotFoundException(opts) {
235
- var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
236
- _this.name = "ResourceNotFoundException";
237
- _this.$fault = "client";
238
- Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
239
- _this.Message = opts.Message;
240
- return _this;
230
+ }
231
+ export class ResourceNotFoundException extends __BaseException {
232
+ constructor(opts) {
233
+ super({
234
+ name: "ResourceNotFoundException",
235
+ $fault: "client",
236
+ ...opts,
237
+ });
238
+ this.name = "ResourceNotFoundException";
239
+ this.$fault = "client";
240
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
241
+ this.Message = opts.Message;
241
242
  }
242
- return ResourceNotFoundException;
243
- }(__BaseException));
244
- export { ResourceNotFoundException };
245
- var ServiceInternalErrorException = (function (_super) {
246
- __extends(ServiceInternalErrorException, _super);
247
- function ServiceInternalErrorException(opts) {
248
- var _this = _super.call(this, __assign({ name: "ServiceInternalErrorException", $fault: "server" }, opts)) || this;
249
- _this.name = "ServiceInternalErrorException";
250
- _this.$fault = "server";
251
- Object.setPrototypeOf(_this, ServiceInternalErrorException.prototype);
252
- _this.Message = opts.Message;
253
- return _this;
243
+ }
244
+ export class ServiceInternalErrorException extends __BaseException {
245
+ constructor(opts) {
246
+ super({
247
+ name: "ServiceInternalErrorException",
248
+ $fault: "server",
249
+ ...opts,
250
+ });
251
+ this.name = "ServiceInternalErrorException";
252
+ this.$fault = "server";
253
+ Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
254
+ this.Message = opts.Message;
254
255
  }
255
- return ServiceInternalErrorException;
256
- }(__BaseException));
257
- export { ServiceInternalErrorException };
258
- var ServiceLimitExceededException = (function (_super) {
259
- __extends(ServiceLimitExceededException, _super);
260
- function ServiceLimitExceededException(opts) {
261
- var _this = _super.call(this, __assign({ name: "ServiceLimitExceededException", $fault: "client" }, opts)) || this;
262
- _this.name = "ServiceLimitExceededException";
263
- _this.$fault = "client";
264
- Object.setPrototypeOf(_this, ServiceLimitExceededException.prototype);
265
- _this.Message = opts.Message;
266
- return _this;
256
+ }
257
+ export class ServiceLimitExceededException extends __BaseException {
258
+ constructor(opts) {
259
+ super({
260
+ name: "ServiceLimitExceededException",
261
+ $fault: "client",
262
+ ...opts,
263
+ });
264
+ this.name = "ServiceLimitExceededException";
265
+ this.$fault = "client";
266
+ Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
267
+ this.Message = opts.Message;
267
268
  }
268
- return ServiceLimitExceededException;
269
- }(__BaseException));
270
- export { ServiceLimitExceededException };
271
- var ThrottlingException = (function (_super) {
272
- __extends(ThrottlingException, _super);
273
- function ThrottlingException(opts) {
274
- var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
275
- _this.name = "ThrottlingException";
276
- _this.$fault = "client";
277
- Object.setPrototypeOf(_this, ThrottlingException.prototype);
278
- _this.Message = opts.Message;
279
- return _this;
269
+ }
270
+ export class ThrottlingException extends __BaseException {
271
+ constructor(opts) {
272
+ super({
273
+ name: "ThrottlingException",
274
+ $fault: "client",
275
+ ...opts,
276
+ });
277
+ this.name = "ThrottlingException";
278
+ this.$fault = "client";
279
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
280
+ this.Message = opts.Message;
280
281
  }
281
- return ThrottlingException;
282
- }(__BaseException));
283
- export { ThrottlingException };
284
- var TypeNotFoundException = (function (_super) {
285
- __extends(TypeNotFoundException, _super);
286
- function TypeNotFoundException(opts) {
287
- var _this = _super.call(this, __assign({ name: "TypeNotFoundException", $fault: "client" }, opts)) || this;
288
- _this.name = "TypeNotFoundException";
289
- _this.$fault = "client";
290
- Object.setPrototypeOf(_this, TypeNotFoundException.prototype);
291
- _this.Message = opts.Message;
292
- return _this;
282
+ }
283
+ export class TypeNotFoundException extends __BaseException {
284
+ constructor(opts) {
285
+ super({
286
+ name: "TypeNotFoundException",
287
+ $fault: "client",
288
+ ...opts,
289
+ });
290
+ this.name = "TypeNotFoundException";
291
+ this.$fault = "client";
292
+ Object.setPrototypeOf(this, TypeNotFoundException.prototype);
293
+ this.Message = opts.Message;
293
294
  }
294
- return TypeNotFoundException;
295
- }(__BaseException));
296
- export { TypeNotFoundException };
297
- var UnsupportedActionException = (function (_super) {
298
- __extends(UnsupportedActionException, _super);
299
- function UnsupportedActionException(opts) {
300
- var _this = _super.call(this, __assign({ name: "UnsupportedActionException", $fault: "client" }, opts)) || this;
301
- _this.name = "UnsupportedActionException";
302
- _this.$fault = "client";
303
- Object.setPrototypeOf(_this, UnsupportedActionException.prototype);
304
- _this.Message = opts.Message;
305
- return _this;
295
+ }
296
+ export class UnsupportedActionException extends __BaseException {
297
+ constructor(opts) {
298
+ super({
299
+ name: "UnsupportedActionException",
300
+ $fault: "client",
301
+ ...opts,
302
+ });
303
+ this.name = "UnsupportedActionException";
304
+ this.$fault = "client";
305
+ Object.setPrototypeOf(this, UnsupportedActionException.prototype);
306
+ this.Message = opts.Message;
306
307
  }
307
- return UnsupportedActionException;
308
- }(__BaseException));
309
- export { UnsupportedActionException };
310
- export var CancelResourceRequestInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
311
- export var ProgressEventFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }))); };
312
- export var CancelResourceRequestOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
313
- export var CreateResourceInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DesiredState && { DesiredState: SENSITIVE_STRING }))); };
314
- export var CreateResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
315
- export var DeleteResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
316
- export var DeleteResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
317
- export var GetResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
318
- export var ResourceDescriptionFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Properties && { Properties: SENSITIVE_STRING }))); };
319
- export var GetResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceDescription && {
320
- ResourceDescription: ResourceDescriptionFilterSensitiveLog(obj.ResourceDescription),
321
- }))); };
322
- export var GetResourceRequestStatusInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
323
- export var GetResourceRequestStatusOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
324
- export var ResourceRequestStatusFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
325
- export var ListResourceRequestsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
326
- export var ListResourceRequestsOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceRequestStatusSummaries && {
327
- ResourceRequestStatusSummaries: obj.ResourceRequestStatusSummaries.map(function (item) {
328
- return ProgressEventFilterSensitiveLog(item);
308
+ }
309
+ export const CancelResourceRequestInputFilterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ });
312
+ export const ProgressEventFilterSensitiveLog = (obj) => ({
313
+ ...obj,
314
+ ...(obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }),
315
+ });
316
+ export const CancelResourceRequestOutputFilterSensitiveLog = (obj) => ({
317
+ ...obj,
318
+ ...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
319
+ });
320
+ export const CreateResourceInputFilterSensitiveLog = (obj) => ({
321
+ ...obj,
322
+ ...(obj.DesiredState && { DesiredState: SENSITIVE_STRING }),
323
+ });
324
+ export const CreateResourceOutputFilterSensitiveLog = (obj) => ({
325
+ ...obj,
326
+ ...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
327
+ });
328
+ export const DeleteResourceInputFilterSensitiveLog = (obj) => ({
329
+ ...obj,
330
+ });
331
+ export const DeleteResourceOutputFilterSensitiveLog = (obj) => ({
332
+ ...obj,
333
+ ...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
334
+ });
335
+ export const GetResourceInputFilterSensitiveLog = (obj) => ({
336
+ ...obj,
337
+ });
338
+ export const ResourceDescriptionFilterSensitiveLog = (obj) => ({
339
+ ...obj,
340
+ ...(obj.Properties && { Properties: SENSITIVE_STRING }),
341
+ });
342
+ export const GetResourceOutputFilterSensitiveLog = (obj) => ({
343
+ ...obj,
344
+ ...(obj.ResourceDescription && {
345
+ ResourceDescription: ResourceDescriptionFilterSensitiveLog(obj.ResourceDescription),
329
346
  }),
330
- }))); };
331
- export var ListResourcesInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }))); };
332
- export var ListResourcesOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceDescriptions && {
333
- ResourceDescriptions: obj.ResourceDescriptions.map(function (item) { return ResourceDescriptionFilterSensitiveLog(item); }),
334
- }))); };
335
- export var UpdateResourceInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PatchDocument && { PatchDocument: SENSITIVE_STRING }))); };
336
- export var UpdateResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
347
+ });
348
+ export const GetResourceRequestStatusInputFilterSensitiveLog = (obj) => ({
349
+ ...obj,
350
+ });
351
+ export const GetResourceRequestStatusOutputFilterSensitiveLog = (obj) => ({
352
+ ...obj,
353
+ ...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
354
+ });
355
+ export const ResourceRequestStatusFilterFilterSensitiveLog = (obj) => ({
356
+ ...obj,
357
+ });
358
+ export const ListResourceRequestsInputFilterSensitiveLog = (obj) => ({
359
+ ...obj,
360
+ });
361
+ export const ListResourceRequestsOutputFilterSensitiveLog = (obj) => ({
362
+ ...obj,
363
+ ...(obj.ResourceRequestStatusSummaries && {
364
+ ResourceRequestStatusSummaries: obj.ResourceRequestStatusSummaries.map((item) => ProgressEventFilterSensitiveLog(item)),
365
+ }),
366
+ });
367
+ export const ListResourcesInputFilterSensitiveLog = (obj) => ({
368
+ ...obj,
369
+ ...(obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }),
370
+ });
371
+ export const ListResourcesOutputFilterSensitiveLog = (obj) => ({
372
+ ...obj,
373
+ ...(obj.ResourceDescriptions && {
374
+ ResourceDescriptions: obj.ResourceDescriptions.map((item) => ResourceDescriptionFilterSensitiveLog(item)),
375
+ }),
376
+ });
377
+ export const UpdateResourceInputFilterSensitiveLog = (obj) => ({
378
+ ...obj,
379
+ ...(obj.PatchDocument && { PatchDocument: SENSITIVE_STRING }),
380
+ });
381
+ export const UpdateResourceOutputFilterSensitiveLog = (obj) => ({
382
+ ...obj,
383
+ ...(obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }),
384
+ });