@aws-sdk/client-app-mesh 3.299.0 → 3.300.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.
Files changed (39) hide show
  1. package/dist-types/commands/CreateGatewayRouteCommand.d.ts +173 -0
  2. package/dist-types/commands/CreateMeshCommand.d.ts +18 -0
  3. package/dist-types/commands/CreateRouteCommand.d.ts +230 -0
  4. package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +132 -0
  5. package/dist-types/commands/CreateVirtualNodeCommand.d.ts +249 -0
  6. package/dist-types/commands/CreateVirtualRouterCommand.d.ts +22 -0
  7. package/dist-types/commands/CreateVirtualServiceCommand.d.ts +22 -0
  8. package/dist-types/commands/DeleteGatewayRouteCommand.d.ts +6 -0
  9. package/dist-types/commands/DeleteMeshCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteRouteCommand.d.ts +6 -0
  11. package/dist-types/commands/DeleteVirtualGatewayCommand.d.ts +5 -0
  12. package/dist-types/commands/DeleteVirtualNodeCommand.d.ts +5 -0
  13. package/dist-types/commands/DeleteVirtualRouterCommand.d.ts +5 -0
  14. package/dist-types/commands/DeleteVirtualServiceCommand.d.ts +5 -0
  15. package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +6 -0
  16. package/dist-types/commands/DescribeMeshCommand.d.ts +4 -0
  17. package/dist-types/commands/DescribeRouteCommand.d.ts +6 -0
  18. package/dist-types/commands/DescribeVirtualGatewayCommand.d.ts +5 -0
  19. package/dist-types/commands/DescribeVirtualNodeCommand.d.ts +5 -0
  20. package/dist-types/commands/DescribeVirtualRouterCommand.d.ts +5 -0
  21. package/dist-types/commands/DescribeVirtualServiceCommand.d.ts +5 -0
  22. package/dist-types/commands/ListGatewayRoutesCommand.d.ts +7 -0
  23. package/dist-types/commands/ListMeshesCommand.d.ts +4 -0
  24. package/dist-types/commands/ListRoutesCommand.d.ts +7 -0
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
  26. package/dist-types/commands/ListVirtualGatewaysCommand.d.ts +6 -0
  27. package/dist-types/commands/ListVirtualNodesCommand.d.ts +6 -0
  28. package/dist-types/commands/ListVirtualRoutersCommand.d.ts +6 -0
  29. package/dist-types/commands/ListVirtualServicesCommand.d.ts +6 -0
  30. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  31. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  32. package/dist-types/commands/UpdateGatewayRouteCommand.d.ts +167 -0
  33. package/dist-types/commands/UpdateMeshCommand.d.ts +12 -0
  34. package/dist-types/commands/UpdateRouteCommand.d.ts +224 -0
  35. package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +126 -0
  36. package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +243 -0
  37. package/dist-types/commands/UpdateVirtualRouterCommand.d.ts +16 -0
  38. package/dist-types/commands/UpdateVirtualServiceCommand.d.ts +16 -0
  39. package/package.json +8 -8
@@ -30,6 +30,179 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
30
30
  * import { AppMeshClient, CreateGatewayRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
31
31
  * // const { AppMeshClient, CreateGatewayRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
32
32
  * const client = new AppMeshClient(config);
33
+ * const input = {
34
+ * gatewayRouteName: "STRING_VALUE", // required
35
+ * meshName: "STRING_VALUE", // required
36
+ * virtualGatewayName: "STRING_VALUE", // required
37
+ * spec: {
38
+ * priority: Number("int"),
39
+ * httpRoute: {
40
+ * match: {
41
+ * prefix: "STRING_VALUE",
42
+ * path: {
43
+ * exact: "STRING_VALUE",
44
+ * regex: "STRING_VALUE",
45
+ * },
46
+ * queryParameters: [
47
+ * {
48
+ * name: "STRING_VALUE", // required
49
+ * match: {
50
+ * exact: "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * ],
54
+ * method: "STRING_VALUE",
55
+ * hostname: {
56
+ * exact: "STRING_VALUE",
57
+ * suffix: "STRING_VALUE",
58
+ * },
59
+ * headers: [
60
+ * {
61
+ * name: "STRING_VALUE", // required
62
+ * invert: true || false,
63
+ * match: { // Union: only one key present
64
+ * exact: "STRING_VALUE",
65
+ * regex: "STRING_VALUE",
66
+ * range: {
67
+ * start: Number("long"), // required
68
+ * end: Number("long"), // required
69
+ * },
70
+ * prefix: "STRING_VALUE",
71
+ * suffix: "STRING_VALUE",
72
+ * },
73
+ * },
74
+ * ],
75
+ * port: Number("int"),
76
+ * },
77
+ * action: {
78
+ * target: {
79
+ * virtualService: {
80
+ * virtualServiceName: "STRING_VALUE", // required
81
+ * },
82
+ * port: Number("int"),
83
+ * },
84
+ * rewrite: {
85
+ * prefix: {
86
+ * defaultPrefix: "STRING_VALUE",
87
+ * value: "STRING_VALUE",
88
+ * },
89
+ * path: {
90
+ * exact: "STRING_VALUE",
91
+ * },
92
+ * hostname: {
93
+ * defaultTargetHostname: "STRING_VALUE",
94
+ * },
95
+ * },
96
+ * },
97
+ * },
98
+ * http2Route: {
99
+ * match: {
100
+ * prefix: "STRING_VALUE",
101
+ * path: {
102
+ * exact: "STRING_VALUE",
103
+ * regex: "STRING_VALUE",
104
+ * },
105
+ * queryParameters: [
106
+ * {
107
+ * name: "STRING_VALUE", // required
108
+ * match: {
109
+ * exact: "STRING_VALUE",
110
+ * },
111
+ * },
112
+ * ],
113
+ * method: "STRING_VALUE",
114
+ * hostname: {
115
+ * exact: "STRING_VALUE",
116
+ * suffix: "STRING_VALUE",
117
+ * },
118
+ * headers: [
119
+ * {
120
+ * name: "STRING_VALUE", // required
121
+ * invert: true || false,
122
+ * match: { // Union: only one key present
123
+ * exact: "STRING_VALUE",
124
+ * regex: "STRING_VALUE",
125
+ * range: {
126
+ * start: Number("long"), // required
127
+ * end: Number("long"), // required
128
+ * },
129
+ * prefix: "STRING_VALUE",
130
+ * suffix: "STRING_VALUE",
131
+ * },
132
+ * },
133
+ * ],
134
+ * port: Number("int"),
135
+ * },
136
+ * action: {
137
+ * target: {
138
+ * virtualService: {
139
+ * virtualServiceName: "STRING_VALUE", // required
140
+ * },
141
+ * port: Number("int"),
142
+ * },
143
+ * rewrite: {
144
+ * prefix: {
145
+ * defaultPrefix: "STRING_VALUE",
146
+ * value: "STRING_VALUE",
147
+ * },
148
+ * path: {
149
+ * exact: "STRING_VALUE",
150
+ * },
151
+ * hostname: {
152
+ * defaultTargetHostname: "STRING_VALUE",
153
+ * },
154
+ * },
155
+ * },
156
+ * },
157
+ * grpcRoute: {
158
+ * match: {
159
+ * serviceName: "STRING_VALUE",
160
+ * hostname: {
161
+ * exact: "STRING_VALUE",
162
+ * suffix: "STRING_VALUE",
163
+ * },
164
+ * metadata: [
165
+ * {
166
+ * name: "STRING_VALUE", // required
167
+ * invert: true || false,
168
+ * match: { // Union: only one key present
169
+ * exact: "STRING_VALUE",
170
+ * regex: "STRING_VALUE",
171
+ * range: {
172
+ * start: Number("long"), // required
173
+ * end: Number("long"), // required
174
+ * },
175
+ * prefix: "STRING_VALUE",
176
+ * suffix: "STRING_VALUE",
177
+ * },
178
+ * },
179
+ * ],
180
+ * port: Number("int"),
181
+ * },
182
+ * action: {
183
+ * target: {
184
+ * virtualService: {
185
+ * virtualServiceName: "STRING_VALUE", // required
186
+ * },
187
+ * port: Number("int"),
188
+ * },
189
+ * rewrite: {
190
+ * hostname: {
191
+ * defaultTargetHostname: "STRING_VALUE",
192
+ * },
193
+ * },
194
+ * },
195
+ * },
196
+ * },
197
+ * tags: [
198
+ * {
199
+ * key: "STRING_VALUE", // required
200
+ * value: "STRING_VALUE", // required
201
+ * },
202
+ * ],
203
+ * clientToken: "STRING_VALUE",
204
+ * meshOwner: "STRING_VALUE",
205
+ * };
33
206
  * const command = new CreateGatewayRouteCommand(input);
34
207
  * const response = await client.send(command);
35
208
  * ```
@@ -31,6 +31,24 @@ export interface CreateMeshCommandOutput extends CreateMeshOutput, __MetadataBea
31
31
  * import { AppMeshClient, CreateMeshCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
32
32
  * // const { AppMeshClient, CreateMeshCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
33
33
  * const client = new AppMeshClient(config);
34
+ * const input = {
35
+ * meshName: "STRING_VALUE", // required
36
+ * spec: {
37
+ * egressFilter: {
38
+ * type: "STRING_VALUE", // required
39
+ * },
40
+ * serviceDiscovery: {
41
+ * ipPreference: "STRING_VALUE",
42
+ * },
43
+ * },
44
+ * tags: [
45
+ * {
46
+ * key: "STRING_VALUE", // required
47
+ * value: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * clientToken: "STRING_VALUE",
51
+ * };
34
52
  * const command = new CreateMeshCommand(input);
35
53
  * const response = await client.send(command);
36
54
  * ```
@@ -29,6 +29,236 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
29
29
  * import { AppMeshClient, CreateRouteCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
30
30
  * // const { AppMeshClient, CreateRouteCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
31
31
  * const client = new AppMeshClient(config);
32
+ * const input = {
33
+ * routeName: "STRING_VALUE", // required
34
+ * meshName: "STRING_VALUE", // required
35
+ * virtualRouterName: "STRING_VALUE", // required
36
+ * spec: {
37
+ * priority: Number("int"),
38
+ * httpRoute: {
39
+ * match: {
40
+ * prefix: "STRING_VALUE",
41
+ * path: {
42
+ * exact: "STRING_VALUE",
43
+ * regex: "STRING_VALUE",
44
+ * },
45
+ * queryParameters: [
46
+ * {
47
+ * name: "STRING_VALUE", // required
48
+ * match: {
49
+ * exact: "STRING_VALUE",
50
+ * },
51
+ * },
52
+ * ],
53
+ * method: "STRING_VALUE",
54
+ * scheme: "STRING_VALUE",
55
+ * headers: [
56
+ * {
57
+ * name: "STRING_VALUE", // required
58
+ * invert: true || false,
59
+ * match: { // Union: only one key present
60
+ * exact: "STRING_VALUE",
61
+ * regex: "STRING_VALUE",
62
+ * range: {
63
+ * start: Number("long"), // required
64
+ * end: Number("long"), // required
65
+ * },
66
+ * prefix: "STRING_VALUE",
67
+ * suffix: "STRING_VALUE",
68
+ * },
69
+ * },
70
+ * ],
71
+ * port: Number("int"),
72
+ * },
73
+ * action: {
74
+ * weightedTargets: [ // required
75
+ * {
76
+ * virtualNode: "STRING_VALUE", // required
77
+ * weight: Number("int"), // required
78
+ * port: Number("int"),
79
+ * },
80
+ * ],
81
+ * },
82
+ * retryPolicy: {
83
+ * perRetryTimeout: {
84
+ * value: Number("long"),
85
+ * unit: "STRING_VALUE",
86
+ * },
87
+ * maxRetries: Number("long"), // required
88
+ * httpRetryEvents: [
89
+ * "STRING_VALUE",
90
+ * ],
91
+ * tcpRetryEvents: [
92
+ * "STRING_VALUE",
93
+ * ],
94
+ * },
95
+ * timeout: {
96
+ * perRequest: {
97
+ * value: Number("long"),
98
+ * unit: "STRING_VALUE",
99
+ * },
100
+ * idle: {
101
+ * value: Number("long"),
102
+ * unit: "STRING_VALUE",
103
+ * },
104
+ * },
105
+ * },
106
+ * tcpRoute: {
107
+ * action: {
108
+ * weightedTargets: [ // required
109
+ * {
110
+ * virtualNode: "STRING_VALUE", // required
111
+ * weight: Number("int"), // required
112
+ * port: Number("int"),
113
+ * },
114
+ * ],
115
+ * },
116
+ * timeout: {
117
+ * idle: {
118
+ * value: Number("long"),
119
+ * unit: "STRING_VALUE",
120
+ * },
121
+ * },
122
+ * match: {
123
+ * port: Number("int"),
124
+ * },
125
+ * },
126
+ * http2Route: {
127
+ * match: {
128
+ * prefix: "STRING_VALUE",
129
+ * path: {
130
+ * exact: "STRING_VALUE",
131
+ * regex: "STRING_VALUE",
132
+ * },
133
+ * queryParameters: [
134
+ * {
135
+ * name: "STRING_VALUE", // required
136
+ * match: {
137
+ * exact: "STRING_VALUE",
138
+ * },
139
+ * },
140
+ * ],
141
+ * method: "STRING_VALUE",
142
+ * scheme: "STRING_VALUE",
143
+ * headers: [
144
+ * {
145
+ * name: "STRING_VALUE", // required
146
+ * invert: true || false,
147
+ * match: { // Union: only one key present
148
+ * exact: "STRING_VALUE",
149
+ * regex: "STRING_VALUE",
150
+ * range: {
151
+ * start: Number("long"), // required
152
+ * end: Number("long"), // required
153
+ * },
154
+ * prefix: "STRING_VALUE",
155
+ * suffix: "STRING_VALUE",
156
+ * },
157
+ * },
158
+ * ],
159
+ * port: Number("int"),
160
+ * },
161
+ * action: {
162
+ * weightedTargets: [ // required
163
+ * {
164
+ * virtualNode: "STRING_VALUE", // required
165
+ * weight: Number("int"), // required
166
+ * port: Number("int"),
167
+ * },
168
+ * ],
169
+ * },
170
+ * retryPolicy: {
171
+ * perRetryTimeout: {
172
+ * value: Number("long"),
173
+ * unit: "STRING_VALUE",
174
+ * },
175
+ * maxRetries: Number("long"), // required
176
+ * httpRetryEvents: [
177
+ * "STRING_VALUE",
178
+ * ],
179
+ * tcpRetryEvents: [
180
+ * "STRING_VALUE",
181
+ * ],
182
+ * },
183
+ * timeout: {
184
+ * perRequest: {
185
+ * value: Number("long"),
186
+ * unit: "STRING_VALUE",
187
+ * },
188
+ * idle: {
189
+ * value: Number("long"),
190
+ * unit: "STRING_VALUE",
191
+ * },
192
+ * },
193
+ * },
194
+ * grpcRoute: {
195
+ * action: {
196
+ * weightedTargets: [ // required
197
+ * {
198
+ * virtualNode: "STRING_VALUE", // required
199
+ * weight: Number("int"), // required
200
+ * port: Number("int"),
201
+ * },
202
+ * ],
203
+ * },
204
+ * match: {
205
+ * serviceName: "STRING_VALUE",
206
+ * methodName: "STRING_VALUE",
207
+ * metadata: [
208
+ * {
209
+ * name: "STRING_VALUE", // required
210
+ * invert: true || false,
211
+ * match: { // Union: only one key present
212
+ * exact: "STRING_VALUE",
213
+ * regex: "STRING_VALUE",
214
+ * range: {
215
+ * start: Number("long"), // required
216
+ * end: Number("long"), // required
217
+ * },
218
+ * prefix: "STRING_VALUE",
219
+ * suffix: "STRING_VALUE",
220
+ * },
221
+ * },
222
+ * ],
223
+ * port: Number("int"),
224
+ * },
225
+ * retryPolicy: {
226
+ * perRetryTimeout: {
227
+ * value: Number("long"),
228
+ * unit: "STRING_VALUE",
229
+ * },
230
+ * maxRetries: Number("long"), // required
231
+ * httpRetryEvents: [
232
+ * "STRING_VALUE",
233
+ * ],
234
+ * tcpRetryEvents: [
235
+ * "STRING_VALUE",
236
+ * ],
237
+ * grpcRetryEvents: [
238
+ * "STRING_VALUE",
239
+ * ],
240
+ * },
241
+ * timeout: {
242
+ * perRequest: {
243
+ * value: Number("long"),
244
+ * unit: "STRING_VALUE",
245
+ * },
246
+ * idle: {
247
+ * value: Number("long"),
248
+ * unit: "STRING_VALUE",
249
+ * },
250
+ * },
251
+ * },
252
+ * },
253
+ * tags: [
254
+ * {
255
+ * key: "STRING_VALUE", // required
256
+ * value: "STRING_VALUE", // required
257
+ * },
258
+ * ],
259
+ * clientToken: "STRING_VALUE",
260
+ * meshOwner: "STRING_VALUE",
261
+ * };
32
262
  * const command = new CreateRouteCommand(input);
33
263
  * const response = await client.send(command);
34
264
  * ```
@@ -31,6 +31,138 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
31
31
  * import { AppMeshClient, CreateVirtualGatewayCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
32
32
  * // const { AppMeshClient, CreateVirtualGatewayCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
33
33
  * const client = new AppMeshClient(config);
34
+ * const input = {
35
+ * virtualGatewayName: "STRING_VALUE", // required
36
+ * meshName: "STRING_VALUE", // required
37
+ * spec: {
38
+ * backendDefaults: {
39
+ * clientPolicy: {
40
+ * tls: {
41
+ * enforce: true || false,
42
+ * ports: [
43
+ * Number("int"),
44
+ * ],
45
+ * certificate: { // Union: only one key present
46
+ * file: {
47
+ * certificateChain: "STRING_VALUE", // required
48
+ * privateKey: "STRING_VALUE", // required
49
+ * },
50
+ * sds: {
51
+ * secretName: "STRING_VALUE", // required
52
+ * },
53
+ * },
54
+ * validation: {
55
+ * trust: { // Union: only one key present
56
+ * acm: {
57
+ * certificateAuthorityArns: [ // required
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * },
61
+ * file: {
62
+ * certificateChain: "STRING_VALUE", // required
63
+ * },
64
+ * sds: {
65
+ * secretName: "STRING_VALUE", // required
66
+ * },
67
+ * },
68
+ * subjectAlternativeNames: {
69
+ * match: {
70
+ * exact: [ // required
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * },
74
+ * },
75
+ * },
76
+ * },
77
+ * },
78
+ * },
79
+ * listeners: [ // required
80
+ * {
81
+ * healthCheck: {
82
+ * timeoutMillis: Number("long"), // required
83
+ * intervalMillis: Number("long"), // required
84
+ * protocol: "STRING_VALUE", // required
85
+ * port: Number("int"),
86
+ * path: "STRING_VALUE",
87
+ * healthyThreshold: Number("int"), // required
88
+ * unhealthyThreshold: Number("int"), // required
89
+ * },
90
+ * portMapping: {
91
+ * port: Number("int"), // required
92
+ * protocol: "STRING_VALUE", // required
93
+ * },
94
+ * tls: {
95
+ * mode: "STRING_VALUE", // required
96
+ * validation: {
97
+ * trust: { // Union: only one key present
98
+ * file: {
99
+ * certificateChain: "STRING_VALUE", // required
100
+ * },
101
+ * sds: {
102
+ * secretName: "STRING_VALUE", // required
103
+ * },
104
+ * },
105
+ * subjectAlternativeNames: {
106
+ * match: {
107
+ * exact: [ // required
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * },
111
+ * },
112
+ * },
113
+ * certificate: { // Union: only one key present
114
+ * acm: {
115
+ * certificateArn: "STRING_VALUE", // required
116
+ * },
117
+ * file: {
118
+ * certificateChain: "STRING_VALUE", // required
119
+ * privateKey: "STRING_VALUE", // required
120
+ * },
121
+ * sds: {
122
+ * secretName: "STRING_VALUE", // required
123
+ * },
124
+ * },
125
+ * },
126
+ * connectionPool: { // Union: only one key present
127
+ * http: {
128
+ * maxConnections: Number("int"), // required
129
+ * maxPendingRequests: Number("int"),
130
+ * },
131
+ * http2: {
132
+ * maxRequests: Number("int"), // required
133
+ * },
134
+ * grpc: {
135
+ * maxRequests: Number("int"), // required
136
+ * },
137
+ * },
138
+ * },
139
+ * ],
140
+ * logging: {
141
+ * accessLog: { // Union: only one key present
142
+ * file: {
143
+ * path: "STRING_VALUE", // required
144
+ * format: { // Union: only one key present
145
+ * text: "STRING_VALUE",
146
+ * json: [
147
+ * {
148
+ * key: "STRING_VALUE", // required
149
+ * value: "STRING_VALUE", // required
150
+ * },
151
+ * ],
152
+ * },
153
+ * },
154
+ * },
155
+ * },
156
+ * },
157
+ * tags: [
158
+ * {
159
+ * key: "STRING_VALUE", // required
160
+ * value: "STRING_VALUE", // required
161
+ * },
162
+ * ],
163
+ * clientToken: "STRING_VALUE",
164
+ * meshOwner: "STRING_VALUE",
165
+ * };
34
166
  * const command = new CreateVirtualGatewayCommand(input);
35
167
  * const response = await client.send(command);
36
168
  * ```