@aws-sdk/client-kinesis 3.1115.0 → 3.1117.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.
@@ -8,6 +8,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
8
8
  tls?: boolean;
9
9
  ignoreConfiguredEndpointUrls?: boolean;
10
10
  serviceConfiguredEndpoint?: never;
11
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
11
12
  customUserAgent?: string | import("@smithy/types").UserAgent;
12
13
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
13
14
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -42,6 +43,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
42
43
  utf8Encoder: (input: Uint8Array | string) => string;
43
44
  profile?: string;
44
45
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
46
+ accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
45
47
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
48
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
47
49
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -1,3 +1,8 @@
1
+ import {
2
+ AccountIdEndpointMode,
3
+ AccountIdEndpointModeInputConfig,
4
+ AccountIdEndpointModeResolvedConfig,
5
+ } from "@aws-sdk/core/account-id-endpoint";
1
6
  import {
2
7
  HostHeaderInputConfig,
3
8
  HostHeaderResolvedConfig,
@@ -274,6 +279,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
274
279
  useFipsEndpoint?: boolean | __Provider<boolean>;
275
280
  region?: string | __Provider<string>;
276
281
  profile?: string;
282
+ accountIdEndpointMode?: AccountIdEndpointMode | __Provider<AccountIdEndpointMode>;
277
283
  defaultUserAgentProvider?: __Provider<__UserAgent>;
278
284
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
279
285
  maxAttempts?: number | __Provider<number>;
@@ -285,6 +291,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
285
291
  }
286
292
  export type KinesisClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
287
293
  ClientDefaults &
294
+ AccountIdEndpointModeInputConfig &
288
295
  UserAgentInputConfig &
289
296
  RetryInputConfig &
290
297
  RegionInputConfig &
@@ -297,6 +304,7 @@ export interface KinesisClientConfig extends KinesisClientConfigType {}
297
304
  export type KinesisClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
298
305
  Required<ClientDefaults> &
299
306
  RuntimeExtensionsConfig &
307
+ AccountIdEndpointModeResolvedConfig &
300
308
  UserAgentResolvedConfig &
301
309
  RetryResolvedConfig &
302
310
  RegionResolvedConfig &
@@ -15,6 +15,8 @@ export interface ClientInputEndpointParameters {
15
15
  | Provider<Endpoint>
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
+ accountId?: string | undefined | Provider<string | undefined>;
19
+ accountIdEndpointMode?: string | undefined | Provider<string | undefined>;
18
20
  }
19
21
  export type ClientResolvedEndpointParameters = Pick<
20
22
  ClientInputEndpointParameters,
@@ -30,6 +32,10 @@ export declare const commonParams: {
30
32
  readonly type: "builtInParams";
31
33
  readonly name: "useFipsEndpoint";
32
34
  };
35
+ readonly AccountId: {
36
+ readonly type: "builtInParams";
37
+ readonly name: "accountId";
38
+ };
33
39
  readonly Endpoint: {
34
40
  readonly type: "builtInParams";
35
41
  readonly name: "endpoint";
@@ -42,15 +48,21 @@ export declare const commonParams: {
42
48
  readonly type: "builtInParams";
43
49
  readonly name: "useDualstackEndpoint";
44
50
  };
51
+ readonly AccountIdEndpointMode: {
52
+ readonly type: "builtInParams";
53
+ readonly name: "accountIdEndpointMode";
54
+ };
45
55
  };
46
56
  export interface EndpointParameters extends __EndpointParameters {
47
57
  Region?: string | undefined;
48
58
  UseDualStack?: boolean | undefined;
49
59
  UseFIPS?: boolean | undefined;
50
60
  Endpoint?: string | undefined;
61
+ OperationType?: string | undefined;
51
62
  StreamId?: string | undefined;
52
63
  StreamARN?: string | undefined;
53
- OperationType?: string | undefined;
54
64
  ConsumerARN?: string | undefined;
55
65
  ResourceARN?: string | undefined;
66
+ AccountId?: string | undefined;
67
+ AccountIdEndpointMode?: string | undefined;
56
68
  }
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
22
22
  tls?: boolean;
23
23
  ignoreConfiguredEndpointUrls?: boolean;
24
24
  serviceConfiguredEndpoint?: never;
25
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
25
26
  customUserAgent?: string | import("@smithy/types").UserAgent;
26
27
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
27
28
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -74,6 +75,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
74
75
  defaultsMode: import("@smithy/types").Provider<
75
76
  import("@smithy/core/client").ResolvedDefaultsMode
76
77
  >;
78
+ accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
77
79
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
78
80
  credentialDefaultProvider:
79
81
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
22
22
  tls?: boolean;
23
23
  ignoreConfiguredEndpointUrls?: boolean;
24
24
  serviceConfiguredEndpoint?: never;
25
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
25
26
  customUserAgent?: string | import("@smithy/types").UserAgent;
26
27
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
27
28
  credentials?:
@@ -71,6 +72,13 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
71
72
  defaultsMode: import("@smithy/types").Provider<
72
73
  import("@smithy/core/client").ResolvedDefaultsMode
73
74
  >;
75
+ accountIdEndpointMode:
76
+ | "disabled"
77
+ | "preferred"
78
+ | "required"
79
+ | import("@smithy/types").Provider<
80
+ import("@aws-sdk/core/account-id-endpoint").AccountIdEndpointMode
81
+ >;
74
82
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
75
83
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
84
  credentialDefaultProvider:
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
21
21
  tls?: boolean;
22
22
  ignoreConfiguredEndpointUrls?: boolean;
23
23
  serviceConfiguredEndpoint?: never;
24
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
24
25
  customUserAgent?: string | import("@smithy/types").UserAgent;
25
26
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
26
27
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -72,6 +73,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
72
73
  defaultsMode:
73
74
  | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
74
75
  | import("@smithy/core/client").DefaultsMode;
76
+ accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
75
77
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
78
  credentialDefaultProvider:
77
79
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
- "version": "3.1115.0",
3
+ "version": "3.1117.0",
4
4
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kinesis",
6
6
  "license": "Apache-2.0",
@@ -52,17 +52,17 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.977.8",
56
- "@aws-sdk/credential-provider-node": "^3.972.80",
57
- "@aws-sdk/types": "^3.974.4",
58
- "@smithy/core": "^3.31.1",
59
- "@smithy/fetch-http-handler": "^5.6.13",
60
- "@smithy/node-http-handler": "^4.9.13",
61
- "@smithy/types": "^4.16.1",
55
+ "@aws-sdk/core": "^3.977.9",
56
+ "@aws-sdk/credential-provider-node": "^3.972.81",
57
+ "@aws-sdk/types": "^3.974.5",
58
+ "@smithy/core": "^3.33.3",
59
+ "@smithy/fetch-http-handler": "^5.7.2",
60
+ "@smithy/node-http-handler": "^4.11.3",
61
+ "@smithy/types": "^4.17.2",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@smithy/snapshot-testing": "^2.2.16",
65
+ "@smithy/snapshot-testing": "^2.3.2",
66
66
  "@tsconfig/node20": "20.1.8",
67
67
  "@types/node": "^20.14.8",
68
68
  "concurrently": "7.0.0",