@aws-sdk/client-rbin 3.943.0 → 3.947.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 +16 -84
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/RbinClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +16 -85
- package/dist-types/Rbin.d.ts +1 -1
- package/dist-types/RbinClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateRuleCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRuleCommand.d.ts +3 -3
- package/dist-types/commands/GetRuleCommand.d.ts +3 -3
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/LockRuleCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UnlockRuleCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRuleCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/RbinServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -2
- package/dist-types/ts3.4/RbinClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/RbinServiceException.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -273,17 +273,7 @@ const _s = "server";
|
|
|
273
273
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rbin";
|
|
274
274
|
const _tK = "tagKeys";
|
|
275
275
|
const n0 = "com.amazonaws.rbin";
|
|
276
|
-
var ConflictException = [
|
|
277
|
-
-3,
|
|
278
|
-
n0,
|
|
279
|
-
_CE,
|
|
280
|
-
{
|
|
281
|
-
[_e]: _c,
|
|
282
|
-
[_hE]: 409,
|
|
283
|
-
},
|
|
284
|
-
[_M, _R],
|
|
285
|
-
[0, 0],
|
|
286
|
-
];
|
|
276
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M, _R], [0, 0]];
|
|
287
277
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
288
278
|
var CreateRuleRequest = [
|
|
289
279
|
3,
|
|
@@ -324,17 +314,7 @@ var GetRuleResponse = [
|
|
|
324
314
|
[_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
|
|
325
315
|
[0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
|
|
326
316
|
];
|
|
327
|
-
var InternalServerException = [
|
|
328
|
-
-3,
|
|
329
|
-
n0,
|
|
330
|
-
_ISE,
|
|
331
|
-
{
|
|
332
|
-
[_e]: _s,
|
|
333
|
-
[_hE]: 500,
|
|
334
|
-
},
|
|
335
|
-
[_M],
|
|
336
|
-
[0],
|
|
337
|
-
];
|
|
317
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
338
318
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
339
319
|
var ListRulesRequest = [
|
|
340
320
|
3,
|
|
@@ -357,17 +337,7 @@ var LockRuleResponse = [
|
|
|
357
337
|
[_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _RA, _ERT],
|
|
358
338
|
[0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 0, () => ExcludeResourceTags],
|
|
359
339
|
];
|
|
360
|
-
var ResourceNotFoundException = [
|
|
361
|
-
-3,
|
|
362
|
-
n0,
|
|
363
|
-
_RNFE,
|
|
364
|
-
{
|
|
365
|
-
[_e]: _c,
|
|
366
|
-
[_hE]: 404,
|
|
367
|
-
},
|
|
368
|
-
[_M, _R],
|
|
369
|
-
[0, 0],
|
|
370
|
-
];
|
|
340
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
|
|
371
341
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
372
342
|
var ResourceTag = [3, n0, _RTes, 0, [_RTK, _RTV], [0, 0]];
|
|
373
343
|
var RetentionPeriod = [3, n0, _RP, 0, [_RPV, _RPU], [1, 0]];
|
|
@@ -383,10 +353,7 @@ var ServiceQuotaExceededException = [
|
|
|
383
353
|
-3,
|
|
384
354
|
n0,
|
|
385
355
|
_SQEE,
|
|
386
|
-
{
|
|
387
|
-
[_e]: _c,
|
|
388
|
-
[_hE]: 402,
|
|
389
|
-
},
|
|
356
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
390
357
|
[_M, _R],
|
|
391
358
|
[0, 0],
|
|
392
359
|
];
|
|
@@ -412,12 +379,7 @@ var UntagResourceRequest = [
|
|
|
412
379
|
[_RAe, _TK],
|
|
413
380
|
[
|
|
414
381
|
[0, 1],
|
|
415
|
-
[
|
|
416
|
-
64 | 0,
|
|
417
|
-
{
|
|
418
|
-
[_hQ]: _tK,
|
|
419
|
-
},
|
|
420
|
-
],
|
|
382
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
421
383
|
],
|
|
422
384
|
];
|
|
423
385
|
var UntagResourceResponse = [3, n0, _URRnta, 0, [], []];
|
|
@@ -437,17 +399,7 @@ var UpdateRuleResponse = [
|
|
|
437
399
|
[_I, _RP, _D, _RT, _RTe, _S, _LS, _LET, _RA, _ERT],
|
|
438
400
|
[0, () => RetentionPeriod, 0, 0, () => ResourceTags, 0, 0, 4, 0, () => ExcludeResourceTags],
|
|
439
401
|
];
|
|
440
|
-
var ValidationException = [
|
|
441
|
-
-3,
|
|
442
|
-
n0,
|
|
443
|
-
_VE,
|
|
444
|
-
{
|
|
445
|
-
[_e]: _c,
|
|
446
|
-
[_hE]: 400,
|
|
447
|
-
},
|
|
448
|
-
[_M, _R],
|
|
449
|
-
[0, 0],
|
|
450
|
-
];
|
|
402
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
|
|
451
403
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
452
404
|
var RbinServiceException = [-3, _sm, "RbinServiceException", 0, [], []];
|
|
453
405
|
schema.TypeRegistry.for(_sm).registerError(RbinServiceException, RbinServiceException$1);
|
|
@@ -459,9 +411,7 @@ var CreateRule = [
|
|
|
459
411
|
9,
|
|
460
412
|
n0,
|
|
461
413
|
_CR,
|
|
462
|
-
{
|
|
463
|
-
[_h]: ["POST", "/rules", 201],
|
|
464
|
-
},
|
|
414
|
+
{ [_h]: ["POST", "/rules", 201] },
|
|
465
415
|
() => CreateRuleRequest,
|
|
466
416
|
() => CreateRuleResponse,
|
|
467
417
|
];
|
|
@@ -469,9 +419,7 @@ var DeleteRule = [
|
|
|
469
419
|
9,
|
|
470
420
|
n0,
|
|
471
421
|
_DR,
|
|
472
|
-
{
|
|
473
|
-
[_h]: ["DELETE", "/rules/{Identifier}", 204],
|
|
474
|
-
},
|
|
422
|
+
{ [_h]: ["DELETE", "/rules/{Identifier}", 204] },
|
|
475
423
|
() => DeleteRuleRequest,
|
|
476
424
|
() => DeleteRuleResponse,
|
|
477
425
|
];
|
|
@@ -479,9 +427,7 @@ var GetRule = [
|
|
|
479
427
|
9,
|
|
480
428
|
n0,
|
|
481
429
|
_GR,
|
|
482
|
-
{
|
|
483
|
-
[_h]: ["GET", "/rules/{Identifier}", 200],
|
|
484
|
-
},
|
|
430
|
+
{ [_h]: ["GET", "/rules/{Identifier}", 200] },
|
|
485
431
|
() => GetRuleRequest,
|
|
486
432
|
() => GetRuleResponse,
|
|
487
433
|
];
|
|
@@ -489,9 +435,7 @@ var ListRules = [
|
|
|
489
435
|
9,
|
|
490
436
|
n0,
|
|
491
437
|
_LR,
|
|
492
|
-
{
|
|
493
|
-
[_h]: ["POST", "/list-rules", 200],
|
|
494
|
-
},
|
|
438
|
+
{ [_h]: ["POST", "/list-rules", 200] },
|
|
495
439
|
() => ListRulesRequest,
|
|
496
440
|
() => ListRulesResponse,
|
|
497
441
|
];
|
|
@@ -499,9 +443,7 @@ var ListTagsForResource = [
|
|
|
499
443
|
9,
|
|
500
444
|
n0,
|
|
501
445
|
_LTFR,
|
|
502
|
-
{
|
|
503
|
-
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
504
|
-
},
|
|
446
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] },
|
|
505
447
|
() => ListTagsForResourceRequest,
|
|
506
448
|
() => ListTagsForResourceResponse,
|
|
507
449
|
];
|
|
@@ -509,9 +451,7 @@ var LockRule = [
|
|
|
509
451
|
9,
|
|
510
452
|
n0,
|
|
511
453
|
_LRo,
|
|
512
|
-
{
|
|
513
|
-
[_h]: ["PATCH", "/rules/{Identifier}/lock", 200],
|
|
514
|
-
},
|
|
454
|
+
{ [_h]: ["PATCH", "/rules/{Identifier}/lock", 200] },
|
|
515
455
|
() => LockRuleRequest,
|
|
516
456
|
() => LockRuleResponse,
|
|
517
457
|
];
|
|
@@ -519,9 +459,7 @@ var TagResource = [
|
|
|
519
459
|
9,
|
|
520
460
|
n0,
|
|
521
461
|
_TR,
|
|
522
|
-
{
|
|
523
|
-
[_h]: ["POST", "/tags/{ResourceArn}", 201],
|
|
524
|
-
},
|
|
462
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 201] },
|
|
525
463
|
() => TagResourceRequest,
|
|
526
464
|
() => TagResourceResponse,
|
|
527
465
|
];
|
|
@@ -529,9 +467,7 @@ var UnlockRule = [
|
|
|
529
467
|
9,
|
|
530
468
|
n0,
|
|
531
469
|
_UR,
|
|
532
|
-
{
|
|
533
|
-
[_h]: ["PATCH", "/rules/{Identifier}/unlock", 200],
|
|
534
|
-
},
|
|
470
|
+
{ [_h]: ["PATCH", "/rules/{Identifier}/unlock", 200] },
|
|
535
471
|
() => UnlockRuleRequest,
|
|
536
472
|
() => UnlockRuleResponse,
|
|
537
473
|
];
|
|
@@ -539,9 +475,7 @@ var UntagResource = [
|
|
|
539
475
|
9,
|
|
540
476
|
n0,
|
|
541
477
|
_URn,
|
|
542
|
-
{
|
|
543
|
-
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
544
|
-
},
|
|
478
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] },
|
|
545
479
|
() => UntagResourceRequest,
|
|
546
480
|
() => UntagResourceResponse,
|
|
547
481
|
];
|
|
@@ -549,9 +483,7 @@ var UpdateRule = [
|
|
|
549
483
|
9,
|
|
550
484
|
n0,
|
|
551
485
|
_URp,
|
|
552
|
-
{
|
|
553
|
-
[_h]: ["PATCH", "/rules/{Identifier}", 200],
|
|
554
|
-
},
|
|
486
|
+
{ [_h]: ["PATCH", "/rules/{Identifier}", 200] },
|
|
555
487
|
() => UpdateRuleRequest,
|
|
556
488
|
() => UpdateRuleResponse,
|
|
557
489
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/RbinClient.js
CHANGED
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultRbinHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -78,17 +78,7 @@ const n0 = "com.amazonaws.rbin";
|
|
|
78
78
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
79
79
|
import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
|
|
80
80
|
import { RbinServiceException as __RbinServiceException } from "../models/RbinServiceException";
|
|
81
|
-
export var ConflictException = [
|
|
82
|
-
-3,
|
|
83
|
-
n0,
|
|
84
|
-
_CE,
|
|
85
|
-
{
|
|
86
|
-
[_e]: _c,
|
|
87
|
-
[_hE]: 409,
|
|
88
|
-
},
|
|
89
|
-
[_M, _R],
|
|
90
|
-
[0, 0],
|
|
91
|
-
];
|
|
81
|
+
export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M, _R], [0, 0]];
|
|
92
82
|
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
93
83
|
export var CreateRuleRequest = [
|
|
94
84
|
3,
|
|
@@ -129,17 +119,7 @@ export var GetRuleResponse = [
|
|
|
129
119
|
[_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
|
|
130
120
|
[0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
|
|
131
121
|
];
|
|
132
|
-
export var InternalServerException = [
|
|
133
|
-
-3,
|
|
134
|
-
n0,
|
|
135
|
-
_ISE,
|
|
136
|
-
{
|
|
137
|
-
[_e]: _s,
|
|
138
|
-
[_hE]: 500,
|
|
139
|
-
},
|
|
140
|
-
[_M],
|
|
141
|
-
[0],
|
|
142
|
-
];
|
|
122
|
+
export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
143
123
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
144
124
|
export var ListRulesRequest = [
|
|
145
125
|
3,
|
|
@@ -162,17 +142,7 @@ export var LockRuleResponse = [
|
|
|
162
142
|
[_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _RA, _ERT],
|
|
163
143
|
[0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 0, () => ExcludeResourceTags],
|
|
164
144
|
];
|
|
165
|
-
export var ResourceNotFoundException = [
|
|
166
|
-
-3,
|
|
167
|
-
n0,
|
|
168
|
-
_RNFE,
|
|
169
|
-
{
|
|
170
|
-
[_e]: _c,
|
|
171
|
-
[_hE]: 404,
|
|
172
|
-
},
|
|
173
|
-
[_M, _R],
|
|
174
|
-
[0, 0],
|
|
175
|
-
];
|
|
145
|
+
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
|
|
176
146
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
177
147
|
export var ResourceTag = [3, n0, _RTes, 0, [_RTK, _RTV], [0, 0]];
|
|
178
148
|
export var RetentionPeriod = [3, n0, _RP, 0, [_RPV, _RPU], [1, 0]];
|
|
@@ -188,10 +158,7 @@ export var ServiceQuotaExceededException = [
|
|
|
188
158
|
-3,
|
|
189
159
|
n0,
|
|
190
160
|
_SQEE,
|
|
191
|
-
{
|
|
192
|
-
[_e]: _c,
|
|
193
|
-
[_hE]: 402,
|
|
194
|
-
},
|
|
161
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
195
162
|
[_M, _R],
|
|
196
163
|
[0, 0],
|
|
197
164
|
];
|
|
@@ -217,12 +184,7 @@ export var UntagResourceRequest = [
|
|
|
217
184
|
[_RAe, _TK],
|
|
218
185
|
[
|
|
219
186
|
[0, 1],
|
|
220
|
-
[
|
|
221
|
-
64 | 0,
|
|
222
|
-
{
|
|
223
|
-
[_hQ]: _tK,
|
|
224
|
-
},
|
|
225
|
-
],
|
|
187
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
226
188
|
],
|
|
227
189
|
];
|
|
228
190
|
export var UntagResourceResponse = [3, n0, _URRnta, 0, [], []];
|
|
@@ -242,19 +204,8 @@ export var UpdateRuleResponse = [
|
|
|
242
204
|
[_I, _RP, _D, _RT, _RTe, _S, _LS, _LET, _RA, _ERT],
|
|
243
205
|
[0, () => RetentionPeriod, 0, 0, () => ResourceTags, 0, 0, 4, 0, () => ExcludeResourceTags],
|
|
244
206
|
];
|
|
245
|
-
export var ValidationException = [
|
|
246
|
-
-3,
|
|
247
|
-
n0,
|
|
248
|
-
_VE,
|
|
249
|
-
{
|
|
250
|
-
[_e]: _c,
|
|
251
|
-
[_hE]: 400,
|
|
252
|
-
},
|
|
253
|
-
[_M, _R],
|
|
254
|
-
[0, 0],
|
|
255
|
-
];
|
|
207
|
+
export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
|
|
256
208
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
257
|
-
export var __Unit = "unit";
|
|
258
209
|
export var RbinServiceException = [-3, _sm, "RbinServiceException", 0, [], []];
|
|
259
210
|
TypeRegistry.for(_sm).registerError(RbinServiceException, __RbinServiceException);
|
|
260
211
|
export var ExcludeResourceTags = [1, n0, _ERT, 0, () => ResourceTag];
|
|
@@ -266,9 +217,7 @@ export var CreateRule = [
|
|
|
266
217
|
9,
|
|
267
218
|
n0,
|
|
268
219
|
_CR,
|
|
269
|
-
{
|
|
270
|
-
[_h]: ["POST", "/rules", 201],
|
|
271
|
-
},
|
|
220
|
+
{ [_h]: ["POST", "/rules", 201] },
|
|
272
221
|
() => CreateRuleRequest,
|
|
273
222
|
() => CreateRuleResponse,
|
|
274
223
|
];
|
|
@@ -276,9 +225,7 @@ export var DeleteRule = [
|
|
|
276
225
|
9,
|
|
277
226
|
n0,
|
|
278
227
|
_DR,
|
|
279
|
-
{
|
|
280
|
-
[_h]: ["DELETE", "/rules/{Identifier}", 204],
|
|
281
|
-
},
|
|
228
|
+
{ [_h]: ["DELETE", "/rules/{Identifier}", 204] },
|
|
282
229
|
() => DeleteRuleRequest,
|
|
283
230
|
() => DeleteRuleResponse,
|
|
284
231
|
];
|
|
@@ -286,9 +233,7 @@ export var GetRule = [
|
|
|
286
233
|
9,
|
|
287
234
|
n0,
|
|
288
235
|
_GR,
|
|
289
|
-
{
|
|
290
|
-
[_h]: ["GET", "/rules/{Identifier}", 200],
|
|
291
|
-
},
|
|
236
|
+
{ [_h]: ["GET", "/rules/{Identifier}", 200] },
|
|
292
237
|
() => GetRuleRequest,
|
|
293
238
|
() => GetRuleResponse,
|
|
294
239
|
];
|
|
@@ -296,9 +241,7 @@ export var ListRules = [
|
|
|
296
241
|
9,
|
|
297
242
|
n0,
|
|
298
243
|
_LR,
|
|
299
|
-
{
|
|
300
|
-
[_h]: ["POST", "/list-rules", 200],
|
|
301
|
-
},
|
|
244
|
+
{ [_h]: ["POST", "/list-rules", 200] },
|
|
302
245
|
() => ListRulesRequest,
|
|
303
246
|
() => ListRulesResponse,
|
|
304
247
|
];
|
|
@@ -306,9 +249,7 @@ export var ListTagsForResource = [
|
|
|
306
249
|
9,
|
|
307
250
|
n0,
|
|
308
251
|
_LTFR,
|
|
309
|
-
{
|
|
310
|
-
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
311
|
-
},
|
|
252
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] },
|
|
312
253
|
() => ListTagsForResourceRequest,
|
|
313
254
|
() => ListTagsForResourceResponse,
|
|
314
255
|
];
|
|
@@ -316,9 +257,7 @@ export var LockRule = [
|
|
|
316
257
|
9,
|
|
317
258
|
n0,
|
|
318
259
|
_LRo,
|
|
319
|
-
{
|
|
320
|
-
[_h]: ["PATCH", "/rules/{Identifier}/lock", 200],
|
|
321
|
-
},
|
|
260
|
+
{ [_h]: ["PATCH", "/rules/{Identifier}/lock", 200] },
|
|
322
261
|
() => LockRuleRequest,
|
|
323
262
|
() => LockRuleResponse,
|
|
324
263
|
];
|
|
@@ -326,9 +265,7 @@ export var TagResource = [
|
|
|
326
265
|
9,
|
|
327
266
|
n0,
|
|
328
267
|
_TR,
|
|
329
|
-
{
|
|
330
|
-
[_h]: ["POST", "/tags/{ResourceArn}", 201],
|
|
331
|
-
},
|
|
268
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 201] },
|
|
332
269
|
() => TagResourceRequest,
|
|
333
270
|
() => TagResourceResponse,
|
|
334
271
|
];
|
|
@@ -336,9 +273,7 @@ export var UnlockRule = [
|
|
|
336
273
|
9,
|
|
337
274
|
n0,
|
|
338
275
|
_UR,
|
|
339
|
-
{
|
|
340
|
-
[_h]: ["PATCH", "/rules/{Identifier}/unlock", 200],
|
|
341
|
-
},
|
|
276
|
+
{ [_h]: ["PATCH", "/rules/{Identifier}/unlock", 200] },
|
|
342
277
|
() => UnlockRuleRequest,
|
|
343
278
|
() => UnlockRuleResponse,
|
|
344
279
|
];
|
|
@@ -346,9 +281,7 @@ export var UntagResource = [
|
|
|
346
281
|
9,
|
|
347
282
|
n0,
|
|
348
283
|
_URn,
|
|
349
|
-
{
|
|
350
|
-
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
351
|
-
},
|
|
284
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] },
|
|
352
285
|
() => UntagResourceRequest,
|
|
353
286
|
() => UntagResourceResponse,
|
|
354
287
|
];
|
|
@@ -356,9 +289,7 @@ export var UpdateRule = [
|
|
|
356
289
|
9,
|
|
357
290
|
n0,
|
|
358
291
|
_URp,
|
|
359
|
-
{
|
|
360
|
-
[_h]: ["PATCH", "/rules/{Identifier}", 200],
|
|
361
|
-
},
|
|
292
|
+
{ [_h]: ["PATCH", "/rules/{Identifier}", 200] },
|
|
362
293
|
() => UpdateRuleRequest,
|
|
363
294
|
() => UpdateRuleResponse,
|
|
364
295
|
];
|
package/dist-types/Rbin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
|
|
3
3
|
import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
|
|
4
4
|
import { GetRuleCommandInput, GetRuleCommandOutput } from "./commands/GetRuleCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
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";
|
|
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";
|
|
12
12
|
import { GetRuleCommandInput, GetRuleCommandOutput } from "./commands/GetRuleCommand";
|
|
@@ -18,7 +18,7 @@ import { UnlockRuleCommandInput, UnlockRuleCommandOutput } from "./commands/Unlo
|
|
|
18
18
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
19
|
import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
|
|
20
20
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
21
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
21
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
22
22
|
export { __Client };
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { RbinHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { RbinHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { RbinClientResolvedConfig } from "../RbinClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type RbinClientResolvedConfig } from "../RbinClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateRuleRequest, CreateRuleResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateRuleRequest, CreateRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteRuleRequest, DeleteRuleResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteRuleRequest, DeleteRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetRuleRequest, GetRuleResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetRuleRequest, GetRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListRulesRequest, ListRulesResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListRulesRequest, ListRulesResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { LockRuleRequest, LockRuleResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LockRuleRequest, LockRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UnlockRuleRequest, UnlockRuleResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UnlockRuleRequest, UnlockRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateRuleRequest, UpdateRuleResponse } from "../models/models_0";
|
|
4
|
-
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateRuleRequest, UpdateRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ConflictExceptionReason, ResourceNotFoundExceptionReason, ServiceQuotaExceededExceptionReason, ValidationExceptionReason } from "./enums";
|
|
3
3
|
import { RbinServiceException as __BaseException } from "./RbinServiceException";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var ConflictException: StaticErrorSchema;
|
|
3
3
|
export declare var CreateRuleRequest: StaticStructureSchema;
|
|
4
4
|
export declare var CreateRuleResponse: StaticStructureSchema;
|
|
@@ -30,7 +30,6 @@ export declare var UntagResourceResponse: StaticStructureSchema;
|
|
|
30
30
|
export declare var UpdateRuleRequest: StaticStructureSchema;
|
|
31
31
|
export declare var UpdateRuleResponse: StaticStructureSchema;
|
|
32
32
|
export declare var ValidationException: StaticErrorSchema;
|
|
33
|
-
export declare var __Unit: "unit";
|
|
34
33
|
export declare var RbinServiceException: StaticErrorSchema;
|
|
35
34
|
export declare var ExcludeResourceTags: StaticListSchema;
|
|
36
35
|
export declare var ResourceTags: StaticListSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -35,7 +35,6 @@ export declare var UntagResourceResponse: StaticStructureSchema;
|
|
|
35
35
|
export declare var UpdateRuleRequest: StaticStructureSchema;
|
|
36
36
|
export declare var UpdateRuleResponse: StaticStructureSchema;
|
|
37
37
|
export declare var ValidationException: StaticErrorSchema;
|
|
38
|
-
export declare var __Unit: "unit";
|
|
39
38
|
export declare var RbinServiceException: StaticErrorSchema;
|
|
40
39
|
export declare var ExcludeResourceTags: StaticListSchema;
|
|
41
40
|
export declare var ResourceTags: StaticListSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rbin",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rbin",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo rbin"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo rbin",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|