@aws-sdk/client-app-mesh 3.300.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.
- package/dist-types/commands/CreateGatewayRouteCommand.d.ts +30 -30
- package/dist-types/commands/CreateMeshCommand.d.ts +6 -6
- package/dist-types/commands/CreateRouteCommand.d.ts +41 -56
- package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +39 -39
- package/dist-types/commands/CreateVirtualNodeCommand.d.ts +60 -72
- package/dist-types/commands/CreateVirtualRouterCommand.d.ts +7 -7
- package/dist-types/commands/CreateVirtualServiceCommand.d.ts +7 -7
- package/dist-types/commands/DeleteGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMeshCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVirtualGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVirtualNodeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVirtualRouterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVirtualServiceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMeshCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRouteCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVirtualGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVirtualNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVirtualRouterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVirtualServiceCommand.d.ts +1 -1
- package/dist-types/commands/ListGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/ListMeshesCommand.d.ts +1 -1
- package/dist-types/commands/ListRoutesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListVirtualGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/ListVirtualNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListVirtualRoutersCommand.d.ts +1 -1
- package/dist-types/commands/ListVirtualServicesCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateGatewayRouteCommand.d.ts +28 -28
- package/dist-types/commands/UpdateMeshCommand.d.ts +4 -4
- package/dist-types/commands/UpdateRouteCommand.d.ts +39 -54
- package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +37 -37
- package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +58 -70
- package/dist-types/commands/UpdateVirtualRouterCommand.d.ts +5 -5
- package/dist-types/commands/UpdateVirtualServiceCommand.d.ts +5 -5
- package/package.json +3 -3
|
@@ -30,40 +30,40 @@ 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 = {
|
|
33
|
+
* const input = { // CreateGatewayRouteInput
|
|
34
34
|
* gatewayRouteName: "STRING_VALUE", // required
|
|
35
35
|
* meshName: "STRING_VALUE", // required
|
|
36
36
|
* virtualGatewayName: "STRING_VALUE", // required
|
|
37
|
-
* spec: {
|
|
37
|
+
* spec: { // GatewayRouteSpec
|
|
38
38
|
* priority: Number("int"),
|
|
39
|
-
* httpRoute: {
|
|
40
|
-
* match: {
|
|
39
|
+
* httpRoute: { // HttpGatewayRoute
|
|
40
|
+
* match: { // HttpGatewayRouteMatch
|
|
41
41
|
* prefix: "STRING_VALUE",
|
|
42
|
-
* path: {
|
|
42
|
+
* path: { // HttpPathMatch
|
|
43
43
|
* exact: "STRING_VALUE",
|
|
44
44
|
* regex: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
|
-
* queryParameters: [
|
|
47
|
-
* {
|
|
46
|
+
* queryParameters: [ // HttpQueryParameters
|
|
47
|
+
* { // HttpQueryParameter
|
|
48
48
|
* name: "STRING_VALUE", // required
|
|
49
|
-
* match: {
|
|
49
|
+
* match: { // QueryParameterMatch
|
|
50
50
|
* exact: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
53
53
|
* ],
|
|
54
54
|
* method: "STRING_VALUE",
|
|
55
|
-
* hostname: {
|
|
55
|
+
* hostname: { // GatewayRouteHostnameMatch
|
|
56
56
|
* exact: "STRING_VALUE",
|
|
57
57
|
* suffix: "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* headers: [
|
|
60
|
-
* {
|
|
59
|
+
* headers: [ // HttpGatewayRouteHeaders
|
|
60
|
+
* { // HttpGatewayRouteHeader
|
|
61
61
|
* name: "STRING_VALUE", // required
|
|
62
62
|
* invert: true || false,
|
|
63
|
-
* match: { // Union: only one key present
|
|
63
|
+
* match: { // HeaderMatchMethod Union: only one key present
|
|
64
64
|
* exact: "STRING_VALUE",
|
|
65
65
|
* regex: "STRING_VALUE",
|
|
66
|
-
* range: {
|
|
66
|
+
* range: { // MatchRange
|
|
67
67
|
* start: Number("long"), // required
|
|
68
68
|
* end: Number("long"), // required
|
|
69
69
|
* },
|
|
@@ -74,22 +74,22 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
|
|
|
74
74
|
* ],
|
|
75
75
|
* port: Number("int"),
|
|
76
76
|
* },
|
|
77
|
-
* action: {
|
|
78
|
-
* target: {
|
|
79
|
-
* virtualService: {
|
|
77
|
+
* action: { // HttpGatewayRouteAction
|
|
78
|
+
* target: { // GatewayRouteTarget
|
|
79
|
+
* virtualService: { // GatewayRouteVirtualService
|
|
80
80
|
* virtualServiceName: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
82
82
|
* port: Number("int"),
|
|
83
83
|
* },
|
|
84
|
-
* rewrite: {
|
|
85
|
-
* prefix: {
|
|
84
|
+
* rewrite: { // HttpGatewayRouteRewrite
|
|
85
|
+
* prefix: { // HttpGatewayRoutePrefixRewrite
|
|
86
86
|
* defaultPrefix: "STRING_VALUE",
|
|
87
87
|
* value: "STRING_VALUE",
|
|
88
88
|
* },
|
|
89
|
-
* path: {
|
|
89
|
+
* path: { // HttpGatewayRoutePathRewrite
|
|
90
90
|
* exact: "STRING_VALUE",
|
|
91
91
|
* },
|
|
92
|
-
* hostname: {
|
|
92
|
+
* hostname: { // GatewayRouteHostnameRewrite
|
|
93
93
|
* defaultTargetHostname: "STRING_VALUE",
|
|
94
94
|
* },
|
|
95
95
|
* },
|
|
@@ -119,7 +119,7 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
|
|
|
119
119
|
* {
|
|
120
120
|
* name: "STRING_VALUE", // required
|
|
121
121
|
* invert: true || false,
|
|
122
|
-
* match: {
|
|
122
|
+
* match: {// Union: only one key present
|
|
123
123
|
* exact: "STRING_VALUE",
|
|
124
124
|
* regex: "STRING_VALUE",
|
|
125
125
|
* range: {
|
|
@@ -154,18 +154,18 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
|
|
|
154
154
|
* },
|
|
155
155
|
* },
|
|
156
156
|
* },
|
|
157
|
-
* grpcRoute: {
|
|
158
|
-
* match: {
|
|
157
|
+
* grpcRoute: { // GrpcGatewayRoute
|
|
158
|
+
* match: { // GrpcGatewayRouteMatch
|
|
159
159
|
* serviceName: "STRING_VALUE",
|
|
160
160
|
* hostname: {
|
|
161
161
|
* exact: "STRING_VALUE",
|
|
162
162
|
* suffix: "STRING_VALUE",
|
|
163
163
|
* },
|
|
164
|
-
* metadata: [
|
|
165
|
-
* {
|
|
164
|
+
* metadata: [ // GrpcGatewayRouteMetadataList
|
|
165
|
+
* { // GrpcGatewayRouteMetadata
|
|
166
166
|
* name: "STRING_VALUE", // required
|
|
167
167
|
* invert: true || false,
|
|
168
|
-
* match: { // Union: only one key present
|
|
168
|
+
* match: { // GrpcMetadataMatchMethod Union: only one key present
|
|
169
169
|
* exact: "STRING_VALUE",
|
|
170
170
|
* regex: "STRING_VALUE",
|
|
171
171
|
* range: {
|
|
@@ -179,14 +179,14 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
|
|
|
179
179
|
* ],
|
|
180
180
|
* port: Number("int"),
|
|
181
181
|
* },
|
|
182
|
-
* action: {
|
|
182
|
+
* action: { // GrpcGatewayRouteAction
|
|
183
183
|
* target: {
|
|
184
184
|
* virtualService: {
|
|
185
185
|
* virtualServiceName: "STRING_VALUE", // required
|
|
186
186
|
* },
|
|
187
187
|
* port: Number("int"),
|
|
188
188
|
* },
|
|
189
|
-
* rewrite: {
|
|
189
|
+
* rewrite: { // GrpcGatewayRouteRewrite
|
|
190
190
|
* hostname: {
|
|
191
191
|
* defaultTargetHostname: "STRING_VALUE",
|
|
192
192
|
* },
|
|
@@ -194,8 +194,8 @@ export interface CreateGatewayRouteCommandOutput extends CreateGatewayRouteOutpu
|
|
|
194
194
|
* },
|
|
195
195
|
* },
|
|
196
196
|
* },
|
|
197
|
-
* tags: [
|
|
198
|
-
* {
|
|
197
|
+
* tags: [ // TagList
|
|
198
|
+
* { // TagRef
|
|
199
199
|
* key: "STRING_VALUE", // required
|
|
200
200
|
* value: "STRING_VALUE", // required
|
|
201
201
|
* },
|
|
@@ -31,18 +31,18 @@ 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 = {
|
|
34
|
+
* const input = { // CreateMeshInput
|
|
35
35
|
* meshName: "STRING_VALUE", // required
|
|
36
|
-
* spec: {
|
|
37
|
-
* egressFilter: {
|
|
36
|
+
* spec: { // MeshSpec
|
|
37
|
+
* egressFilter: { // EgressFilter
|
|
38
38
|
* type: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
|
-
* serviceDiscovery: {
|
|
40
|
+
* serviceDiscovery: { // MeshServiceDiscovery
|
|
41
41
|
* ipPreference: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
43
|
* },
|
|
44
|
-
* tags: [
|
|
45
|
-
* {
|
|
44
|
+
* tags: [ // TagList
|
|
45
|
+
* { // TagRef
|
|
46
46
|
* key: "STRING_VALUE", // required
|
|
47
47
|
* value: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
@@ -29,37 +29,37 @@ 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 = {
|
|
32
|
+
* const input = { // CreateRouteInput
|
|
33
33
|
* routeName: "STRING_VALUE", // required
|
|
34
34
|
* meshName: "STRING_VALUE", // required
|
|
35
35
|
* virtualRouterName: "STRING_VALUE", // required
|
|
36
|
-
* spec: {
|
|
36
|
+
* spec: { // RouteSpec
|
|
37
37
|
* priority: Number("int"),
|
|
38
|
-
* httpRoute: {
|
|
39
|
-
* match: {
|
|
38
|
+
* httpRoute: { // HttpRoute
|
|
39
|
+
* match: { // HttpRouteMatch
|
|
40
40
|
* prefix: "STRING_VALUE",
|
|
41
|
-
* path: {
|
|
41
|
+
* path: { // HttpPathMatch
|
|
42
42
|
* exact: "STRING_VALUE",
|
|
43
43
|
* regex: "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
|
-
* queryParameters: [
|
|
46
|
-
* {
|
|
45
|
+
* queryParameters: [ // HttpQueryParameters
|
|
46
|
+
* { // HttpQueryParameter
|
|
47
47
|
* name: "STRING_VALUE", // required
|
|
48
|
-
* match: {
|
|
48
|
+
* match: { // QueryParameterMatch
|
|
49
49
|
* exact: "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
53
|
* method: "STRING_VALUE",
|
|
54
54
|
* scheme: "STRING_VALUE",
|
|
55
|
-
* headers: [
|
|
56
|
-
* {
|
|
55
|
+
* headers: [ // HttpRouteHeaders
|
|
56
|
+
* { // HttpRouteHeader
|
|
57
57
|
* name: "STRING_VALUE", // required
|
|
58
58
|
* invert: true || false,
|
|
59
|
-
* match: { // Union: only one key present
|
|
59
|
+
* match: { // HeaderMatchMethod Union: only one key present
|
|
60
60
|
* exact: "STRING_VALUE",
|
|
61
61
|
* regex: "STRING_VALUE",
|
|
62
|
-
* range: {
|
|
62
|
+
* range: { // MatchRange
|
|
63
63
|
* start: Number("long"), // required
|
|
64
64
|
* end: Number("long"), // required
|
|
65
65
|
* },
|
|
@@ -70,29 +70,29 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
70
70
|
* ],
|
|
71
71
|
* port: Number("int"),
|
|
72
72
|
* },
|
|
73
|
-
* action: {
|
|
74
|
-
* weightedTargets: [ // required
|
|
75
|
-
* {
|
|
73
|
+
* action: { // HttpRouteAction
|
|
74
|
+
* weightedTargets: [ // WeightedTargets // required
|
|
75
|
+
* { // WeightedTarget
|
|
76
76
|
* virtualNode: "STRING_VALUE", // required
|
|
77
77
|
* weight: Number("int"), // required
|
|
78
78
|
* port: Number("int"),
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
81
|
* },
|
|
82
|
-
* retryPolicy: {
|
|
83
|
-
* perRetryTimeout: {
|
|
82
|
+
* retryPolicy: { // HttpRetryPolicy
|
|
83
|
+
* perRetryTimeout: { // Duration
|
|
84
84
|
* value: Number("long"),
|
|
85
85
|
* unit: "STRING_VALUE",
|
|
86
86
|
* },
|
|
87
87
|
* maxRetries: Number("long"), // required
|
|
88
|
-
* httpRetryEvents: [
|
|
88
|
+
* httpRetryEvents: [ // HttpRetryPolicyEvents
|
|
89
89
|
* "STRING_VALUE",
|
|
90
90
|
* ],
|
|
91
|
-
* tcpRetryEvents: [
|
|
91
|
+
* tcpRetryEvents: [ // TcpRetryPolicyEvents
|
|
92
92
|
* "STRING_VALUE",
|
|
93
93
|
* ],
|
|
94
94
|
* },
|
|
95
|
-
* timeout: {
|
|
95
|
+
* timeout: { // HttpTimeout
|
|
96
96
|
* perRequest: {
|
|
97
97
|
* value: Number("long"),
|
|
98
98
|
* unit: "STRING_VALUE",
|
|
@@ -103,8 +103,8 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
103
103
|
* },
|
|
104
104
|
* },
|
|
105
105
|
* },
|
|
106
|
-
* tcpRoute: {
|
|
107
|
-
* action: {
|
|
106
|
+
* tcpRoute: { // TcpRoute
|
|
107
|
+
* action: { // TcpRouteAction
|
|
108
108
|
* weightedTargets: [ // required
|
|
109
109
|
* {
|
|
110
110
|
* virtualNode: "STRING_VALUE", // required
|
|
@@ -113,13 +113,13 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
113
113
|
* },
|
|
114
114
|
* ],
|
|
115
115
|
* },
|
|
116
|
-
* timeout: {
|
|
116
|
+
* timeout: { // TcpTimeout
|
|
117
117
|
* idle: {
|
|
118
118
|
* value: Number("long"),
|
|
119
119
|
* unit: "STRING_VALUE",
|
|
120
120
|
* },
|
|
121
121
|
* },
|
|
122
|
-
* match: {
|
|
122
|
+
* match: { // TcpRouteMatch
|
|
123
123
|
* port: Number("int"),
|
|
124
124
|
* },
|
|
125
125
|
* },
|
|
@@ -144,7 +144,7 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
144
144
|
* {
|
|
145
145
|
* name: "STRING_VALUE", // required
|
|
146
146
|
* invert: true || false,
|
|
147
|
-
* match: {
|
|
147
|
+
* match: {// Union: only one key present
|
|
148
148
|
* exact: "STRING_VALUE",
|
|
149
149
|
* regex: "STRING_VALUE",
|
|
150
150
|
* range: {
|
|
@@ -181,18 +181,12 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
181
181
|
* ],
|
|
182
182
|
* },
|
|
183
183
|
* timeout: {
|
|
184
|
-
* perRequest:
|
|
185
|
-
*
|
|
186
|
-
* unit: "STRING_VALUE",
|
|
187
|
-
* },
|
|
188
|
-
* idle: {
|
|
189
|
-
* value: Number("long"),
|
|
190
|
-
* unit: "STRING_VALUE",
|
|
191
|
-
* },
|
|
184
|
+
* perRequest: "<Duration>",
|
|
185
|
+
* idle: "<Duration>",
|
|
192
186
|
* },
|
|
193
187
|
* },
|
|
194
|
-
* grpcRoute: {
|
|
195
|
-
* action: {
|
|
188
|
+
* grpcRoute: { // GrpcRoute
|
|
189
|
+
* action: { // GrpcRouteAction
|
|
196
190
|
* weightedTargets: [ // required
|
|
197
191
|
* {
|
|
198
192
|
* virtualNode: "STRING_VALUE", // required
|
|
@@ -201,14 +195,14 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
201
195
|
* },
|
|
202
196
|
* ],
|
|
203
197
|
* },
|
|
204
|
-
* match: {
|
|
198
|
+
* match: { // GrpcRouteMatch
|
|
205
199
|
* serviceName: "STRING_VALUE",
|
|
206
200
|
* methodName: "STRING_VALUE",
|
|
207
|
-
* metadata: [
|
|
208
|
-
* {
|
|
201
|
+
* metadata: [ // GrpcRouteMetadataList
|
|
202
|
+
* { // GrpcRouteMetadata
|
|
209
203
|
* name: "STRING_VALUE", // required
|
|
210
204
|
* invert: true || false,
|
|
211
|
-
* match: { // Union: only one key present
|
|
205
|
+
* match: { // GrpcRouteMetadataMatchMethod Union: only one key present
|
|
212
206
|
* exact: "STRING_VALUE",
|
|
213
207
|
* regex: "STRING_VALUE",
|
|
214
208
|
* range: {
|
|
@@ -222,11 +216,8 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
222
216
|
* ],
|
|
223
217
|
* port: Number("int"),
|
|
224
218
|
* },
|
|
225
|
-
* retryPolicy: {
|
|
226
|
-
* perRetryTimeout:
|
|
227
|
-
* value: Number("long"),
|
|
228
|
-
* unit: "STRING_VALUE",
|
|
229
|
-
* },
|
|
219
|
+
* retryPolicy: { // GrpcRetryPolicy
|
|
220
|
+
* perRetryTimeout: "<Duration>", // required
|
|
230
221
|
* maxRetries: Number("long"), // required
|
|
231
222
|
* httpRetryEvents: [
|
|
232
223
|
* "STRING_VALUE",
|
|
@@ -234,24 +225,18 @@ export interface CreateRouteCommandOutput extends CreateRouteOutput, __MetadataB
|
|
|
234
225
|
* tcpRetryEvents: [
|
|
235
226
|
* "STRING_VALUE",
|
|
236
227
|
* ],
|
|
237
|
-
* grpcRetryEvents: [
|
|
228
|
+
* grpcRetryEvents: [ // GrpcRetryPolicyEvents
|
|
238
229
|
* "STRING_VALUE",
|
|
239
230
|
* ],
|
|
240
231
|
* },
|
|
241
|
-
* timeout: {
|
|
242
|
-
* perRequest:
|
|
243
|
-
*
|
|
244
|
-
* unit: "STRING_VALUE",
|
|
245
|
-
* },
|
|
246
|
-
* idle: {
|
|
247
|
-
* value: Number("long"),
|
|
248
|
-
* unit: "STRING_VALUE",
|
|
249
|
-
* },
|
|
232
|
+
* timeout: { // GrpcTimeout
|
|
233
|
+
* perRequest: "<Duration>",
|
|
234
|
+
* idle: "<Duration>",
|
|
250
235
|
* },
|
|
251
236
|
* },
|
|
252
237
|
* },
|
|
253
|
-
* tags: [
|
|
254
|
-
* {
|
|
238
|
+
* tags: [ // TagList
|
|
239
|
+
* { // TagRef
|
|
255
240
|
* key: "STRING_VALUE", // required
|
|
256
241
|
* value: "STRING_VALUE", // required
|
|
257
242
|
* },
|
|
@@ -31,43 +31,43 @@ 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 = {
|
|
34
|
+
* const input = { // CreateVirtualGatewayInput
|
|
35
35
|
* virtualGatewayName: "STRING_VALUE", // required
|
|
36
36
|
* meshName: "STRING_VALUE", // required
|
|
37
|
-
* spec: {
|
|
38
|
-
* backendDefaults: {
|
|
39
|
-
* clientPolicy: {
|
|
40
|
-
* tls: {
|
|
37
|
+
* spec: { // VirtualGatewaySpec
|
|
38
|
+
* backendDefaults: { // VirtualGatewayBackendDefaults
|
|
39
|
+
* clientPolicy: { // VirtualGatewayClientPolicy
|
|
40
|
+
* tls: { // VirtualGatewayClientPolicyTls
|
|
41
41
|
* enforce: true || false,
|
|
42
|
-
* ports: [
|
|
42
|
+
* ports: [ // PortSet
|
|
43
43
|
* Number("int"),
|
|
44
44
|
* ],
|
|
45
|
-
* certificate: { // Union: only one key present
|
|
46
|
-
* file: {
|
|
45
|
+
* certificate: { // VirtualGatewayClientTlsCertificate Union: only one key present
|
|
46
|
+
* file: { // VirtualGatewayListenerTlsFileCertificate
|
|
47
47
|
* certificateChain: "STRING_VALUE", // required
|
|
48
48
|
* privateKey: "STRING_VALUE", // required
|
|
49
49
|
* },
|
|
50
|
-
* sds: {
|
|
50
|
+
* sds: { // VirtualGatewayListenerTlsSdsCertificate
|
|
51
51
|
* secretName: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
|
-
* validation: {
|
|
55
|
-
* trust: { // Union: only one key present
|
|
56
|
-
* acm: {
|
|
57
|
-
* certificateAuthorityArns: [ // required
|
|
54
|
+
* validation: { // VirtualGatewayTlsValidationContext
|
|
55
|
+
* trust: { // VirtualGatewayTlsValidationContextTrust Union: only one key present
|
|
56
|
+
* acm: { // VirtualGatewayTlsValidationContextAcmTrust
|
|
57
|
+
* certificateAuthorityArns: [ // VirtualGatewayCertificateAuthorityArns // required
|
|
58
58
|
* "STRING_VALUE",
|
|
59
59
|
* ],
|
|
60
60
|
* },
|
|
61
|
-
* file: {
|
|
61
|
+
* file: { // VirtualGatewayTlsValidationContextFileTrust
|
|
62
62
|
* certificateChain: "STRING_VALUE", // required
|
|
63
63
|
* },
|
|
64
|
-
* sds: {
|
|
64
|
+
* sds: { // VirtualGatewayTlsValidationContextSdsTrust
|
|
65
65
|
* secretName: "STRING_VALUE", // required
|
|
66
66
|
* },
|
|
67
67
|
* },
|
|
68
|
-
* subjectAlternativeNames: {
|
|
69
|
-
* match: {
|
|
70
|
-
* exact: [ // required
|
|
68
|
+
* subjectAlternativeNames: { // SubjectAlternativeNames
|
|
69
|
+
* match: { // SubjectAlternativeNameMatchers
|
|
70
|
+
* exact: [ // SubjectAlternativeNameList // required
|
|
71
71
|
* "STRING_VALUE",
|
|
72
72
|
* ],
|
|
73
73
|
* },
|
|
@@ -76,9 +76,9 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
|
|
|
76
76
|
* },
|
|
77
77
|
* },
|
|
78
78
|
* },
|
|
79
|
-
* listeners: [ // required
|
|
80
|
-
* {
|
|
81
|
-
* healthCheck: {
|
|
79
|
+
* listeners: [ // VirtualGatewayListeners // required
|
|
80
|
+
* { // VirtualGatewayListener
|
|
81
|
+
* healthCheck: { // VirtualGatewayHealthCheckPolicy
|
|
82
82
|
* timeoutMillis: Number("long"), // required
|
|
83
83
|
* intervalMillis: Number("long"), // required
|
|
84
84
|
* protocol: "STRING_VALUE", // required
|
|
@@ -87,14 +87,14 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
|
|
|
87
87
|
* healthyThreshold: Number("int"), // required
|
|
88
88
|
* unhealthyThreshold: Number("int"), // required
|
|
89
89
|
* },
|
|
90
|
-
* portMapping: {
|
|
90
|
+
* portMapping: { // VirtualGatewayPortMapping
|
|
91
91
|
* port: Number("int"), // required
|
|
92
92
|
* protocol: "STRING_VALUE", // required
|
|
93
93
|
* },
|
|
94
|
-
* tls: {
|
|
94
|
+
* tls: { // VirtualGatewayListenerTls
|
|
95
95
|
* mode: "STRING_VALUE", // required
|
|
96
|
-
* validation: {
|
|
97
|
-
* trust: { // Union: only one key present
|
|
96
|
+
* validation: { // VirtualGatewayListenerTlsValidationContext
|
|
97
|
+
* trust: { // VirtualGatewayListenerTlsValidationContextTrust Union: only one key present
|
|
98
98
|
* file: {
|
|
99
99
|
* certificateChain: "STRING_VALUE", // required
|
|
100
100
|
* },
|
|
@@ -110,8 +110,8 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
|
|
|
110
110
|
* },
|
|
111
111
|
* },
|
|
112
112
|
* },
|
|
113
|
-
* certificate: { // Union: only one key present
|
|
114
|
-
* acm: {
|
|
113
|
+
* certificate: { // VirtualGatewayListenerTlsCertificate Union: only one key present
|
|
114
|
+
* acm: { // VirtualGatewayListenerTlsAcmCertificate
|
|
115
115
|
* certificateArn: "STRING_VALUE", // required
|
|
116
116
|
* },
|
|
117
117
|
* file: {
|
|
@@ -123,28 +123,28 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
|
|
|
123
123
|
* },
|
|
124
124
|
* },
|
|
125
125
|
* },
|
|
126
|
-
* connectionPool: { // Union: only one key present
|
|
127
|
-
* http: {
|
|
126
|
+
* connectionPool: { // VirtualGatewayConnectionPool Union: only one key present
|
|
127
|
+
* http: { // VirtualGatewayHttpConnectionPool
|
|
128
128
|
* maxConnections: Number("int"), // required
|
|
129
129
|
* maxPendingRequests: Number("int"),
|
|
130
130
|
* },
|
|
131
|
-
* http2: {
|
|
131
|
+
* http2: { // VirtualGatewayHttp2ConnectionPool
|
|
132
132
|
* maxRequests: Number("int"), // required
|
|
133
133
|
* },
|
|
134
|
-
* grpc: {
|
|
134
|
+
* grpc: { // VirtualGatewayGrpcConnectionPool
|
|
135
135
|
* maxRequests: Number("int"), // required
|
|
136
136
|
* },
|
|
137
137
|
* },
|
|
138
138
|
* },
|
|
139
139
|
* ],
|
|
140
|
-
* logging: {
|
|
141
|
-
* accessLog: { // Union: only one key present
|
|
142
|
-
* file: {
|
|
140
|
+
* logging: { // VirtualGatewayLogging
|
|
141
|
+
* accessLog: { // VirtualGatewayAccessLog Union: only one key present
|
|
142
|
+
* file: { // VirtualGatewayFileAccessLog
|
|
143
143
|
* path: "STRING_VALUE", // required
|
|
144
|
-
* format: { // Union: only one key present
|
|
144
|
+
* format: { // LoggingFormat Union: only one key present
|
|
145
145
|
* text: "STRING_VALUE",
|
|
146
|
-
* json: [
|
|
147
|
-
* {
|
|
146
|
+
* json: [ // JsonFormat
|
|
147
|
+
* { // JsonFormatRef
|
|
148
148
|
* key: "STRING_VALUE", // required
|
|
149
149
|
* value: "STRING_VALUE", // required
|
|
150
150
|
* },
|
|
@@ -154,8 +154,8 @@ export interface CreateVirtualGatewayCommandOutput extends CreateVirtualGatewayO
|
|
|
154
154
|
* },
|
|
155
155
|
* },
|
|
156
156
|
* },
|
|
157
|
-
* tags: [
|
|
158
|
-
* {
|
|
157
|
+
* tags: [ // TagList
|
|
158
|
+
* { // TagRef
|
|
159
159
|
* key: "STRING_VALUE", // required
|
|
160
160
|
* value: "STRING_VALUE", // required
|
|
161
161
|
* },
|