@aws-sdk/client-kinesis 3.385.0 → 3.387.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.
@@ -16,8 +16,8 @@ Object.defineProperty(exports, "__Client", { enumerable: true, get: function ()
16
16
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
17
17
  const runtimeConfig_1 = require("./runtimeConfig");
18
18
  class KinesisClient extends smithy_client_1.Client {
19
- constructor(configuration) {
20
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
19
+ constructor(...[configuration]) {
20
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
21
21
  const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
22
22
  const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
23
23
  const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
@@ -13,8 +13,8 @@ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"
13
13
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  export { __Client };
15
15
  export class KinesisClient extends __Client {
16
- constructor(configuration) {
17
- const _config_0 = __getRuntimeConfig(configuration);
16
+ constructor(...[configuration]) {
17
+ const _config_0 = __getRuntimeConfig(configuration || {});
18
18
  const _config_1 = resolveClientEndpointParameters(_config_0);
19
19
  const _config_2 = resolveRegionConfig(_config_1);
20
20
  const _config_3 = resolveEndpointConfig(_config_2);
@@ -8,7 +8,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
8
8
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
9
9
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
10
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
11
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
12
12
  import { AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
13
13
  import { CreateStreamCommandInput, CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
14
14
  import { DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput } from "./commands/DecreaseStreamRetentionPeriodCommand";
@@ -188,7 +188,7 @@ export declare class KinesisClient extends __Client<__HttpHandlerOptions, Servic
188
188
  * The resolved configuration of KinesisClient class. This is resolved and normalized from the {@link KinesisClientConfig | constructor configuration interface}.
189
189
  */
190
190
  readonly config: KinesisClientResolvedConfig;
191
- constructor(configuration: KinesisClientConfig);
191
+ constructor(...[configuration]: __CheckOptionalClientConfig<KinesisClientConfig>);
192
192
  /**
193
193
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
194
194
  * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
@@ -36,6 +36,7 @@ import {
36
36
  } from "@smithy/smithy-client";
37
37
  import {
38
38
  BodyLengthCalculator as __BodyLengthCalculator,
39
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
39
40
  ChecksumConstructor as __ChecksumConstructor,
40
41
  Decoder as __Decoder,
41
42
  Encoder as __Encoder,
@@ -289,6 +290,8 @@ export declare class KinesisClient extends __Client<
289
290
  KinesisClientResolvedConfig
290
291
  > {
291
292
  readonly config: KinesisClientResolvedConfig;
292
- constructor(configuration: KinesisClientConfig);
293
+ constructor(
294
+ ...[configuration]: __CheckOptionalClientConfig<KinesisClientConfig>
295
+ );
293
296
  destroy(): void;
294
297
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
4
- "version": "3.385.0",
4
+ "version": "3.387.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,43 +22,43 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.385.0",
26
- "@aws-sdk/credential-provider-node": "3.385.0",
27
- "@aws-sdk/middleware-host-header": "3.379.1",
28
- "@aws-sdk/middleware-logger": "3.378.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.378.0",
30
- "@aws-sdk/middleware-signing": "3.379.1",
31
- "@aws-sdk/middleware-user-agent": "3.382.0",
32
- "@aws-sdk/types": "3.378.0",
33
- "@aws-sdk/util-endpoints": "3.382.0",
34
- "@aws-sdk/util-user-agent-browser": "3.378.0",
35
- "@aws-sdk/util-user-agent-node": "3.378.0",
36
- "@smithy/config-resolver": "^2.0.1",
37
- "@smithy/eventstream-serde-browser": "^2.0.1",
38
- "@smithy/eventstream-serde-config-resolver": "^2.0.1",
39
- "@smithy/eventstream-serde-node": "^2.0.1",
40
- "@smithy/fetch-http-handler": "^2.0.1",
41
- "@smithy/hash-node": "^2.0.1",
42
- "@smithy/invalid-dependency": "^2.0.1",
43
- "@smithy/middleware-content-length": "^2.0.1",
44
- "@smithy/middleware-endpoint": "^2.0.1",
45
- "@smithy/middleware-retry": "^2.0.1",
46
- "@smithy/middleware-serde": "^2.0.1",
25
+ "@aws-sdk/client-sts": "3.387.0",
26
+ "@aws-sdk/credential-provider-node": "3.387.0",
27
+ "@aws-sdk/middleware-host-header": "3.387.0",
28
+ "@aws-sdk/middleware-logger": "3.387.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.387.0",
30
+ "@aws-sdk/middleware-signing": "3.387.0",
31
+ "@aws-sdk/middleware-user-agent": "3.387.0",
32
+ "@aws-sdk/types": "3.387.0",
33
+ "@aws-sdk/util-endpoints": "3.387.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.387.0",
35
+ "@aws-sdk/util-user-agent-node": "3.387.0",
36
+ "@smithy/config-resolver": "^2.0.2",
37
+ "@smithy/eventstream-serde-browser": "^2.0.2",
38
+ "@smithy/eventstream-serde-config-resolver": "^2.0.2",
39
+ "@smithy/eventstream-serde-node": "^2.0.2",
40
+ "@smithy/fetch-http-handler": "^2.0.2",
41
+ "@smithy/hash-node": "^2.0.2",
42
+ "@smithy/invalid-dependency": "^2.0.2",
43
+ "@smithy/middleware-content-length": "^2.0.2",
44
+ "@smithy/middleware-endpoint": "^2.0.2",
45
+ "@smithy/middleware-retry": "^2.0.2",
46
+ "@smithy/middleware-serde": "^2.0.2",
47
47
  "@smithy/middleware-stack": "^2.0.0",
48
- "@smithy/node-config-provider": "^2.0.1",
49
- "@smithy/node-http-handler": "^2.0.1",
50
- "@smithy/protocol-http": "^2.0.1",
51
- "@smithy/smithy-client": "^2.0.1",
52
- "@smithy/types": "^2.0.2",
53
- "@smithy/url-parser": "^2.0.1",
48
+ "@smithy/node-config-provider": "^2.0.2",
49
+ "@smithy/node-http-handler": "^2.0.2",
50
+ "@smithy/protocol-http": "^2.0.2",
51
+ "@smithy/smithy-client": "^2.0.2",
52
+ "@smithy/types": "^2.1.0",
53
+ "@smithy/url-parser": "^2.0.2",
54
54
  "@smithy/util-base64": "^2.0.0",
55
55
  "@smithy/util-body-length-browser": "^2.0.0",
56
56
  "@smithy/util-body-length-node": "^2.0.0",
57
- "@smithy/util-defaults-mode-browser": "^2.0.1",
58
- "@smithy/util-defaults-mode-node": "^2.0.1",
57
+ "@smithy/util-defaults-mode-browser": "^2.0.2",
58
+ "@smithy/util-defaults-mode-node": "^2.0.2",
59
59
  "@smithy/util-retry": "^2.0.0",
60
60
  "@smithy/util-utf8": "^2.0.0",
61
- "@smithy/util-waiter": "^2.0.1",
61
+ "@smithy/util-waiter": "^2.0.2",
62
62
  "tslib": "^2.5.0"
63
63
  },
64
64
  "devDependencies": {