@aws-sdk/client-app-mesh 3.321.1 → 3.326.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-types/commands/CreateGatewayRouteCommand.d.ts +182 -0
- package/dist-types/commands/CreateMeshCommand.d.ts +28 -0
- package/dist-types/commands/CreateRouteCommand.d.ts +224 -0
- package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +141 -0
- package/dist-types/commands/CreateVirtualNodeCommand.d.ts +246 -0
- package/dist-types/commands/CreateVirtualRouterCommand.d.ts +31 -0
- package/dist-types/commands/CreateVirtualServiceCommand.d.ts +31 -0
- package/dist-types/commands/DeleteGatewayRouteCommand.d.ts +182 -0
- package/dist-types/commands/DeleteMeshCommand.d.ts +28 -0
- package/dist-types/commands/DeleteRouteCommand.d.ts +224 -0
- package/dist-types/commands/DeleteVirtualGatewayCommand.d.ts +141 -0
- package/dist-types/commands/DeleteVirtualNodeCommand.d.ts +246 -0
- package/dist-types/commands/DeleteVirtualRouterCommand.d.ts +31 -0
- package/dist-types/commands/DeleteVirtualServiceCommand.d.ts +31 -0
- package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +182 -0
- package/dist-types/commands/DescribeMeshCommand.d.ts +28 -0
- package/dist-types/commands/DescribeRouteCommand.d.ts +224 -0
- package/dist-types/commands/DescribeVirtualGatewayCommand.d.ts +141 -0
- package/dist-types/commands/DescribeVirtualNodeCommand.d.ts +246 -0
- package/dist-types/commands/DescribeVirtualRouterCommand.d.ts +31 -0
- package/dist-types/commands/DescribeVirtualServiceCommand.d.ts +31 -0
- package/dist-types/commands/ListGatewayRoutesCommand.d.ts +19 -0
- package/dist-types/commands/ListMeshesCommand.d.ts +17 -0
- package/dist-types/commands/ListRoutesCommand.d.ts +19 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
- package/dist-types/commands/ListVirtualGatewaysCommand.d.ts +18 -0
- package/dist-types/commands/ListVirtualNodesCommand.d.ts +18 -0
- package/dist-types/commands/ListVirtualRoutersCommand.d.ts +18 -0
- package/dist-types/commands/ListVirtualServicesCommand.d.ts +18 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateGatewayRouteCommand.d.ts +182 -0
- package/dist-types/commands/UpdateMeshCommand.d.ts +28 -0
- package/dist-types/commands/UpdateRouteCommand.d.ts +224 -0
- package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +141 -0
- package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +246 -0
- package/dist-types/commands/UpdateVirtualRouterCommand.d.ts +31 -0
- package/dist-types/commands/UpdateVirtualServiceCommand.d.ts +31 -0
- package/package.json +16 -16
|
@@ -205,6 +205,186 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
|
|
|
205
205
|
* };
|
|
206
206
|
* const command = new CreateGatewayRouteCommand(input);
|
|
207
207
|
* const response = await client.send(command);
|
|
208
|
+
* // { // CreateGatewayRouteOutput
|
|
209
|
+
* // gatewayRoute: { // GatewayRouteData
|
|
210
|
+
* // meshName: "STRING_VALUE", // required
|
|
211
|
+
* // gatewayRouteName: "STRING_VALUE", // required
|
|
212
|
+
* // virtualGatewayName: "STRING_VALUE", // required
|
|
213
|
+
* // spec: { // GatewayRouteSpec
|
|
214
|
+
* // priority: Number("int"),
|
|
215
|
+
* // httpRoute: { // HttpGatewayRoute
|
|
216
|
+
* // match: { // HttpGatewayRouteMatch
|
|
217
|
+
* // prefix: "STRING_VALUE",
|
|
218
|
+
* // path: { // HttpPathMatch
|
|
219
|
+
* // exact: "STRING_VALUE",
|
|
220
|
+
* // regex: "STRING_VALUE",
|
|
221
|
+
* // },
|
|
222
|
+
* // queryParameters: [ // HttpQueryParameters
|
|
223
|
+
* // { // HttpQueryParameter
|
|
224
|
+
* // name: "STRING_VALUE", // required
|
|
225
|
+
* // match: { // QueryParameterMatch
|
|
226
|
+
* // exact: "STRING_VALUE",
|
|
227
|
+
* // },
|
|
228
|
+
* // },
|
|
229
|
+
* // ],
|
|
230
|
+
* // method: "STRING_VALUE",
|
|
231
|
+
* // hostname: { // GatewayRouteHostnameMatch
|
|
232
|
+
* // exact: "STRING_VALUE",
|
|
233
|
+
* // suffix: "STRING_VALUE",
|
|
234
|
+
* // },
|
|
235
|
+
* // headers: [ // HttpGatewayRouteHeaders
|
|
236
|
+
* // { // HttpGatewayRouteHeader
|
|
237
|
+
* // name: "STRING_VALUE", // required
|
|
238
|
+
* // invert: true || false,
|
|
239
|
+
* // match: { // HeaderMatchMethod Union: only one key present
|
|
240
|
+
* // exact: "STRING_VALUE",
|
|
241
|
+
* // regex: "STRING_VALUE",
|
|
242
|
+
* // range: { // MatchRange
|
|
243
|
+
* // start: Number("long"), // required
|
|
244
|
+
* // end: Number("long"), // required
|
|
245
|
+
* // },
|
|
246
|
+
* // prefix: "STRING_VALUE",
|
|
247
|
+
* // suffix: "STRING_VALUE",
|
|
248
|
+
* // },
|
|
249
|
+
* // },
|
|
250
|
+
* // ],
|
|
251
|
+
* // port: Number("int"),
|
|
252
|
+
* // },
|
|
253
|
+
* // action: { // HttpGatewayRouteAction
|
|
254
|
+
* // target: { // GatewayRouteTarget
|
|
255
|
+
* // virtualService: { // GatewayRouteVirtualService
|
|
256
|
+
* // virtualServiceName: "STRING_VALUE", // required
|
|
257
|
+
* // },
|
|
258
|
+
* // port: Number("int"),
|
|
259
|
+
* // },
|
|
260
|
+
* // rewrite: { // HttpGatewayRouteRewrite
|
|
261
|
+
* // prefix: { // HttpGatewayRoutePrefixRewrite
|
|
262
|
+
* // defaultPrefix: "STRING_VALUE",
|
|
263
|
+
* // value: "STRING_VALUE",
|
|
264
|
+
* // },
|
|
265
|
+
* // path: { // HttpGatewayRoutePathRewrite
|
|
266
|
+
* // exact: "STRING_VALUE",
|
|
267
|
+
* // },
|
|
268
|
+
* // hostname: { // GatewayRouteHostnameRewrite
|
|
269
|
+
* // defaultTargetHostname: "STRING_VALUE",
|
|
270
|
+
* // },
|
|
271
|
+
* // },
|
|
272
|
+
* // },
|
|
273
|
+
* // },
|
|
274
|
+
* // http2Route: {
|
|
275
|
+
* // match: {
|
|
276
|
+
* // prefix: "STRING_VALUE",
|
|
277
|
+
* // path: {
|
|
278
|
+
* // exact: "STRING_VALUE",
|
|
279
|
+
* // regex: "STRING_VALUE",
|
|
280
|
+
* // },
|
|
281
|
+
* // queryParameters: [
|
|
282
|
+
* // {
|
|
283
|
+
* // name: "STRING_VALUE", // required
|
|
284
|
+
* // match: {
|
|
285
|
+
* // exact: "STRING_VALUE",
|
|
286
|
+
* // },
|
|
287
|
+
* // },
|
|
288
|
+
* // ],
|
|
289
|
+
* // method: "STRING_VALUE",
|
|
290
|
+
* // hostname: {
|
|
291
|
+
* // exact: "STRING_VALUE",
|
|
292
|
+
* // suffix: "STRING_VALUE",
|
|
293
|
+
* // },
|
|
294
|
+
* // headers: [
|
|
295
|
+
* // {
|
|
296
|
+
* // name: "STRING_VALUE", // required
|
|
297
|
+
* // invert: true || false,
|
|
298
|
+
* // match: {// Union: only one key present
|
|
299
|
+
* // exact: "STRING_VALUE",
|
|
300
|
+
* // regex: "STRING_VALUE",
|
|
301
|
+
* // range: {
|
|
302
|
+
* // start: Number("long"), // required
|
|
303
|
+
* // end: Number("long"), // required
|
|
304
|
+
* // },
|
|
305
|
+
* // prefix: "STRING_VALUE",
|
|
306
|
+
* // suffix: "STRING_VALUE",
|
|
307
|
+
* // },
|
|
308
|
+
* // },
|
|
309
|
+
* // ],
|
|
310
|
+
* // port: Number("int"),
|
|
311
|
+
* // },
|
|
312
|
+
* // action: {
|
|
313
|
+
* // target: {
|
|
314
|
+
* // virtualService: {
|
|
315
|
+
* // virtualServiceName: "STRING_VALUE", // required
|
|
316
|
+
* // },
|
|
317
|
+
* // port: Number("int"),
|
|
318
|
+
* // },
|
|
319
|
+
* // rewrite: {
|
|
320
|
+
* // prefix: {
|
|
321
|
+
* // defaultPrefix: "STRING_VALUE",
|
|
322
|
+
* // value: "STRING_VALUE",
|
|
323
|
+
* // },
|
|
324
|
+
* // path: {
|
|
325
|
+
* // exact: "STRING_VALUE",
|
|
326
|
+
* // },
|
|
327
|
+
* // hostname: {
|
|
328
|
+
* // defaultTargetHostname: "STRING_VALUE",
|
|
329
|
+
* // },
|
|
330
|
+
* // },
|
|
331
|
+
* // },
|
|
332
|
+
* // },
|
|
333
|
+
* // grpcRoute: { // GrpcGatewayRoute
|
|
334
|
+
* // match: { // GrpcGatewayRouteMatch
|
|
335
|
+
* // serviceName: "STRING_VALUE",
|
|
336
|
+
* // hostname: {
|
|
337
|
+
* // exact: "STRING_VALUE",
|
|
338
|
+
* // suffix: "STRING_VALUE",
|
|
339
|
+
* // },
|
|
340
|
+
* // metadata: [ // GrpcGatewayRouteMetadataList
|
|
341
|
+
* // { // GrpcGatewayRouteMetadata
|
|
342
|
+
* // name: "STRING_VALUE", // required
|
|
343
|
+
* // invert: true || false,
|
|
344
|
+
* // match: { // GrpcMetadataMatchMethod Union: only one key present
|
|
345
|
+
* // exact: "STRING_VALUE",
|
|
346
|
+
* // regex: "STRING_VALUE",
|
|
347
|
+
* // range: {
|
|
348
|
+
* // start: Number("long"), // required
|
|
349
|
+
* // end: Number("long"), // required
|
|
350
|
+
* // },
|
|
351
|
+
* // prefix: "STRING_VALUE",
|
|
352
|
+
* // suffix: "STRING_VALUE",
|
|
353
|
+
* // },
|
|
354
|
+
* // },
|
|
355
|
+
* // ],
|
|
356
|
+
* // port: Number("int"),
|
|
357
|
+
* // },
|
|
358
|
+
* // action: { // GrpcGatewayRouteAction
|
|
359
|
+
* // target: {
|
|
360
|
+
* // virtualService: {
|
|
361
|
+
* // virtualServiceName: "STRING_VALUE", // required
|
|
362
|
+
* // },
|
|
363
|
+
* // port: Number("int"),
|
|
364
|
+
* // },
|
|
365
|
+
* // rewrite: { // GrpcGatewayRouteRewrite
|
|
366
|
+
* // hostname: {
|
|
367
|
+
* // defaultTargetHostname: "STRING_VALUE",
|
|
368
|
+
* // },
|
|
369
|
+
* // },
|
|
370
|
+
* // },
|
|
371
|
+
* // },
|
|
372
|
+
* // },
|
|
373
|
+
* // metadata: { // ResourceMetadata
|
|
374
|
+
* // arn: "STRING_VALUE", // required
|
|
375
|
+
* // version: Number("long"), // required
|
|
376
|
+
* // uid: "STRING_VALUE", // required
|
|
377
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
378
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
379
|
+
* // meshOwner: "STRING_VALUE", // required
|
|
380
|
+
* // resourceOwner: "STRING_VALUE", // required
|
|
381
|
+
* // },
|
|
382
|
+
* // status: { // GatewayRouteStatus
|
|
383
|
+
* // status: "STRING_VALUE", // required
|
|
384
|
+
* // },
|
|
385
|
+
* // },
|
|
386
|
+
* // };
|
|
387
|
+
*
|
|
208
388
|
* ```
|
|
209
389
|
*
|
|
210
390
|
* @param CreateGatewayRouteCommandInput - {@link CreateGatewayRouteCommandInput}
|
|
@@ -242,6 +422,8 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
|
|
|
242
422
|
* your account. For best results, use an increasing or variable sleep interval between
|
|
243
423
|
* requests.</p>
|
|
244
424
|
*
|
|
425
|
+
* @throws {@link AppMeshServiceException}
|
|
426
|
+
* <p>Base exception class for all service exceptions from AppMesh service.</p>
|
|
245
427
|
*
|
|
246
428
|
*/
|
|
247
429
|
export declare class CreateGatewayRouteCommand extends $Command<CreateGatewayRouteCommandInput, CreateGatewayRouteCommandOutput, AppMeshClientResolvedConfig> {
|
|
@@ -51,6 +51,32 @@ export interface CreateMeshCommandOutput extends CreateMeshOutput, __MetadataBea
|
|
|
51
51
|
* };
|
|
52
52
|
* const command = new CreateMeshCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateMeshOutput
|
|
55
|
+
* // mesh: { // MeshData
|
|
56
|
+
* // meshName: "STRING_VALUE", // required
|
|
57
|
+
* // spec: { // MeshSpec
|
|
58
|
+
* // egressFilter: { // EgressFilter
|
|
59
|
+
* // type: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // serviceDiscovery: { // MeshServiceDiscovery
|
|
62
|
+
* // ipPreference: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // metadata: { // ResourceMetadata
|
|
66
|
+
* // arn: "STRING_VALUE", // required
|
|
67
|
+
* // version: Number("long"), // required
|
|
68
|
+
* // uid: "STRING_VALUE", // required
|
|
69
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // meshOwner: "STRING_VALUE", // required
|
|
72
|
+
* // resourceOwner: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // status: { // MeshStatus
|
|
75
|
+
* // status: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
54
80
|
* ```
|
|
55
81
|
*
|
|
56
82
|
* @param CreateMeshCommandInput - {@link CreateMeshCommandInput}
|
|
@@ -88,6 +114,8 @@ export interface CreateMeshCommandOutput extends CreateMeshOutput, __MetadataBea
|
|
|
88
114
|
* your account. For best results, use an increasing or variable sleep interval between
|
|
89
115
|
* requests.</p>
|
|
90
116
|
*
|
|
117
|
+
* @throws {@link AppMeshServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from AppMesh service.</p>
|
|
91
119
|
*
|
|
92
120
|
*/
|
|
93
121
|
export declare class CreateMeshCommand extends $Command<CreateMeshCommandInput, CreateMeshCommandOutput, AppMeshClientResolvedConfig> {
|
|
@@ -246,6 +246,228 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
246
246
|
* };
|
|
247
247
|
* const command = new CreateRouteCommand(input);
|
|
248
248
|
* const response = await client.send(command);
|
|
249
|
+
* // { // CreateRouteOutput
|
|
250
|
+
* // route: { // RouteData
|
|
251
|
+
* // meshName: "STRING_VALUE", // required
|
|
252
|
+
* // virtualRouterName: "STRING_VALUE", // required
|
|
253
|
+
* // routeName: "STRING_VALUE", // required
|
|
254
|
+
* // spec: { // RouteSpec
|
|
255
|
+
* // priority: Number("int"),
|
|
256
|
+
* // httpRoute: { // HttpRoute
|
|
257
|
+
* // match: { // HttpRouteMatch
|
|
258
|
+
* // prefix: "STRING_VALUE",
|
|
259
|
+
* // path: { // HttpPathMatch
|
|
260
|
+
* // exact: "STRING_VALUE",
|
|
261
|
+
* // regex: "STRING_VALUE",
|
|
262
|
+
* // },
|
|
263
|
+
* // queryParameters: [ // HttpQueryParameters
|
|
264
|
+
* // { // HttpQueryParameter
|
|
265
|
+
* // name: "STRING_VALUE", // required
|
|
266
|
+
* // match: { // QueryParameterMatch
|
|
267
|
+
* // exact: "STRING_VALUE",
|
|
268
|
+
* // },
|
|
269
|
+
* // },
|
|
270
|
+
* // ],
|
|
271
|
+
* // method: "STRING_VALUE",
|
|
272
|
+
* // scheme: "STRING_VALUE",
|
|
273
|
+
* // headers: [ // HttpRouteHeaders
|
|
274
|
+
* // { // HttpRouteHeader
|
|
275
|
+
* // name: "STRING_VALUE", // required
|
|
276
|
+
* // invert: true || false,
|
|
277
|
+
* // match: { // HeaderMatchMethod Union: only one key present
|
|
278
|
+
* // exact: "STRING_VALUE",
|
|
279
|
+
* // regex: "STRING_VALUE",
|
|
280
|
+
* // range: { // MatchRange
|
|
281
|
+
* // start: Number("long"), // required
|
|
282
|
+
* // end: Number("long"), // required
|
|
283
|
+
* // },
|
|
284
|
+
* // prefix: "STRING_VALUE",
|
|
285
|
+
* // suffix: "STRING_VALUE",
|
|
286
|
+
* // },
|
|
287
|
+
* // },
|
|
288
|
+
* // ],
|
|
289
|
+
* // port: Number("int"),
|
|
290
|
+
* // },
|
|
291
|
+
* // action: { // HttpRouteAction
|
|
292
|
+
* // weightedTargets: [ // WeightedTargets // required
|
|
293
|
+
* // { // WeightedTarget
|
|
294
|
+
* // virtualNode: "STRING_VALUE", // required
|
|
295
|
+
* // weight: Number("int"), // required
|
|
296
|
+
* // port: Number("int"),
|
|
297
|
+
* // },
|
|
298
|
+
* // ],
|
|
299
|
+
* // },
|
|
300
|
+
* // retryPolicy: { // HttpRetryPolicy
|
|
301
|
+
* // perRetryTimeout: { // Duration
|
|
302
|
+
* // value: Number("long"),
|
|
303
|
+
* // unit: "STRING_VALUE",
|
|
304
|
+
* // },
|
|
305
|
+
* // maxRetries: Number("long"), // required
|
|
306
|
+
* // httpRetryEvents: [ // HttpRetryPolicyEvents
|
|
307
|
+
* // "STRING_VALUE",
|
|
308
|
+
* // ],
|
|
309
|
+
* // tcpRetryEvents: [ // TcpRetryPolicyEvents
|
|
310
|
+
* // "STRING_VALUE",
|
|
311
|
+
* // ],
|
|
312
|
+
* // },
|
|
313
|
+
* // timeout: { // HttpTimeout
|
|
314
|
+
* // perRequest: {
|
|
315
|
+
* // value: Number("long"),
|
|
316
|
+
* // unit: "STRING_VALUE",
|
|
317
|
+
* // },
|
|
318
|
+
* // idle: {
|
|
319
|
+
* // value: Number("long"),
|
|
320
|
+
* // unit: "STRING_VALUE",
|
|
321
|
+
* // },
|
|
322
|
+
* // },
|
|
323
|
+
* // },
|
|
324
|
+
* // tcpRoute: { // TcpRoute
|
|
325
|
+
* // action: { // TcpRouteAction
|
|
326
|
+
* // weightedTargets: [ // required
|
|
327
|
+
* // {
|
|
328
|
+
* // virtualNode: "STRING_VALUE", // required
|
|
329
|
+
* // weight: Number("int"), // required
|
|
330
|
+
* // port: Number("int"),
|
|
331
|
+
* // },
|
|
332
|
+
* // ],
|
|
333
|
+
* // },
|
|
334
|
+
* // timeout: { // TcpTimeout
|
|
335
|
+
* // idle: {
|
|
336
|
+
* // value: Number("long"),
|
|
337
|
+
* // unit: "STRING_VALUE",
|
|
338
|
+
* // },
|
|
339
|
+
* // },
|
|
340
|
+
* // match: { // TcpRouteMatch
|
|
341
|
+
* // port: Number("int"),
|
|
342
|
+
* // },
|
|
343
|
+
* // },
|
|
344
|
+
* // http2Route: {
|
|
345
|
+
* // match: {
|
|
346
|
+
* // prefix: "STRING_VALUE",
|
|
347
|
+
* // path: {
|
|
348
|
+
* // exact: "STRING_VALUE",
|
|
349
|
+
* // regex: "STRING_VALUE",
|
|
350
|
+
* // },
|
|
351
|
+
* // queryParameters: [
|
|
352
|
+
* // {
|
|
353
|
+
* // name: "STRING_VALUE", // required
|
|
354
|
+
* // match: {
|
|
355
|
+
* // exact: "STRING_VALUE",
|
|
356
|
+
* // },
|
|
357
|
+
* // },
|
|
358
|
+
* // ],
|
|
359
|
+
* // method: "STRING_VALUE",
|
|
360
|
+
* // scheme: "STRING_VALUE",
|
|
361
|
+
* // headers: [
|
|
362
|
+
* // {
|
|
363
|
+
* // name: "STRING_VALUE", // required
|
|
364
|
+
* // invert: true || false,
|
|
365
|
+
* // match: {// Union: only one key present
|
|
366
|
+
* // exact: "STRING_VALUE",
|
|
367
|
+
* // regex: "STRING_VALUE",
|
|
368
|
+
* // range: {
|
|
369
|
+
* // start: Number("long"), // required
|
|
370
|
+
* // end: Number("long"), // required
|
|
371
|
+
* // },
|
|
372
|
+
* // prefix: "STRING_VALUE",
|
|
373
|
+
* // suffix: "STRING_VALUE",
|
|
374
|
+
* // },
|
|
375
|
+
* // },
|
|
376
|
+
* // ],
|
|
377
|
+
* // port: Number("int"),
|
|
378
|
+
* // },
|
|
379
|
+
* // action: {
|
|
380
|
+
* // weightedTargets: [ // required
|
|
381
|
+
* // {
|
|
382
|
+
* // virtualNode: "STRING_VALUE", // required
|
|
383
|
+
* // weight: Number("int"), // required
|
|
384
|
+
* // port: Number("int"),
|
|
385
|
+
* // },
|
|
386
|
+
* // ],
|
|
387
|
+
* // },
|
|
388
|
+
* // retryPolicy: {
|
|
389
|
+
* // perRetryTimeout: {
|
|
390
|
+
* // value: Number("long"),
|
|
391
|
+
* // unit: "STRING_VALUE",
|
|
392
|
+
* // },
|
|
393
|
+
* // maxRetries: Number("long"), // required
|
|
394
|
+
* // httpRetryEvents: [
|
|
395
|
+
* // "STRING_VALUE",
|
|
396
|
+
* // ],
|
|
397
|
+
* // tcpRetryEvents: [
|
|
398
|
+
* // "STRING_VALUE",
|
|
399
|
+
* // ],
|
|
400
|
+
* // },
|
|
401
|
+
* // timeout: {
|
|
402
|
+
* // perRequest: "<Duration>",
|
|
403
|
+
* // idle: "<Duration>",
|
|
404
|
+
* // },
|
|
405
|
+
* // },
|
|
406
|
+
* // grpcRoute: { // GrpcRoute
|
|
407
|
+
* // action: { // GrpcRouteAction
|
|
408
|
+
* // weightedTargets: [ // required
|
|
409
|
+
* // {
|
|
410
|
+
* // virtualNode: "STRING_VALUE", // required
|
|
411
|
+
* // weight: Number("int"), // required
|
|
412
|
+
* // port: Number("int"),
|
|
413
|
+
* // },
|
|
414
|
+
* // ],
|
|
415
|
+
* // },
|
|
416
|
+
* // match: { // GrpcRouteMatch
|
|
417
|
+
* // serviceName: "STRING_VALUE",
|
|
418
|
+
* // methodName: "STRING_VALUE",
|
|
419
|
+
* // metadata: [ // GrpcRouteMetadataList
|
|
420
|
+
* // { // GrpcRouteMetadata
|
|
421
|
+
* // name: "STRING_VALUE", // required
|
|
422
|
+
* // invert: true || false,
|
|
423
|
+
* // match: { // GrpcRouteMetadataMatchMethod Union: only one key present
|
|
424
|
+
* // exact: "STRING_VALUE",
|
|
425
|
+
* // regex: "STRING_VALUE",
|
|
426
|
+
* // range: {
|
|
427
|
+
* // start: Number("long"), // required
|
|
428
|
+
* // end: Number("long"), // required
|
|
429
|
+
* // },
|
|
430
|
+
* // prefix: "STRING_VALUE",
|
|
431
|
+
* // suffix: "STRING_VALUE",
|
|
432
|
+
* // },
|
|
433
|
+
* // },
|
|
434
|
+
* // ],
|
|
435
|
+
* // port: Number("int"),
|
|
436
|
+
* // },
|
|
437
|
+
* // retryPolicy: { // GrpcRetryPolicy
|
|
438
|
+
* // perRetryTimeout: "<Duration>", // required
|
|
439
|
+
* // maxRetries: Number("long"), // required
|
|
440
|
+
* // httpRetryEvents: [
|
|
441
|
+
* // "STRING_VALUE",
|
|
442
|
+
* // ],
|
|
443
|
+
* // tcpRetryEvents: [
|
|
444
|
+
* // "STRING_VALUE",
|
|
445
|
+
* // ],
|
|
446
|
+
* // grpcRetryEvents: [ // GrpcRetryPolicyEvents
|
|
447
|
+
* // "STRING_VALUE",
|
|
448
|
+
* // ],
|
|
449
|
+
* // },
|
|
450
|
+
* // timeout: { // GrpcTimeout
|
|
451
|
+
* // perRequest: "<Duration>",
|
|
452
|
+
* // idle: "<Duration>",
|
|
453
|
+
* // },
|
|
454
|
+
* // },
|
|
455
|
+
* // },
|
|
456
|
+
* // metadata: { // ResourceMetadata
|
|
457
|
+
* // arn: "STRING_VALUE", // required
|
|
458
|
+
* // version: Number("long"), // required
|
|
459
|
+
* // uid: "STRING_VALUE", // required
|
|
460
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
461
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
462
|
+
* // meshOwner: "STRING_VALUE", // required
|
|
463
|
+
* // resourceOwner: "STRING_VALUE", // required
|
|
464
|
+
* // },
|
|
465
|
+
* // status: { // RouteStatus
|
|
466
|
+
* // status: "STRING_VALUE", // required
|
|
467
|
+
* // },
|
|
468
|
+
* // },
|
|
469
|
+
* // };
|
|
470
|
+
*
|
|
249
471
|
* ```
|
|
250
472
|
*
|
|
251
473
|
* @param CreateRouteCommandInput - {@link CreateRouteCommandInput}
|
|
@@ -283,6 +505,8 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
283
505
|
* your account. For best results, use an increasing or variable sleep interval between
|
|
284
506
|
* requests.</p>
|
|
285
507
|
*
|
|
508
|
+
* @throws {@link AppMeshServiceException}
|
|
509
|
+
* <p>Base exception class for all service exceptions from AppMesh service.</p>
|
|
286
510
|
*
|
|
287
511
|
*/
|
|
288
512
|
export declare class CreateRouteCommand extends $Command<CreateRouteCommandInput, CreateRouteCommandOutput, AppMeshClientResolvedConfig> {
|
|
@@ -165,6 +165,145 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
|
|
|
165
165
|
* };
|
|
166
166
|
* const command = new CreateVirtualGatewayCommand(input);
|
|
167
167
|
* const response = await client.send(command);
|
|
168
|
+
* // { // CreateVirtualGatewayOutput
|
|
169
|
+
* // virtualGateway: { // VirtualGatewayData
|
|
170
|
+
* // meshName: "STRING_VALUE", // required
|
|
171
|
+
* // virtualGatewayName: "STRING_VALUE", // required
|
|
172
|
+
* // spec: { // VirtualGatewaySpec
|
|
173
|
+
* // backendDefaults: { // VirtualGatewayBackendDefaults
|
|
174
|
+
* // clientPolicy: { // VirtualGatewayClientPolicy
|
|
175
|
+
* // tls: { // VirtualGatewayClientPolicyTls
|
|
176
|
+
* // enforce: true || false,
|
|
177
|
+
* // ports: [ // PortSet
|
|
178
|
+
* // Number("int"),
|
|
179
|
+
* // ],
|
|
180
|
+
* // certificate: { // VirtualGatewayClientTlsCertificate Union: only one key present
|
|
181
|
+
* // file: { // VirtualGatewayListenerTlsFileCertificate
|
|
182
|
+
* // certificateChain: "STRING_VALUE", // required
|
|
183
|
+
* // privateKey: "STRING_VALUE", // required
|
|
184
|
+
* // },
|
|
185
|
+
* // sds: { // VirtualGatewayListenerTlsSdsCertificate
|
|
186
|
+
* // secretName: "STRING_VALUE", // required
|
|
187
|
+
* // },
|
|
188
|
+
* // },
|
|
189
|
+
* // validation: { // VirtualGatewayTlsValidationContext
|
|
190
|
+
* // trust: { // VirtualGatewayTlsValidationContextTrust Union: only one key present
|
|
191
|
+
* // acm: { // VirtualGatewayTlsValidationContextAcmTrust
|
|
192
|
+
* // certificateAuthorityArns: [ // VirtualGatewayCertificateAuthorityArns // required
|
|
193
|
+
* // "STRING_VALUE",
|
|
194
|
+
* // ],
|
|
195
|
+
* // },
|
|
196
|
+
* // file: { // VirtualGatewayTlsValidationContextFileTrust
|
|
197
|
+
* // certificateChain: "STRING_VALUE", // required
|
|
198
|
+
* // },
|
|
199
|
+
* // sds: { // VirtualGatewayTlsValidationContextSdsTrust
|
|
200
|
+
* // secretName: "STRING_VALUE", // required
|
|
201
|
+
* // },
|
|
202
|
+
* // },
|
|
203
|
+
* // subjectAlternativeNames: { // SubjectAlternativeNames
|
|
204
|
+
* // match: { // SubjectAlternativeNameMatchers
|
|
205
|
+
* // exact: [ // SubjectAlternativeNameList // required
|
|
206
|
+
* // "STRING_VALUE",
|
|
207
|
+
* // ],
|
|
208
|
+
* // },
|
|
209
|
+
* // },
|
|
210
|
+
* // },
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // listeners: [ // VirtualGatewayListeners // required
|
|
215
|
+
* // { // VirtualGatewayListener
|
|
216
|
+
* // healthCheck: { // VirtualGatewayHealthCheckPolicy
|
|
217
|
+
* // timeoutMillis: Number("long"), // required
|
|
218
|
+
* // intervalMillis: Number("long"), // required
|
|
219
|
+
* // protocol: "STRING_VALUE", // required
|
|
220
|
+
* // port: Number("int"),
|
|
221
|
+
* // path: "STRING_VALUE",
|
|
222
|
+
* // healthyThreshold: Number("int"), // required
|
|
223
|
+
* // unhealthyThreshold: Number("int"), // required
|
|
224
|
+
* // },
|
|
225
|
+
* // portMapping: { // VirtualGatewayPortMapping
|
|
226
|
+
* // port: Number("int"), // required
|
|
227
|
+
* // protocol: "STRING_VALUE", // required
|
|
228
|
+
* // },
|
|
229
|
+
* // tls: { // VirtualGatewayListenerTls
|
|
230
|
+
* // mode: "STRING_VALUE", // required
|
|
231
|
+
* // validation: { // VirtualGatewayListenerTlsValidationContext
|
|
232
|
+
* // trust: { // VirtualGatewayListenerTlsValidationContextTrust Union: only one key present
|
|
233
|
+
* // file: {
|
|
234
|
+
* // certificateChain: "STRING_VALUE", // required
|
|
235
|
+
* // },
|
|
236
|
+
* // sds: {
|
|
237
|
+
* // secretName: "STRING_VALUE", // required
|
|
238
|
+
* // },
|
|
239
|
+
* // },
|
|
240
|
+
* // subjectAlternativeNames: {
|
|
241
|
+
* // match: {
|
|
242
|
+
* // exact: [ // required
|
|
243
|
+
* // "STRING_VALUE",
|
|
244
|
+
* // ],
|
|
245
|
+
* // },
|
|
246
|
+
* // },
|
|
247
|
+
* // },
|
|
248
|
+
* // certificate: { // VirtualGatewayListenerTlsCertificate Union: only one key present
|
|
249
|
+
* // acm: { // VirtualGatewayListenerTlsAcmCertificate
|
|
250
|
+
* // certificateArn: "STRING_VALUE", // required
|
|
251
|
+
* // },
|
|
252
|
+
* // file: {
|
|
253
|
+
* // certificateChain: "STRING_VALUE", // required
|
|
254
|
+
* // privateKey: "STRING_VALUE", // required
|
|
255
|
+
* // },
|
|
256
|
+
* // sds: {
|
|
257
|
+
* // secretName: "STRING_VALUE", // required
|
|
258
|
+
* // },
|
|
259
|
+
* // },
|
|
260
|
+
* // },
|
|
261
|
+
* // connectionPool: { // VirtualGatewayConnectionPool Union: only one key present
|
|
262
|
+
* // http: { // VirtualGatewayHttpConnectionPool
|
|
263
|
+
* // maxConnections: Number("int"), // required
|
|
264
|
+
* // maxPendingRequests: Number("int"),
|
|
265
|
+
* // },
|
|
266
|
+
* // http2: { // VirtualGatewayHttp2ConnectionPool
|
|
267
|
+
* // maxRequests: Number("int"), // required
|
|
268
|
+
* // },
|
|
269
|
+
* // grpc: { // VirtualGatewayGrpcConnectionPool
|
|
270
|
+
* // maxRequests: Number("int"), // required
|
|
271
|
+
* // },
|
|
272
|
+
* // },
|
|
273
|
+
* // },
|
|
274
|
+
* // ],
|
|
275
|
+
* // logging: { // VirtualGatewayLogging
|
|
276
|
+
* // accessLog: { // VirtualGatewayAccessLog Union: only one key present
|
|
277
|
+
* // file: { // VirtualGatewayFileAccessLog
|
|
278
|
+
* // path: "STRING_VALUE", // required
|
|
279
|
+
* // format: { // LoggingFormat Union: only one key present
|
|
280
|
+
* // text: "STRING_VALUE",
|
|
281
|
+
* // json: [ // JsonFormat
|
|
282
|
+
* // { // JsonFormatRef
|
|
283
|
+
* // key: "STRING_VALUE", // required
|
|
284
|
+
* // value: "STRING_VALUE", // required
|
|
285
|
+
* // },
|
|
286
|
+
* // ],
|
|
287
|
+
* // },
|
|
288
|
+
* // },
|
|
289
|
+
* // },
|
|
290
|
+
* // },
|
|
291
|
+
* // },
|
|
292
|
+
* // metadata: { // ResourceMetadata
|
|
293
|
+
* // arn: "STRING_VALUE", // required
|
|
294
|
+
* // version: Number("long"), // required
|
|
295
|
+
* // uid: "STRING_VALUE", // required
|
|
296
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
297
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
298
|
+
* // meshOwner: "STRING_VALUE", // required
|
|
299
|
+
* // resourceOwner: "STRING_VALUE", // required
|
|
300
|
+
* // },
|
|
301
|
+
* // status: { // VirtualGatewayStatus
|
|
302
|
+
* // status: "STRING_VALUE", // required
|
|
303
|
+
* // },
|
|
304
|
+
* // },
|
|
305
|
+
* // };
|
|
306
|
+
*
|
|
168
307
|
* ```
|
|
169
308
|
*
|
|
170
309
|
* @param CreateVirtualGatewayCommandInput - {@link CreateVirtualGatewayCommandInput}
|
|
@@ -202,6 +341,8 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
|
|
|
202
341
|
* your account. For best results, use an increasing or variable sleep interval between
|
|
203
342
|
* requests.</p>
|
|
204
343
|
*
|
|
344
|
+
* @throws {@link AppMeshServiceException}
|
|
345
|
+
* <p>Base exception class for all service exceptions from AppMesh service.</p>
|
|
205
346
|
*
|
|
206
347
|
*/
|
|
207
348
|
export declare class CreateVirtualGatewayCommand extends $Command<CreateVirtualGatewayCommandInput, CreateVirtualGatewayCommandOutput, AppMeshClientResolvedConfig> {
|