@aws-sdk/client-vpc-lattice 3.477.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/BatchUpdateRuleCommand.js +18 -41
- package/dist-cjs/commands/CreateAccessLogSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/CreateListenerCommand.js +18 -41
- package/dist-cjs/commands/CreateRuleCommand.js +18 -41
- package/dist-cjs/commands/CreateServiceCommand.js +18 -41
- package/dist-cjs/commands/CreateServiceNetworkCommand.js +18 -41
- package/dist-cjs/commands/CreateServiceNetworkServiceAssociationCommand.js +18 -41
- package/dist-cjs/commands/CreateServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-cjs/commands/CreateTargetGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteAccessLogSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DeleteAuthPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteListenerCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
- package/dist-cjs/commands/DeleteServiceCommand.js +18 -41
- package/dist-cjs/commands/DeleteServiceNetworkCommand.js +18 -41
- package/dist-cjs/commands/DeleteServiceNetworkServiceAssociationCommand.js +18 -41
- package/dist-cjs/commands/DeleteServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-cjs/commands/DeleteTargetGroupCommand.js +18 -41
- package/dist-cjs/commands/DeregisterTargetsCommand.js +18 -41
- package/dist-cjs/commands/GetAccessLogSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/GetAuthPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetListenerCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetRuleCommand.js +18 -41
- package/dist-cjs/commands/GetServiceCommand.js +18 -41
- package/dist-cjs/commands/GetServiceNetworkCommand.js +18 -41
- package/dist-cjs/commands/GetServiceNetworkServiceAssociationCommand.js +18 -41
- package/dist-cjs/commands/GetServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-cjs/commands/GetTargetGroupCommand.js +18 -41
- package/dist-cjs/commands/ListAccessLogSubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/ListListenersCommand.js +18 -41
- package/dist-cjs/commands/ListRulesCommand.js +18 -41
- package/dist-cjs/commands/ListServiceNetworkServiceAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListServiceNetworkVpcAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListServiceNetworksCommand.js +18 -41
- package/dist-cjs/commands/ListServicesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTargetGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListTargetsCommand.js +18 -41
- package/dist-cjs/commands/PutAuthPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/RegisterTargetsCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAccessLogSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/UpdateListenerCommand.js +18 -41
- package/dist-cjs/commands/UpdateRuleCommand.js +18 -41
- package/dist-cjs/commands/UpdateServiceCommand.js +18 -41
- package/dist-cjs/commands/UpdateServiceNetworkCommand.js +18 -41
- package/dist-cjs/commands/UpdateServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-cjs/commands/UpdateTargetGroupCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAccessLogSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListListenersPaginator.js +2 -24
- package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListServiceNetworkServiceAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListServiceNetworkVpcAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListServiceNetworksPaginator.js +2 -24
- package/dist-cjs/pagination/ListServicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTargetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTargetsPaginator.js +2 -24
- package/dist-es/commands/BatchUpdateRuleCommand.js +18 -41
- package/dist-es/commands/CreateAccessLogSubscriptionCommand.js +18 -41
- package/dist-es/commands/CreateListenerCommand.js +18 -41
- package/dist-es/commands/CreateRuleCommand.js +18 -41
- package/dist-es/commands/CreateServiceCommand.js +18 -41
- package/dist-es/commands/CreateServiceNetworkCommand.js +18 -41
- package/dist-es/commands/CreateServiceNetworkServiceAssociationCommand.js +18 -41
- package/dist-es/commands/CreateServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-es/commands/CreateTargetGroupCommand.js +18 -41
- package/dist-es/commands/DeleteAccessLogSubscriptionCommand.js +18 -41
- package/dist-es/commands/DeleteAuthPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteListenerCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteRuleCommand.js +18 -41
- package/dist-es/commands/DeleteServiceCommand.js +18 -41
- package/dist-es/commands/DeleteServiceNetworkCommand.js +18 -41
- package/dist-es/commands/DeleteServiceNetworkServiceAssociationCommand.js +18 -41
- package/dist-es/commands/DeleteServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-es/commands/DeleteTargetGroupCommand.js +18 -41
- package/dist-es/commands/DeregisterTargetsCommand.js +18 -41
- package/dist-es/commands/GetAccessLogSubscriptionCommand.js +18 -41
- package/dist-es/commands/GetAuthPolicyCommand.js +18 -41
- package/dist-es/commands/GetListenerCommand.js +18 -41
- package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-es/commands/GetRuleCommand.js +18 -41
- package/dist-es/commands/GetServiceCommand.js +18 -41
- package/dist-es/commands/GetServiceNetworkCommand.js +18 -41
- package/dist-es/commands/GetServiceNetworkServiceAssociationCommand.js +18 -41
- package/dist-es/commands/GetServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-es/commands/GetTargetGroupCommand.js +18 -41
- package/dist-es/commands/ListAccessLogSubscriptionsCommand.js +18 -41
- package/dist-es/commands/ListListenersCommand.js +18 -41
- package/dist-es/commands/ListRulesCommand.js +18 -41
- package/dist-es/commands/ListServiceNetworkServiceAssociationsCommand.js +18 -41
- package/dist-es/commands/ListServiceNetworkVpcAssociationsCommand.js +18 -41
- package/dist-es/commands/ListServiceNetworksCommand.js +18 -41
- package/dist-es/commands/ListServicesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTargetGroupsCommand.js +18 -41
- package/dist-es/commands/ListTargetsCommand.js +18 -41
- package/dist-es/commands/PutAuthPolicyCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/RegisterTargetsCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAccessLogSubscriptionCommand.js +18 -41
- package/dist-es/commands/UpdateListenerCommand.js +18 -41
- package/dist-es/commands/UpdateRuleCommand.js +18 -41
- package/dist-es/commands/UpdateServiceCommand.js +18 -41
- package/dist-es/commands/UpdateServiceNetworkCommand.js +18 -41
- package/dist-es/commands/UpdateServiceNetworkVpcAssociationCommand.js +18 -41
- package/dist-es/commands/UpdateTargetGroupCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAccessLogSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/ListListenersPaginator.js +2 -23
- package/dist-es/pagination/ListRulesPaginator.js +2 -23
- package/dist-es/pagination/ListServiceNetworkServiceAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListServiceNetworkVpcAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListServiceNetworksPaginator.js +2 -23
- package/dist-es/pagination/ListServicesPaginator.js +2 -23
- package/dist-es/pagination/ListTargetGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListTargetsPaginator.js +2 -23
- package/dist-types/commands/BatchUpdateRuleCommand.d.ts +6 -21
- package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/CreateListenerCommand.d.ts +6 -21
- package/dist-types/commands/CreateRuleCommand.d.ts +6 -21
- package/dist-types/commands/CreateServiceCommand.d.ts +6 -21
- package/dist-types/commands/CreateServiceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +6 -21
- package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +6 -21
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAccessLogSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteListenerCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteServiceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteServiceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +6 -21
- package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/GetAuthPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetListenerCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetRuleCommand.d.ts +6 -21
- package/dist-types/commands/GetServiceCommand.d.ts +6 -21
- package/dist-types/commands/GetServiceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +6 -21
- package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +6 -21
- package/dist-types/commands/GetTargetGroupCommand.d.ts +6 -21
- package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/ListListenersCommand.d.ts +6 -21
- package/dist-types/commands/ListRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListServiceNetworksCommand.d.ts +6 -21
- package/dist-types/commands/ListServicesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTargetGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListTargetsCommand.d.ts +6 -21
- package/dist-types/commands/PutAuthPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/RegisterTargetsCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAccessLogSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateListenerCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRuleCommand.d.ts +6 -21
- package/dist-types/commands/UpdateServiceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateServiceNetworkCommand.d.ts +6 -21
- package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTargetGroupCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAccessLogSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListListenersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServiceNetworksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchUpdateRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAccessLogSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateServiceNetworkCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAccessLogSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAuthPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteServiceNetworkCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAccessLogSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAuthPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetListenerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetServiceNetworkCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetServiceNetworkServiceAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetServiceNetworkVpcAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetTargetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccessLogSubscriptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListServiceNetworksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTargetGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAuthPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAccessLogSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateServiceNetworkCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTargetGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAccessLogSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListListenersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServiceNetworksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTargetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListServiceNetworkVpcAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListServiceNetworkVpcAssociationsCommand_1 = require("../commands/ListServiceNetworkVpcAssociationsCommand");
|
|
5
6
|
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
-
|
|
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;
|
|
7
|
+
exports.paginateListServiceNetworkVpcAssociations = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListServiceNetworkVpcAssociationsCommand_1.ListServiceNetworkVpcAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListServiceNetworks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListServiceNetworksCommand_1 = require("../commands/ListServiceNetworksCommand");
|
|
5
6
|
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
-
|
|
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;
|
|
7
|
+
exports.paginateListServiceNetworks = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListServiceNetworksCommand_1.ListServiceNetworksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListServices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListServicesCommand_1 = require("../commands/ListServicesCommand");
|
|
5
6
|
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
-
|
|
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;
|
|
7
|
+
exports.paginateListServices = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListServicesCommand_1.ListServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTargetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTargetGroupsCommand_1 = require("../commands/ListTargetGroupsCommand");
|
|
5
6
|
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
-
|
|
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;
|
|
7
|
+
exports.paginateListTargetGroups = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListTargetGroupsCommand_1.ListTargetGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTargets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTargetsCommand_1 = require("../commands/ListTargetsCommand");
|
|
5
6
|
const VPCLatticeClient_1 = require("../VPCLatticeClient");
|
|
6
|
-
|
|
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;
|
|
7
|
+
exports.paginateListTargets = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListTargetsCommand_1.ListTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchUpdateRuleCommand, se_BatchUpdateRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchUpdateRuleCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "VPCLatticeClient";
|
|
26
|
-
const commandName = "BatchUpdateRuleCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MercuryControlPlane",
|
|
35
|
-
operation: "BatchUpdateRule",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchUpdateRuleCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchUpdateRuleCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchUpdateRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MercuryControlPlane", "BatchUpdateRule", {})
|
|
19
|
+
.n("VPCLatticeClient", "BatchUpdateRuleCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchUpdateRuleCommand)
|
|
22
|
+
.de(de_BatchUpdateRuleCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateAccessLogSubscriptionCommand, se_CreateAccessLogSubscriptionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateAccessLogSubscriptionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "VPCLatticeClient";
|
|
26
|
-
const commandName = "CreateAccessLogSubscriptionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MercuryControlPlane",
|
|
35
|
-
operation: "CreateAccessLogSubscription",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateAccessLogSubscriptionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateAccessLogSubscriptionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateAccessLogSubscriptionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MercuryControlPlane", "CreateAccessLogSubscription", {})
|
|
19
|
+
.n("VPCLatticeClient", "CreateAccessLogSubscriptionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateAccessLogSubscriptionCommand)
|
|
22
|
+
.de(de_CreateAccessLogSubscriptionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateListenerCommand, se_CreateListenerCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateListenerCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "VPCLatticeClient";
|
|
26
|
-
const commandName = "CreateListenerCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MercuryControlPlane",
|
|
35
|
-
operation: "CreateListener",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateListenerCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateListenerCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateListenerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MercuryControlPlane", "CreateListener", {})
|
|
19
|
+
.n("VPCLatticeClient", "CreateListenerCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateListenerCommand)
|
|
22
|
+
.de(de_CreateListenerCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateRuleCommand, se_CreateRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateRuleCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "VPCLatticeClient";
|
|
26
|
-
const commandName = "CreateRuleCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MercuryControlPlane",
|
|
35
|
-
operation: "CreateRule",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateRuleCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateRuleCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MercuryControlPlane", "CreateRule", {})
|
|
19
|
+
.n("VPCLatticeClient", "CreateRuleCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateRuleCommand)
|
|
22
|
+
.de(de_CreateRuleCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateServiceCommand, se_CreateServiceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateServiceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "VPCLatticeClient";
|
|
26
|
-
const commandName = "CreateServiceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MercuryControlPlane",
|
|
35
|
-
operation: "CreateService",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateServiceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateServiceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateServiceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MercuryControlPlane", "CreateService", {})
|
|
19
|
+
.n("VPCLatticeClient", "CreateServiceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateServiceCommand)
|
|
22
|
+
.de(de_CreateServiceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateServiceNetworkCommand, se_CreateServiceNetworkCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateServiceNetworkCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "VPCLatticeClient";
|
|
26
|
-
const commandName = "CreateServiceNetworkCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MercuryControlPlane",
|
|
35
|
-
operation: "CreateServiceNetwork",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateServiceNetworkCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateServiceNetworkCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateServiceNetworkCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MercuryControlPlane", "CreateServiceNetwork", {})
|
|
19
|
+
.n("VPCLatticeClient", "CreateServiceNetworkCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateServiceNetworkCommand)
|
|
22
|
+
.de(de_CreateServiceNetworkCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateServiceNetworkServiceAssociationCommand, se_CreateServiceNetworkServiceAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateServiceNetworkServiceAssociationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "VPCLatticeClient";
|
|
26
|
-
const commandName = "CreateServiceNetworkServiceAssociationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MercuryControlPlane",
|
|
35
|
-
operation: "CreateServiceNetworkServiceAssociation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateServiceNetworkServiceAssociationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateServiceNetworkServiceAssociationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateServiceNetworkServiceAssociationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MercuryControlPlane", "CreateServiceNetworkServiceAssociation", {})
|
|
19
|
+
.n("VPCLatticeClient", "CreateServiceNetworkServiceAssociationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateServiceNetworkServiceAssociationCommand)
|
|
22
|
+
.de(de_CreateServiceNetworkServiceAssociationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|