@aws-sdk/client-app-mesh 3.315.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/AppMesh.js +42 -532
- package/dist-cjs/protocols/Aws_restJson1.js +14 -14
- package/dist-es/AppMesh.js +42 -532
- package/dist-es/protocols/Aws_restJson1.js +14 -14
- package/dist-types/AppMesh.d.ts +59 -159
- package/dist-types/ts3.4/AppMesh.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/AppMesh.d.ts
CHANGED
|
@@ -38,353 +38,253 @@ import { UpdateVirtualGatewayCommandInput, UpdateVirtualGatewayCommandOutput } f
|
|
|
38
38
|
import { UpdateVirtualNodeCommandInput, UpdateVirtualNodeCommandOutput } from "./commands/UpdateVirtualNodeCommand";
|
|
39
39
|
import { UpdateVirtualRouterCommandInput, UpdateVirtualRouterCommandOutput } from "./commands/UpdateVirtualRouterCommand";
|
|
40
40
|
import { UpdateVirtualServiceCommandInput, UpdateVirtualServiceCommandOutput } from "./commands/UpdateVirtualServiceCommand";
|
|
41
|
-
|
|
42
|
-
* @public
|
|
43
|
-
* <p>App Mesh is a service mesh based on the Envoy proxy that makes it easy to
|
|
44
|
-
* monitor and control microservices. App Mesh standardizes how your microservices
|
|
45
|
-
* communicate, giving you end-to-end visibility and helping to ensure high availability for
|
|
46
|
-
* your applications.</p>
|
|
47
|
-
* <p>App Mesh gives you consistent visibility and network traffic controls for
|
|
48
|
-
* every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and
|
|
49
|
-
* Amazon EC2.</p>
|
|
50
|
-
* <note>
|
|
51
|
-
* <p>App Mesh supports microservice applications that use service discovery
|
|
52
|
-
* naming for their 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
|
|
53
|
-
* Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes
|
|
54
|
-
* <code>kube-dns</code> and <code>coredns</code> are supported. For more information,
|
|
55
|
-
* see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS
|
|
56
|
-
* for Services and Pods</a> in the Kubernetes documentation.</p>
|
|
57
|
-
* </note>
|
|
58
|
-
*/
|
|
59
|
-
export declare class AppMesh extends AppMeshClient {
|
|
41
|
+
export interface AppMesh {
|
|
60
42
|
/**
|
|
61
|
-
* @
|
|
62
|
-
* <p>Creates a gateway route.</p>
|
|
63
|
-
* <p>A gateway route is attached to a virtual gateway and routes traffic to an existing
|
|
64
|
-
* virtual service. If a route matches a request, it can distribute traffic to a target
|
|
65
|
-
* virtual service.</p>
|
|
66
|
-
* <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>
|
|
43
|
+
* @see {@link CreateGatewayRouteCommand}
|
|
67
44
|
*/
|
|
68
45
|
createGatewayRoute(args: CreateGatewayRouteCommandInput, options?: __HttpHandlerOptions): Promise<CreateGatewayRouteCommandOutput>;
|
|
69
46
|
createGatewayRoute(args: CreateGatewayRouteCommandInput, cb: (err: any, data?: CreateGatewayRouteCommandOutput) => void): void;
|
|
70
47
|
createGatewayRoute(args: CreateGatewayRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGatewayRouteCommandOutput) => void): void;
|
|
71
48
|
/**
|
|
72
|
-
* @
|
|
73
|
-
* <p>Creates a service mesh.</p>
|
|
74
|
-
* <p> A service mesh is a logical boundary for network traffic between services that are
|
|
75
|
-
* represented by resources within the mesh. After you create your service mesh, you can
|
|
76
|
-
* create virtual services, virtual nodes, virtual routers, and routes to distribute traffic
|
|
77
|
-
* between the applications in your mesh.</p>
|
|
78
|
-
* <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>
|
|
49
|
+
* @see {@link CreateMeshCommand}
|
|
79
50
|
*/
|
|
80
51
|
createMesh(args: CreateMeshCommandInput, options?: __HttpHandlerOptions): Promise<CreateMeshCommandOutput>;
|
|
81
52
|
createMesh(args: CreateMeshCommandInput, cb: (err: any, data?: CreateMeshCommandOutput) => void): void;
|
|
82
53
|
createMesh(args: CreateMeshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMeshCommandOutput) => void): void;
|
|
83
54
|
/**
|
|
84
|
-
* @
|
|
85
|
-
* <p>Creates a route that is associated with a virtual router.</p>
|
|
86
|
-
* <p> You can route several different protocols and define a retry policy for a route.
|
|
87
|
-
* Traffic can be routed to one or more virtual nodes.</p>
|
|
88
|
-
* <p>For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>.</p>
|
|
55
|
+
* @see {@link CreateRouteCommand}
|
|
89
56
|
*/
|
|
90
57
|
createRoute(args: CreateRouteCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteCommandOutput>;
|
|
91
58
|
createRoute(args: CreateRouteCommandInput, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
|
|
92
59
|
createRoute(args: CreateRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
|
|
93
60
|
/**
|
|
94
|
-
* @
|
|
95
|
-
* <p>Creates a virtual gateway.</p>
|
|
96
|
-
* <p>A virtual gateway allows resources outside your mesh to communicate to resources that
|
|
97
|
-
* are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a
|
|
98
|
-
* virtual node, which represents an Envoy running with an application, a virtual gateway
|
|
99
|
-
* represents Envoy deployed by itself.</p>
|
|
100
|
-
* <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>
|
|
61
|
+
* @see {@link CreateVirtualGatewayCommand}
|
|
101
62
|
*/
|
|
102
63
|
createVirtualGateway(args: CreateVirtualGatewayCommandInput, options?: __HttpHandlerOptions): Promise<CreateVirtualGatewayCommandOutput>;
|
|
103
64
|
createVirtualGateway(args: CreateVirtualGatewayCommandInput, cb: (err: any, data?: CreateVirtualGatewayCommandOutput) => void): void;
|
|
104
65
|
createVirtualGateway(args: CreateVirtualGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVirtualGatewayCommandOutput) => void): void;
|
|
105
66
|
/**
|
|
106
|
-
* @
|
|
107
|
-
* <p>Creates a virtual node within a service mesh.</p>
|
|
108
|
-
* <p> A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can
|
|
109
|
-
* specify the service discovery information for your task group, and whether the proxy
|
|
110
|
-
* running in a task group will communicate with other proxies using Transport Layer Security
|
|
111
|
-
* (TLS).</p>
|
|
112
|
-
* <p>You define a <code>listener</code> for any inbound traffic that your virtual node
|
|
113
|
-
* expects. Any virtual service that your virtual node expects to communicate to is specified
|
|
114
|
-
* as a <code>backend</code>.</p>
|
|
115
|
-
* <p>The response metadata for your new virtual node contains the <code>arn</code> that is
|
|
116
|
-
* associated with the virtual node. Set this value to the full ARN; for example,
|
|
117
|
-
* <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>)
|
|
118
|
-
* as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's Envoy
|
|
119
|
-
* proxy container in your task definition or pod spec. This is then mapped to the
|
|
120
|
-
* <code>node.id</code> and <code>node.cluster</code> Envoy parameters.</p>
|
|
121
|
-
* <note>
|
|
122
|
-
* <p>By default, App Mesh uses the name of the resource you specified in
|
|
123
|
-
* <code>APPMESH_RESOURCE_ARN</code> when Envoy is referring to itself in metrics and
|
|
124
|
-
* traces. You can override this behavior by setting the
|
|
125
|
-
* <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your own name.</p>
|
|
126
|
-
* </note>
|
|
127
|
-
* <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
|
|
128
|
-
* setting these variables. For more information aboutApp Mesh Envoy variables, see
|
|
129
|
-
* <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy
|
|
130
|
-
* image</a> in the App Mesh User Guide.</p>
|
|
67
|
+
* @see {@link CreateVirtualNodeCommand}
|
|
131
68
|
*/
|
|
132
69
|
createVirtualNode(args: CreateVirtualNodeCommandInput, options?: __HttpHandlerOptions): Promise<CreateVirtualNodeCommandOutput>;
|
|
133
70
|
createVirtualNode(args: CreateVirtualNodeCommandInput, cb: (err: any, data?: CreateVirtualNodeCommandOutput) => void): void;
|
|
134
71
|
createVirtualNode(args: CreateVirtualNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVirtualNodeCommandOutput) => void): void;
|
|
135
72
|
/**
|
|
136
|
-
* @
|
|
137
|
-
* <p>Creates a virtual router within a service mesh.</p>
|
|
138
|
-
* <p>Specify a <code>listener</code> for any inbound traffic that your virtual router
|
|
139
|
-
* receives. Create a virtual router for each protocol and port that you need to route.
|
|
140
|
-
* Virtual routers handle traffic for one or more virtual services within your mesh. After you
|
|
141
|
-
* create your virtual router, create and associate routes for your virtual router that direct
|
|
142
|
-
* incoming requests to different virtual nodes.</p>
|
|
143
|
-
* <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>
|
|
73
|
+
* @see {@link CreateVirtualRouterCommand}
|
|
144
74
|
*/
|
|
145
75
|
createVirtualRouter(args: CreateVirtualRouterCommandInput, options?: __HttpHandlerOptions): Promise<CreateVirtualRouterCommandOutput>;
|
|
146
76
|
createVirtualRouter(args: CreateVirtualRouterCommandInput, cb: (err: any, data?: CreateVirtualRouterCommandOutput) => void): void;
|
|
147
77
|
createVirtualRouter(args: CreateVirtualRouterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVirtualRouterCommandOutput) => void): void;
|
|
148
78
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* <p>Creates a virtual service within a service mesh.</p>
|
|
151
|
-
* <p>A virtual service is an abstraction of a real service that is provided by a virtual node
|
|
152
|
-
* directly or indirectly by means of a virtual router. Dependent services call your virtual
|
|
153
|
-
* service by its <code>virtualServiceName</code>, and those requests are routed to the
|
|
154
|
-
* virtual node or virtual router that is specified as the provider for the virtual
|
|
155
|
-
* service.</p>
|
|
156
|
-
* <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>
|
|
79
|
+
* @see {@link CreateVirtualServiceCommand}
|
|
157
80
|
*/
|
|
158
81
|
createVirtualService(args: CreateVirtualServiceCommandInput, options?: __HttpHandlerOptions): Promise<CreateVirtualServiceCommandOutput>;
|
|
159
82
|
createVirtualService(args: CreateVirtualServiceCommandInput, cb: (err: any, data?: CreateVirtualServiceCommandOutput) => void): void;
|
|
160
83
|
createVirtualService(args: CreateVirtualServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVirtualServiceCommandOutput) => void): void;
|
|
161
84
|
/**
|
|
162
|
-
* @
|
|
163
|
-
* <p>Deletes an existing gateway route.</p>
|
|
85
|
+
* @see {@link DeleteGatewayRouteCommand}
|
|
164
86
|
*/
|
|
165
87
|
deleteGatewayRoute(args: DeleteGatewayRouteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGatewayRouteCommandOutput>;
|
|
166
88
|
deleteGatewayRoute(args: DeleteGatewayRouteCommandInput, cb: (err: any, data?: DeleteGatewayRouteCommandOutput) => void): void;
|
|
167
89
|
deleteGatewayRoute(args: DeleteGatewayRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGatewayRouteCommandOutput) => void): void;
|
|
168
90
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* <p>Deletes an existing service mesh.</p>
|
|
171
|
-
* <p>You must delete all resources (virtual services, routes, virtual routers, and virtual
|
|
172
|
-
* nodes) in the service mesh before you can delete the mesh itself.</p>
|
|
91
|
+
* @see {@link DeleteMeshCommand}
|
|
173
92
|
*/
|
|
174
93
|
deleteMesh(args: DeleteMeshCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMeshCommandOutput>;
|
|
175
94
|
deleteMesh(args: DeleteMeshCommandInput, cb: (err: any, data?: DeleteMeshCommandOutput) => void): void;
|
|
176
95
|
deleteMesh(args: DeleteMeshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMeshCommandOutput) => void): void;
|
|
177
96
|
/**
|
|
178
|
-
* @
|
|
179
|
-
* <p>Deletes an existing route.</p>
|
|
97
|
+
* @see {@link DeleteRouteCommand}
|
|
180
98
|
*/
|
|
181
99
|
deleteRoute(args: DeleteRouteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRouteCommandOutput>;
|
|
182
100
|
deleteRoute(args: DeleteRouteCommandInput, cb: (err: any, data?: DeleteRouteCommandOutput) => void): void;
|
|
183
101
|
deleteRoute(args: DeleteRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRouteCommandOutput) => void): void;
|
|
184
102
|
/**
|
|
185
|
-
* @
|
|
186
|
-
* <p>Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway
|
|
187
|
-
* routes are associated to it.</p>
|
|
103
|
+
* @see {@link DeleteVirtualGatewayCommand}
|
|
188
104
|
*/
|
|
189
105
|
deleteVirtualGateway(args: DeleteVirtualGatewayCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVirtualGatewayCommandOutput>;
|
|
190
106
|
deleteVirtualGateway(args: DeleteVirtualGatewayCommandInput, cb: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void): void;
|
|
191
107
|
deleteVirtualGateway(args: DeleteVirtualGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVirtualGatewayCommandOutput) => void): void;
|
|
192
108
|
/**
|
|
193
|
-
* @
|
|
194
|
-
* <p>Deletes an existing virtual node.</p>
|
|
195
|
-
* <p>You must delete any virtual services that list a virtual node as a service provider
|
|
196
|
-
* before you can delete the virtual node itself.</p>
|
|
109
|
+
* @see {@link DeleteVirtualNodeCommand}
|
|
197
110
|
*/
|
|
198
111
|
deleteVirtualNode(args: DeleteVirtualNodeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVirtualNodeCommandOutput>;
|
|
199
112
|
deleteVirtualNode(args: DeleteVirtualNodeCommandInput, cb: (err: any, data?: DeleteVirtualNodeCommandOutput) => void): void;
|
|
200
113
|
deleteVirtualNode(args: DeleteVirtualNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVirtualNodeCommandOutput) => void): void;
|
|
201
114
|
/**
|
|
202
|
-
* @
|
|
203
|
-
* <p>Deletes an existing virtual router.</p>
|
|
204
|
-
* <p>You must delete any routes associated with the virtual router before you can delete the
|
|
205
|
-
* router itself.</p>
|
|
115
|
+
* @see {@link DeleteVirtualRouterCommand}
|
|
206
116
|
*/
|
|
207
117
|
deleteVirtualRouter(args: DeleteVirtualRouterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVirtualRouterCommandOutput>;
|
|
208
118
|
deleteVirtualRouter(args: DeleteVirtualRouterCommandInput, cb: (err: any, data?: DeleteVirtualRouterCommandOutput) => void): void;
|
|
209
119
|
deleteVirtualRouter(args: DeleteVirtualRouterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVirtualRouterCommandOutput) => void): void;
|
|
210
120
|
/**
|
|
211
|
-
* @
|
|
212
|
-
* <p>Deletes an existing virtual service.</p>
|
|
121
|
+
* @see {@link DeleteVirtualServiceCommand}
|
|
213
122
|
*/
|
|
214
123
|
deleteVirtualService(args: DeleteVirtualServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVirtualServiceCommandOutput>;
|
|
215
124
|
deleteVirtualService(args: DeleteVirtualServiceCommandInput, cb: (err: any, data?: DeleteVirtualServiceCommandOutput) => void): void;
|
|
216
125
|
deleteVirtualService(args: DeleteVirtualServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVirtualServiceCommandOutput) => void): void;
|
|
217
126
|
/**
|
|
218
|
-
* @
|
|
219
|
-
* <p>Describes an existing gateway route.</p>
|
|
127
|
+
* @see {@link DescribeGatewayRouteCommand}
|
|
220
128
|
*/
|
|
221
129
|
describeGatewayRoute(args: DescribeGatewayRouteCommandInput, options?: __HttpHandlerOptions): Promise<DescribeGatewayRouteCommandOutput>;
|
|
222
130
|
describeGatewayRoute(args: DescribeGatewayRouteCommandInput, cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void): void;
|
|
223
131
|
describeGatewayRoute(args: DescribeGatewayRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void): void;
|
|
224
132
|
/**
|
|
225
|
-
* @
|
|
226
|
-
* <p>Describes an existing service mesh.</p>
|
|
133
|
+
* @see {@link DescribeMeshCommand}
|
|
227
134
|
*/
|
|
228
135
|
describeMesh(args: DescribeMeshCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMeshCommandOutput>;
|
|
229
136
|
describeMesh(args: DescribeMeshCommandInput, cb: (err: any, data?: DescribeMeshCommandOutput) => void): void;
|
|
230
137
|
describeMesh(args: DescribeMeshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMeshCommandOutput) => void): void;
|
|
231
138
|
/**
|
|
232
|
-
* @
|
|
233
|
-
* <p>Describes an existing route.</p>
|
|
139
|
+
* @see {@link DescribeRouteCommand}
|
|
234
140
|
*/
|
|
235
141
|
describeRoute(args: DescribeRouteCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRouteCommandOutput>;
|
|
236
142
|
describeRoute(args: DescribeRouteCommandInput, cb: (err: any, data?: DescribeRouteCommandOutput) => void): void;
|
|
237
143
|
describeRoute(args: DescribeRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRouteCommandOutput) => void): void;
|
|
238
144
|
/**
|
|
239
|
-
* @
|
|
240
|
-
* <p>Describes an existing virtual gateway.</p>
|
|
145
|
+
* @see {@link DescribeVirtualGatewayCommand}
|
|
241
146
|
*/
|
|
242
147
|
describeVirtualGateway(args: DescribeVirtualGatewayCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVirtualGatewayCommandOutput>;
|
|
243
148
|
describeVirtualGateway(args: DescribeVirtualGatewayCommandInput, cb: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void): void;
|
|
244
149
|
describeVirtualGateway(args: DescribeVirtualGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVirtualGatewayCommandOutput) => void): void;
|
|
245
150
|
/**
|
|
246
|
-
* @
|
|
247
|
-
* <p>Describes an existing virtual node.</p>
|
|
151
|
+
* @see {@link DescribeVirtualNodeCommand}
|
|
248
152
|
*/
|
|
249
153
|
describeVirtualNode(args: DescribeVirtualNodeCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVirtualNodeCommandOutput>;
|
|
250
154
|
describeVirtualNode(args: DescribeVirtualNodeCommandInput, cb: (err: any, data?: DescribeVirtualNodeCommandOutput) => void): void;
|
|
251
155
|
describeVirtualNode(args: DescribeVirtualNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVirtualNodeCommandOutput) => void): void;
|
|
252
156
|
/**
|
|
253
|
-
* @
|
|
254
|
-
* <p>Describes an existing virtual router.</p>
|
|
157
|
+
* @see {@link DescribeVirtualRouterCommand}
|
|
255
158
|
*/
|
|
256
159
|
describeVirtualRouter(args: DescribeVirtualRouterCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVirtualRouterCommandOutput>;
|
|
257
160
|
describeVirtualRouter(args: DescribeVirtualRouterCommandInput, cb: (err: any, data?: DescribeVirtualRouterCommandOutput) => void): void;
|
|
258
161
|
describeVirtualRouter(args: DescribeVirtualRouterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVirtualRouterCommandOutput) => void): void;
|
|
259
162
|
/**
|
|
260
|
-
* @
|
|
261
|
-
* <p>Describes an existing virtual service.</p>
|
|
163
|
+
* @see {@link DescribeVirtualServiceCommand}
|
|
262
164
|
*/
|
|
263
165
|
describeVirtualService(args: DescribeVirtualServiceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVirtualServiceCommandOutput>;
|
|
264
166
|
describeVirtualService(args: DescribeVirtualServiceCommandInput, cb: (err: any, data?: DescribeVirtualServiceCommandOutput) => void): void;
|
|
265
167
|
describeVirtualService(args: DescribeVirtualServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVirtualServiceCommandOutput) => void): void;
|
|
266
168
|
/**
|
|
267
|
-
* @
|
|
268
|
-
* <p>Returns a list of existing gateway routes that are associated to a virtual
|
|
269
|
-
* gateway.</p>
|
|
169
|
+
* @see {@link ListGatewayRoutesCommand}
|
|
270
170
|
*/
|
|
271
171
|
listGatewayRoutes(args: ListGatewayRoutesCommandInput, options?: __HttpHandlerOptions): Promise<ListGatewayRoutesCommandOutput>;
|
|
272
172
|
listGatewayRoutes(args: ListGatewayRoutesCommandInput, cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void): void;
|
|
273
173
|
listGatewayRoutes(args: ListGatewayRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void): void;
|
|
274
174
|
/**
|
|
275
|
-
* @
|
|
276
|
-
* <p>Returns a list of existing service meshes.</p>
|
|
175
|
+
* @see {@link ListMeshesCommand}
|
|
277
176
|
*/
|
|
278
177
|
listMeshes(args: ListMeshesCommandInput, options?: __HttpHandlerOptions): Promise<ListMeshesCommandOutput>;
|
|
279
178
|
listMeshes(args: ListMeshesCommandInput, cb: (err: any, data?: ListMeshesCommandOutput) => void): void;
|
|
280
179
|
listMeshes(args: ListMeshesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMeshesCommandOutput) => void): void;
|
|
281
180
|
/**
|
|
282
|
-
* @
|
|
283
|
-
* <p>Returns a list of existing routes in a service mesh.</p>
|
|
181
|
+
* @see {@link ListRoutesCommand}
|
|
284
182
|
*/
|
|
285
183
|
listRoutes(args: ListRoutesCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutesCommandOutput>;
|
|
286
184
|
listRoutes(args: ListRoutesCommandInput, cb: (err: any, data?: ListRoutesCommandOutput) => void): void;
|
|
287
185
|
listRoutes(args: ListRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutesCommandOutput) => void): void;
|
|
288
186
|
/**
|
|
289
|
-
* @
|
|
290
|
-
* <p>List the tags for an App Mesh resource.</p>
|
|
187
|
+
* @see {@link ListTagsForResourceCommand}
|
|
291
188
|
*/
|
|
292
189
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
293
190
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
294
191
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
295
192
|
/**
|
|
296
|
-
* @
|
|
297
|
-
* <p>Returns a list of existing virtual gateways in a service mesh.</p>
|
|
193
|
+
* @see {@link ListVirtualGatewaysCommand}
|
|
298
194
|
*/
|
|
299
195
|
listVirtualGateways(args: ListVirtualGatewaysCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualGatewaysCommandOutput>;
|
|
300
196
|
listVirtualGateways(args: ListVirtualGatewaysCommandInput, cb: (err: any, data?: ListVirtualGatewaysCommandOutput) => void): void;
|
|
301
197
|
listVirtualGateways(args: ListVirtualGatewaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVirtualGatewaysCommandOutput) => void): void;
|
|
302
198
|
/**
|
|
303
|
-
* @
|
|
304
|
-
* <p>Returns a list of existing virtual nodes.</p>
|
|
199
|
+
* @see {@link ListVirtualNodesCommand}
|
|
305
200
|
*/
|
|
306
201
|
listVirtualNodes(args: ListVirtualNodesCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualNodesCommandOutput>;
|
|
307
202
|
listVirtualNodes(args: ListVirtualNodesCommandInput, cb: (err: any, data?: ListVirtualNodesCommandOutput) => void): void;
|
|
308
203
|
listVirtualNodes(args: ListVirtualNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVirtualNodesCommandOutput) => void): void;
|
|
309
204
|
/**
|
|
310
|
-
* @
|
|
311
|
-
* <p>Returns a list of existing virtual routers in a service mesh.</p>
|
|
205
|
+
* @see {@link ListVirtualRoutersCommand}
|
|
312
206
|
*/
|
|
313
207
|
listVirtualRouters(args: ListVirtualRoutersCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualRoutersCommandOutput>;
|
|
314
208
|
listVirtualRouters(args: ListVirtualRoutersCommandInput, cb: (err: any, data?: ListVirtualRoutersCommandOutput) => void): void;
|
|
315
209
|
listVirtualRouters(args: ListVirtualRoutersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVirtualRoutersCommandOutput) => void): void;
|
|
316
210
|
/**
|
|
317
|
-
* @
|
|
318
|
-
* <p>Returns a list of existing virtual services in a service mesh.</p>
|
|
211
|
+
* @see {@link ListVirtualServicesCommand}
|
|
319
212
|
*/
|
|
320
213
|
listVirtualServices(args: ListVirtualServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualServicesCommandOutput>;
|
|
321
214
|
listVirtualServices(args: ListVirtualServicesCommandInput, cb: (err: any, data?: ListVirtualServicesCommandOutput) => void): void;
|
|
322
215
|
listVirtualServices(args: ListVirtualServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVirtualServicesCommandOutput) => void): void;
|
|
323
216
|
/**
|
|
324
|
-
* @
|
|
325
|
-
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
326
|
-
* If existing tags on a resource aren't specified in the request parameters, they aren't
|
|
327
|
-
* changed. When a resource is deleted, the tags associated with that resource are also
|
|
328
|
-
* deleted.</p>
|
|
217
|
+
* @see {@link TagResourceCommand}
|
|
329
218
|
*/
|
|
330
219
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
331
220
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
332
221
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
333
222
|
/**
|
|
334
|
-
* @
|
|
335
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
223
|
+
* @see {@link UntagResourceCommand}
|
|
336
224
|
*/
|
|
337
225
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
338
226
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
339
227
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
340
228
|
/**
|
|
341
|
-
* @
|
|
342
|
-
* <p>Updates an existing gateway route that is associated to a specified virtual gateway in a
|
|
343
|
-
* service mesh.</p>
|
|
229
|
+
* @see {@link UpdateGatewayRouteCommand}
|
|
344
230
|
*/
|
|
345
231
|
updateGatewayRoute(args: UpdateGatewayRouteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGatewayRouteCommandOutput>;
|
|
346
232
|
updateGatewayRoute(args: UpdateGatewayRouteCommandInput, cb: (err: any, data?: UpdateGatewayRouteCommandOutput) => void): void;
|
|
347
233
|
updateGatewayRoute(args: UpdateGatewayRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGatewayRouteCommandOutput) => void): void;
|
|
348
234
|
/**
|
|
349
|
-
* @
|
|
350
|
-
* <p>Updates an existing service mesh.</p>
|
|
235
|
+
* @see {@link UpdateMeshCommand}
|
|
351
236
|
*/
|
|
352
237
|
updateMesh(args: UpdateMeshCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMeshCommandOutput>;
|
|
353
238
|
updateMesh(args: UpdateMeshCommandInput, cb: (err: any, data?: UpdateMeshCommandOutput) => void): void;
|
|
354
239
|
updateMesh(args: UpdateMeshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMeshCommandOutput) => void): void;
|
|
355
240
|
/**
|
|
356
|
-
* @
|
|
357
|
-
* <p>Updates an existing route for a specified service mesh and virtual router.</p>
|
|
241
|
+
* @see {@link UpdateRouteCommand}
|
|
358
242
|
*/
|
|
359
243
|
updateRoute(args: UpdateRouteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRouteCommandOutput>;
|
|
360
244
|
updateRoute(args: UpdateRouteCommandInput, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
|
|
361
245
|
updateRoute(args: UpdateRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRouteCommandOutput) => void): void;
|
|
362
246
|
/**
|
|
363
|
-
* @
|
|
364
|
-
* <p>Updates an existing virtual gateway in a specified service mesh.</p>
|
|
247
|
+
* @see {@link UpdateVirtualGatewayCommand}
|
|
365
248
|
*/
|
|
366
249
|
updateVirtualGateway(args: UpdateVirtualGatewayCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVirtualGatewayCommandOutput>;
|
|
367
250
|
updateVirtualGateway(args: UpdateVirtualGatewayCommandInput, cb: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void): void;
|
|
368
251
|
updateVirtualGateway(args: UpdateVirtualGatewayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVirtualGatewayCommandOutput) => void): void;
|
|
369
252
|
/**
|
|
370
|
-
* @
|
|
371
|
-
* <p>Updates an existing virtual node in a specified service mesh.</p>
|
|
253
|
+
* @see {@link UpdateVirtualNodeCommand}
|
|
372
254
|
*/
|
|
373
255
|
updateVirtualNode(args: UpdateVirtualNodeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVirtualNodeCommandOutput>;
|
|
374
256
|
updateVirtualNode(args: UpdateVirtualNodeCommandInput, cb: (err: any, data?: UpdateVirtualNodeCommandOutput) => void): void;
|
|
375
257
|
updateVirtualNode(args: UpdateVirtualNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVirtualNodeCommandOutput) => void): void;
|
|
376
258
|
/**
|
|
377
|
-
* @
|
|
378
|
-
* <p>Updates an existing virtual router in a specified service mesh.</p>
|
|
259
|
+
* @see {@link UpdateVirtualRouterCommand}
|
|
379
260
|
*/
|
|
380
261
|
updateVirtualRouter(args: UpdateVirtualRouterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVirtualRouterCommandOutput>;
|
|
381
262
|
updateVirtualRouter(args: UpdateVirtualRouterCommandInput, cb: (err: any, data?: UpdateVirtualRouterCommandOutput) => void): void;
|
|
382
263
|
updateVirtualRouter(args: UpdateVirtualRouterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVirtualRouterCommandOutput) => void): void;
|
|
383
264
|
/**
|
|
384
|
-
* @
|
|
385
|
-
* <p>Updates an existing virtual service in a specified service mesh.</p>
|
|
265
|
+
* @see {@link UpdateVirtualServiceCommand}
|
|
386
266
|
*/
|
|
387
267
|
updateVirtualService(args: UpdateVirtualServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVirtualServiceCommandOutput>;
|
|
388
268
|
updateVirtualService(args: UpdateVirtualServiceCommandInput, cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void): void;
|
|
389
269
|
updateVirtualService(args: UpdateVirtualServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void): void;
|
|
390
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
* <p>App Mesh is a service mesh based on the Envoy proxy that makes it easy to
|
|
274
|
+
* monitor and control microservices. App Mesh standardizes how your microservices
|
|
275
|
+
* communicate, giving you end-to-end visibility and helping to ensure high availability for
|
|
276
|
+
* your applications.</p>
|
|
277
|
+
* <p>App Mesh gives you consistent visibility and network traffic controls for
|
|
278
|
+
* every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and
|
|
279
|
+
* Amazon EC2.</p>
|
|
280
|
+
* <note>
|
|
281
|
+
* <p>App Mesh supports microservice applications that use service discovery
|
|
282
|
+
* naming for their 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
|
|
283
|
+
* Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes
|
|
284
|
+
* <code>kube-dns</code> and <code>coredns</code> are supported. For more information,
|
|
285
|
+
* see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS
|
|
286
|
+
* for Services and Pods</a> in the Kubernetes documentation.</p>
|
|
287
|
+
* </note>
|
|
288
|
+
*/
|
|
289
|
+
export declare class AppMesh extends AppMeshClient implements AppMesh {
|
|
290
|
+
}
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
UpdateVirtualServiceCommandInput,
|
|
153
153
|
UpdateVirtualServiceCommandOutput,
|
|
154
154
|
} from "./commands/UpdateVirtualServiceCommand";
|
|
155
|
-
export
|
|
155
|
+
export interface AppMesh {
|
|
156
156
|
createGatewayRoute(
|
|
157
157
|
args: CreateGatewayRouteCommandInput,
|
|
158
158
|
options?: __HttpHandlerOptions
|
|
@@ -648,3 +648,4 @@ export declare class AppMesh extends AppMeshClient {
|
|
|
648
648
|
cb: (err: any, data?: UpdateVirtualServiceCommandOutput) => void
|
|
649
649
|
): void;
|
|
650
650
|
}
|
|
651
|
+
export declare class AppMesh extends AppMeshClient implements AppMesh {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-app-mesh",
|
|
3
3
|
"description": "AWS SDK for JavaScript App Mesh Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|