@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.
- 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 +215 -0
- package/dist-types/commands/CreateVirtualGatewayCommand.d.ts +132 -0
- package/dist-types/commands/CreateVirtualNodeCommand.d.ts +237 -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 +209 -0
- package/dist-types/commands/UpdateVirtualGatewayCommand.d.ts +126 -0
- package/dist-types/commands/UpdateVirtualNodeCommand.d.ts +231 -0
- package/dist-types/commands/UpdateVirtualRouterCommand.d.ts +16 -0
- package/dist-types/commands/UpdateVirtualServiceCommand.d.ts +16 -0
- package/package.json +8 -8
|
@@ -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 = { // UpdateGatewayRouteInput
|
|
31
|
+
* gatewayRouteName: "STRING_VALUE", // required
|
|
32
|
+
* meshName: "STRING_VALUE", // required
|
|
33
|
+
* virtualGatewayName: "STRING_VALUE", // required
|
|
34
|
+
* spec: { // GatewayRouteSpec
|
|
35
|
+
* priority: Number("int"),
|
|
36
|
+
* httpRoute: { // HttpGatewayRoute
|
|
37
|
+
* match: { // HttpGatewayRouteMatch
|
|
38
|
+
* prefix: "STRING_VALUE",
|
|
39
|
+
* path: { // HttpPathMatch
|
|
40
|
+
* exact: "STRING_VALUE",
|
|
41
|
+
* regex: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* queryParameters: [ // HttpQueryParameters
|
|
44
|
+
* { // HttpQueryParameter
|
|
45
|
+
* name: "STRING_VALUE", // required
|
|
46
|
+
* match: { // QueryParameterMatch
|
|
47
|
+
* exact: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* method: "STRING_VALUE",
|
|
52
|
+
* hostname: { // GatewayRouteHostnameMatch
|
|
53
|
+
* exact: "STRING_VALUE",
|
|
54
|
+
* suffix: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* headers: [ // HttpGatewayRouteHeaders
|
|
57
|
+
* { // HttpGatewayRouteHeader
|
|
58
|
+
* name: "STRING_VALUE", // required
|
|
59
|
+
* invert: true || false,
|
|
60
|
+
* match: { // HeaderMatchMethod Union: only one key present
|
|
61
|
+
* exact: "STRING_VALUE",
|
|
62
|
+
* regex: "STRING_VALUE",
|
|
63
|
+
* range: { // MatchRange
|
|
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: { // HttpGatewayRouteAction
|
|
75
|
+
* target: { // GatewayRouteTarget
|
|
76
|
+
* virtualService: { // GatewayRouteVirtualService
|
|
77
|
+
* virtualServiceName: "STRING_VALUE", // required
|
|
78
|
+
* },
|
|
79
|
+
* port: Number("int"),
|
|
80
|
+
* },
|
|
81
|
+
* rewrite: { // HttpGatewayRouteRewrite
|
|
82
|
+
* prefix: { // HttpGatewayRoutePrefixRewrite
|
|
83
|
+
* defaultPrefix: "STRING_VALUE",
|
|
84
|
+
* value: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* path: { // HttpGatewayRoutePathRewrite
|
|
87
|
+
* exact: "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* hostname: { // GatewayRouteHostnameRewrite
|
|
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: { // GrpcGatewayRoute
|
|
155
|
+
* match: { // GrpcGatewayRouteMatch
|
|
156
|
+
* serviceName: "STRING_VALUE",
|
|
157
|
+
* hostname: {
|
|
158
|
+
* exact: "STRING_VALUE",
|
|
159
|
+
* suffix: "STRING_VALUE",
|
|
160
|
+
* },
|
|
161
|
+
* metadata: [ // GrpcGatewayRouteMetadataList
|
|
162
|
+
* { // GrpcGatewayRouteMetadata
|
|
163
|
+
* name: "STRING_VALUE", // required
|
|
164
|
+
* invert: true || false,
|
|
165
|
+
* match: { // GrpcMetadataMatchMethod 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: { // GrpcGatewayRouteAction
|
|
180
|
+
* target: {
|
|
181
|
+
* virtualService: {
|
|
182
|
+
* virtualServiceName: "STRING_VALUE", // required
|
|
183
|
+
* },
|
|
184
|
+
* port: Number("int"),
|
|
185
|
+
* },
|
|
186
|
+
* rewrite: { // GrpcGatewayRouteRewrite
|
|
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 = { // UpdateMeshInput
|
|
30
|
+
* meshName: "STRING_VALUE", // required
|
|
31
|
+
* spec: { // MeshSpec
|
|
32
|
+
* egressFilter: { // EgressFilter
|
|
33
|
+
* type: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* serviceDiscovery: { // MeshServiceDiscovery
|
|
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,215 @@ 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 = { // UpdateRouteInput
|
|
30
|
+
* routeName: "STRING_VALUE", // required
|
|
31
|
+
* meshName: "STRING_VALUE", // required
|
|
32
|
+
* virtualRouterName: "STRING_VALUE", // required
|
|
33
|
+
* spec: { // RouteSpec
|
|
34
|
+
* priority: Number("int"),
|
|
35
|
+
* httpRoute: { // HttpRoute
|
|
36
|
+
* match: { // HttpRouteMatch
|
|
37
|
+
* prefix: "STRING_VALUE",
|
|
38
|
+
* path: { // HttpPathMatch
|
|
39
|
+
* exact: "STRING_VALUE",
|
|
40
|
+
* regex: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* queryParameters: [ // HttpQueryParameters
|
|
43
|
+
* { // HttpQueryParameter
|
|
44
|
+
* name: "STRING_VALUE", // required
|
|
45
|
+
* match: { // QueryParameterMatch
|
|
46
|
+
* exact: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* method: "STRING_VALUE",
|
|
51
|
+
* scheme: "STRING_VALUE",
|
|
52
|
+
* headers: [ // HttpRouteHeaders
|
|
53
|
+
* { // HttpRouteHeader
|
|
54
|
+
* name: "STRING_VALUE", // required
|
|
55
|
+
* invert: true || false,
|
|
56
|
+
* match: { // HeaderMatchMethod Union: only one key present
|
|
57
|
+
* exact: "STRING_VALUE",
|
|
58
|
+
* regex: "STRING_VALUE",
|
|
59
|
+
* range: { // MatchRange
|
|
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: { // HttpRouteAction
|
|
71
|
+
* weightedTargets: [ // WeightedTargets // required
|
|
72
|
+
* { // WeightedTarget
|
|
73
|
+
* virtualNode: "STRING_VALUE", // required
|
|
74
|
+
* weight: Number("int"), // required
|
|
75
|
+
* port: Number("int"),
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* retryPolicy: { // HttpRetryPolicy
|
|
80
|
+
* perRetryTimeout: { // Duration
|
|
81
|
+
* value: Number("long"),
|
|
82
|
+
* unit: "STRING_VALUE",
|
|
83
|
+
* },
|
|
84
|
+
* maxRetries: Number("long"), // required
|
|
85
|
+
* httpRetryEvents: [ // HttpRetryPolicyEvents
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* tcpRetryEvents: [ // TcpRetryPolicyEvents
|
|
89
|
+
* "STRING_VALUE",
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* timeout: { // HttpTimeout
|
|
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: { // TcpRoute
|
|
104
|
+
* action: { // TcpRouteAction
|
|
105
|
+
* weightedTargets: [ // required
|
|
106
|
+
* {
|
|
107
|
+
* virtualNode: "STRING_VALUE", // required
|
|
108
|
+
* weight: Number("int"), // required
|
|
109
|
+
* port: Number("int"),
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* },
|
|
113
|
+
* timeout: { // TcpTimeout
|
|
114
|
+
* idle: {
|
|
115
|
+
* value: Number("long"),
|
|
116
|
+
* unit: "STRING_VALUE",
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* match: { // TcpRouteMatch
|
|
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: "<Duration>",
|
|
182
|
+
* idle: "<Duration>",
|
|
183
|
+
* },
|
|
184
|
+
* },
|
|
185
|
+
* grpcRoute: { // GrpcRoute
|
|
186
|
+
* action: { // GrpcRouteAction
|
|
187
|
+
* weightedTargets: [ // required
|
|
188
|
+
* {
|
|
189
|
+
* virtualNode: "STRING_VALUE", // required
|
|
190
|
+
* weight: Number("int"), // required
|
|
191
|
+
* port: Number("int"),
|
|
192
|
+
* },
|
|
193
|
+
* ],
|
|
194
|
+
* },
|
|
195
|
+
* match: { // GrpcRouteMatch
|
|
196
|
+
* serviceName: "STRING_VALUE",
|
|
197
|
+
* methodName: "STRING_VALUE",
|
|
198
|
+
* metadata: [ // GrpcRouteMetadataList
|
|
199
|
+
* { // GrpcRouteMetadata
|
|
200
|
+
* name: "STRING_VALUE", // required
|
|
201
|
+
* invert: true || false,
|
|
202
|
+
* match: { // GrpcRouteMetadataMatchMethod Union: only one key present
|
|
203
|
+
* exact: "STRING_VALUE",
|
|
204
|
+
* regex: "STRING_VALUE",
|
|
205
|
+
* range: {
|
|
206
|
+
* start: Number("long"), // required
|
|
207
|
+
* end: Number("long"), // required
|
|
208
|
+
* },
|
|
209
|
+
* prefix: "STRING_VALUE",
|
|
210
|
+
* suffix: "STRING_VALUE",
|
|
211
|
+
* },
|
|
212
|
+
* },
|
|
213
|
+
* ],
|
|
214
|
+
* port: Number("int"),
|
|
215
|
+
* },
|
|
216
|
+
* retryPolicy: { // GrpcRetryPolicy
|
|
217
|
+
* perRetryTimeout: "<Duration>", // required
|
|
218
|
+
* maxRetries: Number("long"), // required
|
|
219
|
+
* httpRetryEvents: [
|
|
220
|
+
* "STRING_VALUE",
|
|
221
|
+
* ],
|
|
222
|
+
* tcpRetryEvents: [
|
|
223
|
+
* "STRING_VALUE",
|
|
224
|
+
* ],
|
|
225
|
+
* grpcRetryEvents: [ // GrpcRetryPolicyEvents
|
|
226
|
+
* "STRING_VALUE",
|
|
227
|
+
* ],
|
|
228
|
+
* },
|
|
229
|
+
* timeout: { // GrpcTimeout
|
|
230
|
+
* perRequest: "<Duration>",
|
|
231
|
+
* idle: "<Duration>",
|
|
232
|
+
* },
|
|
233
|
+
* },
|
|
234
|
+
* },
|
|
235
|
+
* clientToken: "STRING_VALUE",
|
|
236
|
+
* meshOwner: "STRING_VALUE",
|
|
237
|
+
* };
|
|
29
238
|
* const command = new UpdateRouteCommand(input);
|
|
30
239
|
* const response = await client.send(command);
|
|
31
240
|
* ```
|
|
@@ -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 = { // UpdateVirtualGatewayInput
|
|
30
|
+
* virtualGatewayName: "STRING_VALUE", // required
|
|
31
|
+
* meshName: "STRING_VALUE", // required
|
|
32
|
+
* spec: { // VirtualGatewaySpec
|
|
33
|
+
* backendDefaults: { // VirtualGatewayBackendDefaults
|
|
34
|
+
* clientPolicy: { // VirtualGatewayClientPolicy
|
|
35
|
+
* tls: { // VirtualGatewayClientPolicyTls
|
|
36
|
+
* enforce: true || false,
|
|
37
|
+
* ports: [ // PortSet
|
|
38
|
+
* Number("int"),
|
|
39
|
+
* ],
|
|
40
|
+
* certificate: { // VirtualGatewayClientTlsCertificate Union: only one key present
|
|
41
|
+
* file: { // VirtualGatewayListenerTlsFileCertificate
|
|
42
|
+
* certificateChain: "STRING_VALUE", // required
|
|
43
|
+
* privateKey: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* sds: { // VirtualGatewayListenerTlsSdsCertificate
|
|
46
|
+
* secretName: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* validation: { // VirtualGatewayTlsValidationContext
|
|
50
|
+
* trust: { // VirtualGatewayTlsValidationContextTrust Union: only one key present
|
|
51
|
+
* acm: { // VirtualGatewayTlsValidationContextAcmTrust
|
|
52
|
+
* certificateAuthorityArns: [ // VirtualGatewayCertificateAuthorityArns // required
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* file: { // VirtualGatewayTlsValidationContextFileTrust
|
|
57
|
+
* certificateChain: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* sds: { // VirtualGatewayTlsValidationContextSdsTrust
|
|
60
|
+
* secretName: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* subjectAlternativeNames: { // SubjectAlternativeNames
|
|
64
|
+
* match: { // SubjectAlternativeNameMatchers
|
|
65
|
+
* exact: [ // SubjectAlternativeNameList // required
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* listeners: [ // VirtualGatewayListeners // required
|
|
75
|
+
* { // VirtualGatewayListener
|
|
76
|
+
* healthCheck: { // VirtualGatewayHealthCheckPolicy
|
|
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: { // VirtualGatewayPortMapping
|
|
86
|
+
* port: Number("int"), // required
|
|
87
|
+
* protocol: "STRING_VALUE", // required
|
|
88
|
+
* },
|
|
89
|
+
* tls: { // VirtualGatewayListenerTls
|
|
90
|
+
* mode: "STRING_VALUE", // required
|
|
91
|
+
* validation: { // VirtualGatewayListenerTlsValidationContext
|
|
92
|
+
* trust: { // VirtualGatewayListenerTlsValidationContextTrust 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: { // VirtualGatewayListenerTlsCertificate Union: only one key present
|
|
109
|
+
* acm: { // VirtualGatewayListenerTlsAcmCertificate
|
|
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: { // VirtualGatewayConnectionPool Union: only one key present
|
|
122
|
+
* http: { // VirtualGatewayHttpConnectionPool
|
|
123
|
+
* maxConnections: Number("int"), // required
|
|
124
|
+
* maxPendingRequests: Number("int"),
|
|
125
|
+
* },
|
|
126
|
+
* http2: { // VirtualGatewayHttp2ConnectionPool
|
|
127
|
+
* maxRequests: Number("int"), // required
|
|
128
|
+
* },
|
|
129
|
+
* grpc: { // VirtualGatewayGrpcConnectionPool
|
|
130
|
+
* maxRequests: Number("int"), // required
|
|
131
|
+
* },
|
|
132
|
+
* },
|
|
133
|
+
* },
|
|
134
|
+
* ],
|
|
135
|
+
* logging: { // VirtualGatewayLogging
|
|
136
|
+
* accessLog: { // VirtualGatewayAccessLog Union: only one key present
|
|
137
|
+
* file: { // VirtualGatewayFileAccessLog
|
|
138
|
+
* path: "STRING_VALUE", // required
|
|
139
|
+
* format: { // LoggingFormat Union: only one key present
|
|
140
|
+
* text: "STRING_VALUE",
|
|
141
|
+
* json: [ // JsonFormat
|
|
142
|
+
* { // JsonFormatRef
|
|
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
|
* ```
|