@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.
- package/dist-types/commands/CreateGatewayRouteCommand.d.ts +173 -0
- package/dist-types/commands/CreateMeshCommand.d.ts +18 -0
- package/dist-types/commands/CreateRouteCommand.d.ts +230 -0
- package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +132 -0
- package/dist-types/commands/CreateVirtualNodeCommand.d.ts +249 -0
- package/dist-types/commands/CreateVirtualRouterCommand.d.ts +22 -0
- package/dist-types/commands/CreateVirtualServiceCommand.d.ts +22 -0
- package/dist-types/commands/DeleteGatewayRouteCommand.d.ts +6 -0
- package/dist-types/commands/DeleteMeshCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRouteCommand.d.ts +6 -0
- package/dist-types/commands/DeleteVirtualGatewayCommand.d.ts +5 -0
- package/dist-types/commands/DeleteVirtualNodeCommand.d.ts +5 -0
- package/dist-types/commands/DeleteVirtualRouterCommand.d.ts +5 -0
- package/dist-types/commands/DeleteVirtualServiceCommand.d.ts +5 -0
- package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +6 -0
- package/dist-types/commands/DescribeMeshCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRouteCommand.d.ts +6 -0
- package/dist-types/commands/DescribeVirtualGatewayCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVirtualNodeCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVirtualRouterCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVirtualServiceCommand.d.ts +5 -0
- package/dist-types/commands/ListGatewayRoutesCommand.d.ts +7 -0
- package/dist-types/commands/ListMeshesCommand.d.ts +4 -0
- package/dist-types/commands/ListRoutesCommand.d.ts +7 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/ListVirtualGatewaysCommand.d.ts +6 -0
- package/dist-types/commands/ListVirtualNodesCommand.d.ts +6 -0
- package/dist-types/commands/ListVirtualRoutersCommand.d.ts +6 -0
- package/dist-types/commands/ListVirtualServicesCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateGatewayRouteCommand.d.ts +167 -0
- package/dist-types/commands/UpdateMeshCommand.d.ts +12 -0
- package/dist-types/commands/UpdateRouteCommand.d.ts +224 -0
- package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +126 -0
- package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +243 -0
- package/dist-types/commands/UpdateVirtualRouterCommand.d.ts +16 -0
- package/dist-types/commands/UpdateVirtualServiceCommand.d.ts +16 -0
- package/package.json +8 -8
|
@@ -26,6 +26,249 @@ 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 = {
|
|
30
|
+
* virtualNodeName: "STRING_VALUE", // required
|
|
31
|
+
* meshName: "STRING_VALUE", // required
|
|
32
|
+
* spec: {
|
|
33
|
+
* serviceDiscovery: { // Union: only one key present
|
|
34
|
+
* dns: {
|
|
35
|
+
* hostname: "STRING_VALUE", // required
|
|
36
|
+
* responseType: "STRING_VALUE",
|
|
37
|
+
* ipPreference: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* awsCloudMap: {
|
|
40
|
+
* namespaceName: "STRING_VALUE", // required
|
|
41
|
+
* serviceName: "STRING_VALUE", // required
|
|
42
|
+
* attributes: [
|
|
43
|
+
* {
|
|
44
|
+
* key: "STRING_VALUE", // required
|
|
45
|
+
* value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* ipPreference: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* listeners: [
|
|
52
|
+
* {
|
|
53
|
+
* portMapping: {
|
|
54
|
+
* port: Number("int"), // required
|
|
55
|
+
* protocol: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* tls: {
|
|
58
|
+
* mode: "STRING_VALUE", // required
|
|
59
|
+
* certificate: { // Union: only one key present
|
|
60
|
+
* acm: {
|
|
61
|
+
* certificateArn: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* file: {
|
|
64
|
+
* certificateChain: "STRING_VALUE", // required
|
|
65
|
+
* privateKey: "STRING_VALUE", // required
|
|
66
|
+
* },
|
|
67
|
+
* sds: {
|
|
68
|
+
* secretName: "STRING_VALUE", // required
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* validation: {
|
|
72
|
+
* trust: { // Union: only one key present
|
|
73
|
+
* file: {
|
|
74
|
+
* certificateChain: "STRING_VALUE", // required
|
|
75
|
+
* },
|
|
76
|
+
* sds: {
|
|
77
|
+
* secretName: "STRING_VALUE", // required
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* subjectAlternativeNames: {
|
|
81
|
+
* match: {
|
|
82
|
+
* exact: [ // required
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* healthCheck: {
|
|
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: { // Union: only one key present
|
|
99
|
+
* tcp: {
|
|
100
|
+
* idle: {
|
|
101
|
+
* value: Number("long"),
|
|
102
|
+
* unit: "STRING_VALUE",
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* http: {
|
|
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: {
|
|
126
|
+
* perRequest: {
|
|
127
|
+
* value: Number("long"),
|
|
128
|
+
* unit: "STRING_VALUE",
|
|
129
|
+
* },
|
|
130
|
+
* idle: {
|
|
131
|
+
* value: Number("long"),
|
|
132
|
+
* unit: "STRING_VALUE",
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* outlierDetection: {
|
|
137
|
+
* 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
|
+
* },
|
|
146
|
+
* maxEjectionPercent: Number("int"), // required
|
|
147
|
+
* },
|
|
148
|
+
* connectionPool: { // Union: only one key present
|
|
149
|
+
* tcp: {
|
|
150
|
+
* maxConnections: Number("int"), // required
|
|
151
|
+
* },
|
|
152
|
+
* http: {
|
|
153
|
+
* maxConnections: Number("int"), // required
|
|
154
|
+
* maxPendingRequests: Number("int"),
|
|
155
|
+
* },
|
|
156
|
+
* http2: {
|
|
157
|
+
* maxRequests: Number("int"), // required
|
|
158
|
+
* },
|
|
159
|
+
* grpc: {
|
|
160
|
+
* maxRequests: Number("int"), // required
|
|
161
|
+
* },
|
|
162
|
+
* },
|
|
163
|
+
* },
|
|
164
|
+
* ],
|
|
165
|
+
* backends: [
|
|
166
|
+
* { // Union: only one key present
|
|
167
|
+
* virtualService: {
|
|
168
|
+
* virtualServiceName: "STRING_VALUE", // required
|
|
169
|
+
* clientPolicy: {
|
|
170
|
+
* tls: {
|
|
171
|
+
* enforce: true || false,
|
|
172
|
+
* ports: [
|
|
173
|
+
* Number("int"),
|
|
174
|
+
* ],
|
|
175
|
+
* certificate: { // Union: only one key present
|
|
176
|
+
* file: {
|
|
177
|
+
* certificateChain: "STRING_VALUE", // required
|
|
178
|
+
* privateKey: "STRING_VALUE", // required
|
|
179
|
+
* },
|
|
180
|
+
* sds: {
|
|
181
|
+
* secretName: "STRING_VALUE", // required
|
|
182
|
+
* },
|
|
183
|
+
* },
|
|
184
|
+
* validation: {
|
|
185
|
+
* trust: { // Union: only one key present
|
|
186
|
+
* acm: {
|
|
187
|
+
* certificateAuthorityArns: [ // required
|
|
188
|
+
* "STRING_VALUE",
|
|
189
|
+
* ],
|
|
190
|
+
* },
|
|
191
|
+
* file: {
|
|
192
|
+
* certificateChain: "STRING_VALUE", // required
|
|
193
|
+
* },
|
|
194
|
+
* sds: {
|
|
195
|
+
* secretName: "STRING_VALUE", // required
|
|
196
|
+
* },
|
|
197
|
+
* },
|
|
198
|
+
* subjectAlternativeNames: {
|
|
199
|
+
* match: {
|
|
200
|
+
* exact: [ // required
|
|
201
|
+
* "STRING_VALUE",
|
|
202
|
+
* ],
|
|
203
|
+
* },
|
|
204
|
+
* },
|
|
205
|
+
* },
|
|
206
|
+
* },
|
|
207
|
+
* },
|
|
208
|
+
* },
|
|
209
|
+
* },
|
|
210
|
+
* ],
|
|
211
|
+
* backendDefaults: {
|
|
212
|
+
* clientPolicy: {
|
|
213
|
+
* tls: {
|
|
214
|
+
* enforce: true || false,
|
|
215
|
+
* ports: [
|
|
216
|
+
* Number("int"),
|
|
217
|
+
* ],
|
|
218
|
+
* certificate: { // Union: only one key present
|
|
219
|
+
* file: {
|
|
220
|
+
* certificateChain: "STRING_VALUE", // required
|
|
221
|
+
* privateKey: "STRING_VALUE", // required
|
|
222
|
+
* },
|
|
223
|
+
* sds: {
|
|
224
|
+
* secretName: "STRING_VALUE", // required
|
|
225
|
+
* },
|
|
226
|
+
* },
|
|
227
|
+
* validation: {
|
|
228
|
+
* trust: { // Union: only one key present
|
|
229
|
+
* acm: {
|
|
230
|
+
* certificateAuthorityArns: [ // required
|
|
231
|
+
* "STRING_VALUE",
|
|
232
|
+
* ],
|
|
233
|
+
* },
|
|
234
|
+
* file: {
|
|
235
|
+
* certificateChain: "STRING_VALUE", // required
|
|
236
|
+
* },
|
|
237
|
+
* sds: {
|
|
238
|
+
* secretName: "STRING_VALUE", // required
|
|
239
|
+
* },
|
|
240
|
+
* },
|
|
241
|
+
* subjectAlternativeNames: {
|
|
242
|
+
* match: {
|
|
243
|
+
* exact: [ // required
|
|
244
|
+
* "STRING_VALUE",
|
|
245
|
+
* ],
|
|
246
|
+
* },
|
|
247
|
+
* },
|
|
248
|
+
* },
|
|
249
|
+
* },
|
|
250
|
+
* },
|
|
251
|
+
* },
|
|
252
|
+
* logging: {
|
|
253
|
+
* accessLog: { // Union: only one key present
|
|
254
|
+
* file: {
|
|
255
|
+
* path: "STRING_VALUE", // required
|
|
256
|
+
* format: { // Union: only one key present
|
|
257
|
+
* text: "STRING_VALUE",
|
|
258
|
+
* json: [
|
|
259
|
+
* {
|
|
260
|
+
* key: "STRING_VALUE", // required
|
|
261
|
+
* value: "STRING_VALUE", // required
|
|
262
|
+
* },
|
|
263
|
+
* ],
|
|
264
|
+
* },
|
|
265
|
+
* },
|
|
266
|
+
* },
|
|
267
|
+
* },
|
|
268
|
+
* },
|
|
269
|
+
* clientToken: "STRING_VALUE",
|
|
270
|
+
* meshOwner: "STRING_VALUE",
|
|
271
|
+
* };
|
|
29
272
|
* const command = new UpdateVirtualNodeCommand(input);
|
|
30
273
|
* const response = await client.send(command);
|
|
31
274
|
* ```
|
|
@@ -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 = {
|
|
30
|
+
* virtualRouterName: "STRING_VALUE", // required
|
|
31
|
+
* meshName: "STRING_VALUE", // required
|
|
32
|
+
* spec: {
|
|
33
|
+
* listeners: [
|
|
34
|
+
* {
|
|
35
|
+
* 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 = {
|
|
30
|
+
* virtualServiceName: "STRING_VALUE", // required
|
|
31
|
+
* meshName: "STRING_VALUE", // required
|
|
32
|
+
* spec: {
|
|
33
|
+
* provider: { // Union: only one key present
|
|
34
|
+
* virtualNode: {
|
|
35
|
+
* virtualNodeName: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* virtualRouter: {
|
|
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.
|
|
4
|
+
"version": "3.300.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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"
|