@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
package/src/AppMesh.ts
DELETED
|
@@ -1,1397 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppMeshClient } from "./AppMeshClient";
|
|
4
|
-
import {
|
|
5
|
-
CreateGatewayRouteCommand,
|
|
6
|
-
CreateGatewayRouteCommandInput,
|
|
7
|
-
CreateGatewayRouteCommandOutput,
|
|
8
|
-
} from "./commands/CreateGatewayRouteCommand";
|
|
9
|
-
import { CreateMeshCommand, CreateMeshCommandInput, CreateMeshCommandOutput } from "./commands/CreateMeshCommand";
|
|
10
|
-
import { CreateRouteCommand, CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
|
|
11
|
-
import {
|
|
12
|
-
CreateVirtualGatewayCommand,
|
|
13
|
-
CreateVirtualGatewayCommandInput,
|
|
14
|
-
CreateVirtualGatewayCommandOutput,
|
|
15
|
-
} from "./commands/CreateVirtualGatewayCommand";
|
|
16
|
-
import {
|
|
17
|
-
CreateVirtualNodeCommand,
|
|
18
|
-
CreateVirtualNodeCommandInput,
|
|
19
|
-
CreateVirtualNodeCommandOutput,
|
|
20
|
-
} from "./commands/CreateVirtualNodeCommand";
|
|
21
|
-
import {
|
|
22
|
-
CreateVirtualRouterCommand,
|
|
23
|
-
CreateVirtualRouterCommandInput,
|
|
24
|
-
CreateVirtualRouterCommandOutput,
|
|
25
|
-
} from "./commands/CreateVirtualRouterCommand";
|
|
26
|
-
import {
|
|
27
|
-
CreateVirtualServiceCommand,
|
|
28
|
-
CreateVirtualServiceCommandInput,
|
|
29
|
-
CreateVirtualServiceCommandOutput,
|
|
30
|
-
} from "./commands/CreateVirtualServiceCommand";
|
|
31
|
-
import {
|
|
32
|
-
DeleteGatewayRouteCommand,
|
|
33
|
-
DeleteGatewayRouteCommandInput,
|
|
34
|
-
DeleteGatewayRouteCommandOutput,
|
|
35
|
-
} from "./commands/DeleteGatewayRouteCommand";
|
|
36
|
-
import { DeleteMeshCommand, DeleteMeshCommandInput, DeleteMeshCommandOutput } from "./commands/DeleteMeshCommand";
|
|
37
|
-
import { DeleteRouteCommand, DeleteRouteCommandInput, DeleteRouteCommandOutput } from "./commands/DeleteRouteCommand";
|
|
38
|
-
import {
|
|
39
|
-
DeleteVirtualGatewayCommand,
|
|
40
|
-
DeleteVirtualGatewayCommandInput,
|
|
41
|
-
DeleteVirtualGatewayCommandOutput,
|
|
42
|
-
} from "./commands/DeleteVirtualGatewayCommand";
|
|
43
|
-
import {
|
|
44
|
-
DeleteVirtualNodeCommand,
|
|
45
|
-
DeleteVirtualNodeCommandInput,
|
|
46
|
-
DeleteVirtualNodeCommandOutput,
|
|
47
|
-
} from "./commands/DeleteVirtualNodeCommand";
|
|
48
|
-
import {
|
|
49
|
-
DeleteVirtualRouterCommand,
|
|
50
|
-
DeleteVirtualRouterCommandInput,
|
|
51
|
-
DeleteVirtualRouterCommandOutput,
|
|
52
|
-
} from "./commands/DeleteVirtualRouterCommand";
|
|
53
|
-
import {
|
|
54
|
-
DeleteVirtualServiceCommand,
|
|
55
|
-
DeleteVirtualServiceCommandInput,
|
|
56
|
-
DeleteVirtualServiceCommandOutput,
|
|
57
|
-
} from "./commands/DeleteVirtualServiceCommand";
|
|
58
|
-
import {
|
|
59
|
-
DescribeGatewayRouteCommand,
|
|
60
|
-
DescribeGatewayRouteCommandInput,
|
|
61
|
-
DescribeGatewayRouteCommandOutput,
|
|
62
|
-
} from "./commands/DescribeGatewayRouteCommand";
|
|
63
|
-
import {
|
|
64
|
-
DescribeMeshCommand,
|
|
65
|
-
DescribeMeshCommandInput,
|
|
66
|
-
DescribeMeshCommandOutput,
|
|
67
|
-
} from "./commands/DescribeMeshCommand";
|
|
68
|
-
import {
|
|
69
|
-
DescribeRouteCommand,
|
|
70
|
-
DescribeRouteCommandInput,
|
|
71
|
-
DescribeRouteCommandOutput,
|
|
72
|
-
} from "./commands/DescribeRouteCommand";
|
|
73
|
-
import {
|
|
74
|
-
DescribeVirtualGatewayCommand,
|
|
75
|
-
DescribeVirtualGatewayCommandInput,
|
|
76
|
-
DescribeVirtualGatewayCommandOutput,
|
|
77
|
-
} from "./commands/DescribeVirtualGatewayCommand";
|
|
78
|
-
import {
|
|
79
|
-
DescribeVirtualNodeCommand,
|
|
80
|
-
DescribeVirtualNodeCommandInput,
|
|
81
|
-
DescribeVirtualNodeCommandOutput,
|
|
82
|
-
} from "./commands/DescribeVirtualNodeCommand";
|
|
83
|
-
import {
|
|
84
|
-
DescribeVirtualRouterCommand,
|
|
85
|
-
DescribeVirtualRouterCommandInput,
|
|
86
|
-
DescribeVirtualRouterCommandOutput,
|
|
87
|
-
} from "./commands/DescribeVirtualRouterCommand";
|
|
88
|
-
import {
|
|
89
|
-
DescribeVirtualServiceCommand,
|
|
90
|
-
DescribeVirtualServiceCommandInput,
|
|
91
|
-
DescribeVirtualServiceCommandOutput,
|
|
92
|
-
} from "./commands/DescribeVirtualServiceCommand";
|
|
93
|
-
import {
|
|
94
|
-
ListGatewayRoutesCommand,
|
|
95
|
-
ListGatewayRoutesCommandInput,
|
|
96
|
-
ListGatewayRoutesCommandOutput,
|
|
97
|
-
} from "./commands/ListGatewayRoutesCommand";
|
|
98
|
-
import { ListMeshesCommand, ListMeshesCommandInput, ListMeshesCommandOutput } from "./commands/ListMeshesCommand";
|
|
99
|
-
import { ListRoutesCommand, ListRoutesCommandInput, ListRoutesCommandOutput } from "./commands/ListRoutesCommand";
|
|
100
|
-
import {
|
|
101
|
-
ListTagsForResourceCommand,
|
|
102
|
-
ListTagsForResourceCommandInput,
|
|
103
|
-
ListTagsForResourceCommandOutput,
|
|
104
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
105
|
-
import {
|
|
106
|
-
ListVirtualGatewaysCommand,
|
|
107
|
-
ListVirtualGatewaysCommandInput,
|
|
108
|
-
ListVirtualGatewaysCommandOutput,
|
|
109
|
-
} from "./commands/ListVirtualGatewaysCommand";
|
|
110
|
-
import {
|
|
111
|
-
ListVirtualNodesCommand,
|
|
112
|
-
ListVirtualNodesCommandInput,
|
|
113
|
-
ListVirtualNodesCommandOutput,
|
|
114
|
-
} from "./commands/ListVirtualNodesCommand";
|
|
115
|
-
import {
|
|
116
|
-
ListVirtualRoutersCommand,
|
|
117
|
-
ListVirtualRoutersCommandInput,
|
|
118
|
-
ListVirtualRoutersCommandOutput,
|
|
119
|
-
} from "./commands/ListVirtualRoutersCommand";
|
|
120
|
-
import {
|
|
121
|
-
ListVirtualServicesCommand,
|
|
122
|
-
ListVirtualServicesCommandInput,
|
|
123
|
-
ListVirtualServicesCommandOutput,
|
|
124
|
-
} from "./commands/ListVirtualServicesCommand";
|
|
125
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
126
|
-
import {
|
|
127
|
-
UntagResourceCommand,
|
|
128
|
-
UntagResourceCommandInput,
|
|
129
|
-
UntagResourceCommandOutput,
|
|
130
|
-
} from "./commands/UntagResourceCommand";
|
|
131
|
-
import {
|
|
132
|
-
UpdateGatewayRouteCommand,
|
|
133
|
-
UpdateGatewayRouteCommandInput,
|
|
134
|
-
UpdateGatewayRouteCommandOutput,
|
|
135
|
-
} from "./commands/UpdateGatewayRouteCommand";
|
|
136
|
-
import { UpdateMeshCommand, UpdateMeshCommandInput, UpdateMeshCommandOutput } from "./commands/UpdateMeshCommand";
|
|
137
|
-
import { UpdateRouteCommand, UpdateRouteCommandInput, UpdateRouteCommandOutput } from "./commands/UpdateRouteCommand";
|
|
138
|
-
import {
|
|
139
|
-
UpdateVirtualGatewayCommand,
|
|
140
|
-
UpdateVirtualGatewayCommandInput,
|
|
141
|
-
UpdateVirtualGatewayCommandOutput,
|
|
142
|
-
} from "./commands/UpdateVirtualGatewayCommand";
|
|
143
|
-
import {
|
|
144
|
-
UpdateVirtualNodeCommand,
|
|
145
|
-
UpdateVirtualNodeCommandInput,
|
|
146
|
-
UpdateVirtualNodeCommandOutput,
|
|
147
|
-
} from "./commands/UpdateVirtualNodeCommand";
|
|
148
|
-
import {
|
|
149
|
-
UpdateVirtualRouterCommand,
|
|
150
|
-
UpdateVirtualRouterCommandInput,
|
|
151
|
-
UpdateVirtualRouterCommandOutput,
|
|
152
|
-
} from "./commands/UpdateVirtualRouterCommand";
|
|
153
|
-
import {
|
|
154
|
-
UpdateVirtualServiceCommand,
|
|
155
|
-
UpdateVirtualServiceCommandInput,
|
|
156
|
-
UpdateVirtualServiceCommandOutput,
|
|
157
|
-
} from "./commands/UpdateVirtualServiceCommand";
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* <p>App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and
|
|
161
|
-
* control microservices. App Mesh standardizes how your microservices communicate, giving you
|
|
162
|
-
* end-to-end visibility and helping to ensure high availability for your applications.</p>
|
|
163
|
-
* <p>App Mesh gives you consistent visibility and network traffic controls for every
|
|
164
|
-
* microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS,
|
|
165
|
-
* Kubernetes on Amazon Web Services, and Amazon EC2.</p>
|
|
166
|
-
* <note>
|
|
167
|
-
* <p>App Mesh supports microservice applications that use service discovery naming for their
|
|
168
|
-
* components. For more information about service discovery on Amazon ECS, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes
|
|
169
|
-
* <code>kube-dns</code> and <code>coredns</code> are supported. For more information,
|
|
170
|
-
* see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS
|
|
171
|
-
* for Services and Pods</a> in the Kubernetes documentation.</p>
|
|
172
|
-
* </note>
|
|
173
|
-
*/
|
|
174
|
-
export class AppMesh extends AppMeshClient {
|
|
175
|
-
/**
|
|
176
|
-
* <p>Creates a gateway route.</p>
|
|
177
|
-
* <p>A gateway route is attached to a virtual gateway and routes traffic to an existing
|
|
178
|
-
* virtual service. If a route matches a request, it can distribute traffic to a target
|
|
179
|
-
* virtual service.</p>
|
|
180
|
-
* <p>For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway routes</a>.</p>
|
|
181
|
-
*/
|
|
182
|
-
public createGatewayRoute(
|
|
183
|
-
args: CreateGatewayRouteCommandInput,
|
|
184
|
-
options?: __HttpHandlerOptions
|
|
185
|
-
): Promise<CreateGatewayRouteCommandOutput>;
|
|
186
|
-
public createGatewayRoute(
|
|
187
|
-
args: CreateGatewayRouteCommandInput,
|
|
188
|
-
cb: (err: any, data?: CreateGatewayRouteCommandOutput) => void
|
|
189
|
-
): void;
|
|
190
|
-
public createGatewayRoute(
|
|
191
|
-
args: CreateGatewayRouteCommandInput,
|
|
192
|
-
options: __HttpHandlerOptions,
|
|
193
|
-
cb: (err: any, data?: CreateGatewayRouteCommandOutput) => void
|
|
194
|
-
): void;
|
|
195
|
-
public createGatewayRoute(
|
|
196
|
-
args: CreateGatewayRouteCommandInput,
|
|
197
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGatewayRouteCommandOutput) => void),
|
|
198
|
-
cb?: (err: any, data?: CreateGatewayRouteCommandOutput) => void
|
|
199
|
-
): Promise<CreateGatewayRouteCommandOutput> | void {
|
|
200
|
-
const command = new CreateGatewayRouteCommand(args);
|
|
201
|
-
if (typeof optionsOrCb === "function") {
|
|
202
|
-
this.send(command, optionsOrCb);
|
|
203
|
-
} else if (typeof cb === "function") {
|
|
204
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
-
} else {
|
|
207
|
-
return this.send(command, optionsOrCb);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* <p>Creates a service mesh.</p>
|
|
213
|
-
* <p> A service mesh is a logical boundary for network traffic between services that are
|
|
214
|
-
* represented by resources within the mesh. After you create your service mesh, you can
|
|
215
|
-
* create virtual services, virtual nodes, virtual routers, and routes to distribute traffic
|
|
216
|
-
* between the applications in your mesh.</p>
|
|
217
|
-
* <p>For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service meshes</a>.</p>
|
|
218
|
-
*/
|
|
219
|
-
public createMesh(args: CreateMeshCommandInput, options?: __HttpHandlerOptions): Promise<CreateMeshCommandOutput>;
|
|
220
|
-
public createMesh(args: CreateMeshCommandInput, cb: (err: any, data?: CreateMeshCommandOutput) => void): void;
|
|
221
|
-
public createMesh(
|
|
222
|
-
args: CreateMeshCommandInput,
|
|
223
|
-
options: __HttpHandlerOptions,
|
|
224
|
-
cb: (err: any, data?: CreateMeshCommandOutput) => void
|
|
225
|
-
): void;
|
|
226
|
-
public createMesh(
|
|
227
|
-
args: CreateMeshCommandInput,
|
|
228
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMeshCommandOutput) => void),
|
|
229
|
-
cb?: (err: any, data?: CreateMeshCommandOutput) => void
|
|
230
|
-
): Promise<CreateMeshCommandOutput> | void {
|
|
231
|
-
const command = new CreateMeshCommand(args);
|
|
232
|
-
if (typeof optionsOrCb === "function") {
|
|
233
|
-
this.send(command, optionsOrCb);
|
|
234
|
-
} else if (typeof cb === "function") {
|
|
235
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
236
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
237
|
-
} else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* <p>Creates a route that is associated with a virtual router.</p>
|
|
244
|
-
* <p> You can route several different protocols and define a retry policy for a route.
|
|
245
|
-
* Traffic can be routed to one or more virtual nodes.</p>
|
|
246
|
-
* <p>For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>.</p>
|
|
247
|
-
*/
|
|
248
|
-
public createRoute(args: CreateRouteCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteCommandOutput>;
|
|
249
|
-
public createRoute(args: CreateRouteCommandInput, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
|
|
250
|
-
public createRoute(
|
|
251
|
-
args: CreateRouteCommandInput,
|
|
252
|
-
options: __HttpHandlerOptions,
|
|
253
|
-
cb: (err: any, data?: CreateRouteCommandOutput) => void
|
|
254
|
-
): void;
|
|
255
|
-
public createRoute(
|
|
256
|
-
args: CreateRouteCommandInput,
|
|
257
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRouteCommandOutput) => void),
|
|
258
|
-
cb?: (err: any, data?: CreateRouteCommandOutput) => void
|
|
259
|
-
): Promise<CreateRouteCommandOutput> | void {
|
|
260
|
-
const command = new CreateRouteCommand(args);
|
|
261
|
-
if (typeof optionsOrCb === "function") {
|
|
262
|
-
this.send(command, optionsOrCb);
|
|
263
|
-
} else if (typeof cb === "function") {
|
|
264
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
265
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
266
|
-
} else {
|
|
267
|
-
return this.send(command, optionsOrCb);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* <p>Creates a virtual gateway.</p>
|
|
273
|
-
* <p>A virtual gateway allows resources outside your mesh to communicate to resources that
|
|
274
|
-
* are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS
|
|
275
|
-
* task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which
|
|
276
|
-
* represents an Envoy running with an application, a virtual gateway represents Envoy
|
|
277
|
-
* deployed by itself.</p>
|
|
278
|
-
* <p>For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual gateways</a>. </p>
|
|
279
|
-
*/
|
|
280
|
-
public createVirtualGateway(
|
|
281
|
-
args: CreateVirtualGatewayCommandInput,
|
|
282
|
-
options?: __HttpHandlerOptions
|
|
283
|
-
): Promise<CreateVirtualGatewayCommandOutput>;
|
|
284
|
-
public createVirtualGateway(
|
|
285
|
-
args: CreateVirtualGatewayCommandInput,
|
|
286
|
-
cb: (err: any, data?: CreateVirtualGatewayCommandOutput) => void
|
|
287
|
-
): void;
|
|
288
|
-
public createVirtualGateway(
|
|
289
|
-
args: CreateVirtualGatewayCommandInput,
|
|
290
|
-
options: __HttpHandlerOptions,
|
|
291
|
-
cb: (err: any, data?: CreateVirtualGatewayCommandOutput) => void
|
|
292
|
-
): void;
|
|
293
|
-
public createVirtualGateway(
|
|
294
|
-
args: CreateVirtualGatewayCommandInput,
|
|
295
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualGatewayCommandOutput) => void),
|
|
296
|
-
cb?: (err: any, data?: CreateVirtualGatewayCommandOutput) => void
|
|
297
|
-
): Promise<CreateVirtualGatewayCommandOutput> | void {
|
|
298
|
-
const command = new CreateVirtualGatewayCommand(args);
|
|
299
|
-
if (typeof optionsOrCb === "function") {
|
|
300
|
-
this.send(command, optionsOrCb);
|
|
301
|
-
} else if (typeof cb === "function") {
|
|
302
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
-
} else {
|
|
305
|
-
return this.send(command, optionsOrCb);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* <p>Creates a virtual node within a service mesh.</p>
|
|
311
|
-
* <p> A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS
|
|
312
|
-
* service or a Kubernetes deployment. When you create a virtual node, you can specify the
|
|
313
|
-
* service discovery information for your task group, and whether the proxy running in a task
|
|
314
|
-
* group will communicate with other proxies using Transport Layer Security (TLS).</p>
|
|
315
|
-
* <p>You define a <code>listener</code> for any inbound traffic that your virtual node
|
|
316
|
-
* expects. Any virtual service that your virtual node expects to communicate to is specified
|
|
317
|
-
* as a <code>backend</code>.</p>
|
|
318
|
-
* <p>The response metadata for your new virtual node contains the <code>arn</code> that is
|
|
319
|
-
* associated with the virtual node. Set this value to the full ARN; for example,
|
|
320
|
-
* <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>)
|
|
321
|
-
* as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's Envoy
|
|
322
|
-
* proxy container in your task definition or pod spec. This is then mapped to the
|
|
323
|
-
* <code>node.id</code> and <code>node.cluster</code> Envoy parameters.</p>
|
|
324
|
-
* <note>
|
|
325
|
-
* <p>By default, App Mesh uses the name of the resource you specified in
|
|
326
|
-
* <code>APPMESH_RESOURCE_ARN</code> when Envoy is referring to itself in metrics and
|
|
327
|
-
* traces. You can override this behavior by setting the
|
|
328
|
-
* <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your own name.</p>
|
|
329
|
-
* </note>
|
|
330
|
-
* <p>For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when
|
|
331
|
-
* setting these variables. For more information aboutApp Mesh Envoy variables, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> in
|
|
332
|
-
* the AWS App Mesh User Guide.</p>
|
|
333
|
-
*/
|
|
334
|
-
public createVirtualNode(
|
|
335
|
-
args: CreateVirtualNodeCommandInput,
|
|
336
|
-
options?: __HttpHandlerOptions
|
|
337
|
-
): Promise<CreateVirtualNodeCommandOutput>;
|
|
338
|
-
public createVirtualNode(
|
|
339
|
-
args: CreateVirtualNodeCommandInput,
|
|
340
|
-
cb: (err: any, data?: CreateVirtualNodeCommandOutput) => void
|
|
341
|
-
): void;
|
|
342
|
-
public createVirtualNode(
|
|
343
|
-
args: CreateVirtualNodeCommandInput,
|
|
344
|
-
options: __HttpHandlerOptions,
|
|
345
|
-
cb: (err: any, data?: CreateVirtualNodeCommandOutput) => void
|
|
346
|
-
): void;
|
|
347
|
-
public createVirtualNode(
|
|
348
|
-
args: CreateVirtualNodeCommandInput,
|
|
349
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualNodeCommandOutput) => void),
|
|
350
|
-
cb?: (err: any, data?: CreateVirtualNodeCommandOutput) => void
|
|
351
|
-
): Promise<CreateVirtualNodeCommandOutput> | void {
|
|
352
|
-
const command = new CreateVirtualNodeCommand(args);
|
|
353
|
-
if (typeof optionsOrCb === "function") {
|
|
354
|
-
this.send(command, optionsOrCb);
|
|
355
|
-
} else if (typeof cb === "function") {
|
|
356
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
357
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
358
|
-
} else {
|
|
359
|
-
return this.send(command, optionsOrCb);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* <p>Creates a virtual router within a service mesh.</p>
|
|
365
|
-
* <p>Specify a <code>listener</code> for any inbound traffic that your virtual router
|
|
366
|
-
* receives. Create a virtual router for each protocol and port that you need to route.
|
|
367
|
-
* Virtual routers handle traffic for one or more virtual services within your mesh. After you
|
|
368
|
-
* create your virtual router, create and associate routes for your virtual router that direct
|
|
369
|
-
* incoming requests to different virtual nodes.</p>
|
|
370
|
-
* <p>For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual routers</a>.</p>
|
|
371
|
-
*/
|
|
372
|
-
public createVirtualRouter(
|
|
373
|
-
args: CreateVirtualRouterCommandInput,
|
|
374
|
-
options?: __HttpHandlerOptions
|
|
375
|
-
): Promise<CreateVirtualRouterCommandOutput>;
|
|
376
|
-
public createVirtualRouter(
|
|
377
|
-
args: CreateVirtualRouterCommandInput,
|
|
378
|
-
cb: (err: any, data?: CreateVirtualRouterCommandOutput) => void
|
|
379
|
-
): void;
|
|
380
|
-
public createVirtualRouter(
|
|
381
|
-
args: CreateVirtualRouterCommandInput,
|
|
382
|
-
options: __HttpHandlerOptions,
|
|
383
|
-
cb: (err: any, data?: CreateVirtualRouterCommandOutput) => void
|
|
384
|
-
): void;
|
|
385
|
-
public createVirtualRouter(
|
|
386
|
-
args: CreateVirtualRouterCommandInput,
|
|
387
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualRouterCommandOutput) => void),
|
|
388
|
-
cb?: (err: any, data?: CreateVirtualRouterCommandOutput) => void
|
|
389
|
-
): Promise<CreateVirtualRouterCommandOutput> | void {
|
|
390
|
-
const command = new CreateVirtualRouterCommand(args);
|
|
391
|
-
if (typeof optionsOrCb === "function") {
|
|
392
|
-
this.send(command, optionsOrCb);
|
|
393
|
-
} else if (typeof cb === "function") {
|
|
394
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
-
} else {
|
|
397
|
-
return this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* <p>Creates a virtual service within a service mesh.</p>
|
|
403
|
-
* <p>A virtual service is an abstraction of a real service that is provided by a virtual node
|
|
404
|
-
* directly or indirectly by means of a virtual router. Dependent services call your virtual
|
|
405
|
-
* service by its <code>virtualServiceName</code>, and those requests are routed to the
|
|
406
|
-
* virtual node or virtual router that is specified as the provider for the virtual
|
|
407
|
-
* service.</p>
|
|
408
|
-
* <p>For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual services</a>.</p>
|
|
409
|
-
*/
|
|
410
|
-
public createVirtualService(
|
|
411
|
-
args: CreateVirtualServiceCommandInput,
|
|
412
|
-
options?: __HttpHandlerOptions
|
|
413
|
-
): Promise<CreateVirtualServiceCommandOutput>;
|
|
414
|
-
public createVirtualService(
|
|
415
|
-
args: CreateVirtualServiceCommandInput,
|
|
416
|
-
cb: (err: any, data?: CreateVirtualServiceCommandOutput) => void
|
|
417
|
-
): void;
|
|
418
|
-
public createVirtualService(
|
|
419
|
-
args: CreateVirtualServiceCommandInput,
|
|
420
|
-
options: __HttpHandlerOptions,
|
|
421
|
-
cb: (err: any, data?: CreateVirtualServiceCommandOutput) => void
|
|
422
|
-
): void;
|
|
423
|
-
public createVirtualService(
|
|
424
|
-
args: CreateVirtualServiceCommandInput,
|
|
425
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVirtualServiceCommandOutput) => void),
|
|
426
|
-
cb?: (err: any, data?: CreateVirtualServiceCommandOutput) => void
|
|
427
|
-
): Promise<CreateVirtualServiceCommandOutput> | void {
|
|
428
|
-
const command = new CreateVirtualServiceCommand(args);
|
|
429
|
-
if (typeof optionsOrCb === "function") {
|
|
430
|
-
this.send(command, optionsOrCb);
|
|
431
|
-
} else if (typeof cb === "function") {
|
|
432
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
433
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
434
|
-
} else {
|
|
435
|
-
return this.send(command, optionsOrCb);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* <p>Deletes an existing gateway route.</p>
|
|
441
|
-
*/
|
|
442
|
-
public deleteGatewayRoute(
|
|
443
|
-
args: DeleteGatewayRouteCommandInput,
|
|
444
|
-
options?: __HttpHandlerOptions
|
|
445
|
-
): Promise<DeleteGatewayRouteCommandOutput>;
|
|
446
|
-
public deleteGatewayRoute(
|
|
447
|
-
args: DeleteGatewayRouteCommandInput,
|
|
448
|
-
cb: (err: any, data?: DeleteGatewayRouteCommandOutput) => void
|
|
449
|
-
): void;
|
|
450
|
-
public deleteGatewayRoute(
|
|
451
|
-
args: DeleteGatewayRouteCommandInput,
|
|
452
|
-
options: __HttpHandlerOptions,
|
|
453
|
-
cb: (err: any, data?: DeleteGatewayRouteCommandOutput) => void
|
|
454
|
-
): void;
|
|
455
|
-
public deleteGatewayRoute(
|
|
456
|
-
args: DeleteGatewayRouteCommandInput,
|
|
457
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGatewayRouteCommandOutput) => void),
|
|
458
|
-
cb?: (err: any, data?: DeleteGatewayRouteCommandOutput) => void
|
|
459
|
-
): Promise<DeleteGatewayRouteCommandOutput> | void {
|
|
460
|
-
const command = new DeleteGatewayRouteCommand(args);
|
|
461
|
-
if (typeof optionsOrCb === "function") {
|
|
462
|
-
this.send(command, optionsOrCb);
|
|
463
|
-
} else if (typeof cb === "function") {
|
|
464
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
465
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
466
|
-
} else {
|
|
467
|
-
return this.send(command, optionsOrCb);
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
* <p>Deletes an existing service mesh.</p>
|
|
473
|
-
* <p>You must delete all resources (virtual services, routes, virtual routers, and virtual
|
|
474
|
-
* nodes) in the service mesh before you can delete the mesh itself.</p>
|
|
475
|
-
*/
|
|
476
|
-
public deleteMesh(args: DeleteMeshCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMeshCommandOutput>;
|
|
477
|
-
public deleteMesh(args: DeleteMeshCommandInput, cb: (err: any, data?: DeleteMeshCommandOutput) => void): void;
|
|
478
|
-
public deleteMesh(
|
|
479
|
-
args: DeleteMeshCommandInput,
|
|
480
|
-
options: __HttpHandlerOptions,
|
|
481
|
-
cb: (err: any, data?: DeleteMeshCommandOutput) => void
|
|
482
|
-
): void;
|
|
483
|
-
public deleteMesh(
|
|
484
|
-
args: DeleteMeshCommandInput,
|
|
485
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMeshCommandOutput) => void),
|
|
486
|
-
cb?: (err: any, data?: DeleteMeshCommandOutput) => void
|
|
487
|
-
): Promise<DeleteMeshCommandOutput> | void {
|
|
488
|
-
const command = new DeleteMeshCommand(args);
|
|
489
|
-
if (typeof optionsOrCb === "function") {
|
|
490
|
-
this.send(command, optionsOrCb);
|
|
491
|
-
} else if (typeof cb === "function") {
|
|
492
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
493
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
494
|
-
} else {
|
|
495
|
-
return this.send(command, optionsOrCb);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* <p>Deletes an existing route.</p>
|
|
501
|
-
*/
|
|
502
|
-
public deleteRoute(args: DeleteRouteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRouteCommandOutput>;
|
|
503
|
-
public deleteRoute(args: DeleteRouteCommandInput, cb: (err: any, data?: DeleteRouteCommandOutput) => void): void;
|
|
504
|
-
public deleteRoute(
|
|
505
|
-
args: DeleteRouteCommandInput,
|
|
506
|
-
options: __HttpHandlerOptions,
|
|
507
|
-
cb: (err: any, data?: DeleteRouteCommandOutput) => void
|
|
508
|
-
): void;
|
|
509
|
-
public deleteRoute(
|
|
510
|
-
args: DeleteRouteCommandInput,
|
|
511
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRouteCommandOutput) => void),
|
|
512
|
-
cb?: (err: any, data?: DeleteRouteCommandOutput) => void
|
|
513
|
-
): Promise<DeleteRouteCommandOutput> | void {
|
|
514
|
-
const command = new DeleteRouteCommand(args);
|
|
515
|
-
if (typeof optionsOrCb === "function") {
|
|
516
|
-
this.send(command, optionsOrCb);
|
|
517
|
-
} else if (typeof cb === "function") {
|
|
518
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
519
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
520
|
-
} else {
|
|
521
|
-
return this.send(command, optionsOrCb);
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* <p>Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway
|
|
527
|
-
* routes are associated to it.</p>
|
|
528
|
-
*/
|
|
529
|
-
public deleteVirtualGateway(
|
|
530
|
-
args: DeleteVirtualGatewayCommandInput,
|
|
531
|
-
options?: __HttpHandlerOptions
|
|
532
|
-
): Promise<DeleteVirtualGatewayCommandOutput>;
|
|
533
|
-
public deleteVirtualGateway(
|
|
534
|
-
args: DeleteVirtualGatewayCommandInput,
|
|
535
|
-
cb: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void
|
|
536
|
-
): void;
|
|
537
|
-
public deleteVirtualGateway(
|
|
538
|
-
args: DeleteVirtualGatewayCommandInput,
|
|
539
|
-
options: __HttpHandlerOptions,
|
|
540
|
-
cb: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void
|
|
541
|
-
): void;
|
|
542
|
-
public deleteVirtualGateway(
|
|
543
|
-
args: DeleteVirtualGatewayCommandInput,
|
|
544
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualGatewayCommandOutput) => void),
|
|
545
|
-
cb?: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void
|
|
546
|
-
): Promise<DeleteVirtualGatewayCommandOutput> | void {
|
|
547
|
-
const command = new DeleteVirtualGatewayCommand(args);
|
|
548
|
-
if (typeof optionsOrCb === "function") {
|
|
549
|
-
this.send(command, optionsOrCb);
|
|
550
|
-
} else if (typeof cb === "function") {
|
|
551
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
552
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
553
|
-
} else {
|
|
554
|
-
return this.send(command, optionsOrCb);
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* <p>Deletes an existing virtual node.</p>
|
|
560
|
-
* <p>You must delete any virtual services that list a virtual node as a service provider
|
|
561
|
-
* before you can delete the virtual node itself.</p>
|
|
562
|
-
*/
|
|
563
|
-
public deleteVirtualNode(
|
|
564
|
-
args: DeleteVirtualNodeCommandInput,
|
|
565
|
-
options?: __HttpHandlerOptions
|
|
566
|
-
): Promise<DeleteVirtualNodeCommandOutput>;
|
|
567
|
-
public deleteVirtualNode(
|
|
568
|
-
args: DeleteVirtualNodeCommandInput,
|
|
569
|
-
cb: (err: any, data?: DeleteVirtualNodeCommandOutput) => void
|
|
570
|
-
): void;
|
|
571
|
-
public deleteVirtualNode(
|
|
572
|
-
args: DeleteVirtualNodeCommandInput,
|
|
573
|
-
options: __HttpHandlerOptions,
|
|
574
|
-
cb: (err: any, data?: DeleteVirtualNodeCommandOutput) => void
|
|
575
|
-
): void;
|
|
576
|
-
public deleteVirtualNode(
|
|
577
|
-
args: DeleteVirtualNodeCommandInput,
|
|
578
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualNodeCommandOutput) => void),
|
|
579
|
-
cb?: (err: any, data?: DeleteVirtualNodeCommandOutput) => void
|
|
580
|
-
): Promise<DeleteVirtualNodeCommandOutput> | void {
|
|
581
|
-
const command = new DeleteVirtualNodeCommand(args);
|
|
582
|
-
if (typeof optionsOrCb === "function") {
|
|
583
|
-
this.send(command, optionsOrCb);
|
|
584
|
-
} else if (typeof cb === "function") {
|
|
585
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
586
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
587
|
-
} else {
|
|
588
|
-
return this.send(command, optionsOrCb);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* <p>Deletes an existing virtual router.</p>
|
|
594
|
-
* <p>You must delete any routes associated with the virtual router before you can delete the
|
|
595
|
-
* router itself.</p>
|
|
596
|
-
*/
|
|
597
|
-
public deleteVirtualRouter(
|
|
598
|
-
args: DeleteVirtualRouterCommandInput,
|
|
599
|
-
options?: __HttpHandlerOptions
|
|
600
|
-
): Promise<DeleteVirtualRouterCommandOutput>;
|
|
601
|
-
public deleteVirtualRouter(
|
|
602
|
-
args: DeleteVirtualRouterCommandInput,
|
|
603
|
-
cb: (err: any, data?: DeleteVirtualRouterCommandOutput) => void
|
|
604
|
-
): void;
|
|
605
|
-
public deleteVirtualRouter(
|
|
606
|
-
args: DeleteVirtualRouterCommandInput,
|
|
607
|
-
options: __HttpHandlerOptions,
|
|
608
|
-
cb: (err: any, data?: DeleteVirtualRouterCommandOutput) => void
|
|
609
|
-
): void;
|
|
610
|
-
public deleteVirtualRouter(
|
|
611
|
-
args: DeleteVirtualRouterCommandInput,
|
|
612
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualRouterCommandOutput) => void),
|
|
613
|
-
cb?: (err: any, data?: DeleteVirtualRouterCommandOutput) => void
|
|
614
|
-
): Promise<DeleteVirtualRouterCommandOutput> | void {
|
|
615
|
-
const command = new DeleteVirtualRouterCommand(args);
|
|
616
|
-
if (typeof optionsOrCb === "function") {
|
|
617
|
-
this.send(command, optionsOrCb);
|
|
618
|
-
} else if (typeof cb === "function") {
|
|
619
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
620
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
621
|
-
} else {
|
|
622
|
-
return this.send(command, optionsOrCb);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* <p>Deletes an existing virtual service.</p>
|
|
628
|
-
*/
|
|
629
|
-
public deleteVirtualService(
|
|
630
|
-
args: DeleteVirtualServiceCommandInput,
|
|
631
|
-
options?: __HttpHandlerOptions
|
|
632
|
-
): Promise<DeleteVirtualServiceCommandOutput>;
|
|
633
|
-
public deleteVirtualService(
|
|
634
|
-
args: DeleteVirtualServiceCommandInput,
|
|
635
|
-
cb: (err: any, data?: DeleteVirtualServiceCommandOutput) => void
|
|
636
|
-
): void;
|
|
637
|
-
public deleteVirtualService(
|
|
638
|
-
args: DeleteVirtualServiceCommandInput,
|
|
639
|
-
options: __HttpHandlerOptions,
|
|
640
|
-
cb: (err: any, data?: DeleteVirtualServiceCommandOutput) => void
|
|
641
|
-
): void;
|
|
642
|
-
public deleteVirtualService(
|
|
643
|
-
args: DeleteVirtualServiceCommandInput,
|
|
644
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVirtualServiceCommandOutput) => void),
|
|
645
|
-
cb?: (err: any, data?: DeleteVirtualServiceCommandOutput) => void
|
|
646
|
-
): Promise<DeleteVirtualServiceCommandOutput> | void {
|
|
647
|
-
const command = new DeleteVirtualServiceCommand(args);
|
|
648
|
-
if (typeof optionsOrCb === "function") {
|
|
649
|
-
this.send(command, optionsOrCb);
|
|
650
|
-
} else if (typeof cb === "function") {
|
|
651
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
652
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
653
|
-
} else {
|
|
654
|
-
return this.send(command, optionsOrCb);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* <p>Describes an existing gateway route.</p>
|
|
660
|
-
*/
|
|
661
|
-
public describeGatewayRoute(
|
|
662
|
-
args: DescribeGatewayRouteCommandInput,
|
|
663
|
-
options?: __HttpHandlerOptions
|
|
664
|
-
): Promise<DescribeGatewayRouteCommandOutput>;
|
|
665
|
-
public describeGatewayRoute(
|
|
666
|
-
args: DescribeGatewayRouteCommandInput,
|
|
667
|
-
cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void
|
|
668
|
-
): void;
|
|
669
|
-
public describeGatewayRoute(
|
|
670
|
-
args: DescribeGatewayRouteCommandInput,
|
|
671
|
-
options: __HttpHandlerOptions,
|
|
672
|
-
cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void
|
|
673
|
-
): void;
|
|
674
|
-
public describeGatewayRoute(
|
|
675
|
-
args: DescribeGatewayRouteCommandInput,
|
|
676
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeGatewayRouteCommandOutput) => void),
|
|
677
|
-
cb?: (err: any, data?: DescribeGatewayRouteCommandOutput) => void
|
|
678
|
-
): Promise<DescribeGatewayRouteCommandOutput> | void {
|
|
679
|
-
const command = new DescribeGatewayRouteCommand(args);
|
|
680
|
-
if (typeof optionsOrCb === "function") {
|
|
681
|
-
this.send(command, optionsOrCb);
|
|
682
|
-
} else if (typeof cb === "function") {
|
|
683
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
684
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
685
|
-
} else {
|
|
686
|
-
return this.send(command, optionsOrCb);
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* <p>Describes an existing service mesh.</p>
|
|
692
|
-
*/
|
|
693
|
-
public describeMesh(
|
|
694
|
-
args: DescribeMeshCommandInput,
|
|
695
|
-
options?: __HttpHandlerOptions
|
|
696
|
-
): Promise<DescribeMeshCommandOutput>;
|
|
697
|
-
public describeMesh(args: DescribeMeshCommandInput, cb: (err: any, data?: DescribeMeshCommandOutput) => void): void;
|
|
698
|
-
public describeMesh(
|
|
699
|
-
args: DescribeMeshCommandInput,
|
|
700
|
-
options: __HttpHandlerOptions,
|
|
701
|
-
cb: (err: any, data?: DescribeMeshCommandOutput) => void
|
|
702
|
-
): void;
|
|
703
|
-
public describeMesh(
|
|
704
|
-
args: DescribeMeshCommandInput,
|
|
705
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMeshCommandOutput) => void),
|
|
706
|
-
cb?: (err: any, data?: DescribeMeshCommandOutput) => void
|
|
707
|
-
): Promise<DescribeMeshCommandOutput> | void {
|
|
708
|
-
const command = new DescribeMeshCommand(args);
|
|
709
|
-
if (typeof optionsOrCb === "function") {
|
|
710
|
-
this.send(command, optionsOrCb);
|
|
711
|
-
} else if (typeof cb === "function") {
|
|
712
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
713
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
714
|
-
} else {
|
|
715
|
-
return this.send(command, optionsOrCb);
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* <p>Describes an existing route.</p>
|
|
721
|
-
*/
|
|
722
|
-
public describeRoute(
|
|
723
|
-
args: DescribeRouteCommandInput,
|
|
724
|
-
options?: __HttpHandlerOptions
|
|
725
|
-
): Promise<DescribeRouteCommandOutput>;
|
|
726
|
-
public describeRoute(
|
|
727
|
-
args: DescribeRouteCommandInput,
|
|
728
|
-
cb: (err: any, data?: DescribeRouteCommandOutput) => void
|
|
729
|
-
): void;
|
|
730
|
-
public describeRoute(
|
|
731
|
-
args: DescribeRouteCommandInput,
|
|
732
|
-
options: __HttpHandlerOptions,
|
|
733
|
-
cb: (err: any, data?: DescribeRouteCommandOutput) => void
|
|
734
|
-
): void;
|
|
735
|
-
public describeRoute(
|
|
736
|
-
args: DescribeRouteCommandInput,
|
|
737
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRouteCommandOutput) => void),
|
|
738
|
-
cb?: (err: any, data?: DescribeRouteCommandOutput) => void
|
|
739
|
-
): Promise<DescribeRouteCommandOutput> | void {
|
|
740
|
-
const command = new DescribeRouteCommand(args);
|
|
741
|
-
if (typeof optionsOrCb === "function") {
|
|
742
|
-
this.send(command, optionsOrCb);
|
|
743
|
-
} else if (typeof cb === "function") {
|
|
744
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
745
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
746
|
-
} else {
|
|
747
|
-
return this.send(command, optionsOrCb);
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* <p>Describes an existing virtual gateway.</p>
|
|
753
|
-
*/
|
|
754
|
-
public describeVirtualGateway(
|
|
755
|
-
args: DescribeVirtualGatewayCommandInput,
|
|
756
|
-
options?: __HttpHandlerOptions
|
|
757
|
-
): Promise<DescribeVirtualGatewayCommandOutput>;
|
|
758
|
-
public describeVirtualGateway(
|
|
759
|
-
args: DescribeVirtualGatewayCommandInput,
|
|
760
|
-
cb: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void
|
|
761
|
-
): void;
|
|
762
|
-
public describeVirtualGateway(
|
|
763
|
-
args: DescribeVirtualGatewayCommandInput,
|
|
764
|
-
options: __HttpHandlerOptions,
|
|
765
|
-
cb: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void
|
|
766
|
-
): void;
|
|
767
|
-
public describeVirtualGateway(
|
|
768
|
-
args: DescribeVirtualGatewayCommandInput,
|
|
769
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualGatewayCommandOutput) => void),
|
|
770
|
-
cb?: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void
|
|
771
|
-
): Promise<DescribeVirtualGatewayCommandOutput> | void {
|
|
772
|
-
const command = new DescribeVirtualGatewayCommand(args);
|
|
773
|
-
if (typeof optionsOrCb === "function") {
|
|
774
|
-
this.send(command, optionsOrCb);
|
|
775
|
-
} else if (typeof cb === "function") {
|
|
776
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
777
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
778
|
-
} else {
|
|
779
|
-
return this.send(command, optionsOrCb);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* <p>Describes an existing virtual node.</p>
|
|
785
|
-
*/
|
|
786
|
-
public describeVirtualNode(
|
|
787
|
-
args: DescribeVirtualNodeCommandInput,
|
|
788
|
-
options?: __HttpHandlerOptions
|
|
789
|
-
): Promise<DescribeVirtualNodeCommandOutput>;
|
|
790
|
-
public describeVirtualNode(
|
|
791
|
-
args: DescribeVirtualNodeCommandInput,
|
|
792
|
-
cb: (err: any, data?: DescribeVirtualNodeCommandOutput) => void
|
|
793
|
-
): void;
|
|
794
|
-
public describeVirtualNode(
|
|
795
|
-
args: DescribeVirtualNodeCommandInput,
|
|
796
|
-
options: __HttpHandlerOptions,
|
|
797
|
-
cb: (err: any, data?: DescribeVirtualNodeCommandOutput) => void
|
|
798
|
-
): void;
|
|
799
|
-
public describeVirtualNode(
|
|
800
|
-
args: DescribeVirtualNodeCommandInput,
|
|
801
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualNodeCommandOutput) => void),
|
|
802
|
-
cb?: (err: any, data?: DescribeVirtualNodeCommandOutput) => void
|
|
803
|
-
): Promise<DescribeVirtualNodeCommandOutput> | void {
|
|
804
|
-
const command = new DescribeVirtualNodeCommand(args);
|
|
805
|
-
if (typeof optionsOrCb === "function") {
|
|
806
|
-
this.send(command, optionsOrCb);
|
|
807
|
-
} else if (typeof cb === "function") {
|
|
808
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
809
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
810
|
-
} else {
|
|
811
|
-
return this.send(command, optionsOrCb);
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* <p>Describes an existing virtual router.</p>
|
|
817
|
-
*/
|
|
818
|
-
public describeVirtualRouter(
|
|
819
|
-
args: DescribeVirtualRouterCommandInput,
|
|
820
|
-
options?: __HttpHandlerOptions
|
|
821
|
-
): Promise<DescribeVirtualRouterCommandOutput>;
|
|
822
|
-
public describeVirtualRouter(
|
|
823
|
-
args: DescribeVirtualRouterCommandInput,
|
|
824
|
-
cb: (err: any, data?: DescribeVirtualRouterCommandOutput) => void
|
|
825
|
-
): void;
|
|
826
|
-
public describeVirtualRouter(
|
|
827
|
-
args: DescribeVirtualRouterCommandInput,
|
|
828
|
-
options: __HttpHandlerOptions,
|
|
829
|
-
cb: (err: any, data?: DescribeVirtualRouterCommandOutput) => void
|
|
830
|
-
): void;
|
|
831
|
-
public describeVirtualRouter(
|
|
832
|
-
args: DescribeVirtualRouterCommandInput,
|
|
833
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualRouterCommandOutput) => void),
|
|
834
|
-
cb?: (err: any, data?: DescribeVirtualRouterCommandOutput) => void
|
|
835
|
-
): Promise<DescribeVirtualRouterCommandOutput> | void {
|
|
836
|
-
const command = new DescribeVirtualRouterCommand(args);
|
|
837
|
-
if (typeof optionsOrCb === "function") {
|
|
838
|
-
this.send(command, optionsOrCb);
|
|
839
|
-
} else if (typeof cb === "function") {
|
|
840
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
841
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
842
|
-
} else {
|
|
843
|
-
return this.send(command, optionsOrCb);
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* <p>Describes an existing virtual service.</p>
|
|
849
|
-
*/
|
|
850
|
-
public describeVirtualService(
|
|
851
|
-
args: DescribeVirtualServiceCommandInput,
|
|
852
|
-
options?: __HttpHandlerOptions
|
|
853
|
-
): Promise<DescribeVirtualServiceCommandOutput>;
|
|
854
|
-
public describeVirtualService(
|
|
855
|
-
args: DescribeVirtualServiceCommandInput,
|
|
856
|
-
cb: (err: any, data?: DescribeVirtualServiceCommandOutput) => void
|
|
857
|
-
): void;
|
|
858
|
-
public describeVirtualService(
|
|
859
|
-
args: DescribeVirtualServiceCommandInput,
|
|
860
|
-
options: __HttpHandlerOptions,
|
|
861
|
-
cb: (err: any, data?: DescribeVirtualServiceCommandOutput) => void
|
|
862
|
-
): void;
|
|
863
|
-
public describeVirtualService(
|
|
864
|
-
args: DescribeVirtualServiceCommandInput,
|
|
865
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVirtualServiceCommandOutput) => void),
|
|
866
|
-
cb?: (err: any, data?: DescribeVirtualServiceCommandOutput) => void
|
|
867
|
-
): Promise<DescribeVirtualServiceCommandOutput> | void {
|
|
868
|
-
const command = new DescribeVirtualServiceCommand(args);
|
|
869
|
-
if (typeof optionsOrCb === "function") {
|
|
870
|
-
this.send(command, optionsOrCb);
|
|
871
|
-
} else if (typeof cb === "function") {
|
|
872
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
873
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
874
|
-
} else {
|
|
875
|
-
return this.send(command, optionsOrCb);
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* <p>Returns a list of existing gateway routes that are associated to a virtual
|
|
881
|
-
* gateway.</p>
|
|
882
|
-
*/
|
|
883
|
-
public listGatewayRoutes(
|
|
884
|
-
args: ListGatewayRoutesCommandInput,
|
|
885
|
-
options?: __HttpHandlerOptions
|
|
886
|
-
): Promise<ListGatewayRoutesCommandOutput>;
|
|
887
|
-
public listGatewayRoutes(
|
|
888
|
-
args: ListGatewayRoutesCommandInput,
|
|
889
|
-
cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void
|
|
890
|
-
): void;
|
|
891
|
-
public listGatewayRoutes(
|
|
892
|
-
args: ListGatewayRoutesCommandInput,
|
|
893
|
-
options: __HttpHandlerOptions,
|
|
894
|
-
cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void
|
|
895
|
-
): void;
|
|
896
|
-
public listGatewayRoutes(
|
|
897
|
-
args: ListGatewayRoutesCommandInput,
|
|
898
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGatewayRoutesCommandOutput) => void),
|
|
899
|
-
cb?: (err: any, data?: ListGatewayRoutesCommandOutput) => void
|
|
900
|
-
): Promise<ListGatewayRoutesCommandOutput> | void {
|
|
901
|
-
const command = new ListGatewayRoutesCommand(args);
|
|
902
|
-
if (typeof optionsOrCb === "function") {
|
|
903
|
-
this.send(command, optionsOrCb);
|
|
904
|
-
} else if (typeof cb === "function") {
|
|
905
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
906
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
907
|
-
} else {
|
|
908
|
-
return this.send(command, optionsOrCb);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
/**
|
|
913
|
-
* <p>Returns a list of existing service meshes.</p>
|
|
914
|
-
*/
|
|
915
|
-
public listMeshes(args: ListMeshesCommandInput, options?: __HttpHandlerOptions): Promise<ListMeshesCommandOutput>;
|
|
916
|
-
public listMeshes(args: ListMeshesCommandInput, cb: (err: any, data?: ListMeshesCommandOutput) => void): void;
|
|
917
|
-
public listMeshes(
|
|
918
|
-
args: ListMeshesCommandInput,
|
|
919
|
-
options: __HttpHandlerOptions,
|
|
920
|
-
cb: (err: any, data?: ListMeshesCommandOutput) => void
|
|
921
|
-
): void;
|
|
922
|
-
public listMeshes(
|
|
923
|
-
args: ListMeshesCommandInput,
|
|
924
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMeshesCommandOutput) => void),
|
|
925
|
-
cb?: (err: any, data?: ListMeshesCommandOutput) => void
|
|
926
|
-
): Promise<ListMeshesCommandOutput> | void {
|
|
927
|
-
const command = new ListMeshesCommand(args);
|
|
928
|
-
if (typeof optionsOrCb === "function") {
|
|
929
|
-
this.send(command, optionsOrCb);
|
|
930
|
-
} else if (typeof cb === "function") {
|
|
931
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
932
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
933
|
-
} else {
|
|
934
|
-
return this.send(command, optionsOrCb);
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* <p>Returns a list of existing routes in a service mesh.</p>
|
|
940
|
-
*/
|
|
941
|
-
public listRoutes(args: ListRoutesCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutesCommandOutput>;
|
|
942
|
-
public listRoutes(args: ListRoutesCommandInput, cb: (err: any, data?: ListRoutesCommandOutput) => void): void;
|
|
943
|
-
public listRoutes(
|
|
944
|
-
args: ListRoutesCommandInput,
|
|
945
|
-
options: __HttpHandlerOptions,
|
|
946
|
-
cb: (err: any, data?: ListRoutesCommandOutput) => void
|
|
947
|
-
): void;
|
|
948
|
-
public listRoutes(
|
|
949
|
-
args: ListRoutesCommandInput,
|
|
950
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRoutesCommandOutput) => void),
|
|
951
|
-
cb?: (err: any, data?: ListRoutesCommandOutput) => void
|
|
952
|
-
): Promise<ListRoutesCommandOutput> | void {
|
|
953
|
-
const command = new ListRoutesCommand(args);
|
|
954
|
-
if (typeof optionsOrCb === "function") {
|
|
955
|
-
this.send(command, optionsOrCb);
|
|
956
|
-
} else if (typeof cb === "function") {
|
|
957
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
958
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
959
|
-
} else {
|
|
960
|
-
return this.send(command, optionsOrCb);
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* <p>List the tags for an App Mesh resource.</p>
|
|
966
|
-
*/
|
|
967
|
-
public listTagsForResource(
|
|
968
|
-
args: ListTagsForResourceCommandInput,
|
|
969
|
-
options?: __HttpHandlerOptions
|
|
970
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
971
|
-
public listTagsForResource(
|
|
972
|
-
args: ListTagsForResourceCommandInput,
|
|
973
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
974
|
-
): void;
|
|
975
|
-
public listTagsForResource(
|
|
976
|
-
args: ListTagsForResourceCommandInput,
|
|
977
|
-
options: __HttpHandlerOptions,
|
|
978
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
979
|
-
): void;
|
|
980
|
-
public listTagsForResource(
|
|
981
|
-
args: ListTagsForResourceCommandInput,
|
|
982
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
983
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
984
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
985
|
-
const command = new ListTagsForResourceCommand(args);
|
|
986
|
-
if (typeof optionsOrCb === "function") {
|
|
987
|
-
this.send(command, optionsOrCb);
|
|
988
|
-
} else if (typeof cb === "function") {
|
|
989
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
990
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
991
|
-
} else {
|
|
992
|
-
return this.send(command, optionsOrCb);
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* <p>Returns a list of existing virtual gateways in a service mesh.</p>
|
|
998
|
-
*/
|
|
999
|
-
public listVirtualGateways(
|
|
1000
|
-
args: ListVirtualGatewaysCommandInput,
|
|
1001
|
-
options?: __HttpHandlerOptions
|
|
1002
|
-
): Promise<ListVirtualGatewaysCommandOutput>;
|
|
1003
|
-
public listVirtualGateways(
|
|
1004
|
-
args: ListVirtualGatewaysCommandInput,
|
|
1005
|
-
cb: (err: any, data?: ListVirtualGatewaysCommandOutput) => void
|
|
1006
|
-
): void;
|
|
1007
|
-
public listVirtualGateways(
|
|
1008
|
-
args: ListVirtualGatewaysCommandInput,
|
|
1009
|
-
options: __HttpHandlerOptions,
|
|
1010
|
-
cb: (err: any, data?: ListVirtualGatewaysCommandOutput) => void
|
|
1011
|
-
): void;
|
|
1012
|
-
public listVirtualGateways(
|
|
1013
|
-
args: ListVirtualGatewaysCommandInput,
|
|
1014
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualGatewaysCommandOutput) => void),
|
|
1015
|
-
cb?: (err: any, data?: ListVirtualGatewaysCommandOutput) => void
|
|
1016
|
-
): Promise<ListVirtualGatewaysCommandOutput> | void {
|
|
1017
|
-
const command = new ListVirtualGatewaysCommand(args);
|
|
1018
|
-
if (typeof optionsOrCb === "function") {
|
|
1019
|
-
this.send(command, optionsOrCb);
|
|
1020
|
-
} else if (typeof cb === "function") {
|
|
1021
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1022
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1023
|
-
} else {
|
|
1024
|
-
return this.send(command, optionsOrCb);
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* <p>Returns a list of existing virtual nodes.</p>
|
|
1030
|
-
*/
|
|
1031
|
-
public listVirtualNodes(
|
|
1032
|
-
args: ListVirtualNodesCommandInput,
|
|
1033
|
-
options?: __HttpHandlerOptions
|
|
1034
|
-
): Promise<ListVirtualNodesCommandOutput>;
|
|
1035
|
-
public listVirtualNodes(
|
|
1036
|
-
args: ListVirtualNodesCommandInput,
|
|
1037
|
-
cb: (err: any, data?: ListVirtualNodesCommandOutput) => void
|
|
1038
|
-
): void;
|
|
1039
|
-
public listVirtualNodes(
|
|
1040
|
-
args: ListVirtualNodesCommandInput,
|
|
1041
|
-
options: __HttpHandlerOptions,
|
|
1042
|
-
cb: (err: any, data?: ListVirtualNodesCommandOutput) => void
|
|
1043
|
-
): void;
|
|
1044
|
-
public listVirtualNodes(
|
|
1045
|
-
args: ListVirtualNodesCommandInput,
|
|
1046
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualNodesCommandOutput) => void),
|
|
1047
|
-
cb?: (err: any, data?: ListVirtualNodesCommandOutput) => void
|
|
1048
|
-
): Promise<ListVirtualNodesCommandOutput> | void {
|
|
1049
|
-
const command = new ListVirtualNodesCommand(args);
|
|
1050
|
-
if (typeof optionsOrCb === "function") {
|
|
1051
|
-
this.send(command, optionsOrCb);
|
|
1052
|
-
} else if (typeof cb === "function") {
|
|
1053
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1054
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1055
|
-
} else {
|
|
1056
|
-
return this.send(command, optionsOrCb);
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
/**
|
|
1061
|
-
* <p>Returns a list of existing virtual routers in a service mesh.</p>
|
|
1062
|
-
*/
|
|
1063
|
-
public listVirtualRouters(
|
|
1064
|
-
args: ListVirtualRoutersCommandInput,
|
|
1065
|
-
options?: __HttpHandlerOptions
|
|
1066
|
-
): Promise<ListVirtualRoutersCommandOutput>;
|
|
1067
|
-
public listVirtualRouters(
|
|
1068
|
-
args: ListVirtualRoutersCommandInput,
|
|
1069
|
-
cb: (err: any, data?: ListVirtualRoutersCommandOutput) => void
|
|
1070
|
-
): void;
|
|
1071
|
-
public listVirtualRouters(
|
|
1072
|
-
args: ListVirtualRoutersCommandInput,
|
|
1073
|
-
options: __HttpHandlerOptions,
|
|
1074
|
-
cb: (err: any, data?: ListVirtualRoutersCommandOutput) => void
|
|
1075
|
-
): void;
|
|
1076
|
-
public listVirtualRouters(
|
|
1077
|
-
args: ListVirtualRoutersCommandInput,
|
|
1078
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualRoutersCommandOutput) => void),
|
|
1079
|
-
cb?: (err: any, data?: ListVirtualRoutersCommandOutput) => void
|
|
1080
|
-
): Promise<ListVirtualRoutersCommandOutput> | void {
|
|
1081
|
-
const command = new ListVirtualRoutersCommand(args);
|
|
1082
|
-
if (typeof optionsOrCb === "function") {
|
|
1083
|
-
this.send(command, optionsOrCb);
|
|
1084
|
-
} else if (typeof cb === "function") {
|
|
1085
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1086
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1087
|
-
} else {
|
|
1088
|
-
return this.send(command, optionsOrCb);
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
/**
|
|
1093
|
-
* <p>Returns a list of existing virtual services in a service mesh.</p>
|
|
1094
|
-
*/
|
|
1095
|
-
public listVirtualServices(
|
|
1096
|
-
args: ListVirtualServicesCommandInput,
|
|
1097
|
-
options?: __HttpHandlerOptions
|
|
1098
|
-
): Promise<ListVirtualServicesCommandOutput>;
|
|
1099
|
-
public listVirtualServices(
|
|
1100
|
-
args: ListVirtualServicesCommandInput,
|
|
1101
|
-
cb: (err: any, data?: ListVirtualServicesCommandOutput) => void
|
|
1102
|
-
): void;
|
|
1103
|
-
public listVirtualServices(
|
|
1104
|
-
args: ListVirtualServicesCommandInput,
|
|
1105
|
-
options: __HttpHandlerOptions,
|
|
1106
|
-
cb: (err: any, data?: ListVirtualServicesCommandOutput) => void
|
|
1107
|
-
): void;
|
|
1108
|
-
public listVirtualServices(
|
|
1109
|
-
args: ListVirtualServicesCommandInput,
|
|
1110
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVirtualServicesCommandOutput) => void),
|
|
1111
|
-
cb?: (err: any, data?: ListVirtualServicesCommandOutput) => void
|
|
1112
|
-
): Promise<ListVirtualServicesCommandOutput> | void {
|
|
1113
|
-
const command = new ListVirtualServicesCommand(args);
|
|
1114
|
-
if (typeof optionsOrCb === "function") {
|
|
1115
|
-
this.send(command, optionsOrCb);
|
|
1116
|
-
} else if (typeof cb === "function") {
|
|
1117
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1119
|
-
} else {
|
|
1120
|
-
return this.send(command, optionsOrCb);
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
1126
|
-
* If existing tags on a resource aren't specified in the request parameters, they aren't
|
|
1127
|
-
* changed. When a resource is deleted, the tags associated with that resource are also
|
|
1128
|
-
* deleted.</p>
|
|
1129
|
-
*/
|
|
1130
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1131
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1132
|
-
public tagResource(
|
|
1133
|
-
args: TagResourceCommandInput,
|
|
1134
|
-
options: __HttpHandlerOptions,
|
|
1135
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1136
|
-
): void;
|
|
1137
|
-
public tagResource(
|
|
1138
|
-
args: TagResourceCommandInput,
|
|
1139
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1140
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1141
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1142
|
-
const command = new TagResourceCommand(args);
|
|
1143
|
-
if (typeof optionsOrCb === "function") {
|
|
1144
|
-
this.send(command, optionsOrCb);
|
|
1145
|
-
} else if (typeof cb === "function") {
|
|
1146
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1148
|
-
} else {
|
|
1149
|
-
return this.send(command, optionsOrCb);
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
/**
|
|
1154
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
1155
|
-
*/
|
|
1156
|
-
public untagResource(
|
|
1157
|
-
args: UntagResourceCommandInput,
|
|
1158
|
-
options?: __HttpHandlerOptions
|
|
1159
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1160
|
-
public untagResource(
|
|
1161
|
-
args: UntagResourceCommandInput,
|
|
1162
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1163
|
-
): void;
|
|
1164
|
-
public untagResource(
|
|
1165
|
-
args: UntagResourceCommandInput,
|
|
1166
|
-
options: __HttpHandlerOptions,
|
|
1167
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1168
|
-
): void;
|
|
1169
|
-
public untagResource(
|
|
1170
|
-
args: UntagResourceCommandInput,
|
|
1171
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1172
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1173
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1174
|
-
const command = new UntagResourceCommand(args);
|
|
1175
|
-
if (typeof optionsOrCb === "function") {
|
|
1176
|
-
this.send(command, optionsOrCb);
|
|
1177
|
-
} else if (typeof cb === "function") {
|
|
1178
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1179
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1180
|
-
} else {
|
|
1181
|
-
return this.send(command, optionsOrCb);
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* <p>Updates an existing gateway route that is associated to a specified virtual gateway in a
|
|
1187
|
-
* service mesh.</p>
|
|
1188
|
-
*/
|
|
1189
|
-
public updateGatewayRoute(
|
|
1190
|
-
args: UpdateGatewayRouteCommandInput,
|
|
1191
|
-
options?: __HttpHandlerOptions
|
|
1192
|
-
): Promise<UpdateGatewayRouteCommandOutput>;
|
|
1193
|
-
public updateGatewayRoute(
|
|
1194
|
-
args: UpdateGatewayRouteCommandInput,
|
|
1195
|
-
cb: (err: any, data?: UpdateGatewayRouteCommandOutput) => void
|
|
1196
|
-
): void;
|
|
1197
|
-
public updateGatewayRoute(
|
|
1198
|
-
args: UpdateGatewayRouteCommandInput,
|
|
1199
|
-
options: __HttpHandlerOptions,
|
|
1200
|
-
cb: (err: any, data?: UpdateGatewayRouteCommandOutput) => void
|
|
1201
|
-
): void;
|
|
1202
|
-
public updateGatewayRoute(
|
|
1203
|
-
args: UpdateGatewayRouteCommandInput,
|
|
1204
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGatewayRouteCommandOutput) => void),
|
|
1205
|
-
cb?: (err: any, data?: UpdateGatewayRouteCommandOutput) => void
|
|
1206
|
-
): Promise<UpdateGatewayRouteCommandOutput> | void {
|
|
1207
|
-
const command = new UpdateGatewayRouteCommand(args);
|
|
1208
|
-
if (typeof optionsOrCb === "function") {
|
|
1209
|
-
this.send(command, optionsOrCb);
|
|
1210
|
-
} else if (typeof cb === "function") {
|
|
1211
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1212
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1213
|
-
} else {
|
|
1214
|
-
return this.send(command, optionsOrCb);
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
/**
|
|
1219
|
-
* <p>Updates an existing service mesh.</p>
|
|
1220
|
-
*/
|
|
1221
|
-
public updateMesh(args: UpdateMeshCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMeshCommandOutput>;
|
|
1222
|
-
public updateMesh(args: UpdateMeshCommandInput, cb: (err: any, data?: UpdateMeshCommandOutput) => void): void;
|
|
1223
|
-
public updateMesh(
|
|
1224
|
-
args: UpdateMeshCommandInput,
|
|
1225
|
-
options: __HttpHandlerOptions,
|
|
1226
|
-
cb: (err: any, data?: UpdateMeshCommandOutput) => void
|
|
1227
|
-
): void;
|
|
1228
|
-
public updateMesh(
|
|
1229
|
-
args: UpdateMeshCommandInput,
|
|
1230
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateMeshCommandOutput) => void),
|
|
1231
|
-
cb?: (err: any, data?: UpdateMeshCommandOutput) => void
|
|
1232
|
-
): Promise<UpdateMeshCommandOutput> | void {
|
|
1233
|
-
const command = new UpdateMeshCommand(args);
|
|
1234
|
-
if (typeof optionsOrCb === "function") {
|
|
1235
|
-
this.send(command, optionsOrCb);
|
|
1236
|
-
} else if (typeof cb === "function") {
|
|
1237
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1238
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1239
|
-
} else {
|
|
1240
|
-
return this.send(command, optionsOrCb);
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
/**
|
|
1245
|
-
* <p>Updates an existing route for a specified service mesh and virtual router.</p>
|
|
1246
|
-
*/
|
|
1247
|
-
public updateRoute(args: UpdateRouteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRouteCommandOutput>;
|
|
1248
|
-
public updateRoute(args: UpdateRouteCommandInput, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
|
|
1249
|
-
public updateRoute(
|
|
1250
|
-
args: UpdateRouteCommandInput,
|
|
1251
|
-
options: __HttpHandlerOptions,
|
|
1252
|
-
cb: (err: any, data?: UpdateRouteCommandOutput) => void
|
|
1253
|
-
): void;
|
|
1254
|
-
public updateRoute(
|
|
1255
|
-
args: UpdateRouteCommandInput,
|
|
1256
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRouteCommandOutput) => void),
|
|
1257
|
-
cb?: (err: any, data?: UpdateRouteCommandOutput) => void
|
|
1258
|
-
): Promise<UpdateRouteCommandOutput> | void {
|
|
1259
|
-
const command = new UpdateRouteCommand(args);
|
|
1260
|
-
if (typeof optionsOrCb === "function") {
|
|
1261
|
-
this.send(command, optionsOrCb);
|
|
1262
|
-
} else if (typeof cb === "function") {
|
|
1263
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1264
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1265
|
-
} else {
|
|
1266
|
-
return this.send(command, optionsOrCb);
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
/**
|
|
1271
|
-
* <p>Updates an existing virtual gateway in a specified service mesh.</p>
|
|
1272
|
-
*/
|
|
1273
|
-
public updateVirtualGateway(
|
|
1274
|
-
args: UpdateVirtualGatewayCommandInput,
|
|
1275
|
-
options?: __HttpHandlerOptions
|
|
1276
|
-
): Promise<UpdateVirtualGatewayCommandOutput>;
|
|
1277
|
-
public updateVirtualGateway(
|
|
1278
|
-
args: UpdateVirtualGatewayCommandInput,
|
|
1279
|
-
cb: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void
|
|
1280
|
-
): void;
|
|
1281
|
-
public updateVirtualGateway(
|
|
1282
|
-
args: UpdateVirtualGatewayCommandInput,
|
|
1283
|
-
options: __HttpHandlerOptions,
|
|
1284
|
-
cb: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void
|
|
1285
|
-
): void;
|
|
1286
|
-
public updateVirtualGateway(
|
|
1287
|
-
args: UpdateVirtualGatewayCommandInput,
|
|
1288
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualGatewayCommandOutput) => void),
|
|
1289
|
-
cb?: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void
|
|
1290
|
-
): Promise<UpdateVirtualGatewayCommandOutput> | void {
|
|
1291
|
-
const command = new UpdateVirtualGatewayCommand(args);
|
|
1292
|
-
if (typeof optionsOrCb === "function") {
|
|
1293
|
-
this.send(command, optionsOrCb);
|
|
1294
|
-
} else if (typeof cb === "function") {
|
|
1295
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1296
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1297
|
-
} else {
|
|
1298
|
-
return this.send(command, optionsOrCb);
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* <p>Updates an existing virtual node in a specified service mesh.</p>
|
|
1304
|
-
*/
|
|
1305
|
-
public updateVirtualNode(
|
|
1306
|
-
args: UpdateVirtualNodeCommandInput,
|
|
1307
|
-
options?: __HttpHandlerOptions
|
|
1308
|
-
): Promise<UpdateVirtualNodeCommandOutput>;
|
|
1309
|
-
public updateVirtualNode(
|
|
1310
|
-
args: UpdateVirtualNodeCommandInput,
|
|
1311
|
-
cb: (err: any, data?: UpdateVirtualNodeCommandOutput) => void
|
|
1312
|
-
): void;
|
|
1313
|
-
public updateVirtualNode(
|
|
1314
|
-
args: UpdateVirtualNodeCommandInput,
|
|
1315
|
-
options: __HttpHandlerOptions,
|
|
1316
|
-
cb: (err: any, data?: UpdateVirtualNodeCommandOutput) => void
|
|
1317
|
-
): void;
|
|
1318
|
-
public updateVirtualNode(
|
|
1319
|
-
args: UpdateVirtualNodeCommandInput,
|
|
1320
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualNodeCommandOutput) => void),
|
|
1321
|
-
cb?: (err: any, data?: UpdateVirtualNodeCommandOutput) => void
|
|
1322
|
-
): Promise<UpdateVirtualNodeCommandOutput> | void {
|
|
1323
|
-
const command = new UpdateVirtualNodeCommand(args);
|
|
1324
|
-
if (typeof optionsOrCb === "function") {
|
|
1325
|
-
this.send(command, optionsOrCb);
|
|
1326
|
-
} else if (typeof cb === "function") {
|
|
1327
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1328
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1329
|
-
} else {
|
|
1330
|
-
return this.send(command, optionsOrCb);
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
/**
|
|
1335
|
-
* <p>Updates an existing virtual router in a specified service mesh.</p>
|
|
1336
|
-
*/
|
|
1337
|
-
public updateVirtualRouter(
|
|
1338
|
-
args: UpdateVirtualRouterCommandInput,
|
|
1339
|
-
options?: __HttpHandlerOptions
|
|
1340
|
-
): Promise<UpdateVirtualRouterCommandOutput>;
|
|
1341
|
-
public updateVirtualRouter(
|
|
1342
|
-
args: UpdateVirtualRouterCommandInput,
|
|
1343
|
-
cb: (err: any, data?: UpdateVirtualRouterCommandOutput) => void
|
|
1344
|
-
): void;
|
|
1345
|
-
public updateVirtualRouter(
|
|
1346
|
-
args: UpdateVirtualRouterCommandInput,
|
|
1347
|
-
options: __HttpHandlerOptions,
|
|
1348
|
-
cb: (err: any, data?: UpdateVirtualRouterCommandOutput) => void
|
|
1349
|
-
): void;
|
|
1350
|
-
public updateVirtualRouter(
|
|
1351
|
-
args: UpdateVirtualRouterCommandInput,
|
|
1352
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualRouterCommandOutput) => void),
|
|
1353
|
-
cb?: (err: any, data?: UpdateVirtualRouterCommandOutput) => void
|
|
1354
|
-
): Promise<UpdateVirtualRouterCommandOutput> | void {
|
|
1355
|
-
const command = new UpdateVirtualRouterCommand(args);
|
|
1356
|
-
if (typeof optionsOrCb === "function") {
|
|
1357
|
-
this.send(command, optionsOrCb);
|
|
1358
|
-
} else if (typeof cb === "function") {
|
|
1359
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1360
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1361
|
-
} else {
|
|
1362
|
-
return this.send(command, optionsOrCb);
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* <p>Updates an existing virtual service in a specified service mesh.</p>
|
|
1368
|
-
*/
|
|
1369
|
-
public updateVirtualService(
|
|
1370
|
-
args: UpdateVirtualServiceCommandInput,
|
|
1371
|
-
options?: __HttpHandlerOptions
|
|
1372
|
-
): Promise<UpdateVirtualServiceCommandOutput>;
|
|
1373
|
-
public updateVirtualService(
|
|
1374
|
-
args: UpdateVirtualServiceCommandInput,
|
|
1375
|
-
cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
|
|
1376
|
-
): void;
|
|
1377
|
-
public updateVirtualService(
|
|
1378
|
-
args: UpdateVirtualServiceCommandInput,
|
|
1379
|
-
options: __HttpHandlerOptions,
|
|
1380
|
-
cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
|
|
1381
|
-
): void;
|
|
1382
|
-
public updateVirtualService(
|
|
1383
|
-
args: UpdateVirtualServiceCommandInput,
|
|
1384
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVirtualServiceCommandOutput) => void),
|
|
1385
|
-
cb?: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
|
|
1386
|
-
): Promise<UpdateVirtualServiceCommandOutput> | void {
|
|
1387
|
-
const command = new UpdateVirtualServiceCommand(args);
|
|
1388
|
-
if (typeof optionsOrCb === "function") {
|
|
1389
|
-
this.send(command, optionsOrCb);
|
|
1390
|
-
} else if (typeof cb === "function") {
|
|
1391
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1392
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1393
|
-
} else {
|
|
1394
|
-
return this.send(command, optionsOrCb);
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
}
|