@aws-sdk/client-kinesis 3.927.0 → 3.929.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.
Files changed (63) hide show
  1. package/dist-cjs/index.js +1056 -1644
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/KinesisClient.js +2 -0
  4. package/dist-es/commands/AddTagsToStreamCommand.js +3 -9
  5. package/dist-es/commands/CreateStreamCommand.js +3 -9
  6. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +3 -9
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  8. package/dist-es/commands/DeleteStreamCommand.js +3 -9
  9. package/dist-es/commands/DeregisterStreamConsumerCommand.js +3 -9
  10. package/dist-es/commands/DescribeAccountSettingsCommand.js +3 -9
  11. package/dist-es/commands/DescribeLimitsCommand.js +3 -9
  12. package/dist-es/commands/DescribeStreamCommand.js +3 -9
  13. package/dist-es/commands/DescribeStreamConsumerCommand.js +3 -9
  14. package/dist-es/commands/DescribeStreamSummaryCommand.js +3 -9
  15. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +3 -9
  16. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +3 -9
  17. package/dist-es/commands/GetRecordsCommand.js +3 -9
  18. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  19. package/dist-es/commands/GetShardIteratorCommand.js +3 -9
  20. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +3 -9
  21. package/dist-es/commands/ListShardsCommand.js +3 -9
  22. package/dist-es/commands/ListStreamConsumersCommand.js +3 -9
  23. package/dist-es/commands/ListStreamsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/ListTagsForStreamCommand.js +3 -9
  26. package/dist-es/commands/MergeShardsCommand.js +3 -9
  27. package/dist-es/commands/PutRecordCommand.js +3 -9
  28. package/dist-es/commands/PutRecordsCommand.js +3 -9
  29. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  30. package/dist-es/commands/RegisterStreamConsumerCommand.js +3 -9
  31. package/dist-es/commands/RemoveTagsFromStreamCommand.js +3 -9
  32. package/dist-es/commands/SplitShardCommand.js +3 -9
  33. package/dist-es/commands/StartStreamEncryptionCommand.js +3 -9
  34. package/dist-es/commands/StopStreamEncryptionCommand.js +3 -9
  35. package/dist-es/commands/SubscribeToShardCommand.js +3 -10
  36. package/dist-es/commands/TagResourceCommand.js +3 -9
  37. package/dist-es/commands/UntagResourceCommand.js +3 -9
  38. package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
  39. package/dist-es/commands/UpdateMaxRecordSizeCommand.js +3 -9
  40. package/dist-es/commands/UpdateShardCountCommand.js +3 -9
  41. package/dist-es/commands/UpdateStreamModeCommand.js +3 -9
  42. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +3 -9
  43. package/dist-es/models/models_0.js +0 -28
  44. package/dist-es/runtimeConfig.shared.js +7 -0
  45. package/dist-es/schemas/schemas_0.js +933 -0
  46. package/dist-types/KinesisClient.d.ts +10 -1
  47. package/dist-types/models/models_0.d.ts +0 -8
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  49. package/dist-types/runtimeConfig.d.ts +1 -0
  50. package/dist-types/runtimeConfig.native.d.ts +1 -0
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/schemas/schemas_0.d.ts +154 -0
  53. package/dist-types/ts3.4/KinesisClient.d.ts +4 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  55. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  57. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  59. package/dist-types/ts3.4/schemas/schemas_0.d.ts +159 -0
  60. package/package.json +5 -5
  61. package/dist-es/protocols/Aws_json1_1.js +0 -1297
  62. package/dist-types/protocols/Aws_json1_1.d.ts +0 -353
  63. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -476
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForStreamCommand, se_ListTagsForStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForStreamCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class ListTagsForStreamCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "ListTagsForStream", {})
21
17
  .n("KinesisClient", "ListTagsForStreamCommand")
22
- .f(void 0, void 0)
23
- .ser(se_ListTagsForStreamCommand)
24
- .de(de_ListTagsForStreamCommand)
18
+ .sc(ListTagsForStream)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_MergeShardsCommand, se_MergeShardsCommand } from "../protocols/Aws_json1_1";
4
+ import { MergeShards } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergeShardsCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class MergeShardsCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "MergeShards", {})
21
17
  .n("KinesisClient", "MergeShardsCommand")
22
- .f(void 0, void 0)
23
- .ser(se_MergeShardsCommand)
24
- .de(de_MergeShardsCommand)
18
+ .sc(MergeShards)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutRecordCommand, se_PutRecordCommand } from "../protocols/Aws_json1_1";
4
+ import { PutRecord } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutRecordCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class PutRecordCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "PutRecord", {})
21
17
  .n("KinesisClient", "PutRecordCommand")
22
- .f(void 0, void 0)
23
- .ser(se_PutRecordCommand)
24
- .de(de_PutRecordCommand)
18
+ .sc(PutRecord)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutRecordsCommand, se_PutRecordsCommand } from "../protocols/Aws_json1_1";
4
+ import { PutRecords } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutRecordsCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class PutRecordsCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "PutRecords", {})
21
17
  .n("KinesisClient", "PutRecordsCommand")
22
- .f(void 0, void 0)
23
- .ser(se_PutRecordsCommand)
24
- .de(de_PutRecordsCommand)
18
+ .sc(PutRecords)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutResourcePolicyCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class PutResourcePolicyCommand extends $Command
12
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "PutResourcePolicy", {})
21
17
  .n("KinesisClient", "PutResourcePolicyCommand")
22
- .f(void 0, void 0)
23
- .ser(se_PutResourcePolicyCommand)
24
- .de(de_PutResourcePolicyCommand)
18
+ .sc(PutResourcePolicy)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RegisterStreamConsumerCommand, se_RegisterStreamConsumerCommand } from "../protocols/Aws_json1_1";
4
+ import { RegisterStreamConsumer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterStreamConsumerCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class RegisterStreamConsumerCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "RegisterStreamConsumer", {})
21
17
  .n("KinesisClient", "RegisterStreamConsumerCommand")
22
- .f(void 0, void 0)
23
- .ser(se_RegisterStreamConsumerCommand)
24
- .de(de_RegisterStreamConsumerCommand)
18
+ .sc(RegisterStreamConsumer)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveTagsFromStreamCommand, se_RemoveTagsFromStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { RemoveTagsFromStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveTagsFromStreamCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class RemoveTagsFromStreamCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "RemoveTagsFromStream", {})
21
17
  .n("KinesisClient", "RemoveTagsFromStreamCommand")
22
- .f(void 0, void 0)
23
- .ser(se_RemoveTagsFromStreamCommand)
24
- .de(de_RemoveTagsFromStreamCommand)
18
+ .sc(RemoveTagsFromStream)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SplitShardCommand, se_SplitShardCommand } from "../protocols/Aws_json1_1";
4
+ import { SplitShard } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SplitShardCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class SplitShardCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "SplitShard", {})
21
17
  .n("KinesisClient", "SplitShardCommand")
22
- .f(void 0, void 0)
23
- .ser(se_SplitShardCommand)
24
- .de(de_SplitShardCommand)
18
+ .sc(SplitShard)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartStreamEncryptionCommand, se_StartStreamEncryptionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartStreamEncryption } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartStreamEncryptionCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class StartStreamEncryptionCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "StartStreamEncryption", {})
21
17
  .n("KinesisClient", "StartStreamEncryptionCommand")
22
- .f(void 0, void 0)
23
- .ser(se_StartStreamEncryptionCommand)
24
- .de(de_StartStreamEncryptionCommand)
18
+ .sc(StartStreamEncryption)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopStreamEncryptionCommand, se_StopStreamEncryptionCommand } from "../protocols/Aws_json1_1";
4
+ import { StopStreamEncryption } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopStreamEncryptionCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class StopStreamEncryptionCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "StopStreamEncryption", {})
21
17
  .n("KinesisClient", "StopStreamEncryptionCommand")
22
- .f(void 0, void 0)
23
- .ser(se_StopStreamEncryptionCommand)
24
- .de(de_StopStreamEncryptionCommand)
18
+ .sc(StopStreamEncryption)
25
19
  .build() {
26
20
  }
@@ -1,9 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { SubscribeToShardOutputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_SubscribeToShardCommand, se_SubscribeToShardCommand } from "../protocols/Aws_json1_1";
4
+ import { SubscribeToShard } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class SubscribeToShardCommand extends $Command
9
7
  .classBuilder()
@@ -13,10 +11,7 @@ export class SubscribeToShardCommand extends $Command
13
11
  ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
14
12
  })
15
13
  .m(function (Command, cs, config, o) {
16
- return [
17
- getSerdePlugin(config, this.serialize, this.deserialize),
18
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
20
15
  })
21
16
  .s("Kinesis_20131202", "SubscribeToShard", {
22
17
  eventStream: {
@@ -24,8 +19,6 @@ export class SubscribeToShardCommand extends $Command
24
19
  },
25
20
  })
26
21
  .n("KinesisClient", "SubscribeToShardCommand")
27
- .f(void 0, SubscribeToShardOutputFilterSensitiveLog)
28
- .ser(se_SubscribeToShardCommand)
29
- .de(de_SubscribeToShardCommand)
22
+ .sc(SubscribeToShard)
30
23
  .build() {
31
24
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class TagResourceCommand extends $Command
12
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "TagResource", {})
21
17
  .n("KinesisClient", "TagResourceCommand")
22
- .f(void 0, void 0)
23
- .ser(se_TagResourceCommand)
24
- .de(de_TagResourceCommand)
18
+ .sc(TagResource)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class UntagResourceCommand extends $Command
12
11
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "UntagResource", {})
21
17
  .n("KinesisClient", "UntagResourceCommand")
22
- .f(void 0, void 0)
23
- .ser(se_UntagResourceCommand)
24
- .de(de_UntagResourceCommand)
18
+ .sc(UntagResource)
25
19
  .build() {
26
20
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateAccountSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAccountSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Kinesis_20131202", "UpdateAccountSettings", {})
17
13
  .n("KinesisClient", "UpdateAccountSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAccountSettingsCommand)
20
- .de(de_UpdateAccountSettingsCommand)
14
+ .sc(UpdateAccountSettings)
21
15
  .build() {
22
16
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateMaxRecordSizeCommand, se_UpdateMaxRecordSizeCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateMaxRecordSize } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateMaxRecordSizeCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class UpdateMaxRecordSizeCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "UpdateMaxRecordSize", {})
21
17
  .n("KinesisClient", "UpdateMaxRecordSizeCommand")
22
- .f(void 0, void 0)
23
- .ser(se_UpdateMaxRecordSizeCommand)
24
- .de(de_UpdateMaxRecordSizeCommand)
18
+ .sc(UpdateMaxRecordSize)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateShardCountCommand, se_UpdateShardCountCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateShardCount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateShardCountCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class UpdateShardCountCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "UpdateShardCount", {})
21
17
  .n("KinesisClient", "UpdateShardCountCommand")
22
- .f(void 0, void 0)
23
- .ser(se_UpdateShardCountCommand)
24
- .de(de_UpdateShardCountCommand)
18
+ .sc(UpdateShardCount)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateStreamModeCommand, se_UpdateStreamModeCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateStreamMode } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateStreamModeCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class UpdateStreamModeCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "UpdateStreamMode", {})
21
17
  .n("KinesisClient", "UpdateStreamModeCommand")
22
- .f(void 0, void 0)
23
- .ser(se_UpdateStreamModeCommand)
24
- .de(de_UpdateStreamModeCommand)
18
+ .sc(UpdateStreamMode)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateStreamWarmThroughputCommand, se_UpdateStreamWarmThroughputCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateStreamWarmThroughput } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateStreamWarmThroughputCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class UpdateStreamWarmThroughputCommand extends $Command
12
11
  StreamARN: { type: "contextParams", name: "StreamARN" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
21
17
  .n("KinesisClient", "UpdateStreamWarmThroughputCommand")
22
- .f(void 0, void 0)
23
- .ser(se_UpdateStreamWarmThroughputCommand)
24
- .de(de_UpdateStreamWarmThroughputCommand)
18
+ .sc(UpdateStreamWarmThroughput)
25
19
  .build() {
26
20
  }
@@ -273,31 +273,3 @@ export const MinimumThroughputBillingCommitmentInputStatus = {
273
273
  export const ScalingType = {
274
274
  UNIFORM_SCALING: "UNIFORM_SCALING",
275
275
  };
276
- export const SubscribeToShardEventStreamFilterSensitiveLog = (obj) => {
277
- if (obj.SubscribeToShardEvent !== undefined)
278
- return { SubscribeToShardEvent: obj.SubscribeToShardEvent };
279
- if (obj.ResourceNotFoundException !== undefined)
280
- return { ResourceNotFoundException: obj.ResourceNotFoundException };
281
- if (obj.ResourceInUseException !== undefined)
282
- return { ResourceInUseException: obj.ResourceInUseException };
283
- if (obj.KMSDisabledException !== undefined)
284
- return { KMSDisabledException: obj.KMSDisabledException };
285
- if (obj.KMSInvalidStateException !== undefined)
286
- return { KMSInvalidStateException: obj.KMSInvalidStateException };
287
- if (obj.KMSAccessDeniedException !== undefined)
288
- return { KMSAccessDeniedException: obj.KMSAccessDeniedException };
289
- if (obj.KMSNotFoundException !== undefined)
290
- return { KMSNotFoundException: obj.KMSNotFoundException };
291
- if (obj.KMSOptInRequired !== undefined)
292
- return { KMSOptInRequired: obj.KMSOptInRequired };
293
- if (obj.KMSThrottlingException !== undefined)
294
- return { KMSThrottlingException: obj.KMSThrottlingException };
295
- if (obj.InternalFailureException !== undefined)
296
- return { InternalFailureException: obj.InternalFailureException };
297
- if (obj.$unknown !== undefined)
298
- return { [obj.$unknown[0]]: "UNKNOWN" };
299
- };
300
- export const SubscribeToShardOutputFilterSensitiveLog = (obj) => ({
301
- ...obj,
302
- ...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
303
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.kinesis",
29
+ serviceTarget: "Kinesis_20131202",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Kinesis",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,