@aws-sdk/client-kinesis 3.952.0 → 3.953.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 (59) hide show
  1. package/dist-cjs/index.js +478 -319
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/AddTagsToStreamCommand.js +2 -2
  4. package/dist-es/commands/CreateStreamCommand.js +2 -2
  5. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -2
  6. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  7. package/dist-es/commands/DeleteStreamCommand.js +2 -2
  8. package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -2
  9. package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -2
  10. package/dist-es/commands/DescribeLimitsCommand.js +2 -2
  11. package/dist-es/commands/DescribeStreamCommand.js +2 -2
  12. package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -2
  13. package/dist-es/commands/DescribeStreamSummaryCommand.js +2 -2
  14. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +2 -2
  15. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +2 -2
  16. package/dist-es/commands/GetRecordsCommand.js +2 -2
  17. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  18. package/dist-es/commands/GetShardIteratorCommand.js +2 -2
  19. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -2
  20. package/dist-es/commands/ListShardsCommand.js +2 -2
  21. package/dist-es/commands/ListStreamConsumersCommand.js +2 -2
  22. package/dist-es/commands/ListStreamsCommand.js +2 -2
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-es/commands/ListTagsForStreamCommand.js +2 -2
  25. package/dist-es/commands/MergeShardsCommand.js +2 -2
  26. package/dist-es/commands/PutRecordCommand.js +2 -2
  27. package/dist-es/commands/PutRecordsCommand.js +2 -2
  28. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  29. package/dist-es/commands/RegisterStreamConsumerCommand.js +2 -2
  30. package/dist-es/commands/RemoveTagsFromStreamCommand.js +2 -2
  31. package/dist-es/commands/SplitShardCommand.js +2 -2
  32. package/dist-es/commands/StartStreamEncryptionCommand.js +2 -2
  33. package/dist-es/commands/StopStreamEncryptionCommand.js +2 -2
  34. package/dist-es/commands/SubscribeToShardCommand.js +2 -2
  35. package/dist-es/commands/TagResourceCommand.js +2 -2
  36. package/dist-es/commands/UntagResourceCommand.js +2 -2
  37. package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -2
  38. package/dist-es/commands/UpdateMaxRecordSizeCommand.js +2 -2
  39. package/dist-es/commands/UpdateShardCountCommand.js +2 -2
  40. package/dist-es/commands/UpdateStreamModeCommand.js +2 -2
  41. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +2 -2
  42. package/dist-es/index.js +1 -0
  43. package/dist-es/runtimeConfig.shared.js +7 -6
  44. package/dist-es/schemas/schemas_0.js +261 -240
  45. package/dist-types/KinesisClient.d.ts +1 -10
  46. package/dist-types/index.d.ts +1 -0
  47. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  48. package/dist-types/runtimeConfig.d.ts +6 -2
  49. package/dist-types/runtimeConfig.native.d.ts +6 -2
  50. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  51. package/dist-types/schemas/schemas_0.d.ts +139 -154
  52. package/dist-types/ts3.4/KinesisClient.d.ts +0 -4
  53. package/dist-types/ts3.4/index.d.ts +1 -0
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +138 -154
  59. package/package.json +38 -38
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateMaxRecordSize } from "../schemas/schemas_0";
4
+ import { UpdateMaxRecordSize$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateMaxRecordSizeCommand extends $Command
7
7
  .classBuilder()
@@ -15,6 +15,6 @@ export class UpdateMaxRecordSizeCommand extends $Command
15
15
  })
16
16
  .s("Kinesis_20131202", "UpdateMaxRecordSize", {})
17
17
  .n("KinesisClient", "UpdateMaxRecordSizeCommand")
18
- .sc(UpdateMaxRecordSize)
18
+ .sc(UpdateMaxRecordSize$)
19
19
  .build() {
20
20
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateShardCount } from "../schemas/schemas_0";
4
+ import { UpdateShardCount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateShardCountCommand extends $Command
7
7
  .classBuilder()
@@ -15,6 +15,6 @@ export class UpdateShardCountCommand extends $Command
15
15
  })
16
16
  .s("Kinesis_20131202", "UpdateShardCount", {})
17
17
  .n("KinesisClient", "UpdateShardCountCommand")
18
- .sc(UpdateShardCount)
18
+ .sc(UpdateShardCount$)
19
19
  .build() {
20
20
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateStreamMode } from "../schemas/schemas_0";
4
+ import { UpdateStreamMode$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateStreamModeCommand extends $Command
7
7
  .classBuilder()
@@ -15,6 +15,6 @@ export class UpdateStreamModeCommand extends $Command
15
15
  })
16
16
  .s("Kinesis_20131202", "UpdateStreamMode", {})
17
17
  .n("KinesisClient", "UpdateStreamModeCommand")
18
- .sc(UpdateStreamMode)
18
+ .sc(UpdateStreamMode$)
19
19
  .build() {
20
20
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateStreamWarmThroughput } from "../schemas/schemas_0";
4
+ import { UpdateStreamWarmThroughput$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateStreamWarmThroughputCommand extends $Command
7
7
  .classBuilder()
@@ -15,6 +15,6 @@ export class UpdateStreamWarmThroughputCommand extends $Command
15
15
  })
16
16
  .s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
17
17
  .n("KinesisClient", "UpdateStreamWarmThroughputCommand")
18
- .sc(UpdateStreamWarmThroughput)
18
+ .sc(UpdateStreamWarmThroughput$)
19
19
  .build() {
20
20
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./KinesisClient";
2
2
  export * from "./Kinesis";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
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
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.kinesis",
29
+ xmlNamespace: "http://kinesis.amazonaws.com/doc/2013-12-02",
30
+ version: "2013-12-02",
31
+ serviceTarget: "Kinesis_20131202",
32
+ },
32
33
  serviceId: config?.serviceId ?? "Kinesis",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,