@aws-sdk/client-app-mesh 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/CreateGatewayRouteCommand.js +18 -41
- package/dist-cjs/commands/CreateMeshCommand.js +18 -41
- package/dist-cjs/commands/CreateRouteCommand.js +18 -41
- package/dist-cjs/commands/CreateVirtualGatewayCommand.js +18 -41
- package/dist-cjs/commands/CreateVirtualNodeCommand.js +18 -41
- package/dist-cjs/commands/CreateVirtualRouterCommand.js +18 -41
- package/dist-cjs/commands/CreateVirtualServiceCommand.js +18 -41
- package/dist-cjs/commands/DeleteGatewayRouteCommand.js +18 -41
- package/dist-cjs/commands/DeleteMeshCommand.js +18 -41
- package/dist-cjs/commands/DeleteRouteCommand.js +18 -41
- package/dist-cjs/commands/DeleteVirtualGatewayCommand.js +18 -41
- package/dist-cjs/commands/DeleteVirtualNodeCommand.js +18 -41
- package/dist-cjs/commands/DeleteVirtualRouterCommand.js +18 -41
- package/dist-cjs/commands/DeleteVirtualServiceCommand.js +18 -41
- package/dist-cjs/commands/DescribeGatewayRouteCommand.js +18 -41
- package/dist-cjs/commands/DescribeMeshCommand.js +18 -41
- package/dist-cjs/commands/DescribeRouteCommand.js +18 -41
- package/dist-cjs/commands/DescribeVirtualGatewayCommand.js +18 -41
- package/dist-cjs/commands/DescribeVirtualNodeCommand.js +18 -41
- package/dist-cjs/commands/DescribeVirtualRouterCommand.js +18 -41
- package/dist-cjs/commands/DescribeVirtualServiceCommand.js +18 -41
- package/dist-cjs/commands/ListGatewayRoutesCommand.js +18 -41
- package/dist-cjs/commands/ListMeshesCommand.js +18 -41
- package/dist-cjs/commands/ListRoutesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListVirtualGatewaysCommand.js +18 -41
- package/dist-cjs/commands/ListVirtualNodesCommand.js +18 -41
- package/dist-cjs/commands/ListVirtualRoutersCommand.js +18 -41
- package/dist-cjs/commands/ListVirtualServicesCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateGatewayRouteCommand.js +18 -41
- package/dist-cjs/commands/UpdateMeshCommand.js +18 -41
- package/dist-cjs/commands/UpdateRouteCommand.js +18 -41
- package/dist-cjs/commands/UpdateVirtualGatewayCommand.js +18 -41
- package/dist-cjs/commands/UpdateVirtualNodeCommand.js +18 -41
- package/dist-cjs/commands/UpdateVirtualRouterCommand.js +18 -41
- package/dist-cjs/commands/UpdateVirtualServiceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListGatewayRoutesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMeshesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRoutesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualNodesPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualRoutersPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualServicesPaginator.js +2 -24
- package/dist-es/commands/CreateGatewayRouteCommand.js +18 -41
- package/dist-es/commands/CreateMeshCommand.js +18 -41
- package/dist-es/commands/CreateRouteCommand.js +18 -41
- package/dist-es/commands/CreateVirtualGatewayCommand.js +18 -41
- package/dist-es/commands/CreateVirtualNodeCommand.js +18 -41
- package/dist-es/commands/CreateVirtualRouterCommand.js +18 -41
- package/dist-es/commands/CreateVirtualServiceCommand.js +18 -41
- package/dist-es/commands/DeleteGatewayRouteCommand.js +18 -41
- package/dist-es/commands/DeleteMeshCommand.js +18 -41
- package/dist-es/commands/DeleteRouteCommand.js +18 -41
- package/dist-es/commands/DeleteVirtualGatewayCommand.js +18 -41
- package/dist-es/commands/DeleteVirtualNodeCommand.js +18 -41
- package/dist-es/commands/DeleteVirtualRouterCommand.js +18 -41
- package/dist-es/commands/DeleteVirtualServiceCommand.js +18 -41
- package/dist-es/commands/DescribeGatewayRouteCommand.js +18 -41
- package/dist-es/commands/DescribeMeshCommand.js +18 -41
- package/dist-es/commands/DescribeRouteCommand.js +18 -41
- package/dist-es/commands/DescribeVirtualGatewayCommand.js +18 -41
- package/dist-es/commands/DescribeVirtualNodeCommand.js +18 -41
- package/dist-es/commands/DescribeVirtualRouterCommand.js +18 -41
- package/dist-es/commands/DescribeVirtualServiceCommand.js +18 -41
- package/dist-es/commands/ListGatewayRoutesCommand.js +18 -41
- package/dist-es/commands/ListMeshesCommand.js +18 -41
- package/dist-es/commands/ListRoutesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListVirtualGatewaysCommand.js +18 -41
- package/dist-es/commands/ListVirtualNodesCommand.js +18 -41
- package/dist-es/commands/ListVirtualRoutersCommand.js +18 -41
- package/dist-es/commands/ListVirtualServicesCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateGatewayRouteCommand.js +18 -41
- package/dist-es/commands/UpdateMeshCommand.js +18 -41
- package/dist-es/commands/UpdateRouteCommand.js +18 -41
- package/dist-es/commands/UpdateVirtualGatewayCommand.js +18 -41
- package/dist-es/commands/UpdateVirtualNodeCommand.js +18 -41
- package/dist-es/commands/UpdateVirtualRouterCommand.js +18 -41
- package/dist-es/commands/UpdateVirtualServiceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListGatewayRoutesPaginator.js +2 -23
- package/dist-es/pagination/ListMeshesPaginator.js +2 -23
- package/dist-es/pagination/ListRoutesPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-es/pagination/ListVirtualGatewaysPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualNodesPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualRoutersPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualServicesPaginator.js +2 -23
- package/dist-types/commands/CreateGatewayRouteCommand.d.ts +6 -21
- package/dist-types/commands/CreateMeshCommand.d.ts +6 -21
- package/dist-types/commands/CreateRouteCommand.d.ts +6 -21
- package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +6 -21
- package/dist-types/commands/CreateVirtualNodeCommand.d.ts +6 -21
- package/dist-types/commands/CreateVirtualRouterCommand.d.ts +6 -21
- package/dist-types/commands/CreateVirtualServiceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGatewayRouteCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMeshCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRouteCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVirtualGatewayCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVirtualNodeCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVirtualRouterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVirtualServiceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMeshCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRouteCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVirtualGatewayCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVirtualNodeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVirtualRouterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVirtualServiceCommand.d.ts +6 -21
- package/dist-types/commands/ListGatewayRoutesCommand.d.ts +6 -21
- package/dist-types/commands/ListMeshesCommand.d.ts +6 -21
- package/dist-types/commands/ListRoutesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListVirtualGatewaysCommand.d.ts +6 -21
- package/dist-types/commands/ListVirtualNodesCommand.d.ts +6 -21
- package/dist-types/commands/ListVirtualRoutersCommand.d.ts +6 -21
- package/dist-types/commands/ListVirtualServicesCommand.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/UpdateGatewayRouteCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMeshCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRouteCommand.d.ts +6 -21
- package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +6 -21
- package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +6 -21
- package/dist-types/commands/UpdateVirtualRouterCommand.d.ts +6 -21
- package/dist-types/commands/UpdateVirtualServiceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListGatewayRoutesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMeshesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualGatewaysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualRoutersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualServicesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateGatewayRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMeshCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVirtualGatewayCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateVirtualNodeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVirtualRouterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVirtualServiceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteGatewayRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMeshCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVirtualGatewayCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteVirtualNodeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVirtualRouterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVirtualServiceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeGatewayRouteCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeMeshCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeVirtualGatewayCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeVirtualNodeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeVirtualRouterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeVirtualServiceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGatewayRoutesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMeshesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRoutesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVirtualGatewaysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVirtualNodesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVirtualRoutersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVirtualServicesCommand.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/UpdateGatewayRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMeshCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateVirtualGatewayCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateVirtualNodeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateVirtualRouterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateVirtualServiceCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListGatewayRoutesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMeshesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoutesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualGatewaysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualRoutersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualServicesPaginator.d.ts +3 -3
- 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 UpdateVirtualRouterCommand 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 = "AppMeshClient";
|
|
29
|
-
const commandName = "UpdateVirtualRouterCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AppMesh",
|
|
38
|
-
operation: "UpdateVirtualRouter",
|
|
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_UpdateVirtualRouterCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateVirtualRouterCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateVirtualRouterCommand 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("AppMesh", "UpdateVirtualRouter", {})
|
|
22
|
+
.n("AppMeshClient", "UpdateVirtualRouterCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateVirtualRouterCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateVirtualRouterCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateVirtualRouterCommand = UpdateVirtualRouterCommand;
|
|
@@ -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 UpdateVirtualServiceCommand 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 = "AppMeshClient";
|
|
29
|
-
const commandName = "UpdateVirtualServiceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AppMesh",
|
|
38
|
-
operation: "UpdateVirtualService",
|
|
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_UpdateVirtualServiceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateVirtualServiceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateVirtualServiceCommand 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("AppMesh", "UpdateVirtualService", {})
|
|
22
|
+
.n("AppMeshClient", "UpdateVirtualServiceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateVirtualServiceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateVirtualServiceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateVirtualServiceCommand = UpdateVirtualServiceCommand;
|
|
@@ -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,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGatewayRoutes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListGatewayRoutesCommand_1 = require("../commands/ListGatewayRoutesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGatewayRoutesCommand_1.ListGatewayRoutesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGatewayRoutes(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListGatewayRoutes = paginateListGatewayRoutes;
|
|
7
|
+
exports.paginateListGatewayRoutes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListGatewayRoutesCommand_1.ListGatewayRoutesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMeshes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListMeshesCommand_1 = require("../commands/ListMeshesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMeshesCommand_1.ListMeshesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMeshes(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListMeshes = paginateListMeshes;
|
|
7
|
+
exports.paginateListMeshes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListMeshesCommand_1.ListMeshesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRoutes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListRoutesCommand_1 = require("../commands/ListRoutesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRoutesCommand_1.ListRoutesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRoutes(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListRoutes = paginateListRoutes;
|
|
7
|
+
exports.paginateListRoutes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListRoutesCommand_1.ListRoutesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTagsForResource = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTagsForResource(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListTagsForResource = paginateListTagsForResource;
|
|
7
|
+
exports.paginateListTagsForResource = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualGateways = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualGatewaysCommand_1 = require("../commands/ListVirtualGatewaysCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualGatewaysCommand_1.ListVirtualGatewaysCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualGateways(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListVirtualGateways = paginateListVirtualGateways;
|
|
7
|
+
exports.paginateListVirtualGateways = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualGatewaysCommand_1.ListVirtualGatewaysCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualNodes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualNodesCommand_1 = require("../commands/ListVirtualNodesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualNodesCommand_1.ListVirtualNodesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualNodes(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListVirtualNodes = paginateListVirtualNodes;
|
|
7
|
+
exports.paginateListVirtualNodes = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualNodesCommand_1.ListVirtualNodesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualRouters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualRoutersCommand_1 = require("../commands/ListVirtualRoutersCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualRoutersCommand_1.ListVirtualRoutersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualRouters(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListVirtualRouters = paginateListVirtualRouters;
|
|
7
|
+
exports.paginateListVirtualRouters = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualRoutersCommand_1.ListVirtualRoutersCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVirtualServices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const AppMeshClient_1 = require("../AppMeshClient");
|
|
5
6
|
const ListVirtualServicesCommand_1 = require("../commands/ListVirtualServicesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVirtualServicesCommand_1.ListVirtualServicesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVirtualServices(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["limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof AppMeshClient_1.AppMeshClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected AppMesh | AppMeshClient");
|
|
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.paginateListVirtualServices = paginateListVirtualServices;
|
|
7
|
+
exports.paginateListVirtualServices = (0, core_1.createPaginator)(AppMeshClient_1.AppMeshClient, ListVirtualServicesCommand_1.ListVirtualServicesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -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_CreateGatewayRouteCommand, se_CreateGatewayRouteCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateGatewayRouteCommand 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 = "AppMeshClient";
|
|
26
|
-
const commandName = "CreateGatewayRouteCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AppMesh",
|
|
35
|
-
operation: "CreateGatewayRoute",
|
|
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_CreateGatewayRouteCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateGatewayRouteCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateGatewayRouteCommand 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("AppMesh", "CreateGatewayRoute", {})
|
|
19
|
+
.n("AppMeshClient", "CreateGatewayRouteCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateGatewayRouteCommand)
|
|
22
|
+
.de(de_CreateGatewayRouteCommand)
|
|
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_CreateMeshCommand, se_CreateMeshCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateMeshCommand 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 = "AppMeshClient";
|
|
26
|
-
const commandName = "CreateMeshCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AppMesh",
|
|
35
|
-
operation: "CreateMesh",
|
|
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_CreateMeshCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateMeshCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateMeshCommand 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("AppMesh", "CreateMesh", {})
|
|
19
|
+
.n("AppMeshClient", "CreateMeshCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateMeshCommand)
|
|
22
|
+
.de(de_CreateMeshCommand)
|
|
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_CreateRouteCommand, se_CreateRouteCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateRouteCommand 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 = "AppMeshClient";
|
|
26
|
-
const commandName = "CreateRouteCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AppMesh",
|
|
35
|
-
operation: "CreateRoute",
|
|
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_CreateRouteCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateRouteCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateRouteCommand 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("AppMesh", "CreateRoute", {})
|
|
19
|
+
.n("AppMeshClient", "CreateRouteCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateRouteCommand)
|
|
22
|
+
.de(de_CreateRouteCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|