@aws-sdk/client-app-mesh 3.35.0 → 3.36.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/CHANGELOG.md +13 -0
- package/dist-cjs/AppMesh.js +0 -1
- package/dist-cjs/AppMeshClient.js +0 -1
- package/dist-cjs/commands/CreateGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/CreateMeshCommand.js +0 -1
- package/dist-cjs/commands/CreateRouteCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/CreateVirtualServiceCommand.js +0 -1
- package/dist-cjs/commands/DeleteGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/DeleteMeshCommand.js +0 -1
- package/dist-cjs/commands/DeleteRouteCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/DeleteVirtualServiceCommand.js +0 -1
- package/dist-cjs/commands/DescribeGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/DescribeMeshCommand.js +0 -1
- package/dist-cjs/commands/DescribeRouteCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/DescribeVirtualServiceCommand.js +0 -1
- package/dist-cjs/commands/ListGatewayRoutesCommand.js +0 -1
- package/dist-cjs/commands/ListMeshesCommand.js +0 -1
- package/dist-cjs/commands/ListRoutesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualGatewaysCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualNodesCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualRoutersCommand.js +0 -1
- package/dist-cjs/commands/ListVirtualServicesCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateGatewayRouteCommand.js +0 -1
- package/dist-cjs/commands/UpdateMeshCommand.js +0 -1
- package/dist-cjs/commands/UpdateRouteCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualGatewayCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualNodeCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualRouterCommand.js +0 -1
- package/dist-cjs/commands/UpdateVirtualServiceCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListGatewayRoutesPaginator.js +0 -1
- package/dist-cjs/pagination/ListMeshesPaginator.js +0 -1
- package/dist-cjs/pagination/ListRoutesPaginator.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualNodesPaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualRoutersPaginator.js +0 -1
- package/dist-cjs/pagination/ListVirtualServicesPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/AppMesh.js +0 -1
- package/dist-es/AppMeshClient.js +0 -1
- package/dist-es/commands/CreateGatewayRouteCommand.js +0 -1
- package/dist-es/commands/CreateMeshCommand.js +0 -1
- package/dist-es/commands/CreateRouteCommand.js +0 -1
- package/dist-es/commands/CreateVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/CreateVirtualNodeCommand.js +0 -1
- package/dist-es/commands/CreateVirtualRouterCommand.js +0 -1
- package/dist-es/commands/CreateVirtualServiceCommand.js +0 -1
- package/dist-es/commands/DeleteGatewayRouteCommand.js +0 -1
- package/dist-es/commands/DeleteMeshCommand.js +0 -1
- package/dist-es/commands/DeleteRouteCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualNodeCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualRouterCommand.js +0 -1
- package/dist-es/commands/DeleteVirtualServiceCommand.js +0 -1
- package/dist-es/commands/DescribeGatewayRouteCommand.js +0 -1
- package/dist-es/commands/DescribeMeshCommand.js +0 -1
- package/dist-es/commands/DescribeRouteCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualNodeCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualRouterCommand.js +0 -1
- package/dist-es/commands/DescribeVirtualServiceCommand.js +0 -1
- package/dist-es/commands/ListGatewayRoutesCommand.js +0 -1
- package/dist-es/commands/ListMeshesCommand.js +0 -1
- package/dist-es/commands/ListRoutesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListVirtualGatewaysCommand.js +0 -1
- package/dist-es/commands/ListVirtualNodesCommand.js +0 -1
- package/dist-es/commands/ListVirtualRoutersCommand.js +0 -1
- package/dist-es/commands/ListVirtualServicesCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateGatewayRouteCommand.js +0 -1
- package/dist-es/commands/UpdateMeshCommand.js +0 -1
- package/dist-es/commands/UpdateRouteCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualGatewayCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualNodeCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualRouterCommand.js +0 -1
- package/dist-es/commands/UpdateVirtualServiceCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListGatewayRoutesPaginator.js +0 -1
- package/dist-es/pagination/ListMeshesPaginator.js +0 -1
- package/dist-es/pagination/ListRoutesPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/ListVirtualGatewaysPaginator.js +0 -1
- package/dist-es/pagination/ListVirtualNodesPaginator.js +0 -1
- package/dist-es/pagination/ListVirtualRoutersPaginator.js +0 -1
- package/dist-es/pagination/ListVirtualServicesPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/AppMesh.js.map +0 -1
- package/dist-cjs/AppMeshClient.js.map +0 -1
- package/dist-cjs/commands/CreateGatewayRouteCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMeshCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRouteCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVirtualGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVirtualNodeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVirtualRouterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVirtualServiceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGatewayRouteCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMeshCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRouteCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVirtualGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVirtualNodeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVirtualRouterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVirtualServiceCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGatewayRouteCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMeshCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRouteCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVirtualGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVirtualNodeCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVirtualRouterCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVirtualServiceCommand.js.map +0 -1
- package/dist-cjs/commands/ListGatewayRoutesCommand.js.map +0 -1
- package/dist-cjs/commands/ListMeshesCommand.js.map +0 -1
- package/dist-cjs/commands/ListRoutesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListVirtualGatewaysCommand.js.map +0 -1
- package/dist-cjs/commands/ListVirtualNodesCommand.js.map +0 -1
- package/dist-cjs/commands/ListVirtualRoutersCommand.js.map +0 -1
- package/dist-cjs/commands/ListVirtualServicesCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGatewayRouteCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateMeshCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRouteCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVirtualGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVirtualNodeCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVirtualRouterCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVirtualServiceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListGatewayRoutesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListMeshesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRoutesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVirtualNodesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVirtualRoutersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVirtualServicesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/AppMesh.js.map +0 -1
- package/dist-es/AppMeshClient.js.map +0 -1
- package/dist-es/commands/CreateGatewayRouteCommand.js.map +0 -1
- package/dist-es/commands/CreateMeshCommand.js.map +0 -1
- package/dist-es/commands/CreateRouteCommand.js.map +0 -1
- package/dist-es/commands/CreateVirtualGatewayCommand.js.map +0 -1
- package/dist-es/commands/CreateVirtualNodeCommand.js.map +0 -1
- package/dist-es/commands/CreateVirtualRouterCommand.js.map +0 -1
- package/dist-es/commands/CreateVirtualServiceCommand.js.map +0 -1
- package/dist-es/commands/DeleteGatewayRouteCommand.js.map +0 -1
- package/dist-es/commands/DeleteMeshCommand.js.map +0 -1
- package/dist-es/commands/DeleteRouteCommand.js.map +0 -1
- package/dist-es/commands/DeleteVirtualGatewayCommand.js.map +0 -1
- package/dist-es/commands/DeleteVirtualNodeCommand.js.map +0 -1
- package/dist-es/commands/DeleteVirtualRouterCommand.js.map +0 -1
- package/dist-es/commands/DeleteVirtualServiceCommand.js.map +0 -1
- package/dist-es/commands/DescribeGatewayRouteCommand.js.map +0 -1
- package/dist-es/commands/DescribeMeshCommand.js.map +0 -1
- package/dist-es/commands/DescribeRouteCommand.js.map +0 -1
- package/dist-es/commands/DescribeVirtualGatewayCommand.js.map +0 -1
- package/dist-es/commands/DescribeVirtualNodeCommand.js.map +0 -1
- package/dist-es/commands/DescribeVirtualRouterCommand.js.map +0 -1
- package/dist-es/commands/DescribeVirtualServiceCommand.js.map +0 -1
- package/dist-es/commands/ListGatewayRoutesCommand.js.map +0 -1
- package/dist-es/commands/ListMeshesCommand.js.map +0 -1
- package/dist-es/commands/ListRoutesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListVirtualGatewaysCommand.js.map +0 -1
- package/dist-es/commands/ListVirtualNodesCommand.js.map +0 -1
- package/dist-es/commands/ListVirtualRoutersCommand.js.map +0 -1
- package/dist-es/commands/ListVirtualServicesCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateGatewayRouteCommand.js.map +0 -1
- package/dist-es/commands/UpdateMeshCommand.js.map +0 -1
- package/dist-es/commands/UpdateRouteCommand.js.map +0 -1
- package/dist-es/commands/UpdateVirtualGatewayCommand.js.map +0 -1
- package/dist-es/commands/UpdateVirtualNodeCommand.js.map +0 -1
- package/dist-es/commands/UpdateVirtualRouterCommand.js.map +0 -1
- package/dist-es/commands/UpdateVirtualServiceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListGatewayRoutesPaginator.js.map +0 -1
- package/dist-es/pagination/ListMeshesPaginator.js.map +0 -1
- package/dist-es/pagination/ListRoutesPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/pagination/ListVirtualGatewaysPaginator.js.map +0 -1
- package/dist-es/pagination/ListVirtualNodesPaginator.js.map +0 -1
- package/dist-es/pagination/ListVirtualRoutersPaginator.js.map +0 -1
- package/dist-es/pagination/ListVirtualServicesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/AppMesh.ts +0 -1397
- package/src/AppMeshClient.ts +0 -413
- package/src/commands/CreateGatewayRouteCommand.ts +0 -99
- package/src/commands/CreateMeshCommand.ts +0 -100
- package/src/commands/CreateRouteCommand.ts +0 -98
- package/src/commands/CreateVirtualGatewayCommand.ts +0 -101
- package/src/commands/CreateVirtualNodeCommand.ts +0 -117
- package/src/commands/CreateVirtualRouterCommand.ts +0 -101
- package/src/commands/CreateVirtualServiceCommand.ts +0 -101
- package/src/commands/DeleteGatewayRouteCommand.ts +0 -95
- package/src/commands/DeleteMeshCommand.ts +0 -97
- package/src/commands/DeleteRouteCommand.ts +0 -95
- package/src/commands/DeleteVirtualGatewayCommand.ts +0 -96
- package/src/commands/DeleteVirtualNodeCommand.ts +0 -97
- package/src/commands/DeleteVirtualRouterCommand.ts +0 -97
- package/src/commands/DeleteVirtualServiceCommand.ts +0 -95
- package/src/commands/DescribeGatewayRouteCommand.ts +0 -95
- package/src/commands/DescribeMeshCommand.ts +0 -95
- package/src/commands/DescribeRouteCommand.ts +0 -95
- package/src/commands/DescribeVirtualGatewayCommand.ts +0 -95
- package/src/commands/DescribeVirtualNodeCommand.ts +0 -95
- package/src/commands/DescribeVirtualRouterCommand.ts +0 -95
- package/src/commands/DescribeVirtualServiceCommand.ts +0 -95
- package/src/commands/ListGatewayRoutesCommand.ts +0 -96
- package/src/commands/ListMeshesCommand.ts +0 -95
- package/src/commands/ListRoutesCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListVirtualGatewaysCommand.ts +0 -95
- package/src/commands/ListVirtualNodesCommand.ts +0 -95
- package/src/commands/ListVirtualRoutersCommand.ts +0 -95
- package/src/commands/ListVirtualServicesCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateGatewayRouteCommand.ts +0 -96
- package/src/commands/UpdateMeshCommand.ts +0 -95
- package/src/commands/UpdateRouteCommand.ts +0 -95
- package/src/commands/UpdateVirtualGatewayCommand.ts +0 -95
- package/src/commands/UpdateVirtualNodeCommand.ts +0 -95
- package/src/commands/UpdateVirtualRouterCommand.ts +0 -95
- package/src/commands/UpdateVirtualServiceCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -50
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -7391
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListGatewayRoutesPaginator.ts +0 -59
- package/src/pagination/ListMeshesPaginator.ts +0 -55
- package/src/pagination/ListRoutesPaginator.ts +0 -55
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/pagination/ListVirtualGatewaysPaginator.ts +0 -59
- package/src/pagination/ListVirtualNodesPaginator.ts +0 -59
- package/src/pagination/ListVirtualRoutersPaginator.ts +0 -59
- package/src/pagination/ListVirtualServicesPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -9672
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
15
|
-
import { ListMeshesInput, ListMeshesOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListMeshesCommand,
|
|
18
|
-
serializeAws_restJson1ListMeshesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListMeshesCommandInput extends ListMeshesInput {}
|
|
22
|
-
export interface ListMeshesCommandOutput extends ListMeshesOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of existing service meshes.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, ListMeshesCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, ListMeshesCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new ListMeshesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListMeshesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListMeshesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListMeshesCommand extends $Command<
|
|
42
|
-
ListMeshesCommandInput,
|
|
43
|
-
ListMeshesCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListMeshesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListMeshesCommandInput, ListMeshesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "ListMeshesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListMeshesInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListMeshesOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListMeshesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListMeshesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListMeshesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListMeshesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
15
|
-
import { ListRoutesInput, ListRoutesOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListRoutesCommand,
|
|
18
|
-
serializeAws_restJson1ListRoutesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListRoutesCommandInput extends ListRoutesInput {}
|
|
22
|
-
export interface ListRoutesCommandOutput extends ListRoutesOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of existing routes in a service mesh.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, ListRoutesCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, ListRoutesCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new ListRoutesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListRoutesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListRoutesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListRoutesCommand extends $Command<
|
|
42
|
-
ListRoutesCommandInput,
|
|
43
|
-
ListRoutesCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListRoutesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListRoutesCommandInput, ListRoutesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "ListRoutesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListRoutesInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListRoutesOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListRoutesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListRoutesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRoutesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListRoutesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
15
|
-
import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
18
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>List the tags for an App Mesh resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, ListTagsForResourceCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, ListTagsForResourceCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
15
|
-
import { ListVirtualGatewaysInput, ListVirtualGatewaysOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListVirtualGatewaysCommand,
|
|
18
|
-
serializeAws_restJson1ListVirtualGatewaysCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListVirtualGatewaysCommandInput extends ListVirtualGatewaysInput {}
|
|
22
|
-
export interface ListVirtualGatewaysCommandOutput extends ListVirtualGatewaysOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of existing virtual gateways in a service mesh.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, ListVirtualGatewaysCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, ListVirtualGatewaysCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new ListVirtualGatewaysCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListVirtualGatewaysCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListVirtualGatewaysCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListVirtualGatewaysCommand extends $Command<
|
|
42
|
-
ListVirtualGatewaysCommandInput,
|
|
43
|
-
ListVirtualGatewaysCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListVirtualGatewaysCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListVirtualGatewaysCommandInput, ListVirtualGatewaysCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "ListVirtualGatewaysCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListVirtualGatewaysInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListVirtualGatewaysOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListVirtualGatewaysCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListVirtualGatewaysCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVirtualGatewaysCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListVirtualGatewaysCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
15
|
-
import { ListVirtualNodesInput, ListVirtualNodesOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListVirtualNodesCommand,
|
|
18
|
-
serializeAws_restJson1ListVirtualNodesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListVirtualNodesCommandInput extends ListVirtualNodesInput {}
|
|
22
|
-
export interface ListVirtualNodesCommandOutput extends ListVirtualNodesOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of existing virtual nodes.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, ListVirtualNodesCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, ListVirtualNodesCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new ListVirtualNodesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListVirtualNodesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListVirtualNodesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListVirtualNodesCommand extends $Command<
|
|
42
|
-
ListVirtualNodesCommandInput,
|
|
43
|
-
ListVirtualNodesCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListVirtualNodesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListVirtualNodesCommandInput, ListVirtualNodesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "ListVirtualNodesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListVirtualNodesInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListVirtualNodesOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListVirtualNodesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListVirtualNodesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVirtualNodesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListVirtualNodesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
15
|
-
import { ListVirtualRoutersInput, ListVirtualRoutersOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListVirtualRoutersCommand,
|
|
18
|
-
serializeAws_restJson1ListVirtualRoutersCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListVirtualRoutersCommandInput extends ListVirtualRoutersInput {}
|
|
22
|
-
export interface ListVirtualRoutersCommandOutput extends ListVirtualRoutersOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of existing virtual routers in a service mesh.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, ListVirtualRoutersCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, ListVirtualRoutersCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new ListVirtualRoutersCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListVirtualRoutersCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListVirtualRoutersCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListVirtualRoutersCommand extends $Command<
|
|
42
|
-
ListVirtualRoutersCommandInput,
|
|
43
|
-
ListVirtualRoutersCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListVirtualRoutersCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListVirtualRoutersCommandInput, ListVirtualRoutersCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "ListVirtualRoutersCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListVirtualRoutersInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListVirtualRoutersOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListVirtualRoutersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListVirtualRoutersCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVirtualRoutersCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListVirtualRoutersCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AppMeshClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppMeshClient";
|
|
15
|
-
import { ListVirtualServicesInput, ListVirtualServicesOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListVirtualServicesCommand,
|
|
18
|
-
serializeAws_restJson1ListVirtualServicesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListVirtualServicesCommandInput extends ListVirtualServicesInput {}
|
|
22
|
-
export interface ListVirtualServicesCommandOutput extends ListVirtualServicesOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of existing virtual services in a service mesh.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppMeshClient, ListVirtualServicesCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
|
|
30
|
-
* // const { AppMeshClient, ListVirtualServicesCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
|
|
31
|
-
* const client = new AppMeshClient(config);
|
|
32
|
-
* const command = new ListVirtualServicesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListVirtualServicesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListVirtualServicesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppMeshClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListVirtualServicesCommand extends $Command<
|
|
42
|
-
ListVirtualServicesCommandInput,
|
|
43
|
-
ListVirtualServicesCommandOutput,
|
|
44
|
-
AppMeshClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListVirtualServicesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppMeshClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListVirtualServicesCommandInput, ListVirtualServicesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppMeshClient";
|
|
69
|
-
const commandName = "ListVirtualServicesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListVirtualServicesInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListVirtualServicesOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListVirtualServicesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListVirtualServicesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVirtualServicesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListVirtualServicesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|