@aws-sdk/client-kinesis 3.1114.0 → 3.1116.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.
@@ -1,10 +1,10 @@
1
1
  import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
- const U = "ref";
3
- const a = -1, b = false, c = true, d = "isSet", e = "PartitionResult", f = "stringEquals", g = "substring", h = "coalesce", i = "", j = "-", k = "aws.parseArn", l = (n) => "arn_ssa_" + n + i, m = "isValidHostLabel", n = "getAttr", o = "accountId", p = "region", q = "service", s = "kinesis", t = "resourceId[0]", u = (n) => "arnType_ssa_" + n + i, v = "stream", w = "partition", x = "booleanEquals", y = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", z = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", A = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", B = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", C = (n) => "Partition: {arn_ssa_" + n + "#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", D = (n) => "Invalid ARN: Kinesis ARNs don't support `{arnType_ssa_" + n + "}` arn types.", E = (n) => "Invalid ARN: The ARN was not for the Kinesis service, found: {arn_ssa_" + n + "#service}.", F = { "fn": n, "argv": [{ [U]: e }, "name"] }, G = { [U]: "StreamId" }, H = { [U]: "Endpoint" }, I = { [U]: "arn_ssa_3" }, J = { [U]: "arnType_ssa_1" }, K = { [U]: "arn_ssa_2" }, L = { [U]: "arnType_ssa_3" }, M = { [U]: "arn_ssa_1" }, N = { [U]: "arnType_ssa_2" }, O = { [U]: e }, P = {}, Q = [{ [U]: "Region" }], R = [{ [U]: "StreamARN" }], S = [{ [U]: "ConsumerARN" }], T = [{ [U]: "ResourceARN" }];
2
+ const X = "ref";
3
+ const a = -1, b = false, c = true, d = "isSet", e = "PartitionResult", f = "stringEquals", g = "substring", h = "coalesce", i = "", j = "-", k = "aws.parseArn", l = (n) => "arn_ssa_" + n + i, m = "isValidHostLabel", n = "getAttr", o = "accountId", p = "region", q = "service", s = "kinesis", t = "resourceId[0]", u = (n) => "arnType_ssa_" + n + i, v = "stream", w = "partition", x = "booleanEquals", y = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", z = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", A = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", B = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", C = (n) => "Partition: {arn_ssa_" + n + "#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", D = (n) => "Invalid ARN: Kinesis ARNs don't support `{arnType_ssa_" + n + "}` arn types.", E = (n) => "Invalid ARN: The ARN was not for the Kinesis service, found: {arn_ssa_" + n + "#service}.", F = { "fn": n, "argv": [{ [X]: e }, "name"] }, G = { [X]: "StreamId" }, H = { [X]: "Endpoint" }, I = { [X]: "arn_ssa_3" }, J = { [X]: "arn_ssa_1" }, K = { [X]: "arnType_ssa_2" }, L = { [X]: "AccountIdEndpointMode" }, M = { [X]: "arn_ssa_2" }, N = { [X]: "arnType_ssa_3" }, O = { [X]: "AccountId" }, P = { [X]: "arnType_ssa_1" }, Q = { [X]: e }, R = {}, S = { "metricValues": ["O"] }, T = [{ [X]: "Region" }], U = [{ [X]: "StreamARN" }], V = [{ [X]: "ConsumerARN" }], W = [{ [X]: "ResourceARN" }];
4
4
  const _data = {
5
5
  conditions: [
6
- [d, Q],
7
- ["aws.partition", Q, e],
6
+ [d, T],
7
+ ["aws.partition", T, e],
8
8
  [f, [F, "aws-iso-b"]],
9
9
  [f, [F, "aws-iso"]],
10
10
  [d, [G]],
@@ -13,69 +13,74 @@ const _data = {
13
13
  [f, [{ fn: h, argv: [{ fn: g, argv: [G, 20, 21, b] }, i] }, j]],
14
14
  [f, [{ fn: h, argv: [{ fn: g, argv: [G, 3, 4, c] }, i] }, j]],
15
15
  [d, [H]],
16
- [d, R],
17
- [k, R, l(3)],
18
- [m, [{ fn: n, argv: [I, o] }, b]],
19
- [m, [{ fn: n, argv: [I, p] }, b]],
20
16
  [g, [H, 15, 20, b], "HttpsCustomEndpointSuffixValue"],
21
- [f, [{ fn: h, argv: [{ fn: g, argv: [H, 20, 21, b] }, i] }, "."]],
22
17
  [f, [{ fn: h, argv: [{ fn: g, argv: [H, 15, 16, b] }, i] }, j]],
18
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 20, 21, b] }, i] }, "."]],
23
19
  [g, [H, 7, 12, b], "PlainCustomEndpointSuffixValue"],
20
+ [d, U],
21
+ [k, U, l(3)],
22
+ [m, [{ fn: n, argv: [I, o] }, b]],
23
+ [m, [{ fn: n, argv: [I, p] }, b]],
24
24
  [f, [{ fn: n, argv: [I, q] }, s]],
25
+ [d, V],
25
26
  [n, [I, t], u(1)],
26
- [f, [J, i]],
27
- [f, [J, v]],
28
- [d, S],
29
- [d, T],
30
- [k, T, l(2)],
31
- [m, [{ fn: n, argv: [K, o] }, b]],
32
- [m, [{ fn: n, argv: [K, p] }, b]],
33
- [f, [{ fn: n, argv: [K, q] }, s]],
34
- [n, [K, t], u(3)],
35
- [f, [L, i]],
36
- [f, [L, v]],
37
- [f, [F, { fn: n, argv: [K, w] }]],
38
- [k, S, l(1)],
27
+ [k, V, l(1)],
28
+ [m, [{ fn: n, argv: [J, o] }, b]],
29
+ [m, [{ fn: n, argv: [J, p] }, b]],
30
+ [f, [{ fn: n, argv: [J, q] }, s]],
31
+ [n, [J, t], u(2)],
32
+ [f, [K, i]],
33
+ [f, [K, v]],
34
+ [f, [F, { fn: n, argv: [J, w] }]],
35
+ [d, W],
36
+ [k, W, l(2)],
37
+ [d, [L]],
39
38
  [m, [{ fn: n, argv: [M, o] }, b]],
40
39
  [m, [{ fn: n, argv: [M, p] }, b]],
41
40
  [f, [{ fn: n, argv: [M, q] }, s]],
42
- [n, [M, t], u(2)],
41
+ [n, [M, t], u(3)],
43
42
  [f, [N, i]],
44
43
  [f, [N, v]],
45
44
  [f, [F, { fn: n, argv: [M, w] }]],
45
+ [d, [O]],
46
+ [f, [L, "disabled"]],
47
+ [f, [L, "required"]],
48
+ [m, [O, b]],
49
+ [f, [P, i]],
50
+ [f, [P, v]],
46
51
  [f, [F, { fn: n, argv: [I, w] }]],
47
- [d, [{ [U]: "OperationType" }]],
48
- [x, [{ [U]: "UseFIPS" }, c]],
49
- [x, [{ fn: n, argv: [O, "supportsFIPS"] }, c]],
50
- [x, [{ [U]: "UseDualStack" }, c]],
51
- [x, [{ fn: n, argv: [O, "supportsDualStack"] }, c]],
52
+ [d, [{ [X]: "OperationType" }]],
53
+ [x, [{ [X]: "UseFIPS" }, c]],
54
+ [x, [{ fn: n, argv: [Q, "supportsFIPS"] }, c]],
55
+ [x, [{ [X]: "UseDualStack" }, c]],
56
+ [x, [{ fn: n, argv: [Q, "supportsDualStack"] }, c]],
52
57
  [f, [F, "aws-us-gov"]],
53
- [f, [{ fn: h, argv: [{ fn: g, argv: [H, 7, 8, b] }, i] }, j]],
54
- [f, [{ fn: h, argv: [{ fn: g, argv: [H, 12, 13, b] }, i] }, "."]]
58
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 12, 13, b] }, i] }, "."]],
59
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 7, 8, b] }, i] }, j]]
55
60
  ],
56
61
  results: [
57
62
  [a],
58
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
63
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
59
64
  [a, "DualStack is enabled, but this partition does not support DualStack."],
60
65
  [a, "FIPS is enabled, but this partition does not support FIPS."],
61
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", P],
66
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", R],
62
67
  [a, "FIPS is enabled but this partition does not support FIPS"],
63
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
68
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
64
69
  [a, "DualStack is enabled but this partition does not support DualStack"],
65
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", P],
66
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
67
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", P],
68
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
69
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", P],
70
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
71
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", P],
72
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
73
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", P],
70
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", R],
71
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
72
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", R],
73
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
74
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", R],
75
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
76
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", R],
77
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
78
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", R],
74
79
  [a, "Operation Type is not set. Please contact service team for resolution."],
75
- [y(3), P],
76
- [z(3), P],
77
- [A(3), P],
78
- [B(3), P],
80
+ [y(3), R],
81
+ [z(3), R],
82
+ [A(3), R],
83
+ [B(3), R],
79
84
  [a, C(3)],
80
85
  [a, D(1)],
81
86
  [a, "Invalid ARN: No ARN type specified"],
@@ -83,29 +88,36 @@ const _data = {
83
88
  [a, "Invalid ARN: Invalid region."],
84
89
  [a, "Invalid ARN: Invalid account id."],
85
90
  [a, "Invalid ARN: Failed to parse ARN."],
86
- [y(1), P],
87
- [z(1), P],
88
- [A(1), P],
89
- [B(1), P],
91
+ [y(1), R],
92
+ [z(1), R],
93
+ [A(1), R],
94
+ [B(1), R],
90
95
  [a, C(1)],
91
96
  [a, D(2)],
92
97
  [a, E(1)],
93
- [y(2), P],
94
- [z(2), P],
95
- [A(2), P],
96
- [B(2), P],
98
+ [y(2), R],
99
+ [z(2), R],
100
+ [A(2), R],
101
+ [B(2), R],
97
102
  [a, C(2)],
98
103
  [a, D(3)],
99
104
  [a, E(2)],
105
+ ["https://{AccountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", S],
106
+ ["https://{AccountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", S],
107
+ ["https://{AccountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", S],
108
+ ["https://{AccountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", S],
109
+ [a, "Invalid account id."],
110
+ [a, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"],
111
+ [a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"],
100
112
  [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
101
113
  [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
102
- [H, P],
103
- ["https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
114
+ [H, R],
115
+ ["https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
104
116
  [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
105
- ["https://kinesis.{Region}.amazonaws.com", P],
106
- ["https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", P],
107
- ["https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
108
- ["https://kinesis.{Region}.{PartitionResult#dnsSuffix}", P],
117
+ ["https://kinesis.{Region}.amazonaws.com", R],
118
+ ["https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", R],
119
+ ["https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
120
+ ["https://kinesis.{Region}.{PartitionResult#dnsSuffix}", R],
109
121
  [a, "Invalid Configuration: Missing Region"]
110
122
  ]
111
123
  };
@@ -115,108 +127,122 @@ const nodes = new Int32Array([
115
127
  -1, 1, -1,
116
128
  0, 3, 4,
117
129
  1, 5, 4,
118
- 9, 105, r + 52,
119
- 2, 96, 6,
120
- 3, 96, 7,
130
+ 9, 119, r + 59,
131
+ 2, 108, 6,
132
+ 3, 108, 7,
121
133
  4, 8, 12,
122
134
  5, 9, 12,
123
135
  6, 10, 12,
124
136
  7, 11, 12,
125
- 8, 61, 12,
126
- 9, 105, 13,
127
- 10, 46, 14,
128
- 22, 31, 15,
129
- 23, 16, 97,
130
- 24, 17, r + 28,
131
- 25, 18, r + 27,
132
- 26, 19, r + 26,
133
- 27, 20, r + 42,
134
- 28, 21, r + 24,
135
- 29, r + 24, 22,
136
- 30, 23, r + 41,
137
- 31, 24, r + 40,
138
- 41, 25, r + 17,
139
- 42, 28, 26,
140
- 44, 27, r + 39,
141
- 45, r + 38, r + 7,
142
- 43, 29, 93,
143
- 44, 30, r + 37,
144
- 45, r + 36, r + 2,
145
- 32, 32, r + 28,
146
- 33, 33, r + 27,
147
- 34, 34, r + 26,
148
- 35, 35, r + 35,
149
- 36, 36, r + 24,
150
- 37, r + 24, 37,
151
- 38, 38, r + 34,
152
- 39, 39, r + 33,
153
- 41, 40, r + 17,
154
- 42, 43, 41,
155
- 44, 42, r + 32,
156
- 45, r + 31, r + 7,
157
- 43, 44, 93,
158
- 44, 45, r + 30,
159
- 45, r + 29, r + 2,
160
- 11, 47, r + 28,
161
- 12, 48, r + 27,
162
- 13, 49, r + 26,
163
- 18, 50, r + 25,
164
- 19, 51, r + 24,
165
- 20, r + 24, 52,
166
- 21, 53, r + 23,
167
- 40, 54, r + 22,
168
- 41, 55, r + 17,
169
- 42, 58, 56,
170
- 44, 57, r + 21,
171
- 45, r + 20, r + 7,
172
- 43, 59, 93,
173
- 44, 60, r + 19,
174
- 45, r + 18, r + 2,
175
- 9, 62, 66,
176
- 14, 63, 65,
177
- 15, 64, 65,
178
- 16, 88, 65,
179
- 17, 73, 66,
180
- 41, 67, r + 17,
181
- 42, 70, 68,
182
- 44, 69, r + 16,
183
- 45, r + 15, r + 7,
184
- 43, 71, 93,
185
- 44, 72, r + 14,
186
- 45, r + 13, r + 2,
187
- 41, 74, r + 17,
188
- 42, 81, 75,
189
- 44, 78, 76,
190
- 47, 77, r + 16,
191
- 48, r + 12, r + 16,
192
- 45, 79, r + 7,
193
- 47, 80, r + 15,
194
- 48, r + 11, r + 15,
195
- 43, 82, 93,
196
- 44, 85, 83,
197
- 47, 84, r + 14,
198
- 48, r + 10, r + 14,
199
- 45, 86, r + 2,
200
- 47, 87, r + 13,
201
- 48, r + 9, r + 13,
202
- 41, 89, r + 17,
203
- 42, 92, 90,
204
- 44, 91, r + 8,
205
- 45, r + 6, r + 7,
206
- 43, 94, 93,
207
- 44, r + 3, r + 5,
208
- 44, 95, r + 4,
209
- 45, r + 1, r + 2,
210
- 9, 105, 97,
211
- 42, 100, 98,
212
- 44, 99, r + 51,
213
- 45, r + 50, r + 7,
214
- 43, 102, 101,
215
- 44, r + 47, r + 5,
216
- 44, 104, 103,
217
- 46, r + 48, r + 49,
218
- 45, r + 46, r + 47,
219
- 42, r + 43, 106,
220
- 44, r + 44, r + 45,
137
+ 8, 73, 12,
138
+ 9, 119, 13,
139
+ 14, 58, 14,
140
+ 19, 43, 15,
141
+ 29, 28, 16,
142
+ 31, 17, 111,
143
+ 39, 18, 27,
144
+ 40, 27, 19,
145
+ 42, 20, r + 47,
146
+ 46, 21, r + 17,
147
+ 47, 24, 22,
148
+ 49, 23, r + 46,
149
+ 50, r + 45, r + 7,
150
+ 48, 25, 105,
151
+ 49, 26, r + 44,
152
+ 50, r + 43, r + 2,
153
+ 41, r + 48, 111,
154
+ 30, 29, r + 28,
155
+ 32, 30, r + 27,
156
+ 33, 31, r + 26,
157
+ 34, 32, r + 42,
158
+ 35, 33, r + 24,
159
+ 36, r + 24, 34,
160
+ 37, 35, r + 41,
161
+ 38, 36, r + 40,
162
+ 46, 37, r + 17,
163
+ 47, 40, 38,
164
+ 49, 39, r + 39,
165
+ 50, r + 38, r + 7,
166
+ 48, 41, 105,
167
+ 49, 42, r + 37,
168
+ 50, r + 36, r + 2,
169
+ 21, 44, r + 28,
170
+ 22, 45, r + 27,
171
+ 23, 46, r + 26,
172
+ 24, 47, r + 35,
173
+ 25, 48, r + 24,
174
+ 26, r + 24, 49,
175
+ 27, 50, r + 34,
176
+ 28, 51, r + 33,
177
+ 46, 52, r + 17,
178
+ 47, 55, 53,
179
+ 49, 54, r + 32,
180
+ 50, r + 31, r + 7,
181
+ 48, 56, 105,
182
+ 49, 57, r + 30,
183
+ 50, r + 29, r + 2,
184
+ 15, 59, r + 28,
185
+ 16, 60, r + 27,
186
+ 17, 61, r + 26,
187
+ 18, 62, r + 25,
188
+ 20, 63, r + 24,
189
+ 43, r + 24, 64,
190
+ 44, 65, r + 23,
191
+ 45, 66, r + 22,
192
+ 46, 67, r + 17,
193
+ 47, 70, 68,
194
+ 49, 69, r + 21,
195
+ 50, r + 20, r + 7,
196
+ 48, 71, 105,
197
+ 49, 72, r + 19,
198
+ 50, r + 18, r + 2,
199
+ 9, 74, 78,
200
+ 10, 75, 77,
201
+ 11, 76, 77,
202
+ 12, 100, 77,
203
+ 13, 85, 78,
204
+ 46, 79, r + 17,
205
+ 47, 82, 80,
206
+ 49, 81, r + 16,
207
+ 50, r + 15, r + 7,
208
+ 48, 83, 105,
209
+ 49, 84, r + 14,
210
+ 50, r + 13, r + 2,
211
+ 46, 86, r + 17,
212
+ 47, 93, 87,
213
+ 49, 90, 88,
214
+ 52, 89, r + 16,
215
+ 53, r + 12, r + 16,
216
+ 50, 91, r + 7,
217
+ 52, 92, r + 15,
218
+ 53, r + 11, r + 15,
219
+ 48, 94, 105,
220
+ 49, 97, 95,
221
+ 52, 96, r + 14,
222
+ 53, r + 10, r + 14,
223
+ 50, 98, r + 2,
224
+ 52, 99, r + 13,
225
+ 53, r + 9, r + 13,
226
+ 46, 101, r + 17,
227
+ 47, 104, 102,
228
+ 49, 103, r + 8,
229
+ 50, r + 6, r + 7,
230
+ 48, 106, 105,
231
+ 49, r + 3, r + 5,
232
+ 49, 107, r + 4,
233
+ 50, r + 1, r + 2,
234
+ 9, 119, 109,
235
+ 31, 110, 111,
236
+ 41, r + 49, 111,
237
+ 47, 114, 112,
238
+ 49, 113, r + 58,
239
+ 50, r + 57, r + 7,
240
+ 48, 116, 115,
241
+ 49, r + 54, r + 5,
242
+ 49, 118, 117,
243
+ 51, r + 55, r + 56,
244
+ 50, r + 53, r + 54,
245
+ 47, r + 50, 120,
246
+ 49, r + 51, r + 52,
221
247
  ]);
222
248
  export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -4,6 +4,8 @@ import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
6
6
  params: [
7
+ "AccountId",
8
+ "AccountIdEndpointMode",
7
9
  "ConsumerARN",
8
10
  "Endpoint",
9
11
  "OperationType",
@@ -1,4 +1,5 @@
1
1
  import packageInfo from "../package.json";
2
+ import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE } from "@aws-sdk/core/account-id-endpoint";
2
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
3
4
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
4
5
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -16,6 +17,7 @@ export const getRuntimeConfig = (config) => {
16
17
  ...config,
17
18
  runtime: "browser",
18
19
  defaultsMode,
20
+ accountIdEndpointMode: config?.accountIdEndpointMode ?? (() => Promise.resolve(DEFAULT_ACCOUNT_ID_ENDPOINT_MODE)),
19
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
20
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
21
23
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
@@ -1,4 +1,5 @@
1
1
  import packageInfo from "../package.json";
2
+ import { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS } from "@aws-sdk/core/account-id-endpoint";
2
3
  import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
3
4
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -24,6 +25,7 @@ export const getRuntimeConfig = (config) => {
24
25
  ...config,
25
26
  runtime: "node",
26
27
  defaultsMode,
28
+ accountIdEndpointMode: config?.accountIdEndpointMode ?? loadNodeConfig(NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, loaderConfig),
27
29
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
28
30
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
29
31
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
@@ -1,3 +1,4 @@
1
+ import { AccountIdEndpointMode, AccountIdEndpointModeInputConfig, AccountIdEndpointModeResolvedConfig } from "@aws-sdk/core/account-id-endpoint";
1
2
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
2
3
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
3
4
  import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
@@ -151,6 +152,10 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
151
152
  *
152
153
  */
153
154
  profile?: string;
155
+ /**
156
+ * Defines if the AWS AccountId will be used for endpoint routing.
157
+ */
158
+ accountIdEndpointMode?: AccountIdEndpointMode | __Provider<AccountIdEndpointMode>;
154
159
  /**
155
160
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
156
161
  * @internal
@@ -192,7 +197,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
192
197
  /**
193
198
  * @public
194
199
  */
195
- export type KinesisClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
200
+ export type KinesisClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & AccountIdEndpointModeInputConfig & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
196
201
  /**
197
202
  * @public
198
203
  *
@@ -203,7 +208,7 @@ export interface KinesisClientConfig extends KinesisClientConfigType {
203
208
  /**
204
209
  * @public
205
210
  */
206
- export type KinesisClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
211
+ export type KinesisClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & AccountIdEndpointModeResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
207
212
  /**
208
213
  * @public
209
214
  *
@@ -47,12 +47,15 @@ declare const GetRecordsCommand_base: {
47
47
  * You can terminate the loop when the shard is closed, or when the shard iterator reaches
48
48
  * the record with the sequence number or other attribute that marks it as the last record
49
49
  * to process.</p>
50
- * <p>Each data record can be up to 1 MiB in size, and each shard can read up to 2 MiB per
51
- * second. You can ensure that your calls don't exceed the maximum supported size or
52
- * throughput by using the <code>Limit</code> parameter to specify the maximum number of
53
- * records that <a>GetRecords</a> can return. Consider your average record size
54
- * when determining this limit. The maximum number of records that can be returned per call
55
- * is 10,000.</p>
50
+ * <p>Each data record can be up to 1 MiB in size by default. Amazon Kinesis Data Streams supports
51
+ * large records up to 10 MiB in size, but the average throughput for your stream cannot exceed
52
+ * 1 MiB per second. For more information about how large records are handled, see
53
+ * <a href="https://docs.aws.amazon.com/streams/latest/dev/large-records.html">Large records</a>.
54
+ * Each shard can read up to 2 MiB per second. You can ensure that your calls don't exceed
55
+ * the maximum supported size or throughput by using the <code>Limit</code> parameter to
56
+ * specify the maximum number of records that <a>GetRecords</a> can return.
57
+ * Consider your average record size when determining this limit. The maximum number of records
58
+ * that can be returned per call is 10,000.</p>
56
59
  * <p>The size of the data returned by <a>GetRecords</a> varies depending on the
57
60
  * utilization of the shard. It is recommended that consumer applications retrieve records
58
61
  * via the <code>GetRecords</code> command using the 5 TPS limit to remain caught up.
@@ -24,12 +24,13 @@ declare const UpdateStreamWarmThroughputCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates the warm throughput configuration for the specified Amazon Kinesis Data Streams on-demand data stream. This operation allows you to proactively scale your on-demand data stream to a specified throughput level, enabling better performance for sudden traffic spikes. </p>
27
+ * <p>Updates the warm throughput configuration for the specified Amazon Kinesis Data Streams on-demand data stream. Updates the warm throughput configuration for the specified on-demand data stream. Use this operation to scale your stream to a specified throughput level before anticipated traffic spikes, or to release excess capacity after traffic has decreased. </p>
28
28
  * <note>
29
29
  * <p>When invoking this API, you must use either the <code>StreamARN</code> or the <code>StreamName</code> parameter, or both. It is recommended that you use the <code>StreamARN</code> input parameter when you invoke this API.</p>
30
30
  * </note>
31
31
  * <p>Updating the warm throughput is an asynchronous operation. Upon receiving the request, Kinesis Data Streams returns immediately and sets the status of the stream to <code>UPDATING</code>. After the update is complete, Kinesis Data Streams sets the status of the stream back to <code>ACTIVE</code>. Depending on the size of the stream, the scaling action could take a few minutes to complete. You can continue to read and write data to your stream while its status is <code>UPDATING</code>.</p>
32
32
  * <p>This operation is only supported for data streams with the on-demand capacity mode in accounts that have <code>MinimumThroughputBillingCommitment</code> enabled. Provisioned capacity mode streams do not support warm throughput configuration.</p>
33
+ * <p>To release excess capacity, call the API again and set the warm throughput to the same or a lower value.</p>
33
34
  * <p>This operation has the following default limits. By default, you cannot do the following:</p>
34
35
  * <ul>
35
36
  * <li>
@@ -7,6 +7,8 @@ export interface ClientInputEndpointParameters {
7
7
  useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ accountId?: string | undefined | Provider<string | undefined>;
11
+ accountIdEndpointMode?: string | undefined | Provider<string | undefined>;
10
12
  }
11
13
  /**
12
14
  * @public
@@ -26,6 +28,10 @@ export declare const commonParams: {
26
28
  readonly type: "builtInParams";
27
29
  readonly name: "useFipsEndpoint";
28
30
  };
31
+ readonly AccountId: {
32
+ readonly type: "builtInParams";
33
+ readonly name: "accountId";
34
+ };
29
35
  readonly Endpoint: {
30
36
  readonly type: "builtInParams";
31
37
  readonly name: "endpoint";
@@ -38,6 +44,10 @@ export declare const commonParams: {
38
44
  readonly type: "builtInParams";
39
45
  readonly name: "useDualstackEndpoint";
40
46
  };
47
+ readonly AccountIdEndpointMode: {
48
+ readonly type: "builtInParams";
49
+ readonly name: "accountIdEndpointMode";
50
+ };
41
51
  };
42
52
  /**
43
53
  * @internal
@@ -47,9 +57,11 @@ export interface EndpointParameters extends __EndpointParameters {
47
57
  UseDualStack?: boolean | undefined;
48
58
  UseFIPS?: boolean | undefined;
49
59
  Endpoint?: string | undefined;
60
+ OperationType?: string | undefined;
50
61
  StreamId?: string | undefined;
51
62
  StreamARN?: string | undefined;
52
- OperationType?: string | undefined;
53
63
  ConsumerARN?: string | undefined;
54
64
  ResourceARN?: string | undefined;
65
+ AccountId?: string | undefined;
66
+ AccountIdEndpointMode?: string | undefined;
55
67
  }
@@ -1109,7 +1109,7 @@ export interface _Record {
1109
1109
  * <p>The data blob. The data in the blob is both opaque and immutable to Kinesis Data
1110
1110
  * Streams, which does not inspect, interpret, or change the data in the blob in any way.
1111
1111
  * When the data blob (the payload before base64-encoding) is added to the partition key
1112
- * size, the total size must not exceed the maximum record size (1 MiB).</p>
1112
+ * size, the total size must not exceed the maximum record size (10 MiB).</p>
1113
1113
  * @public
1114
1114
  */
1115
1115
  Data: Uint8Array | undefined;
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
9
9
  tls?: boolean;
10
10
  ignoreConfiguredEndpointUrls?: boolean;
11
11
  serviceConfiguredEndpoint?: never;
12
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
12
13
  customUserAgent?: string | import("@smithy/types").UserAgent;
13
14
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
14
15
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -44,6 +45,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
44
45
  profile?: string;
45
46
  runtime: string;
46
47
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
48
+ accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
47
49
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
48
50
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
49
51
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
9
9
  tls?: boolean;
10
10
  ignoreConfiguredEndpointUrls?: boolean;
11
11
  serviceConfiguredEndpoint?: never;
12
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
12
13
  customUserAgent?: string | import("@smithy/types").UserAgent;
13
14
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
14
15
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -41,6 +42,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
41
42
  utf8Encoder: (input: Uint8Array | string) => string;
42
43
  runtime: string;
43
44
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
45
+ accountIdEndpointMode: "disabled" | "preferred" | "required" | import("@smithy/types").Provider<import("@aws-sdk/core/account-id-endpoint").AccountIdEndpointMode>;
44
46
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
45
47
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
48
  credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);