@aws-sdk/client-app-mesh 3.300.0 → 3.303.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 (43) hide show
  1. package/dist-cjs/models/models_0.js +103 -123
  2. package/dist-es/models/models_0.js +103 -123
  3. package/dist-types/commands/CreateGatewayRouteCommand.d.ts +30 -30
  4. package/dist-types/commands/CreateMeshCommand.d.ts +6 -6
  5. package/dist-types/commands/CreateRouteCommand.d.ts +41 -56
  6. package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +39 -39
  7. package/dist-types/commands/CreateVirtualNodeCommand.d.ts +60 -72
  8. package/dist-types/commands/CreateVirtualRouterCommand.d.ts +7 -7
  9. package/dist-types/commands/CreateVirtualServiceCommand.d.ts +7 -7
  10. package/dist-types/commands/DeleteGatewayRouteCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteMeshCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteVirtualGatewayCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteVirtualNodeCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteVirtualRouterCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteVirtualServiceCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeMeshCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeRouteCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeVirtualGatewayCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeVirtualNodeCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeVirtualRouterCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeVirtualServiceCommand.d.ts +1 -1
  24. package/dist-types/commands/ListGatewayRoutesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListMeshesCommand.d.ts +1 -1
  26. package/dist-types/commands/ListRoutesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/ListVirtualGatewaysCommand.d.ts +1 -1
  29. package/dist-types/commands/ListVirtualNodesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListVirtualRoutersCommand.d.ts +1 -1
  31. package/dist-types/commands/ListVirtualServicesCommand.d.ts +1 -1
  32. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  33. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  34. package/dist-types/commands/UpdateGatewayRouteCommand.d.ts +28 -28
  35. package/dist-types/commands/UpdateMeshCommand.d.ts +4 -4
  36. package/dist-types/commands/UpdateRouteCommand.d.ts +39 -54
  37. package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +37 -37
  38. package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +58 -70
  39. package/dist-types/commands/UpdateVirtualRouterCommand.d.ts +5 -5
  40. package/dist-types/commands/UpdateVirtualServiceCommand.d.ts +5 -5
  41. package/dist-types/models/models_0.d.ts +203 -103
  42. package/dist-types/ts3.4/models/models_0.d.ts +138 -103
  43. package/package.json +34 -34
@@ -26,21 +26,21 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
26
26
  * import { AppMeshClient, UpdateVirtualNodeCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
27
27
  * // const { AppMeshClient, UpdateVirtualNodeCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
28
28
  * const client = new AppMeshClient(config);
29
- * const input = {
29
+ * const input = { // UpdateVirtualNodeInput
30
30
  * virtualNodeName: "STRING_VALUE", // required
31
31
  * meshName: "STRING_VALUE", // required
32
- * spec: {
33
- * serviceDiscovery: { // Union: only one key present
34
- * dns: {
32
+ * spec: { // VirtualNodeSpec
33
+ * serviceDiscovery: { // ServiceDiscovery Union: only one key present
34
+ * dns: { // DnsServiceDiscovery
35
35
  * hostname: "STRING_VALUE", // required
36
36
  * responseType: "STRING_VALUE",
37
37
  * ipPreference: "STRING_VALUE",
38
38
  * },
39
- * awsCloudMap: {
39
+ * awsCloudMap: { // AwsCloudMapServiceDiscovery
40
40
  * namespaceName: "STRING_VALUE", // required
41
41
  * serviceName: "STRING_VALUE", // required
42
- * attributes: [
43
- * {
42
+ * attributes: [ // AwsCloudMapInstanceAttributes
43
+ * { // AwsCloudMapInstanceAttribute
44
44
  * key: "STRING_VALUE", // required
45
45
  * value: "STRING_VALUE", // required
46
46
  * },
@@ -48,45 +48,45 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
48
48
  * ipPreference: "STRING_VALUE",
49
49
  * },
50
50
  * },
51
- * listeners: [
52
- * {
53
- * portMapping: {
51
+ * listeners: [ // Listeners
52
+ * { // Listener
53
+ * portMapping: { // PortMapping
54
54
  * port: Number("int"), // required
55
55
  * protocol: "STRING_VALUE", // required
56
56
  * },
57
- * tls: {
57
+ * tls: { // ListenerTls
58
58
  * mode: "STRING_VALUE", // required
59
- * certificate: { // Union: only one key present
60
- * acm: {
59
+ * certificate: { // ListenerTlsCertificate Union: only one key present
60
+ * acm: { // ListenerTlsAcmCertificate
61
61
  * certificateArn: "STRING_VALUE", // required
62
62
  * },
63
- * file: {
63
+ * file: { // ListenerTlsFileCertificate
64
64
  * certificateChain: "STRING_VALUE", // required
65
65
  * privateKey: "STRING_VALUE", // required
66
66
  * },
67
- * sds: {
67
+ * sds: { // ListenerTlsSdsCertificate
68
68
  * secretName: "STRING_VALUE", // required
69
69
  * },
70
70
  * },
71
- * validation: {
72
- * trust: { // Union: only one key present
73
- * file: {
71
+ * validation: { // ListenerTlsValidationContext
72
+ * trust: { // ListenerTlsValidationContextTrust Union: only one key present
73
+ * file: { // TlsValidationContextFileTrust
74
74
  * certificateChain: "STRING_VALUE", // required
75
75
  * },
76
- * sds: {
76
+ * sds: { // TlsValidationContextSdsTrust
77
77
  * secretName: "STRING_VALUE", // required
78
78
  * },
79
79
  * },
80
- * subjectAlternativeNames: {
81
- * match: {
82
- * exact: [ // required
80
+ * subjectAlternativeNames: { // SubjectAlternativeNames
81
+ * match: { // SubjectAlternativeNameMatchers
82
+ * exact: [ // SubjectAlternativeNameList // required
83
83
  * "STRING_VALUE",
84
84
  * ],
85
85
  * },
86
86
  * },
87
87
  * },
88
88
  * },
89
- * healthCheck: {
89
+ * healthCheck: { // HealthCheckPolicy
90
90
  * timeoutMillis: Number("long"), // required
91
91
  * intervalMillis: Number("long"), // required
92
92
  * protocol: "STRING_VALUE", // required
@@ -95,14 +95,14 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
95
95
  * healthyThreshold: Number("int"), // required
96
96
  * unhealthyThreshold: Number("int"), // required
97
97
  * },
98
- * timeout: { // Union: only one key present
99
- * tcp: {
100
- * idle: {
98
+ * timeout: { // ListenerTimeout Union: only one key present
99
+ * tcp: { // TcpTimeout
100
+ * idle: { // Duration
101
101
  * value: Number("long"),
102
102
  * unit: "STRING_VALUE",
103
103
  * },
104
104
  * },
105
- * http: {
105
+ * http: { // HttpTimeout
106
106
  * perRequest: {
107
107
  * value: Number("long"),
108
108
  * unit: "STRING_VALUE",
@@ -122,57 +122,45 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
122
122
  * unit: "STRING_VALUE",
123
123
  * },
124
124
  * },
125
- * grpc: {
126
- * perRequest: {
127
- * value: Number("long"),
128
- * unit: "STRING_VALUE",
129
- * },
130
- * idle: {
131
- * value: Number("long"),
132
- * unit: "STRING_VALUE",
133
- * },
125
+ * grpc: { // GrpcTimeout
126
+ * perRequest: "<Duration>",
127
+ * idle: "<Duration>",
134
128
  * },
135
129
  * },
136
- * outlierDetection: {
130
+ * outlierDetection: { // OutlierDetection
137
131
  * maxServerErrors: Number("long"), // required
138
- * interval: {
139
- * value: Number("long"),
140
- * unit: "STRING_VALUE",
141
- * },
142
- * baseEjectionDuration: {
143
- * value: Number("long"),
144
- * unit: "STRING_VALUE",
145
- * },
132
+ * interval: "<Duration>", // required
133
+ * baseEjectionDuration: "<Duration>", // required
146
134
  * maxEjectionPercent: Number("int"), // required
147
135
  * },
148
- * connectionPool: { // Union: only one key present
149
- * tcp: {
136
+ * connectionPool: { // VirtualNodeConnectionPool Union: only one key present
137
+ * tcp: { // VirtualNodeTcpConnectionPool
150
138
  * maxConnections: Number("int"), // required
151
139
  * },
152
- * http: {
140
+ * http: { // VirtualNodeHttpConnectionPool
153
141
  * maxConnections: Number("int"), // required
154
142
  * maxPendingRequests: Number("int"),
155
143
  * },
156
- * http2: {
144
+ * http2: { // VirtualNodeHttp2ConnectionPool
157
145
  * maxRequests: Number("int"), // required
158
146
  * },
159
- * grpc: {
147
+ * grpc: { // VirtualNodeGrpcConnectionPool
160
148
  * maxRequests: Number("int"), // required
161
149
  * },
162
150
  * },
163
151
  * },
164
152
  * ],
165
- * backends: [
166
- * { // Union: only one key present
167
- * virtualService: {
153
+ * backends: [ // Backends
154
+ * { // Backend Union: only one key present
155
+ * virtualService: { // VirtualServiceBackend
168
156
  * virtualServiceName: "STRING_VALUE", // required
169
- * clientPolicy: {
170
- * tls: {
157
+ * clientPolicy: { // ClientPolicy
158
+ * tls: { // ClientPolicyTls
171
159
  * enforce: true || false,
172
- * ports: [
160
+ * ports: [ // PortSet
173
161
  * Number("int"),
174
162
  * ],
175
- * certificate: { // Union: only one key present
163
+ * certificate: { // ClientTlsCertificate Union: only one key present
176
164
  * file: {
177
165
  * certificateChain: "STRING_VALUE", // required
178
166
  * privateKey: "STRING_VALUE", // required
@@ -181,10 +169,10 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
181
169
  * secretName: "STRING_VALUE", // required
182
170
  * },
183
171
  * },
184
- * validation: {
185
- * trust: { // Union: only one key present
186
- * acm: {
187
- * certificateAuthorityArns: [ // required
172
+ * validation: { // TlsValidationContext
173
+ * trust: { // TlsValidationContextTrust Union: only one key present
174
+ * acm: { // TlsValidationContextAcmTrust
175
+ * certificateAuthorityArns: [ // CertificateAuthorityArns // required
188
176
  * "STRING_VALUE",
189
177
  * ],
190
178
  * },
@@ -208,14 +196,14 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
208
196
  * },
209
197
  * },
210
198
  * ],
211
- * backendDefaults: {
199
+ * backendDefaults: { // BackendDefaults
212
200
  * clientPolicy: {
213
201
  * tls: {
214
202
  * enforce: true || false,
215
203
  * ports: [
216
204
  * Number("int"),
217
205
  * ],
218
- * certificate: { // Union: only one key present
206
+ * certificate: {// Union: only one key present
219
207
  * file: {
220
208
  * certificateChain: "STRING_VALUE", // required
221
209
  * privateKey: "STRING_VALUE", // required
@@ -225,7 +213,7 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
225
213
  * },
226
214
  * },
227
215
  * validation: {
228
- * trust: { // Union: only one key present
216
+ * trust: {// Union: only one key present
229
217
  * acm: {
230
218
  * certificateAuthorityArns: [ // required
231
219
  * "STRING_VALUE",
@@ -249,14 +237,14 @@ export interface UpdateVirtualNodeCommandOutput extends UpdateVirtualNodeOutput,
249
237
  * },
250
238
  * },
251
239
  * },
252
- * logging: {
253
- * accessLog: { // Union: only one key present
254
- * file: {
240
+ * logging: { // Logging
241
+ * accessLog: { // AccessLog Union: only one key present
242
+ * file: { // FileAccessLog
255
243
  * path: "STRING_VALUE", // required
256
- * format: { // Union: only one key present
244
+ * format: { // LoggingFormat Union: only one key present
257
245
  * text: "STRING_VALUE",
258
- * json: [
259
- * {
246
+ * json: [ // JsonFormat
247
+ * { // JsonFormatRef
260
248
  * key: "STRING_VALUE", // required
261
249
  * value: "STRING_VALUE", // required
262
250
  * },
@@ -26,13 +26,13 @@ export interface UpdateVirtualRouterCommandOutput extends UpdateVirtualRouterOut
26
26
  * import { AppMeshClient, UpdateVirtualRouterCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
27
27
  * // const { AppMeshClient, UpdateVirtualRouterCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
28
28
  * const client = new AppMeshClient(config);
29
- * const input = {
29
+ * const input = { // UpdateVirtualRouterInput
30
30
  * virtualRouterName: "STRING_VALUE", // required
31
31
  * meshName: "STRING_VALUE", // required
32
- * spec: {
33
- * listeners: [
34
- * {
35
- * portMapping: {
32
+ * spec: { // VirtualRouterSpec
33
+ * listeners: [ // VirtualRouterListeners
34
+ * { // VirtualRouterListener
35
+ * portMapping: { // PortMapping
36
36
  * port: Number("int"), // required
37
37
  * protocol: "STRING_VALUE", // required
38
38
  * },
@@ -26,15 +26,15 @@ export interface UpdateVirtualServiceCommandOutput extends UpdateVirtualServiceO
26
26
  * import { AppMeshClient, UpdateVirtualServiceCommand } from "@aws-sdk/client-app-mesh"; // ES Modules import
27
27
  * // const { AppMeshClient, UpdateVirtualServiceCommand } = require("@aws-sdk/client-app-mesh"); // CommonJS import
28
28
  * const client = new AppMeshClient(config);
29
- * const input = {
29
+ * const input = { // UpdateVirtualServiceInput
30
30
  * virtualServiceName: "STRING_VALUE", // required
31
31
  * meshName: "STRING_VALUE", // required
32
- * spec: {
33
- * provider: { // Union: only one key present
34
- * virtualNode: {
32
+ * spec: { // VirtualServiceSpec
33
+ * provider: { // VirtualServiceProvider Union: only one key present
34
+ * virtualNode: { // VirtualNodeServiceProvider
35
35
  * virtualNodeName: "STRING_VALUE", // required
36
36
  * },
37
- * virtualRouter: {
37
+ * virtualRouter: { // VirtualRouterServiceProvider
38
38
  * virtualRouterName: "STRING_VALUE", // required
39
39
  * },
40
40
  * },