@aws-sdk/client-dlm 3.716.0 → 3.723.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
@@ -151,7 +151,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
151
151
  }, "resolveRuntimeExtensions");
152
152
 
153
153
  // src/DLMClient.ts
154
- var _DLMClient = class _DLMClient extends import_smithy_client.Client {
154
+ var DLMClient = class extends import_smithy_client.Client {
155
+ static {
156
+ __name(this, "DLMClient");
157
+ }
158
+ /**
159
+ * The resolved configuration of DLMClient class. This is resolved and normalized from the {@link DLMClientConfig | constructor configuration interface}.
160
+ */
161
+ config;
155
162
  constructor(...[configuration]) {
156
163
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
157
164
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -161,7 +168,7 @@ var _DLMClient = class _DLMClient extends import_smithy_client.Client {
161
168
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
162
169
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
163
170
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
164
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
171
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
165
172
  super(_config_8);
166
173
  this.config = _config_8;
167
174
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -189,8 +196,6 @@ var _DLMClient = class _DLMClient extends import_smithy_client.Client {
189
196
  super.destroy();
190
197
  }
191
198
  };
192
- __name(_DLMClient, "DLMClient");
193
- var DLMClient = _DLMClient;
194
199
 
195
200
  // src/DLM.ts
196
201
 
@@ -207,7 +212,10 @@ var import_core2 = require("@aws-sdk/core");
207
212
 
208
213
  // src/models/DLMServiceException.ts
209
214
 
210
- var _DLMServiceException = class _DLMServiceException extends import_smithy_client.ServiceException {
215
+ var DLMServiceException = class _DLMServiceException extends import_smithy_client.ServiceException {
216
+ static {
217
+ __name(this, "DLMServiceException");
218
+ }
211
219
  /**
212
220
  * @internal
213
221
  */
@@ -216,8 +224,6 @@ var _DLMServiceException = class _DLMServiceException extends import_smithy_clie
216
224
  Object.setPrototypeOf(this, _DLMServiceException.prototype);
217
225
  }
218
226
  };
219
- __name(_DLMServiceException, "DLMServiceException");
220
- var DLMServiceException = _DLMServiceException;
221
227
 
222
228
  // src/models/models_0.ts
223
229
  var RetentionIntervalUnitValues = {
@@ -273,7 +279,14 @@ var SettablePolicyStateValues = {
273
279
  DISABLED: "DISABLED",
274
280
  ENABLED: "ENABLED"
275
281
  };
276
- var _InternalServerException = class _InternalServerException extends DLMServiceException {
282
+ var InternalServerException = class _InternalServerException extends DLMServiceException {
283
+ static {
284
+ __name(this, "InternalServerException");
285
+ }
286
+ name = "InternalServerException";
287
+ $fault = "server";
288
+ Message;
289
+ Code;
277
290
  /**
278
291
  * @internal
279
292
  */
@@ -283,16 +296,29 @@ var _InternalServerException = class _InternalServerException extends DLMService
283
296
  $fault: "server",
284
297
  ...opts
285
298
  });
286
- this.name = "InternalServerException";
287
- this.$fault = "server";
288
299
  Object.setPrototypeOf(this, _InternalServerException.prototype);
289
300
  this.Message = opts.Message;
290
301
  this.Code = opts.Code;
291
302
  }
292
303
  };
293
- __name(_InternalServerException, "InternalServerException");
294
- var InternalServerException = _InternalServerException;
295
- var _InvalidRequestException = class _InvalidRequestException extends DLMServiceException {
304
+ var InvalidRequestException = class _InvalidRequestException extends DLMServiceException {
305
+ static {
306
+ __name(this, "InvalidRequestException");
307
+ }
308
+ name = "InvalidRequestException";
309
+ $fault = "client";
310
+ Message;
311
+ Code;
312
+ /**
313
+ * <p>The request omitted one or more required parameters.</p>
314
+ * @public
315
+ */
316
+ RequiredParameters;
317
+ /**
318
+ * <p>The request included parameters that cannot be provided together.</p>
319
+ * @public
320
+ */
321
+ MutuallyExclusiveParameters;
296
322
  /**
297
323
  * @internal
298
324
  */
@@ -302,8 +328,6 @@ var _InvalidRequestException = class _InvalidRequestException extends DLMService
302
328
  $fault: "client",
303
329
  ...opts
304
330
  });
305
- this.name = "InvalidRequestException";
306
- this.$fault = "client";
307
331
  Object.setPrototypeOf(this, _InvalidRequestException.prototype);
308
332
  this.Message = opts.Message;
309
333
  this.Code = opts.Code;
@@ -311,9 +335,19 @@ var _InvalidRequestException = class _InvalidRequestException extends DLMService
311
335
  this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
312
336
  }
313
337
  };
314
- __name(_InvalidRequestException, "InvalidRequestException");
315
- var InvalidRequestException = _InvalidRequestException;
316
- var _LimitExceededException = class _LimitExceededException extends DLMServiceException {
338
+ var LimitExceededException = class _LimitExceededException extends DLMServiceException {
339
+ static {
340
+ __name(this, "LimitExceededException");
341
+ }
342
+ name = "LimitExceededException";
343
+ $fault = "client";
344
+ Message;
345
+ Code;
346
+ /**
347
+ * <p>Value is the type of resource for which a limit was exceeded.</p>
348
+ * @public
349
+ */
350
+ ResourceType;
317
351
  /**
318
352
  * @internal
319
353
  */
@@ -323,22 +357,35 @@ var _LimitExceededException = class _LimitExceededException extends DLMServiceEx
323
357
  $fault: "client",
324
358
  ...opts
325
359
  });
326
- this.name = "LimitExceededException";
327
- this.$fault = "client";
328
360
  Object.setPrototypeOf(this, _LimitExceededException.prototype);
329
361
  this.Message = opts.Message;
330
362
  this.Code = opts.Code;
331
363
  this.ResourceType = opts.ResourceType;
332
364
  }
333
365
  };
334
- __name(_LimitExceededException, "LimitExceededException");
335
- var LimitExceededException = _LimitExceededException;
336
366
  var DefaultPoliciesTypeValues = {
337
367
  ALL: "ALL",
338
368
  INSTANCE: "INSTANCE",
339
369
  VOLUME: "VOLUME"
340
370
  };
341
- var _ResourceNotFoundException = class _ResourceNotFoundException extends DLMServiceException {
371
+ var ResourceNotFoundException = class _ResourceNotFoundException extends DLMServiceException {
372
+ static {
373
+ __name(this, "ResourceNotFoundException");
374
+ }
375
+ name = "ResourceNotFoundException";
376
+ $fault = "client";
377
+ Message;
378
+ Code;
379
+ /**
380
+ * <p>Value is the type of resource that was not found.</p>
381
+ * @public
382
+ */
383
+ ResourceType;
384
+ /**
385
+ * <p>Value is a list of resource IDs that were not found.</p>
386
+ * @public
387
+ */
388
+ ResourceIds;
342
389
  /**
343
390
  * @internal
344
391
  */
@@ -348,8 +395,6 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends DLMSer
348
395
  $fault: "client",
349
396
  ...opts
350
397
  });
351
- this.name = "ResourceNotFoundException";
352
- this.$fault = "client";
353
398
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
354
399
  this.Message = opts.Message;
355
400
  this.Code = opts.Code;
@@ -357,8 +402,6 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends DLMSer
357
402
  this.ResourceIds = opts.ResourceIds;
358
403
  }
359
404
  };
360
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
361
- var ResourceNotFoundException = _ResourceNotFoundException;
362
405
  var GettablePolicyStateValues = {
363
406
  DISABLED: "DISABLED",
364
407
  ENABLED: "ENABLED",
@@ -711,113 +754,121 @@ var _tT = "targetTags";
711
754
  var _tTA = "tagsToAdd";
712
755
 
713
756
  // src/commands/CreateLifecyclePolicyCommand.ts
714
- var _CreateLifecyclePolicyCommand = class _CreateLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
757
+ var CreateLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
715
758
  return [
716
759
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
717
760
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
718
761
  ];
719
762
  }).s("dlm_20180112", "CreateLifecyclePolicy", {}).n("DLMClient", "CreateLifecyclePolicyCommand").f(void 0, void 0).ser(se_CreateLifecyclePolicyCommand).de(de_CreateLifecyclePolicyCommand).build() {
763
+ static {
764
+ __name(this, "CreateLifecyclePolicyCommand");
765
+ }
720
766
  };
721
- __name(_CreateLifecyclePolicyCommand, "CreateLifecyclePolicyCommand");
722
- var CreateLifecyclePolicyCommand = _CreateLifecyclePolicyCommand;
723
767
 
724
768
  // src/commands/DeleteLifecyclePolicyCommand.ts
725
769
 
726
770
 
727
771
 
728
- var _DeleteLifecyclePolicyCommand = class _DeleteLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
772
+ var DeleteLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
729
773
  return [
730
774
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
731
775
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
732
776
  ];
733
777
  }).s("dlm_20180112", "DeleteLifecyclePolicy", {}).n("DLMClient", "DeleteLifecyclePolicyCommand").f(void 0, void 0).ser(se_DeleteLifecyclePolicyCommand).de(de_DeleteLifecyclePolicyCommand).build() {
778
+ static {
779
+ __name(this, "DeleteLifecyclePolicyCommand");
780
+ }
734
781
  };
735
- __name(_DeleteLifecyclePolicyCommand, "DeleteLifecyclePolicyCommand");
736
- var DeleteLifecyclePolicyCommand = _DeleteLifecyclePolicyCommand;
737
782
 
738
783
  // src/commands/GetLifecyclePoliciesCommand.ts
739
784
 
740
785
 
741
786
 
742
- var _GetLifecyclePoliciesCommand = class _GetLifecyclePoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
787
+ var GetLifecyclePoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
743
788
  return [
744
789
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
745
790
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
746
791
  ];
747
792
  }).s("dlm_20180112", "GetLifecyclePolicies", {}).n("DLMClient", "GetLifecyclePoliciesCommand").f(void 0, void 0).ser(se_GetLifecyclePoliciesCommand).de(de_GetLifecyclePoliciesCommand).build() {
793
+ static {
794
+ __name(this, "GetLifecyclePoliciesCommand");
795
+ }
748
796
  };
749
- __name(_GetLifecyclePoliciesCommand, "GetLifecyclePoliciesCommand");
750
- var GetLifecyclePoliciesCommand = _GetLifecyclePoliciesCommand;
751
797
 
752
798
  // src/commands/GetLifecyclePolicyCommand.ts
753
799
 
754
800
 
755
801
 
756
- var _GetLifecyclePolicyCommand = class _GetLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
802
+ var GetLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
757
803
  return [
758
804
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
759
805
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
760
806
  ];
761
807
  }).s("dlm_20180112", "GetLifecyclePolicy", {}).n("DLMClient", "GetLifecyclePolicyCommand").f(void 0, void 0).ser(se_GetLifecyclePolicyCommand).de(de_GetLifecyclePolicyCommand).build() {
808
+ static {
809
+ __name(this, "GetLifecyclePolicyCommand");
810
+ }
762
811
  };
763
- __name(_GetLifecyclePolicyCommand, "GetLifecyclePolicyCommand");
764
- var GetLifecyclePolicyCommand = _GetLifecyclePolicyCommand;
765
812
 
766
813
  // src/commands/ListTagsForResourceCommand.ts
767
814
 
768
815
 
769
816
 
770
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
817
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
771
818
  return [
772
819
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
773
820
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
774
821
  ];
775
822
  }).s("dlm_20180112", "ListTagsForResource", {}).n("DLMClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
823
+ static {
824
+ __name(this, "ListTagsForResourceCommand");
825
+ }
776
826
  };
777
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
778
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
779
827
 
780
828
  // src/commands/TagResourceCommand.ts
781
829
 
782
830
 
783
831
 
784
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
832
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
785
833
  return [
786
834
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
787
835
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
788
836
  ];
789
837
  }).s("dlm_20180112", "TagResource", {}).n("DLMClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
838
+ static {
839
+ __name(this, "TagResourceCommand");
840
+ }
790
841
  };
791
- __name(_TagResourceCommand, "TagResourceCommand");
792
- var TagResourceCommand = _TagResourceCommand;
793
842
 
794
843
  // src/commands/UntagResourceCommand.ts
795
844
 
796
845
 
797
846
 
798
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
847
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
799
848
  return [
800
849
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
801
850
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
802
851
  ];
803
852
  }).s("dlm_20180112", "UntagResource", {}).n("DLMClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
853
+ static {
854
+ __name(this, "UntagResourceCommand");
855
+ }
804
856
  };
805
- __name(_UntagResourceCommand, "UntagResourceCommand");
806
- var UntagResourceCommand = _UntagResourceCommand;
807
857
 
808
858
  // src/commands/UpdateLifecyclePolicyCommand.ts
809
859
 
810
860
 
811
861
 
812
- var _UpdateLifecyclePolicyCommand = class _UpdateLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
862
+ var UpdateLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
813
863
  return [
814
864
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
815
865
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
816
866
  ];
817
867
  }).s("dlm_20180112", "UpdateLifecyclePolicy", {}).n("DLMClient", "UpdateLifecyclePolicyCommand").f(void 0, void 0).ser(se_UpdateLifecyclePolicyCommand).de(de_UpdateLifecyclePolicyCommand).build() {
868
+ static {
869
+ __name(this, "UpdateLifecyclePolicyCommand");
870
+ }
818
871
  };
819
- __name(_UpdateLifecyclePolicyCommand, "UpdateLifecyclePolicyCommand");
820
- var UpdateLifecyclePolicyCommand = _UpdateLifecyclePolicyCommand;
821
872
 
822
873
  // src/DLM.ts
823
874
  var commands = {
@@ -830,10 +881,11 @@ var commands = {
830
881
  UntagResourceCommand,
831
882
  UpdateLifecyclePolicyCommand
832
883
  };
833
- var _DLM = class _DLM extends DLMClient {
884
+ var DLM = class extends DLMClient {
885
+ static {
886
+ __name(this, "DLM");
887
+ }
834
888
  };
835
- __name(_DLM, "DLM");
836
- var DLM = _DLM;
837
889
  (0, import_smithy_client.createAggregatedClient)(commands, DLM);
838
890
  // Annotate the CommonJS export names for ESM import in node:
839
891
 
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class DLMClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -53,28 +53,34 @@ export const SettablePolicyStateValues = {
53
53
  ENABLED: "ENABLED",
54
54
  };
55
55
  export class InternalServerException extends __BaseException {
56
+ name = "InternalServerException";
57
+ $fault = "server";
58
+ Message;
59
+ Code;
56
60
  constructor(opts) {
57
61
  super({
58
62
  name: "InternalServerException",
59
63
  $fault: "server",
60
64
  ...opts,
61
65
  });
62
- this.name = "InternalServerException";
63
- this.$fault = "server";
64
66
  Object.setPrototypeOf(this, InternalServerException.prototype);
65
67
  this.Message = opts.Message;
66
68
  this.Code = opts.Code;
67
69
  }
68
70
  }
69
71
  export class InvalidRequestException extends __BaseException {
72
+ name = "InvalidRequestException";
73
+ $fault = "client";
74
+ Message;
75
+ Code;
76
+ RequiredParameters;
77
+ MutuallyExclusiveParameters;
70
78
  constructor(opts) {
71
79
  super({
72
80
  name: "InvalidRequestException",
73
81
  $fault: "client",
74
82
  ...opts,
75
83
  });
76
- this.name = "InvalidRequestException";
77
- this.$fault = "client";
78
84
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
79
85
  this.Message = opts.Message;
80
86
  this.Code = opts.Code;
@@ -83,14 +89,17 @@ export class InvalidRequestException extends __BaseException {
83
89
  }
84
90
  }
85
91
  export class LimitExceededException extends __BaseException {
92
+ name = "LimitExceededException";
93
+ $fault = "client";
94
+ Message;
95
+ Code;
96
+ ResourceType;
86
97
  constructor(opts) {
87
98
  super({
88
99
  name: "LimitExceededException",
89
100
  $fault: "client",
90
101
  ...opts,
91
102
  });
92
- this.name = "LimitExceededException";
93
- this.$fault = "client";
94
103
  Object.setPrototypeOf(this, LimitExceededException.prototype);
95
104
  this.Message = opts.Message;
96
105
  this.Code = opts.Code;
@@ -103,14 +112,18 @@ export const DefaultPoliciesTypeValues = {
103
112
  VOLUME: "VOLUME",
104
113
  };
105
114
  export class ResourceNotFoundException extends __BaseException {
115
+ name = "ResourceNotFoundException";
116
+ $fault = "client";
117
+ Message;
118
+ Code;
119
+ ResourceType;
120
+ ResourceIds;
106
121
  constructor(opts) {
107
122
  super({
108
123
  name: "ResourceNotFoundException",
109
124
  $fault: "client",
110
125
  ...opts,
111
126
  });
112
- this.name = "ResourceNotFoundException";
113
- this.$fault = "client";
114
127
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
115
128
  this.Message = opts.Message;
116
129
  this.Code = opts.Code;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
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: DLMClientConfig) => {
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: DLMClientConfig) => {
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: DLMClientConfig) => {
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: DLMClientConfig) => {
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: DLMClientConfig) => {
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: DLMClientConfig) => {
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: DLMClientConfig) => {
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-dlm",
3
3
  "description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.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-dlm",
@@ -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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.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.716.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.716.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.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.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.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.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": {