@aws-sdk/client-vpc-lattice 3.478.0 → 3.484.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-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-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/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/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateAccessLogSubscriptionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "VPCLatticeClient";
|
|
29
|
-
const commandName = "UpdateAccessLogSubscriptionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MercuryControlPlane",
|
|
38
|
-
operation: "UpdateAccessLogSubscription",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateAccessLogSubscriptionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateAccessLogSubscriptionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateAccessLogSubscriptionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MercuryControlPlane", "UpdateAccessLogSubscription", {})
|
|
22
|
+
.n("VPCLatticeClient", "UpdateAccessLogSubscriptionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateAccessLogSubscriptionCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateAccessLogSubscriptionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateAccessLogSubscriptionCommand = UpdateAccessLogSubscriptionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateListenerCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "VPCLatticeClient";
|
|
29
|
-
const commandName = "UpdateListenerCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MercuryControlPlane",
|
|
38
|
-
operation: "UpdateListener",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateListenerCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateListenerCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateListenerCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MercuryControlPlane", "UpdateListener", {})
|
|
22
|
+
.n("VPCLatticeClient", "UpdateListenerCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateListenerCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateListenerCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateListenerCommand = UpdateListenerCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateRuleCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "VPCLatticeClient";
|
|
29
|
-
const commandName = "UpdateRuleCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MercuryControlPlane",
|
|
38
|
-
operation: "UpdateRule",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateRuleCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateRuleCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRuleCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MercuryControlPlane", "UpdateRule", {})
|
|
22
|
+
.n("VPCLatticeClient", "UpdateRuleCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateRuleCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateRuleCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRuleCommand = UpdateRuleCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateServiceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "VPCLatticeClient";
|
|
29
|
-
const commandName = "UpdateServiceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MercuryControlPlane",
|
|
38
|
-
operation: "UpdateService",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateServiceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateServiceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateServiceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MercuryControlPlane", "UpdateService", {})
|
|
22
|
+
.n("VPCLatticeClient", "UpdateServiceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateServiceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateServiceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateServiceCommand = UpdateServiceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateServiceNetworkCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "VPCLatticeClient";
|
|
29
|
-
const commandName = "UpdateServiceNetworkCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MercuryControlPlane",
|
|
38
|
-
operation: "UpdateServiceNetwork",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateServiceNetworkCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateServiceNetworkCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateServiceNetworkCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MercuryControlPlane", "UpdateServiceNetwork", {})
|
|
22
|
+
.n("VPCLatticeClient", "UpdateServiceNetworkCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateServiceNetworkCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateServiceNetworkCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateServiceNetworkCommand = UpdateServiceNetworkCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateServiceNetworkVpcAssociationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "VPCLatticeClient";
|
|
29
|
-
const commandName = "UpdateServiceNetworkVpcAssociationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MercuryControlPlane",
|
|
38
|
-
operation: "UpdateServiceNetworkVpcAssociation",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateServiceNetworkVpcAssociationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateServiceNetworkVpcAssociationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateServiceNetworkVpcAssociationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MercuryControlPlane", "UpdateServiceNetworkVpcAssociation", {})
|
|
22
|
+
.n("VPCLatticeClient", "UpdateServiceNetworkVpcAssociationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateServiceNetworkVpcAssociationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateServiceNetworkVpcAssociationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateServiceNetworkVpcAssociationCommand = UpdateServiceNetworkVpcAssociationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateTargetGroupCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "VPCLatticeClient";
|
|
29
|
-
const commandName = "UpdateTargetGroupCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MercuryControlPlane",
|
|
38
|
-
operation: "UpdateTargetGroup",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateTargetGroupCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateTargetGroupCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateTargetGroupCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MercuryControlPlane", "UpdateTargetGroup", {})
|
|
22
|
+
.n("VPCLatticeClient", "UpdateTargetGroupCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateTargetGroupCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateTargetGroupCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateTargetGroupCommand = UpdateTargetGroupCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -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
|
}
|