@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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.kinesis",
32
+ serviceTarget: "Kinesis_20131202",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Kinesis",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
8
9
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
10
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
@@ -30,6 +31,7 @@ export class KinesisClient extends __Client {
30
31
  const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
31
32
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
32
33
  this.config = _config_9;
34
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
35
  this.middlewareStack.use(getUserAgentPlugin(this.config));
34
36
  this.middlewareStack.use(getRetryPlugin(this.config));
35
37
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_AddTagsToStreamCommand, se_AddTagsToStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { AddTagsToStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddTagsToStreamCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class AddTagsToStreamCommand 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", "AddTagsToStream", {})
21
17
  .n("KinesisClient", "AddTagsToStreamCommand")
22
- .f(void 0, void 0)
23
- .ser(se_AddTagsToStreamCommand)
24
- .de(de_AddTagsToStreamCommand)
18
+ .sc(AddTagsToStream)
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_CreateStreamCommand, se_CreateStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateStreamCommand 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", "CreateStream", {})
17
13
  .n("KinesisClient", "CreateStreamCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateStreamCommand)
20
- .de(de_CreateStreamCommand)
14
+ .sc(CreateStream)
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_DecreaseStreamRetentionPeriodCommand, se_DecreaseStreamRetentionPeriodCommand, } from "../protocols/Aws_json1_1";
4
+ import { DecreaseStreamRetentionPeriod } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DecreaseStreamRetentionPeriodCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DecreaseStreamRetentionPeriodCommand 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", "DecreaseStreamRetentionPeriod", {})
21
17
  .n("KinesisClient", "DecreaseStreamRetentionPeriodCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DecreaseStreamRetentionPeriodCommand)
24
- .de(de_DecreaseStreamRetentionPeriodCommand)
18
+ .sc(DecreaseStreamRetentionPeriod)
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_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteResourcePolicyCommand 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", "DeleteResourcePolicy", {})
21
17
  .n("KinesisClient", "DeleteResourcePolicyCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteResourcePolicyCommand)
24
- .de(de_DeleteResourcePolicyCommand)
18
+ .sc(DeleteResourcePolicy)
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_DeleteStreamCommand, se_DeleteStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteStreamCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteStreamCommand 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", "DeleteStream", {})
21
17
  .n("KinesisClient", "DeleteStreamCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteStreamCommand)
24
- .de(de_DeleteStreamCommand)
18
+ .sc(DeleteStream)
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_DeregisterStreamConsumerCommand, se_DeregisterStreamConsumerCommand } from "../protocols/Aws_json1_1";
4
+ import { DeregisterStreamConsumer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeregisterStreamConsumerCommand extends $Command
8
7
  .classBuilder()
@@ -13,15 +12,10 @@ export class DeregisterStreamConsumerCommand extends $Command
13
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
14
13
  })
15
14
  .m(function (Command, cs, config, o) {
16
- return [
17
- getSerdePlugin(config, this.serialize, this.deserialize),
18
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
20
16
  })
21
17
  .s("Kinesis_20131202", "DeregisterStreamConsumer", {})
22
18
  .n("KinesisClient", "DeregisterStreamConsumerCommand")
23
- .f(void 0, void 0)
24
- .ser(se_DeregisterStreamConsumerCommand)
25
- .de(de_DeregisterStreamConsumerCommand)
19
+ .sc(DeregisterStreamConsumer)
26
20
  .build() {
27
21
  }
@@ -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_DescribeAccountSettingsCommand, se_DescribeAccountSettingsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAccountSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAccountSettingsCommand 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", "DescribeAccountSettings", {})
17
13
  .n("KinesisClient", "DescribeAccountSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAccountSettingsCommand)
20
- .de(de_DescribeAccountSettingsCommand)
14
+ .sc(DescribeAccountSettings)
21
15
  .build() {
22
16
  }
@@ -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_DescribeLimitsCommand, se_DescribeLimitsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeLimits } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeLimitsCommand 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", "DescribeLimits", {})
17
13
  .n("KinesisClient", "DescribeLimitsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeLimitsCommand)
20
- .de(de_DescribeLimitsCommand)
14
+ .sc(DescribeLimits)
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_DescribeStreamCommand, se_DescribeStreamCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeStreamCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DescribeStreamCommand 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", "DescribeStream", {})
21
17
  .n("KinesisClient", "DescribeStreamCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DescribeStreamCommand)
24
- .de(de_DescribeStreamCommand)
18
+ .sc(DescribeStream)
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_DescribeStreamConsumerCommand, se_DescribeStreamConsumerCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeStreamConsumer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeStreamConsumerCommand extends $Command
8
7
  .classBuilder()
@@ -13,15 +12,10 @@ export class DescribeStreamConsumerCommand extends $Command
13
12
  StreamARN: { type: "contextParams", name: "StreamARN" },
14
13
  })
15
14
  .m(function (Command, cs, config, o) {
16
- return [
17
- getSerdePlugin(config, this.serialize, this.deserialize),
18
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
20
16
  })
21
17
  .s("Kinesis_20131202", "DescribeStreamConsumer", {})
22
18
  .n("KinesisClient", "DescribeStreamConsumerCommand")
23
- .f(void 0, void 0)
24
- .ser(se_DescribeStreamConsumerCommand)
25
- .de(de_DescribeStreamConsumerCommand)
19
+ .sc(DescribeStreamConsumer)
26
20
  .build() {
27
21
  }
@@ -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_DescribeStreamSummaryCommand, se_DescribeStreamSummaryCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeStreamSummary } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeStreamSummaryCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DescribeStreamSummaryCommand 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", "DescribeStreamSummary", {})
21
17
  .n("KinesisClient", "DescribeStreamSummaryCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DescribeStreamSummaryCommand)
24
- .de(de_DescribeStreamSummaryCommand)
18
+ .sc(DescribeStreamSummary)
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_DisableEnhancedMonitoringCommand, se_DisableEnhancedMonitoringCommand } from "../protocols/Aws_json1_1";
4
+ import { DisableEnhancedMonitoring } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableEnhancedMonitoringCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DisableEnhancedMonitoringCommand 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", "DisableEnhancedMonitoring", {})
21
17
  .n("KinesisClient", "DisableEnhancedMonitoringCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DisableEnhancedMonitoringCommand)
24
- .de(de_DisableEnhancedMonitoringCommand)
18
+ .sc(DisableEnhancedMonitoring)
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_EnableEnhancedMonitoringCommand, se_EnableEnhancedMonitoringCommand } from "../protocols/Aws_json1_1";
4
+ import { EnableEnhancedMonitoring } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableEnhancedMonitoringCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class EnableEnhancedMonitoringCommand 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", "EnableEnhancedMonitoring", {})
21
17
  .n("KinesisClient", "EnableEnhancedMonitoringCommand")
22
- .f(void 0, void 0)
23
- .ser(se_EnableEnhancedMonitoringCommand)
24
- .de(de_EnableEnhancedMonitoringCommand)
18
+ .sc(EnableEnhancedMonitoring)
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_GetRecordsCommand, se_GetRecordsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetRecords } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRecordsCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class GetRecordsCommand 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", "GetRecords", {})
21
17
  .n("KinesisClient", "GetRecordsCommand")
22
- .f(void 0, void 0)
23
- .ser(se_GetRecordsCommand)
24
- .de(de_GetRecordsCommand)
18
+ .sc(GetRecords)
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_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { GetResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetResourcePolicyCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class GetResourcePolicyCommand 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", "GetResourcePolicy", {})
21
17
  .n("KinesisClient", "GetResourcePolicyCommand")
22
- .f(void 0, void 0)
23
- .ser(se_GetResourcePolicyCommand)
24
- .de(de_GetResourcePolicyCommand)
18
+ .sc(GetResourcePolicy)
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_GetShardIteratorCommand, se_GetShardIteratorCommand } from "../protocols/Aws_json1_1";
4
+ import { GetShardIterator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetShardIteratorCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class GetShardIteratorCommand 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", "GetShardIterator", {})
21
17
  .n("KinesisClient", "GetShardIteratorCommand")
22
- .f(void 0, void 0)
23
- .ser(se_GetShardIteratorCommand)
24
- .de(de_GetShardIteratorCommand)
18
+ .sc(GetShardIterator)
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_IncreaseStreamRetentionPeriodCommand, se_IncreaseStreamRetentionPeriodCommand, } from "../protocols/Aws_json1_1";
4
+ import { IncreaseStreamRetentionPeriod } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class IncreaseStreamRetentionPeriodCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class IncreaseStreamRetentionPeriodCommand 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", "IncreaseStreamRetentionPeriod", {})
21
17
  .n("KinesisClient", "IncreaseStreamRetentionPeriodCommand")
22
- .f(void 0, void 0)
23
- .ser(se_IncreaseStreamRetentionPeriodCommand)
24
- .de(de_IncreaseStreamRetentionPeriodCommand)
18
+ .sc(IncreaseStreamRetentionPeriod)
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_ListShardsCommand, se_ListShardsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListShards } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListShardsCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class ListShardsCommand 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", "ListShards", {})
21
17
  .n("KinesisClient", "ListShardsCommand")
22
- .f(void 0, void 0)
23
- .ser(se_ListShardsCommand)
24
- .de(de_ListShardsCommand)
18
+ .sc(ListShards)
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_ListStreamConsumersCommand, se_ListStreamConsumersCommand } from "../protocols/Aws_json1_1";
4
+ import { ListStreamConsumers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListStreamConsumersCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class ListStreamConsumersCommand 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", "ListStreamConsumers", {})
21
17
  .n("KinesisClient", "ListStreamConsumersCommand")
22
- .f(void 0, void 0)
23
- .ser(se_ListStreamConsumersCommand)
24
- .de(de_ListStreamConsumersCommand)
18
+ .sc(ListStreamConsumers)
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_ListStreamsCommand, se_ListStreamsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListStreams } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListStreamsCommand 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", "ListStreams", {})
17
13
  .n("KinesisClient", "ListStreamsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListStreamsCommand)
20
- .de(de_ListStreamsCommand)
14
+ .sc(ListStreams)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
21
17
  .n("KinesisClient", "ListTagsForResourceCommand")
22
- .f(void 0, void 0)
23
- .ser(se_ListTagsForResourceCommand)
24
- .de(de_ListTagsForResourceCommand)
18
+ .sc(ListTagsForResource)
25
19
  .build() {
26
20
  }