@aws-sdk/client-rbin 3.721.0 → 3.726.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-cjs/index.js CHANGED
@@ -149,7 +149,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
149
149
  }, "resolveRuntimeExtensions");
150
150
 
151
151
  // src/RbinClient.ts
152
- var _RbinClient = class _RbinClient extends import_smithy_client.Client {
152
+ var RbinClient = class extends import_smithy_client.Client {
153
+ static {
154
+ __name(this, "RbinClient");
155
+ }
156
+ /**
157
+ * The resolved configuration of RbinClient class. This is resolved and normalized from the {@link RbinClientConfig | constructor configuration interface}.
158
+ */
159
+ config;
153
160
  constructor(...[configuration]) {
154
161
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
155
162
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -159,7 +166,7 @@ var _RbinClient = class _RbinClient extends import_smithy_client.Client {
159
166
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
160
167
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
161
168
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
162
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
169
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
163
170
  super(_config_8);
164
171
  this.config = _config_8;
165
172
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -187,8 +194,6 @@ var _RbinClient = class _RbinClient extends import_smithy_client.Client {
187
194
  super.destroy();
188
195
  }
189
196
  };
190
- __name(_RbinClient, "RbinClient");
191
- var RbinClient = _RbinClient;
192
197
 
193
198
  // src/Rbin.ts
194
199
 
@@ -205,7 +210,10 @@ var import_core2 = require("@aws-sdk/core");
205
210
 
206
211
  // src/models/RbinServiceException.ts
207
212
 
208
- var _RbinServiceException = class _RbinServiceException extends import_smithy_client.ServiceException {
213
+ var RbinServiceException = class _RbinServiceException extends import_smithy_client.ServiceException {
214
+ static {
215
+ __name(this, "RbinServiceException");
216
+ }
209
217
  /**
210
218
  * @internal
211
219
  */
@@ -214,8 +222,6 @@ var _RbinServiceException = class _RbinServiceException extends import_smithy_cl
214
222
  Object.setPrototypeOf(this, _RbinServiceException.prototype);
215
223
  }
216
224
  };
217
- __name(_RbinServiceException, "RbinServiceException");
218
- var RbinServiceException = _RbinServiceException;
219
225
 
220
226
  // src/models/models_0.ts
221
227
  var UnlockDelayUnit = {
@@ -237,7 +243,13 @@ var RuleStatus = {
237
243
  AVAILABLE: "available",
238
244
  PENDING: "pending"
239
245
  };
240
- var _InternalServerException = class _InternalServerException extends RbinServiceException {
246
+ var InternalServerException = class _InternalServerException extends RbinServiceException {
247
+ static {
248
+ __name(this, "InternalServerException");
249
+ }
250
+ name = "InternalServerException";
251
+ $fault = "server";
252
+ Message;
241
253
  /**
242
254
  * @internal
243
255
  */
@@ -247,18 +259,25 @@ var _InternalServerException = class _InternalServerException extends RbinServic
247
259
  $fault: "server",
248
260
  ...opts
249
261
  });
250
- this.name = "InternalServerException";
251
- this.$fault = "server";
252
262
  Object.setPrototypeOf(this, _InternalServerException.prototype);
253
263
  this.Message = opts.Message;
254
264
  }
255
265
  };
256
- __name(_InternalServerException, "InternalServerException");
257
- var InternalServerException = _InternalServerException;
258
266
  var ServiceQuotaExceededExceptionReason = {
259
267
  SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED"
260
268
  };
261
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends RbinServiceException {
269
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends RbinServiceException {
270
+ static {
271
+ __name(this, "ServiceQuotaExceededException");
272
+ }
273
+ name = "ServiceQuotaExceededException";
274
+ $fault = "client";
275
+ Message;
276
+ /**
277
+ * <p>The reason for the exception.</p>
278
+ * @public
279
+ */
280
+ Reason;
262
281
  /**
263
282
  * @internal
264
283
  */
@@ -268,20 +287,27 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
268
287
  $fault: "client",
269
288
  ...opts
270
289
  });
271
- this.name = "ServiceQuotaExceededException";
272
- this.$fault = "client";
273
290
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
274
291
  this.Message = opts.Message;
275
292
  this.Reason = opts.Reason;
276
293
  }
277
294
  };
278
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
279
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
280
295
  var ValidationExceptionReason = {
281
296
  INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
282
297
  INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE"
283
298
  };
284
- var _ValidationException = class _ValidationException extends RbinServiceException {
299
+ var ValidationException = class _ValidationException extends RbinServiceException {
300
+ static {
301
+ __name(this, "ValidationException");
302
+ }
303
+ name = "ValidationException";
304
+ $fault = "client";
305
+ Message;
306
+ /**
307
+ * <p>The reason for the exception.</p>
308
+ * @public
309
+ */
310
+ Reason;
285
311
  /**
286
312
  * @internal
287
313
  */
@@ -291,19 +317,26 @@ var _ValidationException = class _ValidationException extends RbinServiceExcepti
291
317
  $fault: "client",
292
318
  ...opts
293
319
  });
294
- this.name = "ValidationException";
295
- this.$fault = "client";
296
320
  Object.setPrototypeOf(this, _ValidationException.prototype);
297
321
  this.Message = opts.Message;
298
322
  this.Reason = opts.Reason;
299
323
  }
300
324
  };
301
- __name(_ValidationException, "ValidationException");
302
- var ValidationException = _ValidationException;
303
325
  var ConflictExceptionReason = {
304
326
  INVALID_RULE_STATE: "INVALID_RULE_STATE"
305
327
  };
306
- var _ConflictException = class _ConflictException extends RbinServiceException {
328
+ var ConflictException = class _ConflictException extends RbinServiceException {
329
+ static {
330
+ __name(this, "ConflictException");
331
+ }
332
+ name = "ConflictException";
333
+ $fault = "client";
334
+ Message;
335
+ /**
336
+ * <p>The reason for the exception.</p>
337
+ * @public
338
+ */
339
+ Reason;
307
340
  /**
308
341
  * @internal
309
342
  */
@@ -313,19 +346,26 @@ var _ConflictException = class _ConflictException extends RbinServiceException {
313
346
  $fault: "client",
314
347
  ...opts
315
348
  });
316
- this.name = "ConflictException";
317
- this.$fault = "client";
318
349
  Object.setPrototypeOf(this, _ConflictException.prototype);
319
350
  this.Message = opts.Message;
320
351
  this.Reason = opts.Reason;
321
352
  }
322
353
  };
323
- __name(_ConflictException, "ConflictException");
324
- var ConflictException = _ConflictException;
325
354
  var ResourceNotFoundExceptionReason = {
326
355
  RULE_NOT_FOUND: "RULE_NOT_FOUND"
327
356
  };
328
- var _ResourceNotFoundException = class _ResourceNotFoundException extends RbinServiceException {
357
+ var ResourceNotFoundException = class _ResourceNotFoundException extends RbinServiceException {
358
+ static {
359
+ __name(this, "ResourceNotFoundException");
360
+ }
361
+ name = "ResourceNotFoundException";
362
+ $fault = "client";
363
+ Message;
364
+ /**
365
+ * <p>The reason for the exception.</p>
366
+ * @public
367
+ */
368
+ Reason;
329
369
  /**
330
370
  * @internal
331
371
  */
@@ -335,15 +375,11 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends RbinSe
335
375
  $fault: "client",
336
376
  ...opts
337
377
  });
338
- this.name = "ResourceNotFoundException";
339
- this.$fault = "client";
340
378
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
341
379
  this.Message = opts.Message;
342
380
  this.Reason = opts.Reason;
343
381
  }
344
382
  };
345
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
346
- var ResourceNotFoundException = _ResourceNotFoundException;
347
383
 
348
384
  // src/protocols/Aws_restJson1.ts
349
385
  var se_CreateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -775,141 +811,151 @@ var _TK = "TagKeys";
775
811
  var _tK = "tagKeys";
776
812
 
777
813
  // src/commands/CreateRuleCommand.ts
778
- var _CreateRuleCommand = class _CreateRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
814
+ var CreateRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
779
815
  return [
780
816
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
781
817
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
782
818
  ];
783
819
  }).s("AmazonRecycleBin", "CreateRule", {}).n("RbinClient", "CreateRuleCommand").f(void 0, void 0).ser(se_CreateRuleCommand).de(de_CreateRuleCommand).build() {
820
+ static {
821
+ __name(this, "CreateRuleCommand");
822
+ }
784
823
  };
785
- __name(_CreateRuleCommand, "CreateRuleCommand");
786
- var CreateRuleCommand = _CreateRuleCommand;
787
824
 
788
825
  // src/commands/DeleteRuleCommand.ts
789
826
 
790
827
 
791
828
 
792
- var _DeleteRuleCommand = class _DeleteRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
829
+ var DeleteRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
793
830
  return [
794
831
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
795
832
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
796
833
  ];
797
834
  }).s("AmazonRecycleBin", "DeleteRule", {}).n("RbinClient", "DeleteRuleCommand").f(void 0, void 0).ser(se_DeleteRuleCommand).de(de_DeleteRuleCommand).build() {
835
+ static {
836
+ __name(this, "DeleteRuleCommand");
837
+ }
798
838
  };
799
- __name(_DeleteRuleCommand, "DeleteRuleCommand");
800
- var DeleteRuleCommand = _DeleteRuleCommand;
801
839
 
802
840
  // src/commands/GetRuleCommand.ts
803
841
 
804
842
 
805
843
 
806
- var _GetRuleCommand = class _GetRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
844
+ var GetRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
807
845
  return [
808
846
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
809
847
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
810
848
  ];
811
849
  }).s("AmazonRecycleBin", "GetRule", {}).n("RbinClient", "GetRuleCommand").f(void 0, void 0).ser(se_GetRuleCommand).de(de_GetRuleCommand).build() {
850
+ static {
851
+ __name(this, "GetRuleCommand");
852
+ }
812
853
  };
813
- __name(_GetRuleCommand, "GetRuleCommand");
814
- var GetRuleCommand = _GetRuleCommand;
815
854
 
816
855
  // src/commands/ListRulesCommand.ts
817
856
 
818
857
 
819
858
 
820
- var _ListRulesCommand = class _ListRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
859
+ var ListRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
821
860
  return [
822
861
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
823
862
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
824
863
  ];
825
864
  }).s("AmazonRecycleBin", "ListRules", {}).n("RbinClient", "ListRulesCommand").f(void 0, void 0).ser(se_ListRulesCommand).de(de_ListRulesCommand).build() {
865
+ static {
866
+ __name(this, "ListRulesCommand");
867
+ }
826
868
  };
827
- __name(_ListRulesCommand, "ListRulesCommand");
828
- var ListRulesCommand = _ListRulesCommand;
829
869
 
830
870
  // src/commands/ListTagsForResourceCommand.ts
831
871
 
832
872
 
833
873
 
834
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
874
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
835
875
  return [
836
876
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
837
877
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
838
878
  ];
839
879
  }).s("AmazonRecycleBin", "ListTagsForResource", {}).n("RbinClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
880
+ static {
881
+ __name(this, "ListTagsForResourceCommand");
882
+ }
840
883
  };
841
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
842
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
843
884
 
844
885
  // src/commands/LockRuleCommand.ts
845
886
 
846
887
 
847
888
 
848
- var _LockRuleCommand = class _LockRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
889
+ var LockRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
849
890
  return [
850
891
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
851
892
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
852
893
  ];
853
894
  }).s("AmazonRecycleBin", "LockRule", {}).n("RbinClient", "LockRuleCommand").f(void 0, void 0).ser(se_LockRuleCommand).de(de_LockRuleCommand).build() {
895
+ static {
896
+ __name(this, "LockRuleCommand");
897
+ }
854
898
  };
855
- __name(_LockRuleCommand, "LockRuleCommand");
856
- var LockRuleCommand = _LockRuleCommand;
857
899
 
858
900
  // src/commands/TagResourceCommand.ts
859
901
 
860
902
 
861
903
 
862
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
904
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
863
905
  return [
864
906
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
865
907
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
866
908
  ];
867
909
  }).s("AmazonRecycleBin", "TagResource", {}).n("RbinClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
910
+ static {
911
+ __name(this, "TagResourceCommand");
912
+ }
868
913
  };
869
- __name(_TagResourceCommand, "TagResourceCommand");
870
- var TagResourceCommand = _TagResourceCommand;
871
914
 
872
915
  // src/commands/UnlockRuleCommand.ts
873
916
 
874
917
 
875
918
 
876
- var _UnlockRuleCommand = class _UnlockRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
919
+ var UnlockRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
877
920
  return [
878
921
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
879
922
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
880
923
  ];
881
924
  }).s("AmazonRecycleBin", "UnlockRule", {}).n("RbinClient", "UnlockRuleCommand").f(void 0, void 0).ser(se_UnlockRuleCommand).de(de_UnlockRuleCommand).build() {
925
+ static {
926
+ __name(this, "UnlockRuleCommand");
927
+ }
882
928
  };
883
- __name(_UnlockRuleCommand, "UnlockRuleCommand");
884
- var UnlockRuleCommand = _UnlockRuleCommand;
885
929
 
886
930
  // src/commands/UntagResourceCommand.ts
887
931
 
888
932
 
889
933
 
890
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
934
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
891
935
  return [
892
936
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
893
937
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
894
938
  ];
895
939
  }).s("AmazonRecycleBin", "UntagResource", {}).n("RbinClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
940
+ static {
941
+ __name(this, "UntagResourceCommand");
942
+ }
896
943
  };
897
- __name(_UntagResourceCommand, "UntagResourceCommand");
898
- var UntagResourceCommand = _UntagResourceCommand;
899
944
 
900
945
  // src/commands/UpdateRuleCommand.ts
901
946
 
902
947
 
903
948
 
904
- var _UpdateRuleCommand = class _UpdateRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
949
+ var UpdateRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
905
950
  return [
906
951
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
907
952
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
908
953
  ];
909
954
  }).s("AmazonRecycleBin", "UpdateRule", {}).n("RbinClient", "UpdateRuleCommand").f(void 0, void 0).ser(se_UpdateRuleCommand).de(de_UpdateRuleCommand).build() {
955
+ static {
956
+ __name(this, "UpdateRuleCommand");
957
+ }
910
958
  };
911
- __name(_UpdateRuleCommand, "UpdateRuleCommand");
912
- var UpdateRuleCommand = _UpdateRuleCommand;
913
959
 
914
960
  // src/Rbin.ts
915
961
  var commands = {
@@ -924,10 +970,11 @@ var commands = {
924
970
  UntagResourceCommand,
925
971
  UpdateRuleCommand
926
972
  };
927
- var _Rbin = class _Rbin extends RbinClient {
973
+ var Rbin = class extends RbinClient {
974
+ static {
975
+ __name(this, "Rbin");
976
+ }
928
977
  };
929
- __name(_Rbin, "Rbin");
930
- var Rbin = _Rbin;
931
978
  (0, import_smithy_client.createAggregatedClient)(commands, Rbin);
932
979
 
933
980
  // src/pagination/ListRulesPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class RbinClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -19,14 +19,15 @@ export const RuleStatus = {
19
19
  PENDING: "pending",
20
20
  };
21
21
  export class InternalServerException extends __BaseException {
22
+ name = "InternalServerException";
23
+ $fault = "server";
24
+ Message;
22
25
  constructor(opts) {
23
26
  super({
24
27
  name: "InternalServerException",
25
28
  $fault: "server",
26
29
  ...opts,
27
30
  });
28
- this.name = "InternalServerException";
29
- this.$fault = "server";
30
31
  Object.setPrototypeOf(this, InternalServerException.prototype);
31
32
  this.Message = opts.Message;
32
33
  }
@@ -35,14 +36,16 @@ export const ServiceQuotaExceededExceptionReason = {
35
36
  SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
36
37
  };
37
38
  export class ServiceQuotaExceededException extends __BaseException {
39
+ name = "ServiceQuotaExceededException";
40
+ $fault = "client";
41
+ Message;
42
+ Reason;
38
43
  constructor(opts) {
39
44
  super({
40
45
  name: "ServiceQuotaExceededException",
41
46
  $fault: "client",
42
47
  ...opts,
43
48
  });
44
- this.name = "ServiceQuotaExceededException";
45
- this.$fault = "client";
46
49
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
47
50
  this.Message = opts.Message;
48
51
  this.Reason = opts.Reason;
@@ -53,14 +56,16 @@ export const ValidationExceptionReason = {
53
56
  INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
54
57
  };
55
58
  export class ValidationException extends __BaseException {
59
+ name = "ValidationException";
60
+ $fault = "client";
61
+ Message;
62
+ Reason;
56
63
  constructor(opts) {
57
64
  super({
58
65
  name: "ValidationException",
59
66
  $fault: "client",
60
67
  ...opts,
61
68
  });
62
- this.name = "ValidationException";
63
- this.$fault = "client";
64
69
  Object.setPrototypeOf(this, ValidationException.prototype);
65
70
  this.Message = opts.Message;
66
71
  this.Reason = opts.Reason;
@@ -70,14 +75,16 @@ export const ConflictExceptionReason = {
70
75
  INVALID_RULE_STATE: "INVALID_RULE_STATE",
71
76
  };
72
77
  export class ConflictException extends __BaseException {
78
+ name = "ConflictException";
79
+ $fault = "client";
80
+ Message;
81
+ Reason;
73
82
  constructor(opts) {
74
83
  super({
75
84
  name: "ConflictException",
76
85
  $fault: "client",
77
86
  ...opts,
78
87
  });
79
- this.name = "ConflictException";
80
- this.$fault = "client";
81
88
  Object.setPrototypeOf(this, ConflictException.prototype);
82
89
  this.Message = opts.Message;
83
90
  this.Reason = opts.Reason;
@@ -87,14 +94,16 @@ export const ResourceNotFoundExceptionReason = {
87
94
  RULE_NOT_FOUND: "RULE_NOT_FOUND",
88
95
  };
89
96
  export class ResourceNotFoundException extends __BaseException {
97
+ name = "ResourceNotFoundException";
98
+ $fault = "client";
99
+ Message;
100
+ Reason;
90
101
  constructor(opts) {
91
102
  super({
92
103
  name: "ResourceNotFoundException",
93
104
  $fault: "client",
94
105
  ...opts,
95
106
  });
96
- this.name = "ResourceNotFoundException";
97
- this.$fault = "client";
98
107
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
99
108
  this.Message = opts.Message;
100
109
  this.Reason = opts.Reason;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rbin",
3
3
  "description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rbin",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {