@aws-sdk/client-kinesis 3.1121.0 → 3.1122.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 (71) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +834 -310
  3. package/dist-es/Kinesis.js +14 -0
  4. package/dist-es/commandBuilder.js +7 -3
  5. package/dist-es/commands/CreateChannelCommand.js +4 -0
  6. package/dist-es/commands/DeleteChannelCommand.js +4 -0
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  8. package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -2
  9. package/dist-es/commands/DescribeChannelCommand.js +4 -0
  10. package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -2
  11. package/dist-es/commands/GetRecordsCommand.js +2 -2
  12. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  13. package/dist-es/commands/GetShardIteratorCommand.js +2 -2
  14. package/dist-es/commands/ListChannelsCommand.js +4 -0
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/PutRecordCommand.js +2 -2
  17. package/dist-es/commands/PutRecordsCommand.js +2 -2
  18. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  19. package/dist-es/commands/SubscribeToShardCommand.js +2 -2
  20. package/dist-es/commands/TagResourceCommand.js +2 -2
  21. package/dist-es/commands/UntagResourceCommand.js +2 -2
  22. package/dist-es/commands/UpdateChannelCommand.js +4 -0
  23. package/dist-es/commands/index.js +5 -0
  24. package/dist-es/endpoint/bdd.js +275 -211
  25. package/dist-es/endpoint/endpointResolver.js +1 -0
  26. package/dist-es/models/enums.js +38 -0
  27. package/dist-es/models/errors.js +44 -44
  28. package/dist-es/pagination/ListChannelsPaginator.js +4 -0
  29. package/dist-es/pagination/index.js +1 -0
  30. package/dist-es/schemas/schemas_0.js +312 -38
  31. package/dist-es/waiters/index.js +1 -0
  32. package/dist-es/waiters/waitForChannelActive.js +67 -0
  33. package/dist-types/Kinesis.d.ts +49 -0
  34. package/dist-types/KinesisClient.d.ts +7 -2
  35. package/dist-types/commandBuilder.d.ts +4 -0
  36. package/dist-types/commands/CreateChannelCommand.d.ts +456 -0
  37. package/dist-types/commands/DeleteChannelCommand.d.ts +105 -0
  38. package/dist-types/commands/DescribeChannelCommand.d.ts +219 -0
  39. package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -0
  40. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +1 -0
  41. package/dist-types/commands/ListChannelsCommand.d.ts +181 -0
  42. package/dist-types/commands/UpdateChannelCommand.d.ts +246 -0
  43. package/dist-types/commands/index.d.ts +5 -0
  44. package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
  45. package/dist-types/models/enums.d.ts +102 -0
  46. package/dist-types/models/errors.d.ts +51 -51
  47. package/dist-types/models/models_0.d.ts +788 -1
  48. package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +37 -0
  51. package/dist-types/ts3.4/Kinesis.d.ts +99 -0
  52. package/dist-types/ts3.4/KinesisClient.d.ts +30 -0
  53. package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
  54. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +38 -0
  58. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +38 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  60. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +49 -0
  62. package/dist-types/ts3.4/models/errors.d.ts +20 -20
  63. package/dist-types/ts3.4/models/models_0.d.ts +168 -0
  64. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
  67. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  68. package/dist-types/ts3.4/waiters/waitForChannelActive.d.ts +15 -0
  69. package/dist-types/waiters/index.d.ts +1 -0
  70. package/dist-types/waiters/waitForChannelActive.d.ts +15 -0
  71. package/package.json +1 -1
@@ -1,11 +1,14 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { AddTagsToStreamCommand, } from "./commands/AddTagsToStreamCommand";
3
+ import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
3
4
  import { CreateStreamCommand, } from "./commands/CreateStreamCommand";
4
5
  import { DecreaseStreamRetentionPeriodCommand, } from "./commands/DecreaseStreamRetentionPeriodCommand";
6
+ import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
5
7
  import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
6
8
  import { DeleteStreamCommand, } from "./commands/DeleteStreamCommand";
7
9
  import { DeregisterStreamConsumerCommand, } from "./commands/DeregisterStreamConsumerCommand";
8
10
  import { DescribeAccountSettingsCommand, } from "./commands/DescribeAccountSettingsCommand";
11
+ import { DescribeChannelCommand, } from "./commands/DescribeChannelCommand";
9
12
  import { DescribeLimitsCommand, } from "./commands/DescribeLimitsCommand";
10
13
  import { DescribeStreamCommand, } from "./commands/DescribeStreamCommand";
11
14
  import { DescribeStreamConsumerCommand, } from "./commands/DescribeStreamConsumerCommand";
@@ -16,6 +19,7 @@ import { GetRecordsCommand, } from "./commands/GetRecordsCommand";
16
19
  import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
17
20
  import { GetShardIteratorCommand, } from "./commands/GetShardIteratorCommand";
18
21
  import { IncreaseStreamRetentionPeriodCommand, } from "./commands/IncreaseStreamRetentionPeriodCommand";
22
+ import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
19
23
  import { ListShardsCommand, } from "./commands/ListShardsCommand";
20
24
  import { ListStreamConsumersCommand, } from "./commands/ListStreamConsumersCommand";
21
25
  import { ListStreamsCommand, } from "./commands/ListStreamsCommand";
@@ -34,23 +38,29 @@ import { SubscribeToShardCommand, } from "./commands/SubscribeToShardCommand";
34
38
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
35
39
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
36
40
  import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
41
+ import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
37
42
  import { UpdateMaxRecordSizeCommand, } from "./commands/UpdateMaxRecordSizeCommand";
38
43
  import { UpdateShardCountCommand, } from "./commands/UpdateShardCountCommand";
39
44
  import { UpdateStreamModeCommand, } from "./commands/UpdateStreamModeCommand";
40
45
  import { UpdateStreamWarmThroughputCommand, } from "./commands/UpdateStreamWarmThroughputCommand";
41
46
  import { KinesisClient } from "./KinesisClient";
47
+ import { paginateListChannels } from "./pagination/ListChannelsPaginator";
42
48
  import { paginateListStreamConsumers } from "./pagination/ListStreamConsumersPaginator";
43
49
  import { paginateListStreams } from "./pagination/ListStreamsPaginator";
50
+ import { waitUntilChannelActive } from "./waiters/waitForChannelActive";
44
51
  import { waitUntilStreamExists } from "./waiters/waitForStreamExists";
45
52
  import { waitUntilStreamNotExists } from "./waiters/waitForStreamNotExists";
46
53
  const commands = {
47
54
  AddTagsToStreamCommand,
55
+ CreateChannelCommand,
48
56
  CreateStreamCommand,
49
57
  DecreaseStreamRetentionPeriodCommand,
58
+ DeleteChannelCommand,
50
59
  DeleteResourcePolicyCommand,
51
60
  DeleteStreamCommand,
52
61
  DeregisterStreamConsumerCommand,
53
62
  DescribeAccountSettingsCommand,
63
+ DescribeChannelCommand,
54
64
  DescribeLimitsCommand,
55
65
  DescribeStreamCommand,
56
66
  DescribeStreamConsumerCommand,
@@ -61,6 +71,7 @@ const commands = {
61
71
  GetResourcePolicyCommand,
62
72
  GetShardIteratorCommand,
63
73
  IncreaseStreamRetentionPeriodCommand,
74
+ ListChannelsCommand,
64
75
  ListShardsCommand,
65
76
  ListStreamConsumersCommand,
66
77
  ListStreamsCommand,
@@ -79,16 +90,19 @@ const commands = {
79
90
  TagResourceCommand,
80
91
  UntagResourceCommand,
81
92
  UpdateAccountSettingsCommand,
93
+ UpdateChannelCommand,
82
94
  UpdateMaxRecordSizeCommand,
83
95
  UpdateShardCountCommand,
84
96
  UpdateStreamModeCommand,
85
97
  UpdateStreamWarmThroughputCommand,
86
98
  };
87
99
  const paginators = {
100
+ paginateListChannels,
88
101
  paginateListStreamConsumers,
89
102
  paginateListStreams,
90
103
  };
91
104
  const waiters = {
105
+ waitUntilChannelActive,
92
106
  waitUntilStreamExists,
93
107
  waitUntilStreamNotExists,
94
108
  };
@@ -11,22 +11,26 @@ export const _ep1 = {
11
11
  OperationType: { type: "staticContextParams", value: `control` },
12
12
  };
13
13
  export const _ep2 = {
14
+ OperationType: { type: "staticContextParams", value: `control` },
15
+ ChannelARN: { type: "contextParams", name: "ChannelARN" },
16
+ };
17
+ export const _ep3 = {
14
18
  OperationType: { type: "staticContextParams", value: `control` },
15
19
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
16
20
  StreamId: { type: "contextParams", name: "StreamId" },
17
21
  };
18
- export const _ep3 = {
22
+ export const _ep4 = {
19
23
  OperationType: { type: "staticContextParams", value: `control` },
20
24
  StreamId: { type: "contextParams", name: "StreamId" },
21
25
  ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
22
26
  StreamARN: { type: "contextParams", name: "StreamARN" },
23
27
  };
24
- export const _ep4 = {
28
+ export const _ep5 = {
25
29
  OperationType: { type: "staticContextParams", value: `data` },
26
30
  StreamId: { type: "contextParams", name: "StreamId" },
27
31
  StreamARN: { type: "contextParams", name: "StreamARN" },
28
32
  };
29
- export const _ep5 = {
33
+ export const _ep6 = {
30
34
  OperationType: { type: "staticContextParams", value: `data` },
31
35
  StreamId: { type: "contextParams", name: "StreamId" },
32
36
  ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
@@ -0,0 +1,4 @@
1
+ import { _ep1, _mw0, command } from "../commandBuilder";
2
+ import { CreateChannel$ } from "../schemas/schemas_0";
3
+ export class CreateChannelCommand extends command(_ep1, _mw0, "CreateChannel", CreateChannel$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
2
+ import { DeleteChannel$ } from "../schemas/schemas_0";
3
+ export class DeleteChannelCommand extends command(_ep2, _mw0, "DeleteChannel", DeleteChannel$) {
4
+ }
@@ -1,4 +1,4 @@
1
- import { _ep2, _mw0, command } from "../commandBuilder";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
2
2
  import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
3
- export class DeleteResourcePolicyCommand extends command(_ep2, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
3
+ export class DeleteResourcePolicyCommand extends command(_ep3, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep3, _mw0, command } from "../commandBuilder";
1
+ import { _ep4, _mw0, command } from "../commandBuilder";
2
2
  import { DeregisterStreamConsumer$ } from "../schemas/schemas_0";
3
- export class DeregisterStreamConsumerCommand extends command(_ep3, _mw0, "DeregisterStreamConsumer", DeregisterStreamConsumer$) {
3
+ export class DeregisterStreamConsumerCommand extends command(_ep4, _mw0, "DeregisterStreamConsumer", DeregisterStreamConsumer$) {
4
4
  }
@@ -0,0 +1,4 @@
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
2
+ import { DescribeChannel$ } from "../schemas/schemas_0";
3
+ export class DescribeChannelCommand extends command(_ep2, _mw0, "DescribeChannel", DescribeChannel$) {
4
+ }
@@ -1,4 +1,4 @@
1
- import { _ep3, _mw0, command } from "../commandBuilder";
1
+ import { _ep4, _mw0, command } from "../commandBuilder";
2
2
  import { DescribeStreamConsumer$ } from "../schemas/schemas_0";
3
- export class DescribeStreamConsumerCommand extends command(_ep3, _mw0, "DescribeStreamConsumer", DescribeStreamConsumer$) {
3
+ export class DescribeStreamConsumerCommand extends command(_ep4, _mw0, "DescribeStreamConsumer", DescribeStreamConsumer$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep4, _mw0, command } from "../commandBuilder";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
2
2
  import { GetRecords$ } from "../schemas/schemas_0";
3
- export class GetRecordsCommand extends command(_ep4, _mw0, "GetRecords", GetRecords$) {
3
+ export class GetRecordsCommand extends command(_ep5, _mw0, "GetRecords", GetRecords$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep2, _mw0, command } from "../commandBuilder";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
2
2
  import { GetResourcePolicy$ } from "../schemas/schemas_0";
3
- export class GetResourcePolicyCommand extends command(_ep2, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
3
+ export class GetResourcePolicyCommand extends command(_ep3, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep4, _mw0, command } from "../commandBuilder";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
2
2
  import { GetShardIterator$ } from "../schemas/schemas_0";
3
- export class GetShardIteratorCommand extends command(_ep4, _mw0, "GetShardIterator", GetShardIterator$) {
3
+ export class GetShardIteratorCommand extends command(_ep5, _mw0, "GetShardIterator", GetShardIterator$) {
4
4
  }
@@ -0,0 +1,4 @@
1
+ import { _ep1, _mw0, command } from "../commandBuilder";
2
+ import { ListChannels$ } from "../schemas/schemas_0";
3
+ export class ListChannelsCommand extends command(_ep1, _mw0, "ListChannels", ListChannels$) {
4
+ }
@@ -1,4 +1,4 @@
1
- import { _ep2, _mw0, command } from "../commandBuilder";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
2
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
3
- export class ListTagsForResourceCommand extends command(_ep2, _mw0, "ListTagsForResource", ListTagsForResource$) {
3
+ export class ListTagsForResourceCommand extends command(_ep3, _mw0, "ListTagsForResource", ListTagsForResource$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep4, _mw0, command } from "../commandBuilder";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
2
2
  import { PutRecord$ } from "../schemas/schemas_0";
3
- export class PutRecordCommand extends command(_ep4, _mw0, "PutRecord", PutRecord$) {
3
+ export class PutRecordCommand extends command(_ep5, _mw0, "PutRecord", PutRecord$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep4, _mw0, command } from "../commandBuilder";
1
+ import { _ep5, _mw0, command } from "../commandBuilder";
2
2
  import { PutRecords$ } from "../schemas/schemas_0";
3
- export class PutRecordsCommand extends command(_ep4, _mw0, "PutRecords", PutRecords$) {
3
+ export class PutRecordsCommand extends command(_ep5, _mw0, "PutRecords", PutRecords$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep2, _mw0, command } from "../commandBuilder";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
2
2
  import { PutResourcePolicy$ } from "../schemas/schemas_0";
3
- export class PutResourcePolicyCommand extends command(_ep2, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
3
+ export class PutResourcePolicyCommand extends command(_ep3, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep5, _mw0, command } from "../commandBuilder";
1
+ import { _ep6, _mw0, command } from "../commandBuilder";
2
2
  import { SubscribeToShard$ } from "../schemas/schemas_0";
3
- export class SubscribeToShardCommand extends command(_ep5, _mw0, "SubscribeToShard", SubscribeToShard$) {
3
+ export class SubscribeToShardCommand extends command(_ep6, _mw0, "SubscribeToShard", SubscribeToShard$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep2, _mw0, command } from "../commandBuilder";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
2
2
  import { TagResource$ } from "../schemas/schemas_0";
3
- export class TagResourceCommand extends command(_ep2, _mw0, "TagResource", TagResource$) {
3
+ export class TagResourceCommand extends command(_ep3, _mw0, "TagResource", TagResource$) {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { _ep2, _mw0, command } from "../commandBuilder";
1
+ import { _ep3, _mw0, command } from "../commandBuilder";
2
2
  import { UntagResource$ } from "../schemas/schemas_0";
3
- export class UntagResourceCommand extends command(_ep2, _mw0, "UntagResource", UntagResource$) {
3
+ export class UntagResourceCommand extends command(_ep3, _mw0, "UntagResource", UntagResource$) {
4
4
  }
@@ -0,0 +1,4 @@
1
+ import { _ep2, _mw0, command } from "../commandBuilder";
2
+ import { UpdateChannel$ } from "../schemas/schemas_0";
3
+ export class UpdateChannelCommand extends command(_ep2, _mw0, "UpdateChannel", UpdateChannel$) {
4
+ }
@@ -1,10 +1,13 @@
1
1
  export * from "./AddTagsToStreamCommand";
2
+ export * from "./CreateChannelCommand";
2
3
  export * from "./CreateStreamCommand";
3
4
  export * from "./DecreaseStreamRetentionPeriodCommand";
5
+ export * from "./DeleteChannelCommand";
4
6
  export * from "./DeleteResourcePolicyCommand";
5
7
  export * from "./DeleteStreamCommand";
6
8
  export * from "./DeregisterStreamConsumerCommand";
7
9
  export * from "./DescribeAccountSettingsCommand";
10
+ export * from "./DescribeChannelCommand";
8
11
  export * from "./DescribeLimitsCommand";
9
12
  export * from "./DescribeStreamCommand";
10
13
  export * from "./DescribeStreamConsumerCommand";
@@ -15,6 +18,7 @@ export * from "./GetRecordsCommand";
15
18
  export * from "./GetResourcePolicyCommand";
16
19
  export * from "./GetShardIteratorCommand";
17
20
  export * from "./IncreaseStreamRetentionPeriodCommand";
21
+ export * from "./ListChannelsCommand";
18
22
  export * from "./ListShardsCommand";
19
23
  export * from "./ListStreamConsumersCommand";
20
24
  export * from "./ListStreamsCommand";
@@ -33,6 +37,7 @@ export * from "./SubscribeToShardCommand";
33
37
  export * from "./TagResourceCommand";
34
38
  export * from "./UntagResourceCommand";
35
39
  export * from "./UpdateAccountSettingsCommand";
40
+ export * from "./UpdateChannelCommand";
36
41
  export * from "./UpdateMaxRecordSizeCommand";
37
42
  export * from "./UpdateShardCountCommand";
38
43
  export * from "./UpdateStreamModeCommand";