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