@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 +205 -170
- package/dist-es/KinesisClient.js +11 -9
- package/dist-es/commandBuilder.js +3 -1
- package/dist-es/endpoint/EndpointParameters.js +2 -0
- package/dist-es/endpoint/bdd.js +185 -159
- package/dist-es/endpoint/endpointResolver.js +2 -0
- package/dist-es/runtimeConfig.browser.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/KinesisClient.d.ts +7 -2
- package/dist-types/commands/GetRecordsCommand.d.ts +9 -6
- package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +2 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +9 -9
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.
|
|
76
|
+
var version = "3.1115.0";
|
|
74
77
|
var packageInfo = {
|
|
75
78
|
version: version};
|
|
76
79
|
|
|
77
|
-
const
|
|
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": [{ [
|
|
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,
|
|
82
|
-
["aws.partition",
|
|
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
|
-
[
|
|
102
|
-
[
|
|
103
|
-
[
|
|
104
|
-
[
|
|
105
|
-
[
|
|
106
|
-
[
|
|
107
|
-
[
|
|
108
|
-
[f, [{ fn: n, argv: [
|
|
109
|
-
[
|
|
110
|
-
[
|
|
111
|
-
[
|
|
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(
|
|
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, [{ [
|
|
123
|
-
[x, [{ [
|
|
124
|
-
[x, [{ fn: n, argv: [
|
|
125
|
-
[x, [{ [
|
|
126
|
-
[x, [{ fn: n, argv: [
|
|
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,
|
|
129
|
-
[f, [{ fn: h, argv: [{ fn: g, argv: [H,
|
|
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}",
|
|
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}",
|
|
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}",
|
|
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}",
|
|
141
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
142
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
143
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
144
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}",
|
|
145
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
146
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
147
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
148
|
-
["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}",
|
|
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),
|
|
151
|
-
[z(3),
|
|
152
|
-
[A(3),
|
|
153
|
-
[B(3),
|
|
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),
|
|
162
|
-
[z(1),
|
|
163
|
-
[A(1),
|
|
164
|
-
[B(1),
|
|
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),
|
|
169
|
-
[z(2),
|
|
170
|
-
[A(2),
|
|
171
|
-
[B(2),
|
|
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,
|
|
178
|
-
["https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
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",
|
|
181
|
-
["https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
182
|
-
["https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
183
|
-
["https://kinesis.{Region}.{PartitionResult#dnsSuffix}",
|
|
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,
|
|
194
|
-
2,
|
|
195
|
-
3,
|
|
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,
|
|
201
|
-
9,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
37, r +
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
47,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
47,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
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 =
|
|
1545
|
-
const _config_3 =
|
|
1546
|
-
const _config_4 =
|
|
1547
|
-
const _config_5 =
|
|
1548
|
-
const _config_6 =
|
|
1549
|
-
const _config_7 =
|
|
1550
|
-
const _config_8 =
|
|
1551
|
-
const _config_9 =
|
|
1552
|
-
|
|
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" },
|
package/dist-es/KinesisClient.js
CHANGED
|
@@ -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 =
|
|
23
|
-
const _config_3 =
|
|
24
|
-
const _config_4 =
|
|
25
|
-
const _config_5 =
|
|
26
|
-
const _config_6 =
|
|
27
|
-
const _config_7 =
|
|
28
|
-
const _config_8 =
|
|
29
|
-
const _config_9 =
|
|
30
|
-
|
|
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
|
};
|