@aws-sdk/client-kinesis 3.1115.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.
package/dist-cjs/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ const { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, resolveAccountIdEndpointModeConfig } = require("@aws-sdk/core/account-id-endpoint");
1
2
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
3
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
4
  const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
@@ -65,21 +66,23 @@ const resolveClientEndpointParameters = (options) => {
65
66
  };
66
67
  const commonParams = {
67
68
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
69
+ AccountId: { type: "builtInParams", name: "accountId" },
68
70
  Endpoint: { type: "builtInParams", name: "endpoint" },
69
71
  Region: { type: "builtInParams", name: "region" },
70
72
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
73
+ AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
71
74
  };
72
75
 
73
- var version = "3.1114.0";
76
+ var version = "3.1115.0";
74
77
  var packageInfo = {
75
78
  version: version};
76
79
 
77
- const U = "ref";
78
- 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" }];
80
+ const X = "ref";
81
+ 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" }];
79
82
  const _data = {
80
83
  conditions: [
81
- [d, Q],
82
- ["aws.partition", Q, e],
84
+ [d, T],
85
+ ["aws.partition", T, e],
83
86
  [f, [F, "aws-iso-b"]],
84
87
  [f, [F, "aws-iso"]],
85
88
  [d, [G]],
@@ -88,69 +91,74 @@ const _data = {
88
91
  [f, [{ fn: h, argv: [{ fn: g, argv: [G, 20, 21, b] }, i] }, j]],
89
92
  [f, [{ fn: h, argv: [{ fn: g, argv: [G, 3, 4, c] }, i] }, j]],
90
93
  [d, [H]],
91
- [d, R],
92
- [k, R, l(3)],
93
- [m, [{ fn: n, argv: [I, o] }, b]],
94
- [m, [{ fn: n, argv: [I, p] }, b]],
95
94
  [g, [H, 15, 20, b], "HttpsCustomEndpointSuffixValue"],
96
- [f, [{ fn: h, argv: [{ fn: g, argv: [H, 20, 21, b] }, i] }, "."]],
97
95
  [f, [{ fn: h, argv: [{ fn: g, argv: [H, 15, 16, b] }, i] }, j]],
96
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 20, 21, b] }, i] }, "."]],
98
97
  [g, [H, 7, 12, b], "PlainCustomEndpointSuffixValue"],
98
+ [d, U],
99
+ [k, U, l(3)],
100
+ [m, [{ fn: n, argv: [I, o] }, b]],
101
+ [m, [{ fn: n, argv: [I, p] }, b]],
99
102
  [f, [{ fn: n, argv: [I, q] }, s]],
103
+ [d, V],
100
104
  [n, [I, t], u(1)],
101
- [f, [J, i]],
102
- [f, [J, v]],
103
- [d, S],
104
- [d, T],
105
- [k, T, l(2)],
106
- [m, [{ fn: n, argv: [K, o] }, b]],
107
- [m, [{ fn: n, argv: [K, p] }, b]],
108
- [f, [{ fn: n, argv: [K, q] }, s]],
109
- [n, [K, t], u(3)],
110
- [f, [L, i]],
111
- [f, [L, v]],
112
- [f, [F, { fn: n, argv: [K, w] }]],
113
- [k, S, l(1)],
105
+ [k, V, l(1)],
106
+ [m, [{ fn: n, argv: [J, o] }, b]],
107
+ [m, [{ fn: n, argv: [J, p] }, b]],
108
+ [f, [{ fn: n, argv: [J, q] }, s]],
109
+ [n, [J, t], u(2)],
110
+ [f, [K, i]],
111
+ [f, [K, v]],
112
+ [f, [F, { fn: n, argv: [J, w] }]],
113
+ [d, W],
114
+ [k, W, l(2)],
115
+ [d, [L]],
114
116
  [m, [{ fn: n, argv: [M, o] }, b]],
115
117
  [m, [{ fn: n, argv: [M, p] }, b]],
116
118
  [f, [{ fn: n, argv: [M, q] }, s]],
117
- [n, [M, t], u(2)],
119
+ [n, [M, t], u(3)],
118
120
  [f, [N, i]],
119
121
  [f, [N, v]],
120
122
  [f, [F, { fn: n, argv: [M, w] }]],
123
+ [d, [O]],
124
+ [f, [L, "disabled"]],
125
+ [f, [L, "required"]],
126
+ [m, [O, b]],
127
+ [f, [P, i]],
128
+ [f, [P, v]],
121
129
  [f, [F, { fn: n, argv: [I, w] }]],
122
- [d, [{ [U]: "OperationType" }]],
123
- [x, [{ [U]: "UseFIPS" }, c]],
124
- [x, [{ fn: n, argv: [O, "supportsFIPS"] }, c]],
125
- [x, [{ [U]: "UseDualStack" }, c]],
126
- [x, [{ fn: n, argv: [O, "supportsDualStack"] }, c]],
130
+ [d, [{ [X]: "OperationType" }]],
131
+ [x, [{ [X]: "UseFIPS" }, c]],
132
+ [x, [{ fn: n, argv: [Q, "supportsFIPS"] }, c]],
133
+ [x, [{ [X]: "UseDualStack" }, c]],
134
+ [x, [{ fn: n, argv: [Q, "supportsDualStack"] }, c]],
127
135
  [f, [F, "aws-us-gov"]],
128
- [f, [{ fn: h, argv: [{ fn: g, argv: [H, 7, 8, b] }, i] }, j]],
129
- [f, [{ fn: h, argv: [{ fn: g, argv: [H, 12, 13, b] }, i] }, "."]]
136
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 12, 13, b] }, i] }, "."]],
137
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 7, 8, b] }, i] }, j]]
130
138
  ],
131
139
  results: [
132
140
  [a],
133
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
141
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
134
142
  [a, "DualStack is enabled, but this partition does not support DualStack."],
135
143
  [a, "FIPS is enabled, but this partition does not support FIPS."],
136
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", P],
144
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", R],
137
145
  [a, "FIPS is enabled but this partition does not support FIPS"],
138
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
146
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
139
147
  [a, "DualStack is enabled but this partition does not support DualStack"],
140
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", P],
141
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
142
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", P],
143
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
144
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", P],
145
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
146
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", P],
147
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
148
- ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", P],
148
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", R],
149
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
150
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", R],
151
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
152
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", R],
153
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
154
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", R],
155
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
156
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", R],
149
157
  [a, "Operation Type is not set. Please contact service team for resolution."],
150
- [y(3), P],
151
- [z(3), P],
152
- [A(3), P],
153
- [B(3), P],
158
+ [y(3), R],
159
+ [z(3), R],
160
+ [A(3), R],
161
+ [B(3), R],
154
162
  [a, C(3)],
155
163
  [a, D(1)],
156
164
  [a, "Invalid ARN: No ARN type specified"],
@@ -158,29 +166,36 @@ const _data = {
158
166
  [a, "Invalid ARN: Invalid region."],
159
167
  [a, "Invalid ARN: Invalid account id."],
160
168
  [a, "Invalid ARN: Failed to parse ARN."],
161
- [y(1), P],
162
- [z(1), P],
163
- [A(1), P],
164
- [B(1), P],
169
+ [y(1), R],
170
+ [z(1), R],
171
+ [A(1), R],
172
+ [B(1), R],
165
173
  [a, C(1)],
166
174
  [a, D(2)],
167
175
  [a, E(1)],
168
- [y(2), P],
169
- [z(2), P],
170
- [A(2), P],
171
- [B(2), P],
176
+ [y(2), R],
177
+ [z(2), R],
178
+ [A(2), R],
179
+ [B(2), R],
172
180
  [a, C(2)],
173
181
  [a, D(3)],
174
182
  [a, E(2)],
183
+ ["https://{AccountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", S],
184
+ ["https://{AccountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", S],
185
+ ["https://{AccountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", S],
186
+ ["https://{AccountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", S],
187
+ [a, "Invalid account id."],
188
+ [a, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"],
189
+ [a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"],
175
190
  [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
176
191
  [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
177
- [H, P],
178
- ["https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
192
+ [H, R],
193
+ ["https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
179
194
  [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
180
- ["https://kinesis.{Region}.amazonaws.com", P],
181
- ["https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", P],
182
- ["https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
183
- ["https://kinesis.{Region}.{PartitionResult#dnsSuffix}", P],
195
+ ["https://kinesis.{Region}.amazonaws.com", R],
196
+ ["https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", R],
197
+ ["https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", R],
198
+ ["https://kinesis.{Region}.{PartitionResult#dnsSuffix}", R],
184
199
  [a, "Invalid Configuration: Missing Region"]
185
200
  ]
186
201
  };
@@ -190,115 +205,131 @@ const nodes = new Int32Array([
190
205
  -1, 1, -1,
191
206
  0, 3, 4,
192
207
  1, 5, 4,
193
- 9, 105, r + 52,
194
- 2, 96, 6,
195
- 3, 96, 7,
208
+ 9, 119, r + 59,
209
+ 2, 108, 6,
210
+ 3, 108, 7,
196
211
  4, 8, 12,
197
212
  5, 9, 12,
198
213
  6, 10, 12,
199
214
  7, 11, 12,
200
- 8, 61, 12,
201
- 9, 105, 13,
202
- 10, 46, 14,
203
- 22, 31, 15,
204
- 23, 16, 97,
205
- 24, 17, r + 28,
206
- 25, 18, r + 27,
207
- 26, 19, r + 26,
208
- 27, 20, r + 42,
209
- 28, 21, r + 24,
210
- 29, r + 24, 22,
211
- 30, 23, r + 41,
212
- 31, 24, r + 40,
213
- 41, 25, r + 17,
214
- 42, 28, 26,
215
- 44, 27, r + 39,
216
- 45, r + 38, r + 7,
217
- 43, 29, 93,
218
- 44, 30, r + 37,
219
- 45, r + 36, r + 2,
220
- 32, 32, r + 28,
221
- 33, 33, r + 27,
222
- 34, 34, r + 26,
223
- 35, 35, r + 35,
224
- 36, 36, r + 24,
225
- 37, r + 24, 37,
226
- 38, 38, r + 34,
227
- 39, 39, r + 33,
228
- 41, 40, r + 17,
229
- 42, 43, 41,
230
- 44, 42, r + 32,
231
- 45, r + 31, r + 7,
232
- 43, 44, 93,
233
- 44, 45, r + 30,
234
- 45, r + 29, r + 2,
235
- 11, 47, r + 28,
236
- 12, 48, r + 27,
237
- 13, 49, r + 26,
238
- 18, 50, r + 25,
239
- 19, 51, r + 24,
240
- 20, r + 24, 52,
241
- 21, 53, r + 23,
242
- 40, 54, r + 22,
243
- 41, 55, r + 17,
244
- 42, 58, 56,
245
- 44, 57, r + 21,
246
- 45, r + 20, r + 7,
247
- 43, 59, 93,
248
- 44, 60, r + 19,
249
- 45, r + 18, r + 2,
250
- 9, 62, 66,
251
- 14, 63, 65,
252
- 15, 64, 65,
253
- 16, 88, 65,
254
- 17, 73, 66,
255
- 41, 67, r + 17,
256
- 42, 70, 68,
257
- 44, 69, r + 16,
258
- 45, r + 15, r + 7,
259
- 43, 71, 93,
260
- 44, 72, r + 14,
261
- 45, r + 13, r + 2,
262
- 41, 74, r + 17,
263
- 42, 81, 75,
264
- 44, 78, 76,
265
- 47, 77, r + 16,
266
- 48, r + 12, r + 16,
267
- 45, 79, r + 7,
268
- 47, 80, r + 15,
269
- 48, r + 11, r + 15,
270
- 43, 82, 93,
271
- 44, 85, 83,
272
- 47, 84, r + 14,
273
- 48, r + 10, r + 14,
274
- 45, 86, r + 2,
275
- 47, 87, r + 13,
276
- 48, r + 9, r + 13,
277
- 41, 89, r + 17,
278
- 42, 92, 90,
279
- 44, 91, r + 8,
280
- 45, r + 6, r + 7,
281
- 43, 94, 93,
282
- 44, r + 3, r + 5,
283
- 44, 95, r + 4,
284
- 45, r + 1, r + 2,
285
- 9, 105, 97,
286
- 42, 100, 98,
287
- 44, 99, r + 51,
288
- 45, r + 50, r + 7,
289
- 43, 102, 101,
290
- 44, r + 47, r + 5,
291
- 44, 104, 103,
292
- 46, r + 48, r + 49,
293
- 45, r + 46, r + 47,
294
- 42, r + 43, 106,
295
- 44, r + 44, r + 45,
215
+ 8, 73, 12,
216
+ 9, 119, 13,
217
+ 14, 58, 14,
218
+ 19, 43, 15,
219
+ 29, 28, 16,
220
+ 31, 17, 111,
221
+ 39, 18, 27,
222
+ 40, 27, 19,
223
+ 42, 20, r + 47,
224
+ 46, 21, r + 17,
225
+ 47, 24, 22,
226
+ 49, 23, r + 46,
227
+ 50, r + 45, r + 7,
228
+ 48, 25, 105,
229
+ 49, 26, r + 44,
230
+ 50, r + 43, r + 2,
231
+ 41, r + 48, 111,
232
+ 30, 29, r + 28,
233
+ 32, 30, r + 27,
234
+ 33, 31, r + 26,
235
+ 34, 32, r + 42,
236
+ 35, 33, r + 24,
237
+ 36, r + 24, 34,
238
+ 37, 35, r + 41,
239
+ 38, 36, r + 40,
240
+ 46, 37, r + 17,
241
+ 47, 40, 38,
242
+ 49, 39, r + 39,
243
+ 50, r + 38, r + 7,
244
+ 48, 41, 105,
245
+ 49, 42, r + 37,
246
+ 50, r + 36, r + 2,
247
+ 21, 44, r + 28,
248
+ 22, 45, r + 27,
249
+ 23, 46, r + 26,
250
+ 24, 47, r + 35,
251
+ 25, 48, r + 24,
252
+ 26, r + 24, 49,
253
+ 27, 50, r + 34,
254
+ 28, 51, r + 33,
255
+ 46, 52, r + 17,
256
+ 47, 55, 53,
257
+ 49, 54, r + 32,
258
+ 50, r + 31, r + 7,
259
+ 48, 56, 105,
260
+ 49, 57, r + 30,
261
+ 50, r + 29, r + 2,
262
+ 15, 59, r + 28,
263
+ 16, 60, r + 27,
264
+ 17, 61, r + 26,
265
+ 18, 62, r + 25,
266
+ 20, 63, r + 24,
267
+ 43, r + 24, 64,
268
+ 44, 65, r + 23,
269
+ 45, 66, r + 22,
270
+ 46, 67, r + 17,
271
+ 47, 70, 68,
272
+ 49, 69, r + 21,
273
+ 50, r + 20, r + 7,
274
+ 48, 71, 105,
275
+ 49, 72, r + 19,
276
+ 50, r + 18, r + 2,
277
+ 9, 74, 78,
278
+ 10, 75, 77,
279
+ 11, 76, 77,
280
+ 12, 100, 77,
281
+ 13, 85, 78,
282
+ 46, 79, r + 17,
283
+ 47, 82, 80,
284
+ 49, 81, r + 16,
285
+ 50, r + 15, r + 7,
286
+ 48, 83, 105,
287
+ 49, 84, r + 14,
288
+ 50, r + 13, r + 2,
289
+ 46, 86, r + 17,
290
+ 47, 93, 87,
291
+ 49, 90, 88,
292
+ 52, 89, r + 16,
293
+ 53, r + 12, r + 16,
294
+ 50, 91, r + 7,
295
+ 52, 92, r + 15,
296
+ 53, r + 11, r + 15,
297
+ 48, 94, 105,
298
+ 49, 97, 95,
299
+ 52, 96, r + 14,
300
+ 53, r + 10, r + 14,
301
+ 50, 98, r + 2,
302
+ 52, 99, r + 13,
303
+ 53, r + 9, r + 13,
304
+ 46, 101, r + 17,
305
+ 47, 104, 102,
306
+ 49, 103, r + 8,
307
+ 50, r + 6, r + 7,
308
+ 48, 106, 105,
309
+ 49, r + 3, r + 5,
310
+ 49, 107, r + 4,
311
+ 50, r + 1, r + 2,
312
+ 9, 119, 109,
313
+ 31, 110, 111,
314
+ 41, r + 49, 111,
315
+ 47, 114, 112,
316
+ 49, 113, r + 58,
317
+ 50, r + 57, r + 7,
318
+ 48, 116, 115,
319
+ 49, r + 54, r + 5,
320
+ 49, 118, 117,
321
+ 51, r + 55, r + 56,
322
+ 50, r + 53, r + 54,
323
+ 47, r + 50, 120,
324
+ 49, r + 51, r + 52,
296
325
  ]);
297
326
  const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
298
327
 
299
328
  const cache = new EndpointCache({
300
329
  size: 50,
301
330
  params: [
331
+ "AccountId",
332
+ "AccountIdEndpointMode",
302
333
  "ConsumerARN",
303
334
  "Endpoint",
304
335
  "OperationType",
@@ -1466,6 +1497,7 @@ const getRuntimeConfig = (config) => {
1466
1497
  ...config,
1467
1498
  runtime: "node",
1468
1499
  defaultsMode,
1500
+ accountIdEndpointMode: config?.accountIdEndpointMode ?? loadConfig(NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, loaderConfig),
1469
1501
  authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1470
1502
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1471
1503
  credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
@@ -1541,15 +1573,16 @@ class KinesisClient extends Client {
1541
1573
  super(_config_0);
1542
1574
  this.initConfig = _config_0;
1543
1575
  const _config_1 = resolveClientEndpointParameters(_config_0);
1544
- const _config_2 = resolveUserAgentConfig(_config_1);
1545
- const _config_3 = resolveRetryConfig(_config_2);
1546
- const _config_4 = resolveRegionConfig(_config_3);
1547
- const _config_5 = resolveHostHeaderConfig(_config_4);
1548
- const _config_6 = resolveEndpointConfig(_config_5);
1549
- const _config_7 = resolveEventStreamSerdeConfig(_config_6);
1550
- const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
1551
- const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
1552
- this.config = _config_9;
1576
+ const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);
1577
+ const _config_3 = resolveUserAgentConfig(_config_2);
1578
+ const _config_4 = resolveRetryConfig(_config_3);
1579
+ const _config_5 = resolveRegionConfig(_config_4);
1580
+ const _config_6 = resolveHostHeaderConfig(_config_5);
1581
+ const _config_7 = resolveEndpointConfig(_config_6);
1582
+ const _config_8 = resolveEventStreamSerdeConfig(_config_7);
1583
+ const _config_9 = resolveHttpAuthSchemeConfig(_config_8);
1584
+ const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
1585
+ this.config = _config_10;
1553
1586
  this.middlewareStack.use(getSchemaSerdePlugin(this.config));
1554
1587
  this.middlewareStack.use(getUserAgentPlugin(this.config));
1555
1588
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -1576,7 +1609,9 @@ const _ep0 = {
1576
1609
  StreamId: { type: "contextParams", name: "StreamId" },
1577
1610
  StreamARN: { type: "contextParams", name: "StreamARN" },
1578
1611
  };
1579
- const _ep1 = {};
1612
+ const _ep1 = {
1613
+ OperationType: { type: "staticContextParams", value: `control` },
1614
+ };
1580
1615
  const _ep2 = {
1581
1616
  OperationType: { type: "staticContextParams", value: `control` },
1582
1617
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
@@ -1,3 +1,4 @@
1
+ import { resolveAccountIdEndpointModeConfig, } from "@aws-sdk/core/account-id-endpoint";
1
2
  import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
2
3
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
3
4
  import { Client as __Client, } from "@smithy/core/client";
@@ -19,15 +20,16 @@ export class KinesisClient extends __Client {
19
20
  super(_config_0);
20
21
  this.initConfig = _config_0;
21
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
22
- const _config_2 = resolveUserAgentConfig(_config_1);
23
- const _config_3 = resolveRetryConfig(_config_2);
24
- const _config_4 = resolveRegionConfig(_config_3);
25
- const _config_5 = resolveHostHeaderConfig(_config_4);
26
- const _config_6 = resolveEndpointConfig(_config_5);
27
- const _config_7 = resolveEventStreamSerdeConfig(_config_6);
28
- const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
29
- const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
30
- this.config = _config_9;
23
+ const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);
24
+ const _config_3 = resolveUserAgentConfig(_config_2);
25
+ const _config_4 = resolveRetryConfig(_config_3);
26
+ const _config_5 = resolveRegionConfig(_config_4);
27
+ const _config_6 = resolveHostHeaderConfig(_config_5);
28
+ const _config_7 = resolveEndpointConfig(_config_6);
29
+ const _config_8 = resolveEventStreamSerdeConfig(_config_7);
30
+ const _config_9 = resolveHttpAuthSchemeConfig(_config_8);
31
+ const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
32
+ this.config = _config_10;
31
33
  this.middlewareStack.use(getSchemaSerdePlugin(this.config));
32
34
  this.middlewareStack.use(getUserAgentPlugin(this.config));
33
35
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -7,7 +7,9 @@ export const _ep0 = {
7
7
  StreamId: { type: "contextParams", name: "StreamId" },
8
8
  StreamARN: { type: "contextParams", name: "StreamARN" },
9
9
  };
10
- export const _ep1 = {};
10
+ export const _ep1 = {
11
+ OperationType: { type: "staticContextParams", value: `control` },
12
+ };
11
13
  export const _ep2 = {
12
14
  OperationType: { type: "staticContextParams", value: `control` },
13
15
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
@@ -7,7 +7,9 @@ export const resolveClientEndpointParameters = (options) => {
7
7
  };
8
8
  export const commonParams = {
9
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ AccountId: { type: "builtInParams", name: "accountId" },
10
11
  Endpoint: { type: "builtInParams", name: "endpoint" },
11
12
  Region: { type: "builtInParams", name: "region" },
12
13
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
13
15
  };