@aws-sdk/client-keyspacesstreams 3.927.0 → 3.928.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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_0Protocol({
31
+ defaultNamespace: "com.amazonaws.keyspacesstreams",
32
+ serviceTarget: "KeyspacesStreams",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "KeyspacesStreams",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class KeyspacesStreamsClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetRecordsCommand, se_GetRecordsCommand } from "../protocols/Aws_json1_0";
4
+ import { GetRecords } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRecordsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("KeyspacesStreams", "GetRecords", {})
17
13
  .n("KeyspacesStreamsClient", "GetRecordsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRecordsCommand)
20
- .de(de_GetRecordsCommand)
14
+ .sc(GetRecords)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetShardIteratorCommand, se_GetShardIteratorCommand } from "../protocols/Aws_json1_0";
4
+ import { GetShardIterator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetShardIteratorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("KeyspacesStreams", "GetShardIterator", {})
17
13
  .n("KeyspacesStreamsClient", "GetShardIteratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetShardIteratorCommand)
20
- .de(de_GetShardIteratorCommand)
14
+ .sc(GetShardIterator)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetStreamCommand, se_GetStreamCommand } from "../protocols/Aws_json1_0";
4
+ import { GetStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetStreamCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("KeyspacesStreams", "GetStream", {})
17
13
  .n("KeyspacesStreamsClient", "GetStreamCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetStreamCommand)
20
- .de(de_GetStreamCommand)
14
+ .sc(GetStream)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListStreamsCommand, se_ListStreamsCommand } from "../protocols/Aws_json1_0";
4
+ import { ListStreams } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListStreamsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("KeyspacesStreams", "ListStreams", {})
17
13
  .n("KeyspacesStreamsClient", "ListStreamsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListStreamsCommand)
20
- .de(de_ListStreamsCommand)
14
+ .sc(ListStreams)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_0Protocol({
28
+ defaultNamespace: "com.amazonaws.keyspacesstreams",
29
+ serviceTarget: "KeyspacesStreams",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "KeyspacesStreams",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -0,0 +1,317 @@
1
+ const _ADE = "AccessDeniedException";
2
+ const _GR = "GetRecords";
3
+ const _GRI = "GetRecordsInput";
4
+ const _GRO = "GetRecordsOutput";
5
+ const _GS = "GetStream";
6
+ const _GSI = "GetStreamInput";
7
+ const _GSII = "GetShardIteratorInput";
8
+ const _GSIO = "GetShardIteratorOutput";
9
+ const _GSIe = "GetShardIterator";
10
+ const _GSO = "GetStreamOutput";
11
+ const _ISE = "InternalServerException";
12
+ const _KC = "KeyspacesCell";
13
+ const _KCL = "KeyspacesCellList";
14
+ const _KCM = "KeyspacesCellMap";
15
+ const _KCMD = "KeyspacesCellMapDefinition";
16
+ const _KCV = "KeyspacesCellValue";
17
+ const _KCe = "KeyspacesCells";
18
+ const _KKM = "KeyspacesKeysMap";
19
+ const _KM = "KeyspacesMetadata";
20
+ const _KR = "KeyspacesRow";
21
+ const _KUM = "KeyspacesUdtMap";
22
+ const _LS = "ListStreams";
23
+ const _LSI = "ListStreamsInput";
24
+ const _LSO = "ListStreamsOutput";
25
+ const _R = "Record";
26
+ const _RL = "RecordList";
27
+ const _RNFE = "ResourceNotFoundException";
28
+ const _S = "Shard";
29
+ const _SDL = "ShardDescriptionList";
30
+ const _SF = "ShardFilter";
31
+ const _SL = "StreamList";
32
+ const _SNR = "SequenceNumberRange";
33
+ const _St = "Stream";
34
+ const _TE = "ThrottlingException";
35
+ const _VE = "ValidationException";
36
+ const _aQE = "awsQueryError";
37
+ const _aT = "asciiT";
38
+ const _bT = "bigintT";
39
+ const _bTl = "blobT";
40
+ const _bTo = "boolT";
41
+ const _c = "client";
42
+ const _cA = "createdAt";
43
+ const _cK = "clusteringKeys";
44
+ const _cR = "changeRecords";
45
+ const _cRDT = "creationRequestDateTime";
46
+ const _cT = "counterT";
47
+ const _dT = "dateT";
48
+ const _dTe = "decimalT";
49
+ const _dTo = "doubleT";
50
+ const _e = "error";
51
+ const _eC = "errorCode";
52
+ const _eSN = "endingSequenceNumber";
53
+ const _eT = "expirationTime";
54
+ const _eV = "eventVersion";
55
+ const _fT = "floatT";
56
+ const _hE = "httpError";
57
+ const _iT = "inetT";
58
+ const _iTn = "intT";
59
+ const _k = "key";
60
+ const _kN = "keyspaceName";
61
+ const _lT = "listT";
62
+ const _m = "message";
63
+ const _mR = "maxResults";
64
+ const _mT = "mapT";
65
+ const _me = "metadata";
66
+ const _nI = "newImage";
67
+ const _nSI = "nextShardIterator";
68
+ const _nT = "nextToken";
69
+ const _o = "origin";
70
+ const _oI = "oldImage";
71
+ const _pK = "partitionKeys";
72
+ const _pSI = "parentShardIds";
73
+ const _rM = "rowMetadata";
74
+ const _s = "shards";
75
+ const _sA = "streamArn";
76
+ const _sC = "staticCells";
77
+ const _sF = "shardFilter";
78
+ const _sI = "shardIterator";
79
+ const _sIT = "shardIteratorType";
80
+ const _sIh = "shardId";
81
+ const _sL = "streamLabel";
82
+ const _sN = "sequenceNumber";
83
+ const _sNR = "sequenceNumberRange";
84
+ const _sS = "streamStatus";
85
+ const _sSN = "startingSequenceNumber";
86
+ const _sT = "setT";
87
+ const _sTm = "smallintT";
88
+ const _sVT = "streamViewType";
89
+ const _se = "server";
90
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.keyspacesstreams";
91
+ const _st = "streams";
92
+ const _t = "type";
93
+ const _tN = "tableName";
94
+ const _tT = "textT";
95
+ const _tTi = "timeT";
96
+ const _tTim = "timestampT";
97
+ const _tTime = "timeuuidT";
98
+ const _tTin = "tinyintT";
99
+ const _tTu = "tupleT";
100
+ const _uT = "uuidT";
101
+ const _uTd = "udtT";
102
+ const _v = "value";
103
+ const _vC = "valueCells";
104
+ const _vT = "varcharT";
105
+ const _vTa = "varintT";
106
+ const _wT = "writeTime";
107
+ const n0 = "com.amazonaws.keyspacesstreams";
108
+ import { TypeRegistry } from "@smithy/core/schema";
109
+ import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
110
+ import { KeyspacesStreamsServiceException as __KeyspacesStreamsServiceException } from "../models/KeyspacesStreamsServiceException";
111
+ export var AccessDeniedException = [
112
+ -3,
113
+ n0,
114
+ _ADE,
115
+ {
116
+ [_e]: _c,
117
+ [_hE]: 403,
118
+ [_aQE]: [`AccessDeniedException`, 403],
119
+ },
120
+ [_m],
121
+ [0],
122
+ ];
123
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
124
+ export var GetRecordsInput = [3, n0, _GRI, 0, [_sI, _mR], [0, 1]];
125
+ export var GetRecordsOutput = [3, n0, _GRO, 0, [_cR, _nSI], [() => RecordList, 0]];
126
+ export var GetShardIteratorInput = [3, n0, _GSII, 0, [_sA, _sIh, _sIT, _sN], [0, 0, 0, 0]];
127
+ export var GetShardIteratorOutput = [3, n0, _GSIO, 0, [_sI], [0]];
128
+ export var GetStreamInput = [3, n0, _GSI, 0, [_sA, _mR, _sF, _nT], [0, 1, () => ShardFilter, 0]];
129
+ export var GetStreamOutput = [
130
+ 3,
131
+ n0,
132
+ _GSO,
133
+ 0,
134
+ [_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _s, _nT],
135
+ [0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0],
136
+ ];
137
+ export var InternalServerException = [
138
+ -3,
139
+ n0,
140
+ _ISE,
141
+ {
142
+ [_e]: _se,
143
+ [_hE]: 500,
144
+ [_aQE]: [`InternalServerException`, 500],
145
+ },
146
+ [_m],
147
+ [0],
148
+ ];
149
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
150
+ export var KeyspacesCell = [
151
+ 3,
152
+ n0,
153
+ _KC,
154
+ 0,
155
+ [_v, _me],
156
+ [() => KeyspacesCellValue, () => KeyspacesMetadata],
157
+ ];
158
+ export var KeyspacesCellMapDefinition = [
159
+ 3,
160
+ n0,
161
+ _KCMD,
162
+ 0,
163
+ [_k, _v, _me],
164
+ [() => KeyspacesCellValue, () => KeyspacesCellValue, () => KeyspacesMetadata],
165
+ ];
166
+ export var KeyspacesMetadata = [3, n0, _KM, 0, [_eT, _wT], [0, 0]];
167
+ export var KeyspacesRow = [
168
+ 3,
169
+ n0,
170
+ _KR,
171
+ 0,
172
+ [_vC, _sC, _rM],
173
+ [() => KeyspacesCells, () => KeyspacesCells, () => KeyspacesMetadata],
174
+ ];
175
+ export var ListStreamsInput = [3, n0, _LSI, 0, [_kN, _tN, _mR, _nT], [0, 0, 1, 0]];
176
+ export var ListStreamsOutput = [3, n0, _LSO, 0, [_st, _nT], [() => StreamList, 0]];
177
+ export var _Record = [
178
+ 3,
179
+ n0,
180
+ _R,
181
+ 0,
182
+ [_eV, _cA, _o, _pK, _cK, _nI, _oI, _sN],
183
+ [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => KeyspacesRow, () => KeyspacesRow, 0],
184
+ ];
185
+ export var ResourceNotFoundException = [
186
+ -3,
187
+ n0,
188
+ _RNFE,
189
+ {
190
+ [_e]: _c,
191
+ [_hE]: 404,
192
+ [_aQE]: [`ResourceNotFoundException`, 404],
193
+ },
194
+ [_m],
195
+ [0],
196
+ ];
197
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
198
+ export var SequenceNumberRange = [3, n0, _SNR, 0, [_sSN, _eSN], [0, 0]];
199
+ export var Shard = [3, n0, _S, 0, [_sIh, _sNR, _pSI], [0, () => SequenceNumberRange, 64 | 0]];
200
+ export var ShardFilter = [3, n0, _SF, 0, [_t, _sIh], [0, 0]];
201
+ export var _Stream = [3, n0, _St, 0, [_sA, _kN, _tN, _sL], [0, 0, 0, 0]];
202
+ export var ThrottlingException = [
203
+ -3,
204
+ n0,
205
+ _TE,
206
+ {
207
+ [_e]: _c,
208
+ [_hE]: 429,
209
+ [_aQE]: [`ThrottlingException`, 429],
210
+ },
211
+ [_m],
212
+ [0],
213
+ ];
214
+ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
215
+ export var ValidationException = [
216
+ -3,
217
+ n0,
218
+ _VE,
219
+ {
220
+ [_e]: _c,
221
+ [_hE]: 400,
222
+ [_aQE]: [`ValidationException`, 400],
223
+ },
224
+ [_m, _eC],
225
+ [0, 0],
226
+ ];
227
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
228
+ export var __Unit = "unit";
229
+ export var KeyspacesStreamsServiceException = [
230
+ -3,
231
+ _sm,
232
+ "KeyspacesStreamsServiceException",
233
+ 0,
234
+ [],
235
+ [],
236
+ ];
237
+ TypeRegistry.for(_sm).registerError(KeyspacesStreamsServiceException, __KeyspacesStreamsServiceException);
238
+ export var KeyspacesCellList = [1, n0, _KCL, 0, () => KeyspacesCell];
239
+ export var KeyspacesCellMap = [1, n0, _KCM, 0, () => KeyspacesCellMapDefinition];
240
+ export var RecordList = [1, n0, _RL, 0, () => _Record];
241
+ export var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard];
242
+ export var ShardIdList = 64 | 0;
243
+ export var StreamList = [1, n0, _SL, 0, () => _Stream];
244
+ export var KeyspacesCells = [2, n0, _KCe, 0, 0, () => KeyspacesCell];
245
+ export var KeyspacesKeysMap = [2, n0, _KKM, 0, 0, () => KeyspacesCellValue];
246
+ export var KeyspacesUdtMap = [2, n0, _KUM, 0, 0, () => KeyspacesCell];
247
+ export var KeyspacesCellValue = [
248
+ 3,
249
+ n0,
250
+ _KCV,
251
+ 0,
252
+ [
253
+ _aT,
254
+ _bT,
255
+ _bTl,
256
+ _bTo,
257
+ _cT,
258
+ _dT,
259
+ _dTe,
260
+ _dTo,
261
+ _fT,
262
+ _iT,
263
+ _iTn,
264
+ _lT,
265
+ _mT,
266
+ _sT,
267
+ _sTm,
268
+ _tT,
269
+ _tTi,
270
+ _tTim,
271
+ _tTime,
272
+ _tTin,
273
+ _tTu,
274
+ _uT,
275
+ _vT,
276
+ _vTa,
277
+ _uTd,
278
+ ],
279
+ [
280
+ 0,
281
+ 0,
282
+ 21,
283
+ 2,
284
+ 0,
285
+ 0,
286
+ 0,
287
+ 0,
288
+ 0,
289
+ 0,
290
+ 0,
291
+ () => KeyspacesCellList,
292
+ () => KeyspacesCellMap,
293
+ () => KeyspacesCellList,
294
+ 0,
295
+ 0,
296
+ 0,
297
+ 0,
298
+ 0,
299
+ 0,
300
+ () => KeyspacesCellList,
301
+ 0,
302
+ 0,
303
+ 0,
304
+ () => KeyspacesUdtMap,
305
+ ],
306
+ ];
307
+ export var GetRecords = [9, n0, _GR, 0, () => GetRecordsInput, () => GetRecordsOutput];
308
+ export var GetShardIterator = [
309
+ 9,
310
+ n0,
311
+ _GSIe,
312
+ 0,
313
+ () => GetShardIteratorInput,
314
+ () => GetShardIteratorOutput,
315
+ ];
316
+ export var GetStream = [9, n0, _GS, 0, () => GetStreamInput, () => GetStreamOutput];
317
+ export var ListStreams = [9, n0, _LS, 0, () => ListStreamsInput, () => ListStreamsOutput];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
11
11
  import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
@@ -145,6 +145,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
145
145
  * Optional extensions
146
146
  */
147
147
  extensions?: RuntimeExtension[];
148
+ /**
149
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
150
+ * may be overridden. A default will always be set by the client.
151
+ * Available options depend on the service's supported protocols and will not be validated by
152
+ * the client.
153
+ * @alpha
154
+ *
155
+ */
156
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
148
157
  /**
149
158
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
150
159
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,39 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException: StaticErrorSchema;
3
+ export declare var GetRecordsInput: StaticStructureSchema;
4
+ export declare var GetRecordsOutput: StaticStructureSchema;
5
+ export declare var GetShardIteratorInput: StaticStructureSchema;
6
+ export declare var GetShardIteratorOutput: StaticStructureSchema;
7
+ export declare var GetStreamInput: StaticStructureSchema;
8
+ export declare var GetStreamOutput: StaticStructureSchema;
9
+ export declare var InternalServerException: StaticErrorSchema;
10
+ export declare var KeyspacesCell: StaticStructureSchema;
11
+ export declare var KeyspacesCellMapDefinition: StaticStructureSchema;
12
+ export declare var KeyspacesMetadata: StaticStructureSchema;
13
+ export declare var KeyspacesRow: StaticStructureSchema;
14
+ export declare var ListStreamsInput: StaticStructureSchema;
15
+ export declare var ListStreamsOutput: StaticStructureSchema;
16
+ export declare var _Record: StaticStructureSchema;
17
+ export declare var ResourceNotFoundException: StaticErrorSchema;
18
+ export declare var SequenceNumberRange: StaticStructureSchema;
19
+ export declare var Shard: StaticStructureSchema;
20
+ export declare var ShardFilter: StaticStructureSchema;
21
+ export declare var _Stream: StaticStructureSchema;
22
+ export declare var ThrottlingException: StaticErrorSchema;
23
+ export declare var ValidationException: StaticErrorSchema;
24
+ export declare var __Unit: "unit";
25
+ export declare var KeyspacesStreamsServiceException: StaticErrorSchema;
26
+ export declare var KeyspacesCellList: StaticListSchema;
27
+ export declare var KeyspacesCellMap: StaticListSchema;
28
+ export declare var RecordList: StaticListSchema;
29
+ export declare var ShardDescriptionList: StaticListSchema;
30
+ export declare var ShardIdList: number;
31
+ export declare var StreamList: StaticListSchema;
32
+ export declare var KeyspacesCells: StaticMapSchema;
33
+ export declare var KeyspacesKeysMap: StaticMapSchema;
34
+ export declare var KeyspacesUdtMap: StaticMapSchema;
35
+ export declare var KeyspacesCellValue: StaticStructureSchema;
36
+ export declare var GetRecords: StaticOperationSchema;
37
+ export declare var GetShardIterator: StaticOperationSchema;
38
+ export declare var GetStream: StaticOperationSchema;
39
+ export declare var ListStreams: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -102,6 +105,7 @@ export interface ClientDefaults
102
105
  retryMode?: string | __Provider<string>;
103
106
  logger?: __Logger;
104
107
  extensions?: RuntimeExtension[];
108
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
105
109
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
106
110
  }
107
111
  export type KeyspacesStreamsClientConfigType = Partial<
@@ -39,6 +39,10 @@ export declare const getRuntimeConfig: (
39
39
  profile?: string;
40
40
  logger: import("@smithy/types").Logger;
41
41
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
+ protocol: import("@smithy/types").ClientProtocol<
43
+ import("@smithy/types").HttpRequest,
44
+ import("@smithy/types").HttpResponse
45
+ >;
42
46
  customUserAgent?: string | import("@smithy/types").UserAgent;
43
47
  userAgentAppId?:
44
48
  | string
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
40
40
  profile?: string;
41
41
  logger: import("@smithy/types").Logger;
42
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ protocol: import("@smithy/types").ClientProtocol<
44
+ import("@smithy/types").HttpRequest,
45
+ import("@smithy/types").HttpResponse
46
+ >;
43
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
44
48
  retryStrategy?:
45
49
  | import("@smithy/types").RetryStrategy
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (
38
38
  retryMode: string | import("@smithy/types").Provider<string>;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  defaultsMode:
42
46
  | import("@smithy/smithy-client").DefaultsMode
43
47
  | import("@smithy/types").Provider<
@@ -16,6 +16,10 @@ export declare const getRuntimeConfig: (
16
16
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
17
17
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
18
  logger: import("@smithy/types").Logger;
19
+ protocol: import("@smithy/types").ClientProtocol<
20
+ import("@smithy/types").HttpRequest,
21
+ import("@smithy/types").HttpResponse
22
+ >;
19
23
  serviceId: string;
20
24
  urlParser: import("@smithy/types").UrlParser;
21
25
  utf8Decoder: import("@smithy/types").Decoder;