@aws-sdk/client-app-mesh 3.299.0 → 3.301.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 +215 -0
  4. package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +132 -0
  5. package/dist-types/commands/CreateVirtualNodeCommand.d.ts +237 -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 +209 -0
  35. package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +126 -0
  36. package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +231 -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
@@ -26,6 +26,237 @@ 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 = { // UpdateVirtualNodeInput
30
+ * virtualNodeName: "STRING_VALUE", // required
31
+ * meshName: "STRING_VALUE", // required
32
+ * spec: { // VirtualNodeSpec
33
+ * serviceDiscovery: { // ServiceDiscovery Union: only one key present
34
+ * dns: { // DnsServiceDiscovery
35
+ * hostname: "STRING_VALUE", // required
36
+ * responseType: "STRING_VALUE",
37
+ * ipPreference: "STRING_VALUE",
38
+ * },
39
+ * awsCloudMap: { // AwsCloudMapServiceDiscovery
40
+ * namespaceName: "STRING_VALUE", // required
41
+ * serviceName: "STRING_VALUE", // required
42
+ * attributes: [ // AwsCloudMapInstanceAttributes
43
+ * { // AwsCloudMapInstanceAttribute
44
+ * key: "STRING_VALUE", // required
45
+ * value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * ipPreference: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * listeners: [ // Listeners
52
+ * { // Listener
53
+ * portMapping: { // PortMapping
54
+ * port: Number("int"), // required
55
+ * protocol: "STRING_VALUE", // required
56
+ * },
57
+ * tls: { // ListenerTls
58
+ * mode: "STRING_VALUE", // required
59
+ * certificate: { // ListenerTlsCertificate Union: only one key present
60
+ * acm: { // ListenerTlsAcmCertificate
61
+ * certificateArn: "STRING_VALUE", // required
62
+ * },
63
+ * file: { // ListenerTlsFileCertificate
64
+ * certificateChain: "STRING_VALUE", // required
65
+ * privateKey: "STRING_VALUE", // required
66
+ * },
67
+ * sds: { // ListenerTlsSdsCertificate
68
+ * secretName: "STRING_VALUE", // required
69
+ * },
70
+ * },
71
+ * validation: { // ListenerTlsValidationContext
72
+ * trust: { // ListenerTlsValidationContextTrust Union: only one key present
73
+ * file: { // TlsValidationContextFileTrust
74
+ * certificateChain: "STRING_VALUE", // required
75
+ * },
76
+ * sds: { // TlsValidationContextSdsTrust
77
+ * secretName: "STRING_VALUE", // required
78
+ * },
79
+ * },
80
+ * subjectAlternativeNames: { // SubjectAlternativeNames
81
+ * match: { // SubjectAlternativeNameMatchers
82
+ * exact: [ // SubjectAlternativeNameList // required
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * },
86
+ * },
87
+ * },
88
+ * },
89
+ * healthCheck: { // HealthCheckPolicy
90
+ * timeoutMillis: Number("long"), // required
91
+ * intervalMillis: Number("long"), // required
92
+ * protocol: "STRING_VALUE", // required
93
+ * port: Number("int"),
94
+ * path: "STRING_VALUE",
95
+ * healthyThreshold: Number("int"), // required
96
+ * unhealthyThreshold: Number("int"), // required
97
+ * },
98
+ * timeout: { // ListenerTimeout Union: only one key present
99
+ * tcp: { // TcpTimeout
100
+ * idle: { // Duration
101
+ * value: Number("long"),
102
+ * unit: "STRING_VALUE",
103
+ * },
104
+ * },
105
+ * http: { // HttpTimeout
106
+ * perRequest: {
107
+ * value: Number("long"),
108
+ * unit: "STRING_VALUE",
109
+ * },
110
+ * idle: {
111
+ * value: Number("long"),
112
+ * unit: "STRING_VALUE",
113
+ * },
114
+ * },
115
+ * http2: {
116
+ * perRequest: {
117
+ * value: Number("long"),
118
+ * unit: "STRING_VALUE",
119
+ * },
120
+ * idle: {
121
+ * value: Number("long"),
122
+ * unit: "STRING_VALUE",
123
+ * },
124
+ * },
125
+ * grpc: { // GrpcTimeout
126
+ * perRequest: "<Duration>",
127
+ * idle: "<Duration>",
128
+ * },
129
+ * },
130
+ * outlierDetection: { // OutlierDetection
131
+ * maxServerErrors: Number("long"), // required
132
+ * interval: "<Duration>", // required
133
+ * baseEjectionDuration: "<Duration>", // required
134
+ * maxEjectionPercent: Number("int"), // required
135
+ * },
136
+ * connectionPool: { // VirtualNodeConnectionPool Union: only one key present
137
+ * tcp: { // VirtualNodeTcpConnectionPool
138
+ * maxConnections: Number("int"), // required
139
+ * },
140
+ * http: { // VirtualNodeHttpConnectionPool
141
+ * maxConnections: Number("int"), // required
142
+ * maxPendingRequests: Number("int"),
143
+ * },
144
+ * http2: { // VirtualNodeHttp2ConnectionPool
145
+ * maxRequests: Number("int"), // required
146
+ * },
147
+ * grpc: { // VirtualNodeGrpcConnectionPool
148
+ * maxRequests: Number("int"), // required
149
+ * },
150
+ * },
151
+ * },
152
+ * ],
153
+ * backends: [ // Backends
154
+ * { // Backend Union: only one key present
155
+ * virtualService: { // VirtualServiceBackend
156
+ * virtualServiceName: "STRING_VALUE", // required
157
+ * clientPolicy: { // ClientPolicy
158
+ * tls: { // ClientPolicyTls
159
+ * enforce: true || false,
160
+ * ports: [ // PortSet
161
+ * Number("int"),
162
+ * ],
163
+ * certificate: { // ClientTlsCertificate Union: only one key present
164
+ * file: {
165
+ * certificateChain: "STRING_VALUE", // required
166
+ * privateKey: "STRING_VALUE", // required
167
+ * },
168
+ * sds: {
169
+ * secretName: "STRING_VALUE", // required
170
+ * },
171
+ * },
172
+ * validation: { // TlsValidationContext
173
+ * trust: { // TlsValidationContextTrust Union: only one key present
174
+ * acm: { // TlsValidationContextAcmTrust
175
+ * certificateAuthorityArns: [ // CertificateAuthorityArns // required
176
+ * "STRING_VALUE",
177
+ * ],
178
+ * },
179
+ * file: {
180
+ * certificateChain: "STRING_VALUE", // required
181
+ * },
182
+ * sds: {
183
+ * secretName: "STRING_VALUE", // required
184
+ * },
185
+ * },
186
+ * subjectAlternativeNames: {
187
+ * match: {
188
+ * exact: [ // required
189
+ * "STRING_VALUE",
190
+ * ],
191
+ * },
192
+ * },
193
+ * },
194
+ * },
195
+ * },
196
+ * },
197
+ * },
198
+ * ],
199
+ * backendDefaults: { // BackendDefaults
200
+ * clientPolicy: {
201
+ * tls: {
202
+ * enforce: true || false,
203
+ * ports: [
204
+ * Number("int"),
205
+ * ],
206
+ * certificate: {// Union: only one key present
207
+ * file: {
208
+ * certificateChain: "STRING_VALUE", // required
209
+ * privateKey: "STRING_VALUE", // required
210
+ * },
211
+ * sds: {
212
+ * secretName: "STRING_VALUE", // required
213
+ * },
214
+ * },
215
+ * validation: {
216
+ * trust: {// Union: only one key present
217
+ * acm: {
218
+ * certificateAuthorityArns: [ // required
219
+ * "STRING_VALUE",
220
+ * ],
221
+ * },
222
+ * file: {
223
+ * certificateChain: "STRING_VALUE", // required
224
+ * },
225
+ * sds: {
226
+ * secretName: "STRING_VALUE", // required
227
+ * },
228
+ * },
229
+ * subjectAlternativeNames: {
230
+ * match: {
231
+ * exact: [ // required
232
+ * "STRING_VALUE",
233
+ * ],
234
+ * },
235
+ * },
236
+ * },
237
+ * },
238
+ * },
239
+ * },
240
+ * logging: { // Logging
241
+ * accessLog: { // AccessLog Union: only one key present
242
+ * file: { // FileAccessLog
243
+ * path: "STRING_VALUE", // required
244
+ * format: { // LoggingFormat Union: only one key present
245
+ * text: "STRING_VALUE",
246
+ * json: [ // JsonFormat
247
+ * { // JsonFormatRef
248
+ * key: "STRING_VALUE", // required
249
+ * value: "STRING_VALUE", // required
250
+ * },
251
+ * ],
252
+ * },
253
+ * },
254
+ * },
255
+ * },
256
+ * },
257
+ * clientToken: "STRING_VALUE",
258
+ * meshOwner: "STRING_VALUE",
259
+ * };
29
260
  * const command = new UpdateVirtualNodeCommand(input);
30
261
  * const response = await client.send(command);
31
262
  * ```
@@ -26,6 +26,22 @@ 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 = { // UpdateVirtualRouterInput
30
+ * virtualRouterName: "STRING_VALUE", // required
31
+ * meshName: "STRING_VALUE", // required
32
+ * spec: { // VirtualRouterSpec
33
+ * listeners: [ // VirtualRouterListeners
34
+ * { // VirtualRouterListener
35
+ * portMapping: { // PortMapping
36
+ * port: Number("int"), // required
37
+ * protocol: "STRING_VALUE", // required
38
+ * },
39
+ * },
40
+ * ],
41
+ * },
42
+ * clientToken: "STRING_VALUE",
43
+ * meshOwner: "STRING_VALUE",
44
+ * };
29
45
  * const command = new UpdateVirtualRouterCommand(input);
30
46
  * const response = await client.send(command);
31
47
  * ```
@@ -26,6 +26,22 @@ 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 = { // UpdateVirtualServiceInput
30
+ * virtualServiceName: "STRING_VALUE", // required
31
+ * meshName: "STRING_VALUE", // required
32
+ * spec: { // VirtualServiceSpec
33
+ * provider: { // VirtualServiceProvider Union: only one key present
34
+ * virtualNode: { // VirtualNodeServiceProvider
35
+ * virtualNodeName: "STRING_VALUE", // required
36
+ * },
37
+ * virtualRouter: { // VirtualRouterServiceProvider
38
+ * virtualRouterName: "STRING_VALUE", // required
39
+ * },
40
+ * },
41
+ * },
42
+ * clientToken: "STRING_VALUE",
43
+ * meshOwner: "STRING_VALUE",
44
+ * };
29
45
  * const command = new UpdateVirtualServiceCommand(input);
30
46
  * const response = await client.send(command);
31
47
  * ```
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.299.0",
4
+ "version": "3.301.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"