@aws-sdk/client-rbin 3.952.0 → 3.954.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,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { LockRule } from "../schemas/schemas_0";
4
+ import { LockRule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class LockRuleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class LockRuleCommand extends $Command
11
11
  })
12
12
  .s("AmazonRecycleBin", "LockRule", {})
13
13
  .n("RbinClient", "LockRuleCommand")
14
- .sc(LockRule)
14
+ .sc(LockRule$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonRecycleBin", "TagResource", {})
13
13
  .n("RbinClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UnlockRule } from "../schemas/schemas_0";
4
+ import { UnlockRule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UnlockRuleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UnlockRuleCommand extends $Command
11
11
  })
12
12
  .s("AmazonRecycleBin", "UnlockRule", {})
13
13
  .n("RbinClient", "UnlockRuleCommand")
14
- .sc(UnlockRule)
14
+ .sc(UnlockRule$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonRecycleBin", "UntagResource", {})
13
13
  .n("RbinClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRule } from "../schemas/schemas_0";
4
+ import { UpdateRule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRuleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRuleCommand extends $Command
11
11
  })
12
12
  .s("AmazonRecycleBin", "UpdateRule", {})
13
13
  .n("RbinClient", "UpdateRuleCommand")
14
- .sc(UpdateRule)
14
+ .sc(UpdateRule$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./RbinClient";
2
2
  export * from "./Rbin";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rbin" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.rbin",
29
+ version: "2021-06-15",
30
+ serviceTarget: "AmazonRecycleBin",
31
+ },
27
32
  serviceId: config?.serviceId ?? "rbin",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -76,19 +76,27 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rbin";
76
76
  const _tK = "tagKeys";
77
77
  const n0 = "com.amazonaws.rbin";
78
78
  import { TypeRegistry } from "@smithy/core/schema";
79
- import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
80
- import { RbinServiceException as __RbinServiceException } from "../models/RbinServiceException";
81
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M, _R], [0, 0]];
82
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
83
- export var CreateRuleRequest = [
79
+ import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
80
+ import { RbinServiceException } from "../models/RbinServiceException";
81
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M, _R], [0, 0]];
82
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
83
+ export var CreateRuleRequest$ = [
84
84
  3,
85
85
  n0,
86
86
  _CRR,
87
87
  0,
88
88
  [_RP, _D, _T, _RT, _RTe, _LC, _ERT],
89
- [() => RetentionPeriod, 0, () => TagList, 0, () => ResourceTags, () => LockConfiguration, () => ExcludeResourceTags],
89
+ [
90
+ () => RetentionPeriod$,
91
+ 0,
92
+ () => TagList,
93
+ 0,
94
+ () => ResourceTags,
95
+ () => LockConfiguration$,
96
+ () => ExcludeResourceTags,
97
+ ],
90
98
  ];
91
- export var CreateRuleResponse = [
99
+ export var CreateRuleResponse$ = [
92
100
  3,
93
101
  n0,
94
102
  _CRRr,
@@ -96,32 +104,44 @@ export var CreateRuleResponse = [
96
104
  [_I, _RP, _D, _T, _RT, _RTe, _S, _LC, _LS, _RA, _ERT],
97
105
  [
98
106
  0,
99
- () => RetentionPeriod,
107
+ () => RetentionPeriod$,
100
108
  0,
101
109
  () => TagList,
102
110
  0,
103
111
  () => ResourceTags,
104
112
  0,
105
- () => LockConfiguration,
113
+ () => LockConfiguration$,
106
114
  0,
107
115
  0,
108
116
  () => ExcludeResourceTags,
109
117
  ],
110
118
  ];
111
- export var DeleteRuleRequest = [3, n0, _DRR, 0, [_I], [[0, 1]]];
112
- export var DeleteRuleResponse = [3, n0, _DRRe, 0, [], []];
113
- export var GetRuleRequest = [3, n0, _GRR, 0, [_I], [[0, 1]]];
114
- export var GetRuleResponse = [
119
+ export var DeleteRuleRequest$ = [3, n0, _DRR, 0, [_I], [[0, 1]]];
120
+ export var DeleteRuleResponse$ = [3, n0, _DRRe, 0, [], []];
121
+ export var GetRuleRequest$ = [3, n0, _GRR, 0, [_I], [[0, 1]]];
122
+ export var GetRuleResponse$ = [
115
123
  3,
116
124
  n0,
117
125
  _GRRe,
118
126
  0,
119
127
  [_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
120
- [0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
128
+ [
129
+ 0,
130
+ 0,
131
+ 0,
132
+ () => RetentionPeriod$,
133
+ () => ResourceTags,
134
+ 0,
135
+ () => LockConfiguration$,
136
+ 0,
137
+ 4,
138
+ 0,
139
+ () => ExcludeResourceTags,
140
+ ],
121
141
  ];
122
- export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
123
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
124
- export var ListRulesRequest = [
142
+ export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
143
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
144
+ export var ListRulesRequest$ = [
125
145
  3,
126
146
  n0,
127
147
  _LRR,
@@ -129,32 +149,32 @@ export var ListRulesRequest = [
129
149
  [_MR, _NT, _RT, _RTe, _LS, _ERT],
130
150
  [1, 0, 0, () => ResourceTags, 0, () => ExcludeResourceTags],
131
151
  ];
132
- export var ListRulesResponse = [3, n0, _LRRi, 0, [_Ru, _NT], [() => RuleSummaryList, 0]];
133
- export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
134
- export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
135
- export var LockConfiguration = [3, n0, _LC, 0, [_UD], [() => UnlockDelay]];
136
- export var LockRuleRequest = [3, n0, _LRRo, 0, [_I, _LC], [[0, 1], () => LockConfiguration]];
137
- export var LockRuleResponse = [
152
+ export var ListRulesResponse$ = [3, n0, _LRRi, 0, [_Ru, _NT], [() => RuleSummaryList, 0]];
153
+ export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
154
+ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
155
+ export var LockConfiguration$ = [3, n0, _LC, 0, [_UD], [() => UnlockDelay$]];
156
+ export var LockRuleRequest$ = [3, n0, _LRRo, 0, [_I, _LC], [[0, 1], () => LockConfiguration$]];
157
+ export var LockRuleResponse$ = [
138
158
  3,
139
159
  n0,
140
160
  _LRRoc,
141
161
  0,
142
162
  [_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _RA, _ERT],
143
- [0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 0, () => ExcludeResourceTags],
163
+ [0, 0, 0, () => RetentionPeriod$, () => ResourceTags, 0, () => LockConfiguration$, 0, 0, () => ExcludeResourceTags],
144
164
  ];
145
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
146
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
147
- export var ResourceTag = [3, n0, _RTes, 0, [_RTK, _RTV], [0, 0]];
148
- export var RetentionPeriod = [3, n0, _RP, 0, [_RPV, _RPU], [1, 0]];
149
- export var RuleSummary = [
165
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
166
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
167
+ export var ResourceTag$ = [3, n0, _RTes, 0, [_RTK, _RTV], [0, 0]];
168
+ export var RetentionPeriod$ = [3, n0, _RP, 0, [_RPV, _RPU], [1, 0]];
169
+ export var RuleSummary$ = [
150
170
  3,
151
171
  n0,
152
172
  _RS,
153
173
  0,
154
174
  [_I, _D, _RP, _LS, _RA],
155
- [0, 0, () => RetentionPeriod, 0, 0],
175
+ [0, 0, () => RetentionPeriod$, 0, 0],
156
176
  ];
157
- export var ServiceQuotaExceededException = [
177
+ export var ServiceQuotaExceededException$ = [
158
178
  -3,
159
179
  n0,
160
180
  _SQEE,
@@ -162,21 +182,33 @@ export var ServiceQuotaExceededException = [
162
182
  [_M, _R],
163
183
  [0, 0],
164
184
  ];
165
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
166
- export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
167
- export var TagResourceRequest = [3, n0, _TRR, 0, [_RAe, _T], [[0, 1], () => TagList]];
168
- export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
169
- export var UnlockDelay = [3, n0, _UD, 0, [_UDV, _UDU], [1, 0]];
170
- export var UnlockRuleRequest = [3, n0, _URR, 0, [_I], [[0, 1]]];
171
- export var UnlockRuleResponse = [
185
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
186
+ export var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
187
+ export var TagResourceRequest$ = [3, n0, _TRR, 0, [_RAe, _T], [[0, 1], () => TagList]];
188
+ export var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
189
+ export var UnlockDelay$ = [3, n0, _UD, 0, [_UDV, _UDU], [1, 0]];
190
+ export var UnlockRuleRequest$ = [3, n0, _URR, 0, [_I], [[0, 1]]];
191
+ export var UnlockRuleResponse$ = [
172
192
  3,
173
193
  n0,
174
194
  _URRn,
175
195
  0,
176
196
  [_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
177
- [0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
197
+ [
198
+ 0,
199
+ 0,
200
+ 0,
201
+ () => RetentionPeriod$,
202
+ () => ResourceTags,
203
+ 0,
204
+ () => LockConfiguration$,
205
+ 0,
206
+ 4,
207
+ 0,
208
+ () => ExcludeResourceTags,
209
+ ],
178
210
  ];
179
- export var UntagResourceRequest = [
211
+ export var UntagResourceRequest$ = [
180
212
  3,
181
213
  n0,
182
214
  _URRnt,
@@ -187,109 +219,109 @@ export var UntagResourceRequest = [
187
219
  [64 | 0, { [_hQ]: _tK }],
188
220
  ],
189
221
  ];
190
- export var UntagResourceResponse = [3, n0, _URRnta, 0, [], []];
191
- export var UpdateRuleRequest = [
222
+ export var UntagResourceResponse$ = [3, n0, _URRnta, 0, [], []];
223
+ export var UpdateRuleRequest$ = [
192
224
  3,
193
225
  n0,
194
226
  _URRp,
195
227
  0,
196
228
  [_I, _RP, _D, _RT, _RTe, _ERT],
197
- [[0, 1], () => RetentionPeriod, 0, 0, () => ResourceTags, () => ExcludeResourceTags],
229
+ [[0, 1], () => RetentionPeriod$, 0, 0, () => ResourceTags, () => ExcludeResourceTags],
198
230
  ];
199
- export var UpdateRuleResponse = [
231
+ export var UpdateRuleResponse$ = [
200
232
  3,
201
233
  n0,
202
234
  _URRpd,
203
235
  0,
204
236
  [_I, _RP, _D, _RT, _RTe, _S, _LS, _LET, _RA, _ERT],
205
- [0, () => RetentionPeriod, 0, 0, () => ResourceTags, 0, 0, 4, 0, () => ExcludeResourceTags],
237
+ [0, () => RetentionPeriod$, 0, 0, () => ResourceTags, 0, 0, 4, 0, () => ExcludeResourceTags],
206
238
  ];
207
- export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
208
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
209
- export var RbinServiceException = [-3, _sm, "RbinServiceException", 0, [], []];
210
- TypeRegistry.for(_sm).registerError(RbinServiceException, __RbinServiceException);
211
- export var ExcludeResourceTags = [1, n0, _ERT, 0, () => ResourceTag];
212
- export var ResourceTags = [1, n0, _RTe, 0, () => ResourceTag];
213
- export var RuleSummaryList = [1, n0, _RSL, 0, () => RuleSummary];
214
- export var TagKeyList = 64 | 0;
215
- export var TagList = [1, n0, _TL, 0, () => Tag];
216
- export var CreateRule = [
239
+ export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
240
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
241
+ export var RbinServiceException$ = [-3, _sm, "RbinServiceException", 0, [], []];
242
+ TypeRegistry.for(_sm).registerError(RbinServiceException$, RbinServiceException);
243
+ var ExcludeResourceTags = [1, n0, _ERT, 0, () => ResourceTag$];
244
+ var ResourceTags = [1, n0, _RTe, 0, () => ResourceTag$];
245
+ var RuleSummaryList = [1, n0, _RSL, 0, () => RuleSummary$];
246
+ var TagKeyList = 64 | 0;
247
+ var TagList = [1, n0, _TL, 0, () => Tag$];
248
+ export var CreateRule$ = [
217
249
  9,
218
250
  n0,
219
251
  _CR,
220
252
  { [_h]: ["POST", "/rules", 201] },
221
- () => CreateRuleRequest,
222
- () => CreateRuleResponse,
253
+ () => CreateRuleRequest$,
254
+ () => CreateRuleResponse$,
223
255
  ];
224
- export var DeleteRule = [
256
+ export var DeleteRule$ = [
225
257
  9,
226
258
  n0,
227
259
  _DR,
228
260
  { [_h]: ["DELETE", "/rules/{Identifier}", 204] },
229
- () => DeleteRuleRequest,
230
- () => DeleteRuleResponse,
261
+ () => DeleteRuleRequest$,
262
+ () => DeleteRuleResponse$,
231
263
  ];
232
- export var GetRule = [
264
+ export var GetRule$ = [
233
265
  9,
234
266
  n0,
235
267
  _GR,
236
268
  { [_h]: ["GET", "/rules/{Identifier}", 200] },
237
- () => GetRuleRequest,
238
- () => GetRuleResponse,
269
+ () => GetRuleRequest$,
270
+ () => GetRuleResponse$,
239
271
  ];
240
- export var ListRules = [
272
+ export var ListRules$ = [
241
273
  9,
242
274
  n0,
243
275
  _LR,
244
276
  { [_h]: ["POST", "/list-rules", 200] },
245
- () => ListRulesRequest,
246
- () => ListRulesResponse,
277
+ () => ListRulesRequest$,
278
+ () => ListRulesResponse$,
247
279
  ];
248
- export var ListTagsForResource = [
280
+ export var ListTagsForResource$ = [
249
281
  9,
250
282
  n0,
251
283
  _LTFR,
252
284
  { [_h]: ["GET", "/tags/{ResourceArn}", 200] },
253
- () => ListTagsForResourceRequest,
254
- () => ListTagsForResourceResponse,
285
+ () => ListTagsForResourceRequest$,
286
+ () => ListTagsForResourceResponse$,
255
287
  ];
256
- export var LockRule = [
288
+ export var LockRule$ = [
257
289
  9,
258
290
  n0,
259
291
  _LRo,
260
292
  { [_h]: ["PATCH", "/rules/{Identifier}/lock", 200] },
261
- () => LockRuleRequest,
262
- () => LockRuleResponse,
293
+ () => LockRuleRequest$,
294
+ () => LockRuleResponse$,
263
295
  ];
264
- export var TagResource = [
296
+ export var TagResource$ = [
265
297
  9,
266
298
  n0,
267
299
  _TR,
268
300
  { [_h]: ["POST", "/tags/{ResourceArn}", 201] },
269
- () => TagResourceRequest,
270
- () => TagResourceResponse,
301
+ () => TagResourceRequest$,
302
+ () => TagResourceResponse$,
271
303
  ];
272
- export var UnlockRule = [
304
+ export var UnlockRule$ = [
273
305
  9,
274
306
  n0,
275
307
  _UR,
276
308
  { [_h]: ["PATCH", "/rules/{Identifier}/unlock", 200] },
277
- () => UnlockRuleRequest,
278
- () => UnlockRuleResponse,
309
+ () => UnlockRuleRequest$,
310
+ () => UnlockRuleResponse$,
279
311
  ];
280
- export var UntagResource = [
312
+ export var UntagResource$ = [
281
313
  9,
282
314
  n0,
283
315
  _URn,
284
316
  { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] },
285
- () => UntagResourceRequest,
286
- () => UntagResourceResponse,
317
+ () => UntagResourceRequest$,
318
+ () => UntagResourceResponse$,
287
319
  ];
288
- export var UpdateRule = [
320
+ export var UpdateRule$ = [
289
321
  9,
290
322
  n0,
291
323
  _URp,
292
324
  { [_h]: ["PATCH", "/rules/{Identifier}", 200] },
293
- () => UpdateRuleRequest,
294
- () => UpdateRuleResponse,
325
+ () => UpdateRuleRequest$,
326
+ () => UpdateRuleResponse$,
295
327
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
11
11
  import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
@@ -151,15 +151,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
151
151
  * Optional extensions
152
152
  */
153
153
  extensions?: RuntimeExtension[];
154
- /**
155
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
156
- * may be overridden. A default will always be set by the client.
157
- * Available options depend on the service's supported protocols and will not be validated by
158
- * the client.
159
- * @alpha
160
- *
161
- */
162
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
163
154
  /**
164
155
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
165
156
  */
@@ -20,6 +20,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
20
20
  export type { RuntimeExtension } from "./runtimeExtensions";
21
21
  export type { RbinExtensionConfiguration } from "./extensionConfiguration";
22
22
  export * from "./commands";
23
+ export * from "./schemas/schemas_0";
23
24
  export * from "./pagination";
24
25
  export * from "./models/enums";
25
26
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  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;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { RbinClientConfig } from "./RbinClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;