@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,787 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VPCLattice = void 0;
|
|
4
|
+
const BatchUpdateRuleCommand_1 = require("./commands/BatchUpdateRuleCommand");
|
|
5
|
+
const CreateAccessLogSubscriptionCommand_1 = require("./commands/CreateAccessLogSubscriptionCommand");
|
|
6
|
+
const CreateListenerCommand_1 = require("./commands/CreateListenerCommand");
|
|
7
|
+
const CreateRuleCommand_1 = require("./commands/CreateRuleCommand");
|
|
8
|
+
const CreateServiceCommand_1 = require("./commands/CreateServiceCommand");
|
|
9
|
+
const CreateServiceNetworkCommand_1 = require("./commands/CreateServiceNetworkCommand");
|
|
10
|
+
const CreateServiceNetworkServiceAssociationCommand_1 = require("./commands/CreateServiceNetworkServiceAssociationCommand");
|
|
11
|
+
const CreateServiceNetworkVpcAssociationCommand_1 = require("./commands/CreateServiceNetworkVpcAssociationCommand");
|
|
12
|
+
const CreateTargetGroupCommand_1 = require("./commands/CreateTargetGroupCommand");
|
|
13
|
+
const DeleteAccessLogSubscriptionCommand_1 = require("./commands/DeleteAccessLogSubscriptionCommand");
|
|
14
|
+
const DeleteAuthPolicyCommand_1 = require("./commands/DeleteAuthPolicyCommand");
|
|
15
|
+
const DeleteListenerCommand_1 = require("./commands/DeleteListenerCommand");
|
|
16
|
+
const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
|
|
17
|
+
const DeleteRuleCommand_1 = require("./commands/DeleteRuleCommand");
|
|
18
|
+
const DeleteServiceCommand_1 = require("./commands/DeleteServiceCommand");
|
|
19
|
+
const DeleteServiceNetworkCommand_1 = require("./commands/DeleteServiceNetworkCommand");
|
|
20
|
+
const DeleteServiceNetworkServiceAssociationCommand_1 = require("./commands/DeleteServiceNetworkServiceAssociationCommand");
|
|
21
|
+
const DeleteServiceNetworkVpcAssociationCommand_1 = require("./commands/DeleteServiceNetworkVpcAssociationCommand");
|
|
22
|
+
const DeleteTargetGroupCommand_1 = require("./commands/DeleteTargetGroupCommand");
|
|
23
|
+
const DeregisterTargetsCommand_1 = require("./commands/DeregisterTargetsCommand");
|
|
24
|
+
const GetAccessLogSubscriptionCommand_1 = require("./commands/GetAccessLogSubscriptionCommand");
|
|
25
|
+
const GetAuthPolicyCommand_1 = require("./commands/GetAuthPolicyCommand");
|
|
26
|
+
const GetListenerCommand_1 = require("./commands/GetListenerCommand");
|
|
27
|
+
const GetResourcePolicyCommand_1 = require("./commands/GetResourcePolicyCommand");
|
|
28
|
+
const GetRuleCommand_1 = require("./commands/GetRuleCommand");
|
|
29
|
+
const GetServiceCommand_1 = require("./commands/GetServiceCommand");
|
|
30
|
+
const GetServiceNetworkCommand_1 = require("./commands/GetServiceNetworkCommand");
|
|
31
|
+
const GetServiceNetworkServiceAssociationCommand_1 = require("./commands/GetServiceNetworkServiceAssociationCommand");
|
|
32
|
+
const GetServiceNetworkVpcAssociationCommand_1 = require("./commands/GetServiceNetworkVpcAssociationCommand");
|
|
33
|
+
const GetTargetGroupCommand_1 = require("./commands/GetTargetGroupCommand");
|
|
34
|
+
const ListAccessLogSubscriptionsCommand_1 = require("./commands/ListAccessLogSubscriptionsCommand");
|
|
35
|
+
const ListListenersCommand_1 = require("./commands/ListListenersCommand");
|
|
36
|
+
const ListRulesCommand_1 = require("./commands/ListRulesCommand");
|
|
37
|
+
const ListServiceNetworksCommand_1 = require("./commands/ListServiceNetworksCommand");
|
|
38
|
+
const ListServiceNetworkServiceAssociationsCommand_1 = require("./commands/ListServiceNetworkServiceAssociationsCommand");
|
|
39
|
+
const ListServiceNetworkVpcAssociationsCommand_1 = require("./commands/ListServiceNetworkVpcAssociationsCommand");
|
|
40
|
+
const ListServicesCommand_1 = require("./commands/ListServicesCommand");
|
|
41
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
42
|
+
const ListTargetGroupsCommand_1 = require("./commands/ListTargetGroupsCommand");
|
|
43
|
+
const ListTargetsCommand_1 = require("./commands/ListTargetsCommand");
|
|
44
|
+
const PutAuthPolicyCommand_1 = require("./commands/PutAuthPolicyCommand");
|
|
45
|
+
const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
|
|
46
|
+
const RegisterTargetsCommand_1 = require("./commands/RegisterTargetsCommand");
|
|
47
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
48
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
49
|
+
const UpdateAccessLogSubscriptionCommand_1 = require("./commands/UpdateAccessLogSubscriptionCommand");
|
|
50
|
+
const UpdateListenerCommand_1 = require("./commands/UpdateListenerCommand");
|
|
51
|
+
const UpdateRuleCommand_1 = require("./commands/UpdateRuleCommand");
|
|
52
|
+
const UpdateServiceCommand_1 = require("./commands/UpdateServiceCommand");
|
|
53
|
+
const UpdateServiceNetworkCommand_1 = require("./commands/UpdateServiceNetworkCommand");
|
|
54
|
+
const UpdateServiceNetworkVpcAssociationCommand_1 = require("./commands/UpdateServiceNetworkVpcAssociationCommand");
|
|
55
|
+
const UpdateTargetGroupCommand_1 = require("./commands/UpdateTargetGroupCommand");
|
|
56
|
+
const VPCLatticeClient_1 = require("./VPCLatticeClient");
|
|
57
|
+
class VPCLattice extends VPCLatticeClient_1.VPCLatticeClient {
|
|
58
|
+
batchUpdateRule(args, optionsOrCb, cb) {
|
|
59
|
+
const command = new BatchUpdateRuleCommand_1.BatchUpdateRuleCommand(args);
|
|
60
|
+
if (typeof optionsOrCb === "function") {
|
|
61
|
+
this.send(command, optionsOrCb);
|
|
62
|
+
}
|
|
63
|
+
else if (typeof cb === "function") {
|
|
64
|
+
if (typeof optionsOrCb !== "object")
|
|
65
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
return this.send(command, optionsOrCb);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
createAccessLogSubscription(args, optionsOrCb, cb) {
|
|
73
|
+
const command = new CreateAccessLogSubscriptionCommand_1.CreateAccessLogSubscriptionCommand(args);
|
|
74
|
+
if (typeof optionsOrCb === "function") {
|
|
75
|
+
this.send(command, optionsOrCb);
|
|
76
|
+
}
|
|
77
|
+
else if (typeof cb === "function") {
|
|
78
|
+
if (typeof optionsOrCb !== "object")
|
|
79
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
return this.send(command, optionsOrCb);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
createListener(args, optionsOrCb, cb) {
|
|
87
|
+
const command = new CreateListenerCommand_1.CreateListenerCommand(args);
|
|
88
|
+
if (typeof optionsOrCb === "function") {
|
|
89
|
+
this.send(command, optionsOrCb);
|
|
90
|
+
}
|
|
91
|
+
else if (typeof cb === "function") {
|
|
92
|
+
if (typeof optionsOrCb !== "object")
|
|
93
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
return this.send(command, optionsOrCb);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
createRule(args, optionsOrCb, cb) {
|
|
101
|
+
const command = new CreateRuleCommand_1.CreateRuleCommand(args);
|
|
102
|
+
if (typeof optionsOrCb === "function") {
|
|
103
|
+
this.send(command, optionsOrCb);
|
|
104
|
+
}
|
|
105
|
+
else if (typeof cb === "function") {
|
|
106
|
+
if (typeof optionsOrCb !== "object")
|
|
107
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
return this.send(command, optionsOrCb);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
createService(args, optionsOrCb, cb) {
|
|
115
|
+
const command = new CreateServiceCommand_1.CreateServiceCommand(args);
|
|
116
|
+
if (typeof optionsOrCb === "function") {
|
|
117
|
+
this.send(command, optionsOrCb);
|
|
118
|
+
}
|
|
119
|
+
else if (typeof cb === "function") {
|
|
120
|
+
if (typeof optionsOrCb !== "object")
|
|
121
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
return this.send(command, optionsOrCb);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
createServiceNetwork(args, optionsOrCb, cb) {
|
|
129
|
+
const command = new CreateServiceNetworkCommand_1.CreateServiceNetworkCommand(args);
|
|
130
|
+
if (typeof optionsOrCb === "function") {
|
|
131
|
+
this.send(command, optionsOrCb);
|
|
132
|
+
}
|
|
133
|
+
else if (typeof cb === "function") {
|
|
134
|
+
if (typeof optionsOrCb !== "object")
|
|
135
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
return this.send(command, optionsOrCb);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
createServiceNetworkServiceAssociation(args, optionsOrCb, cb) {
|
|
143
|
+
const command = new CreateServiceNetworkServiceAssociationCommand_1.CreateServiceNetworkServiceAssociationCommand(args);
|
|
144
|
+
if (typeof optionsOrCb === "function") {
|
|
145
|
+
this.send(command, optionsOrCb);
|
|
146
|
+
}
|
|
147
|
+
else if (typeof cb === "function") {
|
|
148
|
+
if (typeof optionsOrCb !== "object")
|
|
149
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
return this.send(command, optionsOrCb);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
createServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
|
|
157
|
+
const command = new CreateServiceNetworkVpcAssociationCommand_1.CreateServiceNetworkVpcAssociationCommand(args);
|
|
158
|
+
if (typeof optionsOrCb === "function") {
|
|
159
|
+
this.send(command, optionsOrCb);
|
|
160
|
+
}
|
|
161
|
+
else if (typeof cb === "function") {
|
|
162
|
+
if (typeof optionsOrCb !== "object")
|
|
163
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
164
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
return this.send(command, optionsOrCb);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
createTargetGroup(args, optionsOrCb, cb) {
|
|
171
|
+
const command = new CreateTargetGroupCommand_1.CreateTargetGroupCommand(args);
|
|
172
|
+
if (typeof optionsOrCb === "function") {
|
|
173
|
+
this.send(command, optionsOrCb);
|
|
174
|
+
}
|
|
175
|
+
else if (typeof cb === "function") {
|
|
176
|
+
if (typeof optionsOrCb !== "object")
|
|
177
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
178
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
return this.send(command, optionsOrCb);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
deleteAccessLogSubscription(args, optionsOrCb, cb) {
|
|
185
|
+
const command = new DeleteAccessLogSubscriptionCommand_1.DeleteAccessLogSubscriptionCommand(args);
|
|
186
|
+
if (typeof optionsOrCb === "function") {
|
|
187
|
+
this.send(command, optionsOrCb);
|
|
188
|
+
}
|
|
189
|
+
else if (typeof cb === "function") {
|
|
190
|
+
if (typeof optionsOrCb !== "object")
|
|
191
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
return this.send(command, optionsOrCb);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
deleteAuthPolicy(args, optionsOrCb, cb) {
|
|
199
|
+
const command = new DeleteAuthPolicyCommand_1.DeleteAuthPolicyCommand(args);
|
|
200
|
+
if (typeof optionsOrCb === "function") {
|
|
201
|
+
this.send(command, optionsOrCb);
|
|
202
|
+
}
|
|
203
|
+
else if (typeof cb === "function") {
|
|
204
|
+
if (typeof optionsOrCb !== "object")
|
|
205
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
206
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
return this.send(command, optionsOrCb);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
deleteListener(args, optionsOrCb, cb) {
|
|
213
|
+
const command = new DeleteListenerCommand_1.DeleteListenerCommand(args);
|
|
214
|
+
if (typeof optionsOrCb === "function") {
|
|
215
|
+
this.send(command, optionsOrCb);
|
|
216
|
+
}
|
|
217
|
+
else if (typeof cb === "function") {
|
|
218
|
+
if (typeof optionsOrCb !== "object")
|
|
219
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
+
}
|
|
222
|
+
else {
|
|
223
|
+
return this.send(command, optionsOrCb);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
227
|
+
const command = new DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand(args);
|
|
228
|
+
if (typeof optionsOrCb === "function") {
|
|
229
|
+
this.send(command, optionsOrCb);
|
|
230
|
+
}
|
|
231
|
+
else if (typeof cb === "function") {
|
|
232
|
+
if (typeof optionsOrCb !== "object")
|
|
233
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
234
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
return this.send(command, optionsOrCb);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
deleteRule(args, optionsOrCb, cb) {
|
|
241
|
+
const command = new DeleteRuleCommand_1.DeleteRuleCommand(args);
|
|
242
|
+
if (typeof optionsOrCb === "function") {
|
|
243
|
+
this.send(command, optionsOrCb);
|
|
244
|
+
}
|
|
245
|
+
else if (typeof cb === "function") {
|
|
246
|
+
if (typeof optionsOrCb !== "object")
|
|
247
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
249
|
+
}
|
|
250
|
+
else {
|
|
251
|
+
return this.send(command, optionsOrCb);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
deleteService(args, optionsOrCb, cb) {
|
|
255
|
+
const command = new DeleteServiceCommand_1.DeleteServiceCommand(args);
|
|
256
|
+
if (typeof optionsOrCb === "function") {
|
|
257
|
+
this.send(command, optionsOrCb);
|
|
258
|
+
}
|
|
259
|
+
else if (typeof cb === "function") {
|
|
260
|
+
if (typeof optionsOrCb !== "object")
|
|
261
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
262
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
263
|
+
}
|
|
264
|
+
else {
|
|
265
|
+
return this.send(command, optionsOrCb);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
deleteServiceNetwork(args, optionsOrCb, cb) {
|
|
269
|
+
const command = new DeleteServiceNetworkCommand_1.DeleteServiceNetworkCommand(args);
|
|
270
|
+
if (typeof optionsOrCb === "function") {
|
|
271
|
+
this.send(command, optionsOrCb);
|
|
272
|
+
}
|
|
273
|
+
else if (typeof cb === "function") {
|
|
274
|
+
if (typeof optionsOrCb !== "object")
|
|
275
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
276
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
return this.send(command, optionsOrCb);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
deleteServiceNetworkServiceAssociation(args, optionsOrCb, cb) {
|
|
283
|
+
const command = new DeleteServiceNetworkServiceAssociationCommand_1.DeleteServiceNetworkServiceAssociationCommand(args);
|
|
284
|
+
if (typeof optionsOrCb === "function") {
|
|
285
|
+
this.send(command, optionsOrCb);
|
|
286
|
+
}
|
|
287
|
+
else if (typeof cb === "function") {
|
|
288
|
+
if (typeof optionsOrCb !== "object")
|
|
289
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
290
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
291
|
+
}
|
|
292
|
+
else {
|
|
293
|
+
return this.send(command, optionsOrCb);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
deleteServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
|
|
297
|
+
const command = new DeleteServiceNetworkVpcAssociationCommand_1.DeleteServiceNetworkVpcAssociationCommand(args);
|
|
298
|
+
if (typeof optionsOrCb === "function") {
|
|
299
|
+
this.send(command, optionsOrCb);
|
|
300
|
+
}
|
|
301
|
+
else if (typeof cb === "function") {
|
|
302
|
+
if (typeof optionsOrCb !== "object")
|
|
303
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
return this.send(command, optionsOrCb);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
deleteTargetGroup(args, optionsOrCb, cb) {
|
|
311
|
+
const command = new DeleteTargetGroupCommand_1.DeleteTargetGroupCommand(args);
|
|
312
|
+
if (typeof optionsOrCb === "function") {
|
|
313
|
+
this.send(command, optionsOrCb);
|
|
314
|
+
}
|
|
315
|
+
else if (typeof cb === "function") {
|
|
316
|
+
if (typeof optionsOrCb !== "object")
|
|
317
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
+
}
|
|
320
|
+
else {
|
|
321
|
+
return this.send(command, optionsOrCb);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
deregisterTargets(args, optionsOrCb, cb) {
|
|
325
|
+
const command = new DeregisterTargetsCommand_1.DeregisterTargetsCommand(args);
|
|
326
|
+
if (typeof optionsOrCb === "function") {
|
|
327
|
+
this.send(command, optionsOrCb);
|
|
328
|
+
}
|
|
329
|
+
else if (typeof cb === "function") {
|
|
330
|
+
if (typeof optionsOrCb !== "object")
|
|
331
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
333
|
+
}
|
|
334
|
+
else {
|
|
335
|
+
return this.send(command, optionsOrCb);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
getAccessLogSubscription(args, optionsOrCb, cb) {
|
|
339
|
+
const command = new GetAccessLogSubscriptionCommand_1.GetAccessLogSubscriptionCommand(args);
|
|
340
|
+
if (typeof optionsOrCb === "function") {
|
|
341
|
+
this.send(command, optionsOrCb);
|
|
342
|
+
}
|
|
343
|
+
else if (typeof cb === "function") {
|
|
344
|
+
if (typeof optionsOrCb !== "object")
|
|
345
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
346
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
347
|
+
}
|
|
348
|
+
else {
|
|
349
|
+
return this.send(command, optionsOrCb);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
getAuthPolicy(args, optionsOrCb, cb) {
|
|
353
|
+
const command = new GetAuthPolicyCommand_1.GetAuthPolicyCommand(args);
|
|
354
|
+
if (typeof optionsOrCb === "function") {
|
|
355
|
+
this.send(command, optionsOrCb);
|
|
356
|
+
}
|
|
357
|
+
else if (typeof cb === "function") {
|
|
358
|
+
if (typeof optionsOrCb !== "object")
|
|
359
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
360
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
361
|
+
}
|
|
362
|
+
else {
|
|
363
|
+
return this.send(command, optionsOrCb);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
getListener(args, optionsOrCb, cb) {
|
|
367
|
+
const command = new GetListenerCommand_1.GetListenerCommand(args);
|
|
368
|
+
if (typeof optionsOrCb === "function") {
|
|
369
|
+
this.send(command, optionsOrCb);
|
|
370
|
+
}
|
|
371
|
+
else if (typeof cb === "function") {
|
|
372
|
+
if (typeof optionsOrCb !== "object")
|
|
373
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
374
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
return this.send(command, optionsOrCb);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
getResourcePolicy(args, optionsOrCb, cb) {
|
|
381
|
+
const command = new GetResourcePolicyCommand_1.GetResourcePolicyCommand(args);
|
|
382
|
+
if (typeof optionsOrCb === "function") {
|
|
383
|
+
this.send(command, optionsOrCb);
|
|
384
|
+
}
|
|
385
|
+
else if (typeof cb === "function") {
|
|
386
|
+
if (typeof optionsOrCb !== "object")
|
|
387
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
388
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
389
|
+
}
|
|
390
|
+
else {
|
|
391
|
+
return this.send(command, optionsOrCb);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
getRule(args, optionsOrCb, cb) {
|
|
395
|
+
const command = new GetRuleCommand_1.GetRuleCommand(args);
|
|
396
|
+
if (typeof optionsOrCb === "function") {
|
|
397
|
+
this.send(command, optionsOrCb);
|
|
398
|
+
}
|
|
399
|
+
else if (typeof cb === "function") {
|
|
400
|
+
if (typeof optionsOrCb !== "object")
|
|
401
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
402
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
403
|
+
}
|
|
404
|
+
else {
|
|
405
|
+
return this.send(command, optionsOrCb);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
getService(args, optionsOrCb, cb) {
|
|
409
|
+
const command = new GetServiceCommand_1.GetServiceCommand(args);
|
|
410
|
+
if (typeof optionsOrCb === "function") {
|
|
411
|
+
this.send(command, optionsOrCb);
|
|
412
|
+
}
|
|
413
|
+
else if (typeof cb === "function") {
|
|
414
|
+
if (typeof optionsOrCb !== "object")
|
|
415
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
416
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
417
|
+
}
|
|
418
|
+
else {
|
|
419
|
+
return this.send(command, optionsOrCb);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
getServiceNetwork(args, optionsOrCb, cb) {
|
|
423
|
+
const command = new GetServiceNetworkCommand_1.GetServiceNetworkCommand(args);
|
|
424
|
+
if (typeof optionsOrCb === "function") {
|
|
425
|
+
this.send(command, optionsOrCb);
|
|
426
|
+
}
|
|
427
|
+
else if (typeof cb === "function") {
|
|
428
|
+
if (typeof optionsOrCb !== "object")
|
|
429
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
430
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
431
|
+
}
|
|
432
|
+
else {
|
|
433
|
+
return this.send(command, optionsOrCb);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
getServiceNetworkServiceAssociation(args, optionsOrCb, cb) {
|
|
437
|
+
const command = new GetServiceNetworkServiceAssociationCommand_1.GetServiceNetworkServiceAssociationCommand(args);
|
|
438
|
+
if (typeof optionsOrCb === "function") {
|
|
439
|
+
this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
else if (typeof cb === "function") {
|
|
442
|
+
if (typeof optionsOrCb !== "object")
|
|
443
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
return this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
getServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
|
|
451
|
+
const command = new GetServiceNetworkVpcAssociationCommand_1.GetServiceNetworkVpcAssociationCommand(args);
|
|
452
|
+
if (typeof optionsOrCb === "function") {
|
|
453
|
+
this.send(command, optionsOrCb);
|
|
454
|
+
}
|
|
455
|
+
else if (typeof cb === "function") {
|
|
456
|
+
if (typeof optionsOrCb !== "object")
|
|
457
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
458
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
459
|
+
}
|
|
460
|
+
else {
|
|
461
|
+
return this.send(command, optionsOrCb);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
getTargetGroup(args, optionsOrCb, cb) {
|
|
465
|
+
const command = new GetTargetGroupCommand_1.GetTargetGroupCommand(args);
|
|
466
|
+
if (typeof optionsOrCb === "function") {
|
|
467
|
+
this.send(command, optionsOrCb);
|
|
468
|
+
}
|
|
469
|
+
else if (typeof cb === "function") {
|
|
470
|
+
if (typeof optionsOrCb !== "object")
|
|
471
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
472
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
473
|
+
}
|
|
474
|
+
else {
|
|
475
|
+
return this.send(command, optionsOrCb);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
listAccessLogSubscriptions(args, optionsOrCb, cb) {
|
|
479
|
+
const command = new ListAccessLogSubscriptionsCommand_1.ListAccessLogSubscriptionsCommand(args);
|
|
480
|
+
if (typeof optionsOrCb === "function") {
|
|
481
|
+
this.send(command, optionsOrCb);
|
|
482
|
+
}
|
|
483
|
+
else if (typeof cb === "function") {
|
|
484
|
+
if (typeof optionsOrCb !== "object")
|
|
485
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
486
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
487
|
+
}
|
|
488
|
+
else {
|
|
489
|
+
return this.send(command, optionsOrCb);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
listListeners(args, optionsOrCb, cb) {
|
|
493
|
+
const command = new ListListenersCommand_1.ListListenersCommand(args);
|
|
494
|
+
if (typeof optionsOrCb === "function") {
|
|
495
|
+
this.send(command, optionsOrCb);
|
|
496
|
+
}
|
|
497
|
+
else if (typeof cb === "function") {
|
|
498
|
+
if (typeof optionsOrCb !== "object")
|
|
499
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
+
}
|
|
502
|
+
else {
|
|
503
|
+
return this.send(command, optionsOrCb);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
listRules(args, optionsOrCb, cb) {
|
|
507
|
+
const command = new ListRulesCommand_1.ListRulesCommand(args);
|
|
508
|
+
if (typeof optionsOrCb === "function") {
|
|
509
|
+
this.send(command, optionsOrCb);
|
|
510
|
+
}
|
|
511
|
+
else if (typeof cb === "function") {
|
|
512
|
+
if (typeof optionsOrCb !== "object")
|
|
513
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
514
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
515
|
+
}
|
|
516
|
+
else {
|
|
517
|
+
return this.send(command, optionsOrCb);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
listServiceNetworks(args, optionsOrCb, cb) {
|
|
521
|
+
const command = new ListServiceNetworksCommand_1.ListServiceNetworksCommand(args);
|
|
522
|
+
if (typeof optionsOrCb === "function") {
|
|
523
|
+
this.send(command, optionsOrCb);
|
|
524
|
+
}
|
|
525
|
+
else if (typeof cb === "function") {
|
|
526
|
+
if (typeof optionsOrCb !== "object")
|
|
527
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
528
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
529
|
+
}
|
|
530
|
+
else {
|
|
531
|
+
return this.send(command, optionsOrCb);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
listServiceNetworkServiceAssociations(args, optionsOrCb, cb) {
|
|
535
|
+
const command = new ListServiceNetworkServiceAssociationsCommand_1.ListServiceNetworkServiceAssociationsCommand(args);
|
|
536
|
+
if (typeof optionsOrCb === "function") {
|
|
537
|
+
this.send(command, optionsOrCb);
|
|
538
|
+
}
|
|
539
|
+
else if (typeof cb === "function") {
|
|
540
|
+
if (typeof optionsOrCb !== "object")
|
|
541
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
542
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
543
|
+
}
|
|
544
|
+
else {
|
|
545
|
+
return this.send(command, optionsOrCb);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
listServiceNetworkVpcAssociations(args, optionsOrCb, cb) {
|
|
549
|
+
const command = new ListServiceNetworkVpcAssociationsCommand_1.ListServiceNetworkVpcAssociationsCommand(args);
|
|
550
|
+
if (typeof optionsOrCb === "function") {
|
|
551
|
+
this.send(command, optionsOrCb);
|
|
552
|
+
}
|
|
553
|
+
else if (typeof cb === "function") {
|
|
554
|
+
if (typeof optionsOrCb !== "object")
|
|
555
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
556
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
557
|
+
}
|
|
558
|
+
else {
|
|
559
|
+
return this.send(command, optionsOrCb);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
listServices(args, optionsOrCb, cb) {
|
|
563
|
+
const command = new ListServicesCommand_1.ListServicesCommand(args);
|
|
564
|
+
if (typeof optionsOrCb === "function") {
|
|
565
|
+
this.send(command, optionsOrCb);
|
|
566
|
+
}
|
|
567
|
+
else if (typeof cb === "function") {
|
|
568
|
+
if (typeof optionsOrCb !== "object")
|
|
569
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
570
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
571
|
+
}
|
|
572
|
+
else {
|
|
573
|
+
return this.send(command, optionsOrCb);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
577
|
+
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
578
|
+
if (typeof optionsOrCb === "function") {
|
|
579
|
+
this.send(command, optionsOrCb);
|
|
580
|
+
}
|
|
581
|
+
else if (typeof cb === "function") {
|
|
582
|
+
if (typeof optionsOrCb !== "object")
|
|
583
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
584
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
585
|
+
}
|
|
586
|
+
else {
|
|
587
|
+
return this.send(command, optionsOrCb);
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
listTargetGroups(args, optionsOrCb, cb) {
|
|
591
|
+
const command = new ListTargetGroupsCommand_1.ListTargetGroupsCommand(args);
|
|
592
|
+
if (typeof optionsOrCb === "function") {
|
|
593
|
+
this.send(command, optionsOrCb);
|
|
594
|
+
}
|
|
595
|
+
else if (typeof cb === "function") {
|
|
596
|
+
if (typeof optionsOrCb !== "object")
|
|
597
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
598
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
599
|
+
}
|
|
600
|
+
else {
|
|
601
|
+
return this.send(command, optionsOrCb);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
listTargets(args, optionsOrCb, cb) {
|
|
605
|
+
const command = new ListTargetsCommand_1.ListTargetsCommand(args);
|
|
606
|
+
if (typeof optionsOrCb === "function") {
|
|
607
|
+
this.send(command, optionsOrCb);
|
|
608
|
+
}
|
|
609
|
+
else if (typeof cb === "function") {
|
|
610
|
+
if (typeof optionsOrCb !== "object")
|
|
611
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
612
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
613
|
+
}
|
|
614
|
+
else {
|
|
615
|
+
return this.send(command, optionsOrCb);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
putAuthPolicy(args, optionsOrCb, cb) {
|
|
619
|
+
const command = new PutAuthPolicyCommand_1.PutAuthPolicyCommand(args);
|
|
620
|
+
if (typeof optionsOrCb === "function") {
|
|
621
|
+
this.send(command, optionsOrCb);
|
|
622
|
+
}
|
|
623
|
+
else if (typeof cb === "function") {
|
|
624
|
+
if (typeof optionsOrCb !== "object")
|
|
625
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
626
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
627
|
+
}
|
|
628
|
+
else {
|
|
629
|
+
return this.send(command, optionsOrCb);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
putResourcePolicy(args, optionsOrCb, cb) {
|
|
633
|
+
const command = new PutResourcePolicyCommand_1.PutResourcePolicyCommand(args);
|
|
634
|
+
if (typeof optionsOrCb === "function") {
|
|
635
|
+
this.send(command, optionsOrCb);
|
|
636
|
+
}
|
|
637
|
+
else if (typeof cb === "function") {
|
|
638
|
+
if (typeof optionsOrCb !== "object")
|
|
639
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
640
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
641
|
+
}
|
|
642
|
+
else {
|
|
643
|
+
return this.send(command, optionsOrCb);
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
registerTargets(args, optionsOrCb, cb) {
|
|
647
|
+
const command = new RegisterTargetsCommand_1.RegisterTargetsCommand(args);
|
|
648
|
+
if (typeof optionsOrCb === "function") {
|
|
649
|
+
this.send(command, optionsOrCb);
|
|
650
|
+
}
|
|
651
|
+
else if (typeof cb === "function") {
|
|
652
|
+
if (typeof optionsOrCb !== "object")
|
|
653
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
654
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
655
|
+
}
|
|
656
|
+
else {
|
|
657
|
+
return this.send(command, optionsOrCb);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
tagResource(args, optionsOrCb, cb) {
|
|
661
|
+
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
662
|
+
if (typeof optionsOrCb === "function") {
|
|
663
|
+
this.send(command, optionsOrCb);
|
|
664
|
+
}
|
|
665
|
+
else if (typeof cb === "function") {
|
|
666
|
+
if (typeof optionsOrCb !== "object")
|
|
667
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
668
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
669
|
+
}
|
|
670
|
+
else {
|
|
671
|
+
return this.send(command, optionsOrCb);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
untagResource(args, optionsOrCb, cb) {
|
|
675
|
+
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
676
|
+
if (typeof optionsOrCb === "function") {
|
|
677
|
+
this.send(command, optionsOrCb);
|
|
678
|
+
}
|
|
679
|
+
else if (typeof cb === "function") {
|
|
680
|
+
if (typeof optionsOrCb !== "object")
|
|
681
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
682
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
683
|
+
}
|
|
684
|
+
else {
|
|
685
|
+
return this.send(command, optionsOrCb);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
updateAccessLogSubscription(args, optionsOrCb, cb) {
|
|
689
|
+
const command = new UpdateAccessLogSubscriptionCommand_1.UpdateAccessLogSubscriptionCommand(args);
|
|
690
|
+
if (typeof optionsOrCb === "function") {
|
|
691
|
+
this.send(command, optionsOrCb);
|
|
692
|
+
}
|
|
693
|
+
else if (typeof cb === "function") {
|
|
694
|
+
if (typeof optionsOrCb !== "object")
|
|
695
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
696
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
697
|
+
}
|
|
698
|
+
else {
|
|
699
|
+
return this.send(command, optionsOrCb);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
updateListener(args, optionsOrCb, cb) {
|
|
703
|
+
const command = new UpdateListenerCommand_1.UpdateListenerCommand(args);
|
|
704
|
+
if (typeof optionsOrCb === "function") {
|
|
705
|
+
this.send(command, optionsOrCb);
|
|
706
|
+
}
|
|
707
|
+
else if (typeof cb === "function") {
|
|
708
|
+
if (typeof optionsOrCb !== "object")
|
|
709
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
710
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
711
|
+
}
|
|
712
|
+
else {
|
|
713
|
+
return this.send(command, optionsOrCb);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
updateRule(args, optionsOrCb, cb) {
|
|
717
|
+
const command = new UpdateRuleCommand_1.UpdateRuleCommand(args);
|
|
718
|
+
if (typeof optionsOrCb === "function") {
|
|
719
|
+
this.send(command, optionsOrCb);
|
|
720
|
+
}
|
|
721
|
+
else if (typeof cb === "function") {
|
|
722
|
+
if (typeof optionsOrCb !== "object")
|
|
723
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
724
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
725
|
+
}
|
|
726
|
+
else {
|
|
727
|
+
return this.send(command, optionsOrCb);
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
updateService(args, optionsOrCb, cb) {
|
|
731
|
+
const command = new UpdateServiceCommand_1.UpdateServiceCommand(args);
|
|
732
|
+
if (typeof optionsOrCb === "function") {
|
|
733
|
+
this.send(command, optionsOrCb);
|
|
734
|
+
}
|
|
735
|
+
else if (typeof cb === "function") {
|
|
736
|
+
if (typeof optionsOrCb !== "object")
|
|
737
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
738
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
739
|
+
}
|
|
740
|
+
else {
|
|
741
|
+
return this.send(command, optionsOrCb);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
updateServiceNetwork(args, optionsOrCb, cb) {
|
|
745
|
+
const command = new UpdateServiceNetworkCommand_1.UpdateServiceNetworkCommand(args);
|
|
746
|
+
if (typeof optionsOrCb === "function") {
|
|
747
|
+
this.send(command, optionsOrCb);
|
|
748
|
+
}
|
|
749
|
+
else if (typeof cb === "function") {
|
|
750
|
+
if (typeof optionsOrCb !== "object")
|
|
751
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
752
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
753
|
+
}
|
|
754
|
+
else {
|
|
755
|
+
return this.send(command, optionsOrCb);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
updateServiceNetworkVpcAssociation(args, optionsOrCb, cb) {
|
|
759
|
+
const command = new UpdateServiceNetworkVpcAssociationCommand_1.UpdateServiceNetworkVpcAssociationCommand(args);
|
|
760
|
+
if (typeof optionsOrCb === "function") {
|
|
761
|
+
this.send(command, optionsOrCb);
|
|
762
|
+
}
|
|
763
|
+
else if (typeof cb === "function") {
|
|
764
|
+
if (typeof optionsOrCb !== "object")
|
|
765
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
766
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
767
|
+
}
|
|
768
|
+
else {
|
|
769
|
+
return this.send(command, optionsOrCb);
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
updateTargetGroup(args, optionsOrCb, cb) {
|
|
773
|
+
const command = new UpdateTargetGroupCommand_1.UpdateTargetGroupCommand(args);
|
|
774
|
+
if (typeof optionsOrCb === "function") {
|
|
775
|
+
this.send(command, optionsOrCb);
|
|
776
|
+
}
|
|
777
|
+
else if (typeof cb === "function") {
|
|
778
|
+
if (typeof optionsOrCb !== "object")
|
|
779
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
780
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
781
|
+
}
|
|
782
|
+
else {
|
|
783
|
+
return this.send(command, optionsOrCb);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
exports.VPCLattice = VPCLattice;
|