@aws-sdk/client-rtbfabric 3.915.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/LICENSE +201 -0
- package/README.md +421 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +2476 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-es/RTBFabric.js +61 -0
- package/dist-es/RTBFabricClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AcceptLinkCommand.js +22 -0
- package/dist-es/commands/CreateInboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/CreateLinkCommand.js +22 -0
- package/dist-es/commands/CreateOutboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/CreateRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/CreateResponderGatewayCommand.js +23 -0
- package/dist-es/commands/DeleteInboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/DeleteLinkCommand.js +22 -0
- package/dist-es/commands/DeleteOutboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/DeleteRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/DeleteResponderGatewayCommand.js +22 -0
- package/dist-es/commands/GetInboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/GetLinkCommand.js +22 -0
- package/dist-es/commands/GetOutboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/GetRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/GetResponderGatewayCommand.js +23 -0
- package/dist-es/commands/ListLinksCommand.js +22 -0
- package/dist-es/commands/ListRequesterGatewaysCommand.js +22 -0
- package/dist-es/commands/ListResponderGatewaysCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/RejectLinkCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateLinkCommand.js +22 -0
- package/dist-es/commands/UpdateLinkModuleFlowCommand.js +22 -0
- package/dist-es/commands/UpdateRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/UpdateResponderGatewayCommand.js +23 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/RTBFabricServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +219 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListLinksPaginator.js +4 -0
- package/dist-es/pagination/ListRequesterGatewaysPaginator.js +4 -0
- package/dist-es/pagination/ListResponderGatewaysPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1147 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/waiters/index.js +8 -0
- package/dist-es/waiters/waitForInboundExternalLinkActive.js +67 -0
- package/dist-es/waiters/waitForLinkAccepted.js +58 -0
- package/dist-es/waiters/waitForLinkActive.js +58 -0
- package/dist-es/waiters/waitForOutboundExternalLinkActive.js +67 -0
- package/dist-es/waiters/waitForRequesterGatewayActive.js +49 -0
- package/dist-es/waiters/waitForRequesterGatewayDeleted.js +40 -0
- package/dist-es/waiters/waitForResponderGatewayActive.js +49 -0
- package/dist-es/waiters/waitForResponderGatewayDeleted.js +40 -0
- package/dist-types/RTBFabric.d.ts +201 -0
- package/dist-types/RTBFabricClient.d.ts +214 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AcceptLinkCommand.d.ts +244 -0
- package/dist-types/commands/CreateInboundExternalLinkCommand.d.ts +134 -0
- package/dist-types/commands/CreateLinkCommand.d.ts +252 -0
- package/dist-types/commands/CreateOutboundExternalLinkCommand.d.ts +118 -0
- package/dist-types/commands/CreateRequesterGatewayCommand.d.ts +131 -0
- package/dist-types/commands/CreateResponderGatewayCommand.d.ts +155 -0
- package/dist-types/commands/DeleteInboundExternalLinkCommand.d.ts +111 -0
- package/dist-types/commands/DeleteLinkCommand.d.ts +111 -0
- package/dist-types/commands/DeleteOutboundExternalLinkCommand.d.ts +111 -0
- package/dist-types/commands/DeleteRequesterGatewayCommand.d.ts +106 -0
- package/dist-types/commands/DeleteResponderGatewayCommand.d.ts +106 -0
- package/dist-types/commands/GetInboundExternalLinkCommand.d.ts +214 -0
- package/dist-types/commands/GetLinkCommand.d.ts +226 -0
- package/dist-types/commands/GetOutboundExternalLinkCommand.d.ts +119 -0
- package/dist-types/commands/GetRequesterGatewayCommand.d.ts +136 -0
- package/dist-types/commands/GetResponderGatewayCommand.d.ts +162 -0
- package/dist-types/commands/ListLinksCommand.d.ts +225 -0
- package/dist-types/commands/ListRequesterGatewaysCommand.d.ts +122 -0
- package/dist-types/commands/ListResponderGatewaysCommand.d.ts +122 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +109 -0
- package/dist-types/commands/RejectLinkCommand.d.ts +215 -0
- package/dist-types/commands/TagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UpdateLinkCommand.d.ts +127 -0
- package/dist-types/commands/UpdateLinkModuleFlowCommand.d.ts +173 -0
- package/dist-types/commands/UpdateRequesterGatewayCommand.d.ts +113 -0
- package/dist-types/commands/UpdateResponderGatewayCommand.d.ts +139 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/RTBFabricServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2011 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListLinksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRequesterGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResponderGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +245 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +25 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/RTBFabric.d.ts +466 -0
- package/dist-types/ts3.4/RTBFabricClient.d.ts +281 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AcceptLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateInboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateOutboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteInboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteOutboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetOutboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListRequesterGatewaysCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResponderGatewaysCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateLinkModuleFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/RTBFabricServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +618 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRequesterGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResponderGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +329 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +8 -0
- package/dist-types/ts3.4/waiters/waitForInboundExternalLinkActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForLinkAccepted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForLinkActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForOutboundExternalLinkActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForRequesterGatewayActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForRequesterGatewayDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForResponderGatewayActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForResponderGatewayDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +8 -0
- package/dist-types/waiters/waitForInboundExternalLinkActive.d.ts +14 -0
- package/dist-types/waiters/waitForLinkAccepted.d.ts +14 -0
- package/dist-types/waiters/waitForLinkActive.d.ts +14 -0
- package/dist-types/waiters/waitForOutboundExternalLinkActive.d.ts +14 -0
- package/dist-types/waiters/waitForRequesterGatewayActive.d.ts +14 -0
- package/dist-types/waiters/waitForRequesterGatewayDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForResponderGatewayActive.d.ts +14 -0
- package/dist-types/waiters/waitForResponderGatewayDeleted.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
|
+
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
11
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
13
|
+
endpointParams: endpointParams,
|
|
14
|
+
logger: context.logger,
|
|
15
|
+
}));
|
|
16
|
+
};
|
|
17
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
const t = "required", u = "fn", v = "argv", w = "ref";
|
|
5
|
+
const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = { [t]: true, "default": false, "type": "boolean" }, j = { [t]: false, "type": "string" }, k = { [w]: "Endpoint" }, l = { [u]: d, [v]: [{ [w]: "UseFIPS" }, true] }, m = { [w]: "UseFIPS" }, n = { [u]: d, [v]: [{ [w]: "UseDualStack" }, true] }, o = { [w]: "UseDualStack" }, p = {}, q = { [u]: "getAttr", [v]: [{ [w]: h }, "supportsFIPS"] }, r = { [u]: d, [v]: [true, { [u]: "getAttr", [v]: [{ [w]: h }, "supportsDualStack"] }] }, s = [{ [w]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, rules: [{ conditions: [{ [u]: c, [v]: [k] }], rules: [{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, properties: p, headers: p }, type: f }], type: g }], type: g }, { rules: [{ conditions: [{ [u]: c, [v]: s }], rules: [{ conditions: [{ [u]: "aws.partition", [v]: s, assign: h }], rules: [{ conditions: [l, n], rules: [{ conditions: [{ [u]: d, [v]: [a, q] }, r], rules: [{ endpoint: { url: "https://rtbfabric-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: [l, { [u]: d, [v]: [o, b] }], rules: [{ conditions: [{ [u]: d, [v]: [q, a] }], rules: [{ endpoint: { url: "https://rtbfabric-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: [{ [u]: d, [v]: [m, b] }, n], rules: [{ conditions: [r], rules: [{ endpoint: { url: "https://rtbfabric.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://rtbfabric.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }], type: g }] };
|
|
7
|
+
exports.ruleSet = _data;
|