@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,240 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TargetStatus = exports.TargetGroupStatus = exports.TargetGroupType = exports.TargetGroupProtocolVersion = exports.IpAddressType = exports.HealthCheckProtocolVersion = exports.TargetGroupProtocol = exports.Matcher = exports.ServiceNetworkVpcAssociationStatus = exports.ServiceNetworkServiceAssociationStatus = exports.ServiceStatus = exports.ServiceQuotaExceededException = exports.ListenerProtocol = exports.RuleMatch = exports.PathMatchType = exports.HeaderMatchType = exports.RuleAction = exports.AuthType = exports.AuthPolicyState = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const VPCLatticeServiceException_1 = require("./VPCLatticeServiceException");
|
|
5
|
+
class AccessDeniedException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "AccessDeniedException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ConflictException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
this.name = "ConflictException";
|
|
26
|
+
this.$fault = "client";
|
|
27
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
28
|
+
this.resourceId = opts.resourceId;
|
|
29
|
+
this.resourceType = opts.resourceType;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.ConflictException = ConflictException;
|
|
33
|
+
class InternalServerException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServerException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
this.name = "InternalServerException";
|
|
41
|
+
this.$fault = "server";
|
|
42
|
+
this.$retryable = {};
|
|
43
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
44
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.InternalServerException = InternalServerException;
|
|
48
|
+
class ResourceNotFoundException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "ResourceNotFoundException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
this.name = "ResourceNotFoundException";
|
|
56
|
+
this.$fault = "client";
|
|
57
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
58
|
+
this.resourceId = opts.resourceId;
|
|
59
|
+
this.resourceType = opts.resourceType;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
63
|
+
class ThrottlingException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "ThrottlingException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
this.name = "ThrottlingException";
|
|
71
|
+
this.$fault = "client";
|
|
72
|
+
this.$retryable = {
|
|
73
|
+
throttling: true,
|
|
74
|
+
};
|
|
75
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
76
|
+
this.serviceCode = opts.serviceCode;
|
|
77
|
+
this.quotaCode = opts.quotaCode;
|
|
78
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.ThrottlingException = ThrottlingException;
|
|
82
|
+
exports.ValidationExceptionReason = {
|
|
83
|
+
CANNOT_PARSE: "cannotParse",
|
|
84
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
85
|
+
OTHER: "other",
|
|
86
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
87
|
+
};
|
|
88
|
+
class ValidationException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "ValidationException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
this.name = "ValidationException";
|
|
96
|
+
this.$fault = "client";
|
|
97
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
98
|
+
this.reason = opts.reason;
|
|
99
|
+
this.fieldList = opts.fieldList;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.ValidationException = ValidationException;
|
|
103
|
+
exports.AuthPolicyState = {
|
|
104
|
+
Active: "Active",
|
|
105
|
+
Inactive: "Inactive",
|
|
106
|
+
};
|
|
107
|
+
exports.AuthType = {
|
|
108
|
+
AWS_IAM: "AWS_IAM",
|
|
109
|
+
NONE: "NONE",
|
|
110
|
+
};
|
|
111
|
+
var RuleAction;
|
|
112
|
+
(function (RuleAction) {
|
|
113
|
+
RuleAction.visit = (value, visitor) => {
|
|
114
|
+
if (value.forward !== undefined)
|
|
115
|
+
return visitor.forward(value.forward);
|
|
116
|
+
if (value.fixedResponse !== undefined)
|
|
117
|
+
return visitor.fixedResponse(value.fixedResponse);
|
|
118
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
119
|
+
};
|
|
120
|
+
})(RuleAction = exports.RuleAction || (exports.RuleAction = {}));
|
|
121
|
+
var HeaderMatchType;
|
|
122
|
+
(function (HeaderMatchType) {
|
|
123
|
+
HeaderMatchType.visit = (value, visitor) => {
|
|
124
|
+
if (value.exact !== undefined)
|
|
125
|
+
return visitor.exact(value.exact);
|
|
126
|
+
if (value.prefix !== undefined)
|
|
127
|
+
return visitor.prefix(value.prefix);
|
|
128
|
+
if (value.contains !== undefined)
|
|
129
|
+
return visitor.contains(value.contains);
|
|
130
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
131
|
+
};
|
|
132
|
+
})(HeaderMatchType = exports.HeaderMatchType || (exports.HeaderMatchType = {}));
|
|
133
|
+
var PathMatchType;
|
|
134
|
+
(function (PathMatchType) {
|
|
135
|
+
PathMatchType.visit = (value, visitor) => {
|
|
136
|
+
if (value.exact !== undefined)
|
|
137
|
+
return visitor.exact(value.exact);
|
|
138
|
+
if (value.prefix !== undefined)
|
|
139
|
+
return visitor.prefix(value.prefix);
|
|
140
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
141
|
+
};
|
|
142
|
+
})(PathMatchType = exports.PathMatchType || (exports.PathMatchType = {}));
|
|
143
|
+
var RuleMatch;
|
|
144
|
+
(function (RuleMatch) {
|
|
145
|
+
RuleMatch.visit = (value, visitor) => {
|
|
146
|
+
if (value.httpMatch !== undefined)
|
|
147
|
+
return visitor.httpMatch(value.httpMatch);
|
|
148
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
149
|
+
};
|
|
150
|
+
})(RuleMatch = exports.RuleMatch || (exports.RuleMatch = {}));
|
|
151
|
+
exports.ListenerProtocol = {
|
|
152
|
+
HTTP: "HTTP",
|
|
153
|
+
HTTPS: "HTTPS",
|
|
154
|
+
};
|
|
155
|
+
class ServiceQuotaExceededException extends VPCLatticeServiceException_1.VPCLatticeServiceException {
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "ServiceQuotaExceededException",
|
|
159
|
+
$fault: "client",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
this.name = "ServiceQuotaExceededException";
|
|
163
|
+
this.$fault = "client";
|
|
164
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
165
|
+
this.resourceId = opts.resourceId;
|
|
166
|
+
this.resourceType = opts.resourceType;
|
|
167
|
+
this.serviceCode = opts.serviceCode;
|
|
168
|
+
this.quotaCode = opts.quotaCode;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
172
|
+
exports.ServiceStatus = {
|
|
173
|
+
ACTIVE: "ACTIVE",
|
|
174
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
175
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
176
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
177
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
178
|
+
};
|
|
179
|
+
exports.ServiceNetworkServiceAssociationStatus = {
|
|
180
|
+
ACTIVE: "ACTIVE",
|
|
181
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
182
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
183
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
184
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
185
|
+
};
|
|
186
|
+
exports.ServiceNetworkVpcAssociationStatus = {
|
|
187
|
+
ACTIVE: "ACTIVE",
|
|
188
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
189
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
190
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
191
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
192
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
193
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
194
|
+
};
|
|
195
|
+
var Matcher;
|
|
196
|
+
(function (Matcher) {
|
|
197
|
+
Matcher.visit = (value, visitor) => {
|
|
198
|
+
if (value.httpCode !== undefined)
|
|
199
|
+
return visitor.httpCode(value.httpCode);
|
|
200
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
201
|
+
};
|
|
202
|
+
})(Matcher = exports.Matcher || (exports.Matcher = {}));
|
|
203
|
+
exports.TargetGroupProtocol = {
|
|
204
|
+
HTTP: "HTTP",
|
|
205
|
+
HTTPS: "HTTPS",
|
|
206
|
+
};
|
|
207
|
+
exports.HealthCheckProtocolVersion = {
|
|
208
|
+
HTTP1: "HTTP1",
|
|
209
|
+
HTTP2: "HTTP2",
|
|
210
|
+
};
|
|
211
|
+
exports.IpAddressType = {
|
|
212
|
+
IPV4: "IPV4",
|
|
213
|
+
IPV6: "IPV6",
|
|
214
|
+
};
|
|
215
|
+
exports.TargetGroupProtocolVersion = {
|
|
216
|
+
GRPC: "GRPC",
|
|
217
|
+
HTTP1: "HTTP1",
|
|
218
|
+
HTTP2: "HTTP2",
|
|
219
|
+
};
|
|
220
|
+
exports.TargetGroupType = {
|
|
221
|
+
ALB: "ALB",
|
|
222
|
+
INSTANCE: "INSTANCE",
|
|
223
|
+
IP: "IP",
|
|
224
|
+
LAMBDA: "LAMBDA",
|
|
225
|
+
};
|
|
226
|
+
exports.TargetGroupStatus = {
|
|
227
|
+
ACTIVE: "ACTIVE",
|
|
228
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
229
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
230
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
231
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
232
|
+
};
|
|
233
|
+
exports.TargetStatus = {
|
|
234
|
+
DRAINING: "DRAINING",
|
|
235
|
+
HEALTHY: "HEALTHY",
|
|
236
|
+
INITIAL: "INITIAL",
|
|
237
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
238
|
+
UNHEALTHY: "UNHEALTHY",
|
|
239
|
+
UNUSED: "UNUSED",
|
|
240
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAccessLogSubscriptions = void 0;
|
|
4
|
+
const ListAccessLogSubscriptionsCommand_1 = require("../commands/ListAccessLogSubscriptionsCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAccessLogSubscriptionsCommand_1.ListAccessLogSubscriptionsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAccessLogSubscriptions(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAccessLogSubscriptions = paginateListAccessLogSubscriptions;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListListeners = void 0;
|
|
4
|
+
const ListListenersCommand_1 = require("../commands/ListListenersCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListListenersCommand_1.ListListenersCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListListeners(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListListeners = paginateListListeners;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRules = void 0;
|
|
4
|
+
const ListRulesCommand_1 = require("../commands/ListRulesCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListRulesCommand_1.ListRulesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListRules(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListRules = paginateListRules;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListServiceNetworkServiceAssociations = void 0;
|
|
4
|
+
const ListServiceNetworkServiceAssociationsCommand_1 = require("../commands/ListServiceNetworkServiceAssociationsCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListServiceNetworkServiceAssociationsCommand_1.ListServiceNetworkServiceAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListServiceNetworkServiceAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListServiceNetworkServiceAssociations = paginateListServiceNetworkServiceAssociations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListServiceNetworkVpcAssociations = void 0;
|
|
4
|
+
const ListServiceNetworkVpcAssociationsCommand_1 = require("../commands/ListServiceNetworkVpcAssociationsCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListServiceNetworkVpcAssociationsCommand_1.ListServiceNetworkVpcAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListServiceNetworkVpcAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListServiceNetworkVpcAssociations = paginateListServiceNetworkVpcAssociations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListServiceNetworks = void 0;
|
|
4
|
+
const ListServiceNetworksCommand_1 = require("../commands/ListServiceNetworksCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListServiceNetworksCommand_1.ListServiceNetworksCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListServiceNetworks(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListServiceNetworks = paginateListServiceNetworks;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListServices = void 0;
|
|
4
|
+
const ListServicesCommand_1 = require("../commands/ListServicesCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListServicesCommand_1.ListServicesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListServices(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListServices = paginateListServices;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListTargetGroups = void 0;
|
|
4
|
+
const ListTargetGroupsCommand_1 = require("../commands/ListTargetGroupsCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListTargetGroupsCommand_1.ListTargetGroupsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListTargetGroups(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListTargetGroups = paginateListTargetGroups;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListTargets = void 0;
|
|
4
|
+
const ListTargetsCommand_1 = require("../commands/ListTargetsCommand");
|
|
5
|
+
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListTargetsCommand_1.ListTargetsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListTargets(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListTargets = paginateListTargets;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAccessLogSubscriptionsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListListenersPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListRulesPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListServiceNetworkServiceAssociationsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListServiceNetworkVpcAssociationsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListServiceNetworksPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListServicesPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListTargetGroupsPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListTargetsPaginator"), exports);
|