@aws-sdk/client-dynamodb-streams 3.294.0 → 3.295.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.
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class DescribeStreamCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DescribeStreamCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeStreamCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class GetRecordsCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class GetRecordsCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRecordsCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class GetShardIteratorCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class GetShardIteratorCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetShardIteratorCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
9
  class ListStreamsCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class ListStreamsCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListStreamsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DescribeStreamInputFilterSensitiveLog, DescribeStreamOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0DescribeStreamCommand, serializeAws_json1_0DescribeStreamCommand, } from "../protocols/Aws_json1_0";
6
6
  export class DescribeStreamCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DescribeStreamCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DescribeStreamCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetRecordsInputFilterSensitiveLog, GetRecordsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0GetRecordsCommand, serializeAws_json1_0GetRecordsCommand, } from "../protocols/Aws_json1_0";
6
6
  export class GetRecordsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class GetRecordsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, GetRecordsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetShardIteratorInputFilterSensitiveLog, GetShardIteratorOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0GetShardIteratorCommand, serializeAws_json1_0GetShardIteratorCommand, } from "../protocols/Aws_json1_0";
6
6
  export class GetShardIteratorCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class GetShardIteratorCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, GetShardIteratorCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListStreamsInputFilterSensitiveLog, ListStreamsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ListStreamsCommand, serializeAws_json1_0ListStreamsCommand, } from "../protocols/Aws_json1_0";
6
6
  export class ListStreamsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListStreamsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListStreamsCommand.getEndpointParameterInstructions()));
@@ -12,8 +12,8 @@ import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetR
12
12
  import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
13
13
  import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
14
14
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
15
- export declare type ServiceInputTypes = DescribeStreamCommandInput | GetRecordsCommandInput | GetShardIteratorCommandInput | ListStreamsCommandInput;
16
- export declare type ServiceOutputTypes = DescribeStreamCommandOutput | GetRecordsCommandOutput | GetShardIteratorCommandOutput | ListStreamsCommandOutput;
15
+ export type ServiceInputTypes = DescribeStreamCommandInput | GetRecordsCommandInput | GetShardIteratorCommandInput | ListStreamsCommandInput;
16
+ export type ServiceOutputTypes = DescribeStreamCommandOutput | GetRecordsCommandOutput | GetShardIteratorCommandOutput | ListStreamsCommandOutput;
17
17
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
18
18
  /**
19
19
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -114,13 +114,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
114
114
  */
115
115
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
116
116
  }
117
- declare type DynamoDBStreamsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
117
+ type DynamoDBStreamsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
118
118
  /**
119
119
  * The configuration interface of DynamoDBStreamsClient class constructor that set the region, credentials and other options.
120
120
  */
121
121
  export interface DynamoDBStreamsClientConfig extends DynamoDBStreamsClientConfigType {
122
122
  }
123
- declare type DynamoDBStreamsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
123
+ type DynamoDBStreamsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
124
124
  /**
125
125
  * The resolved configuration interface of DynamoDBStreamsClient class. This is resolved and normalized from the {@link DynamoDBStreamsClientConfig | constructor configuration interface}.
126
126
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -460,7 +460,7 @@ export interface ListStreamsOutput {
460
460
  * <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes">Data Types</a> in the
461
461
  * <i>Amazon DynamoDB Developer Guide</i>.</p>
462
462
  */
463
- export declare type AttributeValue = AttributeValue.BMember | AttributeValue.BOOLMember | AttributeValue.BSMember | AttributeValue.LMember | AttributeValue.MMember | AttributeValue.NMember | AttributeValue.NSMember | AttributeValue.NULLMember | AttributeValue.SMember | AttributeValue.SSMember | AttributeValue.$UnknownMember;
463
+ export type AttributeValue = AttributeValue.BMember | AttributeValue.BOOLMember | AttributeValue.BSMember | AttributeValue.LMember | AttributeValue.MMember | AttributeValue.NMember | AttributeValue.NSMember | AttributeValue.NULLMember | AttributeValue.SMember | AttributeValue.SSMember | AttributeValue.$UnknownMember;
464
464
  export declare namespace AttributeValue {
465
465
  /**
466
466
  * <p>An attribute of type String. For example:</p>
@@ -65,12 +65,12 @@ import {
65
65
  ClientResolvedEndpointParameters,
66
66
  EndpointParameters,
67
67
  } from "./endpoint/EndpointParameters";
68
- export declare type ServiceInputTypes =
68
+ export type ServiceInputTypes =
69
69
  | DescribeStreamCommandInput
70
70
  | GetRecordsCommandInput
71
71
  | GetShardIteratorCommandInput
72
72
  | ListStreamsCommandInput;
73
- export declare type ServiceOutputTypes =
73
+ export type ServiceOutputTypes =
74
74
  | DescribeStreamCommandOutput
75
75
  | GetRecordsCommandOutput
76
76
  | GetShardIteratorCommandOutput
@@ -99,7 +99,7 @@ export interface ClientDefaults
99
99
  logger?: __Logger;
100
100
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
101
101
  }
102
- declare type DynamoDBStreamsClientConfigType = Partial<
102
+ type DynamoDBStreamsClientConfigType = Partial<
103
103
  __SmithyConfiguration<__HttpHandlerOptions>
104
104
  > &
105
105
  ClientDefaults &
@@ -112,7 +112,7 @@ declare type DynamoDBStreamsClientConfigType = Partial<
112
112
  ClientInputEndpointParameters;
113
113
  export interface DynamoDBStreamsClientConfig
114
114
  extends DynamoDBStreamsClientConfigType {}
115
- declare type DynamoDBStreamsClientResolvedConfigType =
115
+ type DynamoDBStreamsClientResolvedConfigType =
116
116
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
117
117
  Required<ClientDefaults> &
118
118
  RegionResolvedConfig &
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
@@ -125,7 +125,7 @@ export interface ListStreamsOutput {
125
125
  Streams?: _Stream[];
126
126
  LastEvaluatedStreamArn?: string;
127
127
  }
128
- export declare type AttributeValue =
128
+ export type AttributeValue =
129
129
  | AttributeValue.BMember
130
130
  | AttributeValue.BOOLMember
131
131
  | AttributeValue.BSMember
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb-streams",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
4
- "version": "3.294.0",
4
+ "version": "3.295.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",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.294.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.294.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.295.0",
24
+ "@aws-sdk/config-resolver": "3.295.0",
25
+ "@aws-sdk/credential-provider-node": "3.295.0",
26
+ "@aws-sdk/fetch-http-handler": "3.295.0",
27
+ "@aws-sdk/hash-node": "3.295.0",
28
+ "@aws-sdk/invalid-dependency": "3.295.0",
29
+ "@aws-sdk/middleware-content-length": "3.295.0",
30
+ "@aws-sdk/middleware-endpoint": "3.295.0",
31
+ "@aws-sdk/middleware-host-header": "3.295.0",
32
+ "@aws-sdk/middleware-logger": "3.295.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
+ "@aws-sdk/middleware-retry": "3.295.0",
35
+ "@aws-sdk/middleware-serde": "3.295.0",
36
+ "@aws-sdk/middleware-signing": "3.295.0",
37
+ "@aws-sdk/middleware-stack": "3.295.0",
38
+ "@aws-sdk/middleware-user-agent": "3.295.0",
39
+ "@aws-sdk/node-config-provider": "3.295.0",
40
+ "@aws-sdk/node-http-handler": "3.295.0",
41
+ "@aws-sdk/protocol-http": "3.295.0",
42
+ "@aws-sdk/smithy-client": "3.295.0",
43
+ "@aws-sdk/types": "3.295.0",
44
+ "@aws-sdk/url-parser": "3.295.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
+ "@aws-sdk/util-endpoints": "3.295.0",
51
+ "@aws-sdk/util-retry": "3.295.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.295.0",
53
+ "@aws-sdk/util-user-agent-node": "3.295.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.23.23",
65
- "typescript": "~4.6.2"
65
+ "typescript": "~4.9.5"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=14.0.0"