@aws-sdk/client-vpc-lattice 3.303.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 +628 -0
- package/dist-cjs/VPCLattice.js +787 -0
- package/dist-cjs/VPCLatticeClient.js +40 -0
- package/dist-cjs/commands/BatchUpdateRuleCommand.js +45 -0
- package/dist-cjs/commands/CreateAccessLogSubscriptionCommand.js +45 -0
- package/dist-cjs/commands/CreateListenerCommand.js +45 -0
- package/dist-cjs/commands/CreateRuleCommand.js +45 -0
- package/dist-cjs/commands/CreateServiceCommand.js +45 -0
- package/dist-cjs/commands/CreateServiceNetworkCommand.js +45 -0
- package/dist-cjs/commands/CreateServiceNetworkServiceAssociationCommand.js +45 -0
- package/dist-cjs/commands/CreateServiceNetworkVpcAssociationCommand.js +45 -0
- package/dist-cjs/commands/CreateTargetGroupCommand.js +45 -0
- package/dist-cjs/commands/DeleteAccessLogSubscriptionCommand.js +45 -0
- package/dist-cjs/commands/DeleteAuthPolicyCommand.js +45 -0
- package/dist-cjs/commands/DeleteListenerCommand.js +45 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +45 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +45 -0
- package/dist-cjs/commands/DeleteServiceCommand.js +45 -0
- package/dist-cjs/commands/DeleteServiceNetworkCommand.js +45 -0
- package/dist-cjs/commands/DeleteServiceNetworkServiceAssociationCommand.js +45 -0
- package/dist-cjs/commands/DeleteServiceNetworkVpcAssociationCommand.js +45 -0
- package/dist-cjs/commands/DeleteTargetGroupCommand.js +45 -0
- package/dist-cjs/commands/DeregisterTargetsCommand.js +45 -0
- package/dist-cjs/commands/GetAccessLogSubscriptionCommand.js +45 -0
- package/dist-cjs/commands/GetAuthPolicyCommand.js +45 -0
- package/dist-cjs/commands/GetListenerCommand.js +45 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +45 -0
- package/dist-cjs/commands/GetRuleCommand.js +45 -0
- package/dist-cjs/commands/GetServiceCommand.js +45 -0
- package/dist-cjs/commands/GetServiceNetworkCommand.js +45 -0
- package/dist-cjs/commands/GetServiceNetworkServiceAssociationCommand.js +45 -0
- package/dist-cjs/commands/GetServiceNetworkVpcAssociationCommand.js +45 -0
- package/dist-cjs/commands/GetTargetGroupCommand.js +45 -0
- package/dist-cjs/commands/ListAccessLogSubscriptionsCommand.js +45 -0
- package/dist-cjs/commands/ListListenersCommand.js +45 -0
- package/dist-cjs/commands/ListRulesCommand.js +45 -0
- package/dist-cjs/commands/ListServiceNetworkServiceAssociationsCommand.js +45 -0
- package/dist-cjs/commands/ListServiceNetworkVpcAssociationsCommand.js +45 -0
- package/dist-cjs/commands/ListServiceNetworksCommand.js +45 -0
- package/dist-cjs/commands/ListServicesCommand.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
- package/dist-cjs/commands/ListTargetGroupsCommand.js +45 -0
- package/dist-cjs/commands/ListTargetsCommand.js +45 -0
- package/dist-cjs/commands/PutAuthPolicyCommand.js +45 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +45 -0
- package/dist-cjs/commands/RegisterTargetsCommand.js +45 -0
- package/dist-cjs/commands/TagResourceCommand.js +45 -0
- package/dist-cjs/commands/UntagResourceCommand.js +45 -0
- package/dist-cjs/commands/UpdateAccessLogSubscriptionCommand.js +45 -0
- package/dist-cjs/commands/UpdateListenerCommand.js +45 -0
- package/dist-cjs/commands/UpdateRuleCommand.js +45 -0
- package/dist-cjs/commands/UpdateServiceCommand.js +45 -0
- package/dist-cjs/commands/UpdateServiceNetworkCommand.js +45 -0
- package/dist-cjs/commands/UpdateServiceNetworkVpcAssociationCommand.js +45 -0
- package/dist-cjs/commands/UpdateTargetGroupCommand.js +45 -0
- package/dist-cjs/commands/index.js +55 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/VPCLatticeServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +240 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccessLogSubscriptionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListListenersPaginator.js +29 -0
- package/dist-cjs/pagination/ListRulesPaginator.js +29 -0
- package/dist-cjs/pagination/ListServiceNetworkServiceAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListServiceNetworkVpcAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListServiceNetworksPaginator.js +29 -0
- package/dist-cjs/pagination/ListServicesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTargetGroupsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTargetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4911 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/VPCLattice.js +783 -0
- package/dist-es/VPCLatticeClient.js +36 -0
- package/dist-es/commands/BatchUpdateRuleCommand.js +41 -0
- package/dist-es/commands/CreateAccessLogSubscriptionCommand.js +41 -0
- package/dist-es/commands/CreateListenerCommand.js +41 -0
- package/dist-es/commands/CreateRuleCommand.js +41 -0
- package/dist-es/commands/CreateServiceCommand.js +41 -0
- package/dist-es/commands/CreateServiceNetworkCommand.js +41 -0
- package/dist-es/commands/CreateServiceNetworkServiceAssociationCommand.js +41 -0
- package/dist-es/commands/CreateServiceNetworkVpcAssociationCommand.js +41 -0
- package/dist-es/commands/CreateTargetGroupCommand.js +41 -0
- package/dist-es/commands/DeleteAccessLogSubscriptionCommand.js +41 -0
- package/dist-es/commands/DeleteAuthPolicyCommand.js +41 -0
- package/dist-es/commands/DeleteListenerCommand.js +41 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +41 -0
- package/dist-es/commands/DeleteRuleCommand.js +41 -0
- package/dist-es/commands/DeleteServiceCommand.js +41 -0
- package/dist-es/commands/DeleteServiceNetworkCommand.js +41 -0
- package/dist-es/commands/DeleteServiceNetworkServiceAssociationCommand.js +41 -0
- package/dist-es/commands/DeleteServiceNetworkVpcAssociationCommand.js +41 -0
- package/dist-es/commands/DeleteTargetGroupCommand.js +41 -0
- package/dist-es/commands/DeregisterTargetsCommand.js +41 -0
- package/dist-es/commands/GetAccessLogSubscriptionCommand.js +41 -0
- package/dist-es/commands/GetAuthPolicyCommand.js +41 -0
- package/dist-es/commands/GetListenerCommand.js +41 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +41 -0
- package/dist-es/commands/GetRuleCommand.js +41 -0
- package/dist-es/commands/GetServiceCommand.js +41 -0
- package/dist-es/commands/GetServiceNetworkCommand.js +41 -0
- package/dist-es/commands/GetServiceNetworkServiceAssociationCommand.js +41 -0
- package/dist-es/commands/GetServiceNetworkVpcAssociationCommand.js +41 -0
- package/dist-es/commands/GetTargetGroupCommand.js +41 -0
- package/dist-es/commands/ListAccessLogSubscriptionsCommand.js +41 -0
- package/dist-es/commands/ListListenersCommand.js +41 -0
- package/dist-es/commands/ListRulesCommand.js +41 -0
- package/dist-es/commands/ListServiceNetworkServiceAssociationsCommand.js +41 -0
- package/dist-es/commands/ListServiceNetworkVpcAssociationsCommand.js +41 -0
- package/dist-es/commands/ListServiceNetworksCommand.js +41 -0
- package/dist-es/commands/ListServicesCommand.js +41 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
- package/dist-es/commands/ListTargetGroupsCommand.js +41 -0
- package/dist-es/commands/ListTargetsCommand.js +41 -0
- package/dist-es/commands/PutAuthPolicyCommand.js +41 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +41 -0
- package/dist-es/commands/RegisterTargetsCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +41 -0
- package/dist-es/commands/UntagResourceCommand.js +41 -0
- package/dist-es/commands/UpdateAccessLogSubscriptionCommand.js +41 -0
- package/dist-es/commands/UpdateListenerCommand.js +41 -0
- package/dist-es/commands/UpdateRuleCommand.js +41 -0
- package/dist-es/commands/UpdateServiceCommand.js +41 -0
- package/dist-es/commands/UpdateServiceNetworkCommand.js +41 -0
- package/dist-es/commands/UpdateServiceNetworkVpcAssociationCommand.js +41 -0
- package/dist-es/commands/UpdateTargetGroupCommand.js +41 -0
- package/dist-es/commands/index.js +52 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/VPCLatticeServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +230 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccessLogSubscriptionsPaginator.js +25 -0
- package/dist-es/pagination/ListListenersPaginator.js +25 -0
- package/dist-es/pagination/ListRulesPaginator.js +25 -0
- package/dist-es/pagination/ListServiceNetworkServiceAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListServiceNetworkVpcAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListServiceNetworksPaginator.js +25 -0
- package/dist-es/pagination/ListServicesPaginator.js +25 -0
- package/dist-es/pagination/ListTargetGroupsPaginator.js +25 -0
- package/dist-es/pagination/ListTargetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +4802 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/VPCLattice.d.ts +506 -0
- package/dist-types/VPCLatticeClient.d.ts +217 -0
- package/dist-types/commands/BatchUpdateRuleCommand.d.ts +127 -0
- package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +93 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +109 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +132 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +96 -0
- package/dist-types/commands/CreateServiceNetworkCommand.d.ts +94 -0
- package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +95 -0
- package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +103 -0
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +115 -0
- package/dist-types/commands/DeleteAccessLogSubscriptionCommand.d.ts +79 -0
- package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +82 -0
- package/dist-types/commands/DeleteListenerCommand.d.ts +84 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +79 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +90 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +87 -0
- package/dist-types/commands/DeleteServiceNetworkCommand.d.ts +87 -0
- package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +84 -0
- package/dist-types/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +84 -0
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +81 -0
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +89 -0
- package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +79 -0
- package/dist-types/commands/GetAuthPolicyCommand.d.ts +80 -0
- package/dist-types/commands/GetListenerCommand.d.ts +80 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +80 -0
- package/dist-types/commands/GetRuleCommand.d.ts +83 -0
- package/dist-types/commands/GetServiceCommand.d.ts +79 -0
- package/dist-types/commands/GetServiceNetworkCommand.d.ts +79 -0
- package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +80 -0
- package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +79 -0
- package/dist-types/commands/GetTargetGroupCommand.d.ts +76 -0
- package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +75 -0
- package/dist-types/commands/ListListenersCommand.d.ts +81 -0
- package/dist-types/commands/ListRulesCommand.d.ts +82 -0
- package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +86 -0
- package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +81 -0
- package/dist-types/commands/ListServiceNetworksCommand.d.ts +78 -0
- package/dist-types/commands/ListServicesCommand.d.ts +77 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +73 -0
- package/dist-types/commands/ListTargetGroupsCommand.d.ts +80 -0
- package/dist-types/commands/ListTargetsCommand.d.ts +88 -0
- package/dist-types/commands/PutAuthPolicyCommand.d.ts +80 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +82 -0
- package/dist-types/commands/RegisterTargetsCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +82 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +76 -0
- package/dist-types/commands/UpdateAccessLogSubscriptionCommand.d.ts +84 -0
- package/dist-types/commands/UpdateListenerCommand.d.ts +97 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +123 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +85 -0
- package/dist-types/commands/UpdateServiceNetworkCommand.d.ts +84 -0
- package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +87 -0
- package/dist-types/commands/UpdateTargetGroupCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +52 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/VPCLatticeServiceException.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +3439 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAccessLogSubscriptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListListenersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceNetworksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTargetGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTargetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +158 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/VPCLattice.d.ts +936 -0
- package/dist-types/ts3.4/VPCLatticeClient.d.ts +424 -0
- package/dist-types/ts3.4/commands/BatchUpdateRuleCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateAccessLogSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateServiceNetworkCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAccessLogSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAuthPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteServiceNetworkCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccessLogSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetAuthPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetListenerCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetServiceNetworkCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetServiceNetworkServiceAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetServiceNetworkVpcAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetTargetGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListAccessLogSubscriptionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListServiceNetworksCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTargetGroupsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/PutAuthPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateAccessLogSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateServiceNetworkCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateTargetGroupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +52 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -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/index.d.ts +6 -0
- package/dist-types/ts3.4/models/VPCLatticeServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1022 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccessLogSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListListenersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceNetworksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTargetGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +629 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +100 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
+
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
|
+
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
|
+
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
|
+
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
15
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
|
+
const getRuntimeConfig = (config) => {
|
|
17
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
19
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
20
|
+
return {
|
|
21
|
+
...clientSharedValues,
|
|
22
|
+
...config,
|
|
23
|
+
runtime: "browser",
|
|
24
|
+
defaultsMode,
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
|
+
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
32
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
33
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
34
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
35
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
+
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
+
const hash_node_1 = require("@aws-sdk/hash-node");
|
|
10
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
+
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
|
+
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
+
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
|
+
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
18
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
|
+
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
20
|
+
const getRuntimeConfig = (config) => {
|
|
21
|
+
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
|
+
return {
|
|
26
|
+
...clientSharedValues,
|
|
27
|
+
...config,
|
|
28
|
+
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
30
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
31
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
32
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
33
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
34
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
35
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
36
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
37
|
+
retryMode: config?.retryMode ??
|
|
38
|
+
(0, node_config_provider_1.loadConfig)({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
42
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
43
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
44
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
+
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
8
|
+
return {
|
|
9
|
+
...browserDefaults,
|
|
10
|
+
...config,
|
|
11
|
+
runtime: "react-native",
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
+
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
8
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
|
+
const getRuntimeConfig = (config) => ({
|
|
10
|
+
apiVersion: "2022-11-30",
|
|
11
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
12
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
13
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
15
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
16
|
+
serviceId: config?.serviceId ?? "VPC Lattice",
|
|
17
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
19
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
20
|
+
});
|
|
21
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|