@aws-sdk/client-app-mesh 3.476.0 → 3.478.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-cjs/pagination/ListGatewayRoutesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMeshesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRoutesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualGatewaysPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualNodesPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualRoutersPaginator.js +2 -24
- package/dist-cjs/pagination/ListVirtualServicesPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +268 -593
- package/dist-es/pagination/ListGatewayRoutesPaginator.js +2 -23
- package/dist-es/pagination/ListMeshesPaginator.js +2 -23
- package/dist-es/pagination/ListRoutesPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-es/pagination/ListVirtualGatewaysPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualNodesPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualRoutersPaginator.js +2 -23
- package/dist-es/pagination/ListVirtualServicesPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +269 -594
- package/dist-types/pagination/ListGatewayRoutesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMeshesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualGatewaysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualRoutersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualServicesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListGatewayRoutesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMeshesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoutesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualGatewaysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualRoutersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVirtualServicesPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AppMeshServiceException as __BaseException } from "../models/AppMeshServiceException";
|
|
5
5
|
import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, LimitExceededException, NotFoundException, ResourceInUseException, ServiceUnavailableException, TooManyRequestsException, TooManyTagsException, } from "../models/models_0";
|
|
6
6
|
export const se_CreateGatewayRouteCommand = async (input, context) => {
|
|
7
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
11
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes");
|
|
12
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
13
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
15
14
|
const query = map({
|
|
16
|
-
|
|
15
|
+
[_mO]: [, input[_mO]],
|
|
17
16
|
});
|
|
18
17
|
let body;
|
|
19
18
|
body = JSON.stringify(take(input, {
|
|
@@ -22,23 +21,15 @@ export const se_CreateGatewayRouteCommand = async (input, context) => {
|
|
|
22
21
|
spec: (_) => _json(_),
|
|
23
22
|
tags: (_) => _json(_),
|
|
24
23
|
}));
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
hostname,
|
|
28
|
-
port,
|
|
29
|
-
method: "PUT",
|
|
30
|
-
headers,
|
|
31
|
-
path: resolvedPath,
|
|
32
|
-
query,
|
|
33
|
-
body,
|
|
34
|
-
});
|
|
24
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
25
|
+
return b.build();
|
|
35
26
|
};
|
|
36
27
|
export const se_CreateMeshCommand = async (input, context) => {
|
|
37
|
-
const
|
|
28
|
+
const b = rb(input, context);
|
|
38
29
|
const headers = {
|
|
39
30
|
"content-type": "application/json",
|
|
40
31
|
};
|
|
41
|
-
|
|
32
|
+
b.bp("/v20190125/meshes");
|
|
42
33
|
let body;
|
|
43
34
|
body = JSON.stringify(take(input, {
|
|
44
35
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -46,27 +37,19 @@ export const se_CreateMeshCommand = async (input, context) => {
|
|
|
46
37
|
spec: (_) => _json(_),
|
|
47
38
|
tags: (_) => _json(_),
|
|
48
39
|
}));
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
hostname,
|
|
52
|
-
port,
|
|
53
|
-
method: "PUT",
|
|
54
|
-
headers,
|
|
55
|
-
path: resolvedPath,
|
|
56
|
-
body,
|
|
57
|
-
});
|
|
40
|
+
b.m("PUT").h(headers).b(body);
|
|
41
|
+
return b.build();
|
|
58
42
|
};
|
|
59
43
|
export const se_CreateRouteCommand = async (input, context) => {
|
|
60
|
-
const
|
|
44
|
+
const b = rb(input, context);
|
|
61
45
|
const headers = {
|
|
62
46
|
"content-type": "application/json",
|
|
63
47
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
48
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes");
|
|
49
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
50
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
68
51
|
const query = map({
|
|
69
|
-
|
|
52
|
+
[_mO]: [, input[_mO]],
|
|
70
53
|
});
|
|
71
54
|
let body;
|
|
72
55
|
body = JSON.stringify(take(input, {
|
|
@@ -75,27 +58,18 @@ export const se_CreateRouteCommand = async (input, context) => {
|
|
|
75
58
|
spec: (_) => _json(_),
|
|
76
59
|
tags: (_) => _json(_),
|
|
77
60
|
}));
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
hostname,
|
|
81
|
-
port,
|
|
82
|
-
method: "PUT",
|
|
83
|
-
headers,
|
|
84
|
-
path: resolvedPath,
|
|
85
|
-
query,
|
|
86
|
-
body,
|
|
87
|
-
});
|
|
61
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
62
|
+
return b.build();
|
|
88
63
|
};
|
|
89
64
|
export const se_CreateVirtualGatewayCommand = async (input, context) => {
|
|
90
|
-
const
|
|
65
|
+
const b = rb(input, context);
|
|
91
66
|
const headers = {
|
|
92
67
|
"content-type": "application/json",
|
|
93
68
|
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
69
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateways");
|
|
70
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
97
71
|
const query = map({
|
|
98
|
-
|
|
72
|
+
[_mO]: [, input[_mO]],
|
|
99
73
|
});
|
|
100
74
|
let body;
|
|
101
75
|
body = JSON.stringify(take(input, {
|
|
@@ -104,26 +78,18 @@ export const se_CreateVirtualGatewayCommand = async (input, context) => {
|
|
|
104
78
|
tags: (_) => _json(_),
|
|
105
79
|
virtualGatewayName: [],
|
|
106
80
|
}));
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
hostname,
|
|
110
|
-
port,
|
|
111
|
-
method: "PUT",
|
|
112
|
-
headers,
|
|
113
|
-
path: resolvedPath,
|
|
114
|
-
query,
|
|
115
|
-
body,
|
|
116
|
-
});
|
|
81
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
82
|
+
return b.build();
|
|
117
83
|
};
|
|
118
84
|
export const se_CreateVirtualNodeCommand = async (input, context) => {
|
|
119
|
-
const
|
|
85
|
+
const b = rb(input, context);
|
|
120
86
|
const headers = {
|
|
121
87
|
"content-type": "application/json",
|
|
122
88
|
};
|
|
123
|
-
|
|
124
|
-
|
|
89
|
+
b.bp("/v20190125/meshes/{meshName}/virtualNodes");
|
|
90
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
125
91
|
const query = map({
|
|
126
|
-
|
|
92
|
+
[_mO]: [, input[_mO]],
|
|
127
93
|
});
|
|
128
94
|
let body;
|
|
129
95
|
body = JSON.stringify(take(input, {
|
|
@@ -132,27 +98,18 @@ export const se_CreateVirtualNodeCommand = async (input, context) => {
|
|
|
132
98
|
tags: (_) => _json(_),
|
|
133
99
|
virtualNodeName: [],
|
|
134
100
|
}));
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
hostname,
|
|
138
|
-
port,
|
|
139
|
-
method: "PUT",
|
|
140
|
-
headers,
|
|
141
|
-
path: resolvedPath,
|
|
142
|
-
query,
|
|
143
|
-
body,
|
|
144
|
-
});
|
|
101
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
102
|
+
return b.build();
|
|
145
103
|
};
|
|
146
104
|
export const se_CreateVirtualRouterCommand = async (input, context) => {
|
|
147
|
-
const
|
|
105
|
+
const b = rb(input, context);
|
|
148
106
|
const headers = {
|
|
149
107
|
"content-type": "application/json",
|
|
150
108
|
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
109
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouters");
|
|
110
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
154
111
|
const query = map({
|
|
155
|
-
|
|
112
|
+
[_mO]: [, input[_mO]],
|
|
156
113
|
});
|
|
157
114
|
let body;
|
|
158
115
|
body = JSON.stringify(take(input, {
|
|
@@ -161,27 +118,18 @@ export const se_CreateVirtualRouterCommand = async (input, context) => {
|
|
|
161
118
|
tags: (_) => _json(_),
|
|
162
119
|
virtualRouterName: [],
|
|
163
120
|
}));
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
hostname,
|
|
167
|
-
port,
|
|
168
|
-
method: "PUT",
|
|
169
|
-
headers,
|
|
170
|
-
path: resolvedPath,
|
|
171
|
-
query,
|
|
172
|
-
body,
|
|
173
|
-
});
|
|
121
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
122
|
+
return b.build();
|
|
174
123
|
};
|
|
175
124
|
export const se_CreateVirtualServiceCommand = async (input, context) => {
|
|
176
|
-
const
|
|
125
|
+
const b = rb(input, context);
|
|
177
126
|
const headers = {
|
|
178
127
|
"content-type": "application/json",
|
|
179
128
|
};
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
129
|
+
b.bp("/v20190125/meshes/{meshName}/virtualServices");
|
|
130
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
183
131
|
const query = map({
|
|
184
|
-
|
|
132
|
+
[_mO]: [, input[_mO]],
|
|
185
133
|
});
|
|
186
134
|
let body;
|
|
187
135
|
body = JSON.stringify(take(input, {
|
|
@@ -190,740 +138,463 @@ export const se_CreateVirtualServiceCommand = async (input, context) => {
|
|
|
190
138
|
tags: (_) => _json(_),
|
|
191
139
|
virtualServiceName: [],
|
|
192
140
|
}));
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
hostname,
|
|
196
|
-
port,
|
|
197
|
-
method: "PUT",
|
|
198
|
-
headers,
|
|
199
|
-
path: resolvedPath,
|
|
200
|
-
query,
|
|
201
|
-
body,
|
|
202
|
-
});
|
|
141
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
142
|
+
return b.build();
|
|
203
143
|
};
|
|
204
144
|
export const se_DeleteGatewayRouteCommand = async (input, context) => {
|
|
205
|
-
const
|
|
145
|
+
const b = rb(input, context);
|
|
206
146
|
const headers = {};
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
147
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}");
|
|
148
|
+
b.p("gatewayRouteName", () => input.gatewayRouteName, "{gatewayRouteName}", false);
|
|
149
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
150
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
212
151
|
const query = map({
|
|
213
|
-
|
|
152
|
+
[_mO]: [, input[_mO]],
|
|
214
153
|
});
|
|
215
154
|
let body;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
hostname,
|
|
219
|
-
port,
|
|
220
|
-
method: "DELETE",
|
|
221
|
-
headers,
|
|
222
|
-
path: resolvedPath,
|
|
223
|
-
query,
|
|
224
|
-
body,
|
|
225
|
-
});
|
|
155
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
156
|
+
return b.build();
|
|
226
157
|
};
|
|
227
158
|
export const se_DeleteMeshCommand = async (input, context) => {
|
|
228
|
-
const
|
|
159
|
+
const b = rb(input, context);
|
|
229
160
|
const headers = {};
|
|
230
|
-
|
|
231
|
-
|
|
161
|
+
b.bp("/v20190125/meshes/{meshName}");
|
|
162
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
232
163
|
let body;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
hostname,
|
|
236
|
-
port,
|
|
237
|
-
method: "DELETE",
|
|
238
|
-
headers,
|
|
239
|
-
path: resolvedPath,
|
|
240
|
-
body,
|
|
241
|
-
});
|
|
164
|
+
b.m("DELETE").h(headers).b(body);
|
|
165
|
+
return b.build();
|
|
242
166
|
};
|
|
243
167
|
export const se_DeleteRouteCommand = async (input, context) => {
|
|
244
|
-
const
|
|
168
|
+
const b = rb(input, context);
|
|
245
169
|
const headers = {};
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
170
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}");
|
|
171
|
+
b.p("routeName", () => input.routeName, "{routeName}", false);
|
|
172
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
173
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
251
174
|
const query = map({
|
|
252
|
-
|
|
175
|
+
[_mO]: [, input[_mO]],
|
|
253
176
|
});
|
|
254
177
|
let body;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
hostname,
|
|
258
|
-
port,
|
|
259
|
-
method: "DELETE",
|
|
260
|
-
headers,
|
|
261
|
-
path: resolvedPath,
|
|
262
|
-
query,
|
|
263
|
-
body,
|
|
264
|
-
});
|
|
178
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
179
|
+
return b.build();
|
|
265
180
|
};
|
|
266
181
|
export const se_DeleteVirtualGatewayCommand = async (input, context) => {
|
|
267
|
-
const
|
|
182
|
+
const b = rb(input, context);
|
|
268
183
|
const headers = {};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
184
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}");
|
|
185
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
186
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
273
187
|
const query = map({
|
|
274
|
-
|
|
188
|
+
[_mO]: [, input[_mO]],
|
|
275
189
|
});
|
|
276
190
|
let body;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
hostname,
|
|
280
|
-
port,
|
|
281
|
-
method: "DELETE",
|
|
282
|
-
headers,
|
|
283
|
-
path: resolvedPath,
|
|
284
|
-
query,
|
|
285
|
-
body,
|
|
286
|
-
});
|
|
191
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
192
|
+
return b.build();
|
|
287
193
|
};
|
|
288
194
|
export const se_DeleteVirtualNodeCommand = async (input, context) => {
|
|
289
|
-
const
|
|
195
|
+
const b = rb(input, context);
|
|
290
196
|
const headers = {};
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
197
|
+
b.bp("/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}");
|
|
198
|
+
b.p("virtualNodeName", () => input.virtualNodeName, "{virtualNodeName}", false);
|
|
199
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
295
200
|
const query = map({
|
|
296
|
-
|
|
201
|
+
[_mO]: [, input[_mO]],
|
|
297
202
|
});
|
|
298
203
|
let body;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
hostname,
|
|
302
|
-
port,
|
|
303
|
-
method: "DELETE",
|
|
304
|
-
headers,
|
|
305
|
-
path: resolvedPath,
|
|
306
|
-
query,
|
|
307
|
-
body,
|
|
308
|
-
});
|
|
204
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
205
|
+
return b.build();
|
|
309
206
|
};
|
|
310
207
|
export const se_DeleteVirtualRouterCommand = async (input, context) => {
|
|
311
|
-
const
|
|
208
|
+
const b = rb(input, context);
|
|
312
209
|
const headers = {};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
210
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}");
|
|
211
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
212
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
317
213
|
const query = map({
|
|
318
|
-
|
|
214
|
+
[_mO]: [, input[_mO]],
|
|
319
215
|
});
|
|
320
216
|
let body;
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
hostname,
|
|
324
|
-
port,
|
|
325
|
-
method: "DELETE",
|
|
326
|
-
headers,
|
|
327
|
-
path: resolvedPath,
|
|
328
|
-
query,
|
|
329
|
-
body,
|
|
330
|
-
});
|
|
217
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
218
|
+
return b.build();
|
|
331
219
|
};
|
|
332
220
|
export const se_DeleteVirtualServiceCommand = async (input, context) => {
|
|
333
|
-
const
|
|
221
|
+
const b = rb(input, context);
|
|
334
222
|
const headers = {};
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
223
|
+
b.bp("/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}");
|
|
224
|
+
b.p("virtualServiceName", () => input.virtualServiceName, "{virtualServiceName}", false);
|
|
225
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
339
226
|
const query = map({
|
|
340
|
-
|
|
227
|
+
[_mO]: [, input[_mO]],
|
|
341
228
|
});
|
|
342
229
|
let body;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
hostname,
|
|
346
|
-
port,
|
|
347
|
-
method: "DELETE",
|
|
348
|
-
headers,
|
|
349
|
-
path: resolvedPath,
|
|
350
|
-
query,
|
|
351
|
-
body,
|
|
352
|
-
});
|
|
230
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
231
|
+
return b.build();
|
|
353
232
|
};
|
|
354
233
|
export const se_DescribeGatewayRouteCommand = async (input, context) => {
|
|
355
|
-
const
|
|
234
|
+
const b = rb(input, context);
|
|
356
235
|
const headers = {};
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
236
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}");
|
|
237
|
+
b.p("gatewayRouteName", () => input.gatewayRouteName, "{gatewayRouteName}", false);
|
|
238
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
239
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
362
240
|
const query = map({
|
|
363
|
-
|
|
241
|
+
[_mO]: [, input[_mO]],
|
|
364
242
|
});
|
|
365
243
|
let body;
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
hostname,
|
|
369
|
-
port,
|
|
370
|
-
method: "GET",
|
|
371
|
-
headers,
|
|
372
|
-
path: resolvedPath,
|
|
373
|
-
query,
|
|
374
|
-
body,
|
|
375
|
-
});
|
|
244
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
245
|
+
return b.build();
|
|
376
246
|
};
|
|
377
247
|
export const se_DescribeMeshCommand = async (input, context) => {
|
|
378
|
-
const
|
|
248
|
+
const b = rb(input, context);
|
|
379
249
|
const headers = {};
|
|
380
|
-
|
|
381
|
-
|
|
250
|
+
b.bp("/v20190125/meshes/{meshName}");
|
|
251
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
382
252
|
const query = map({
|
|
383
|
-
|
|
253
|
+
[_mO]: [, input[_mO]],
|
|
384
254
|
});
|
|
385
255
|
let body;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
hostname,
|
|
389
|
-
port,
|
|
390
|
-
method: "GET",
|
|
391
|
-
headers,
|
|
392
|
-
path: resolvedPath,
|
|
393
|
-
query,
|
|
394
|
-
body,
|
|
395
|
-
});
|
|
256
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
257
|
+
return b.build();
|
|
396
258
|
};
|
|
397
259
|
export const se_DescribeRouteCommand = async (input, context) => {
|
|
398
|
-
const
|
|
260
|
+
const b = rb(input, context);
|
|
399
261
|
const headers = {};
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
262
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}");
|
|
263
|
+
b.p("routeName", () => input.routeName, "{routeName}", false);
|
|
264
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
265
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
405
266
|
const query = map({
|
|
406
|
-
|
|
267
|
+
[_mO]: [, input[_mO]],
|
|
407
268
|
});
|
|
408
269
|
let body;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
hostname,
|
|
412
|
-
port,
|
|
413
|
-
method: "GET",
|
|
414
|
-
headers,
|
|
415
|
-
path: resolvedPath,
|
|
416
|
-
query,
|
|
417
|
-
body,
|
|
418
|
-
});
|
|
270
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
271
|
+
return b.build();
|
|
419
272
|
};
|
|
420
273
|
export const se_DescribeVirtualGatewayCommand = async (input, context) => {
|
|
421
|
-
const
|
|
274
|
+
const b = rb(input, context);
|
|
422
275
|
const headers = {};
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
276
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}");
|
|
277
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
278
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
427
279
|
const query = map({
|
|
428
|
-
|
|
280
|
+
[_mO]: [, input[_mO]],
|
|
429
281
|
});
|
|
430
282
|
let body;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
hostname,
|
|
434
|
-
port,
|
|
435
|
-
method: "GET",
|
|
436
|
-
headers,
|
|
437
|
-
path: resolvedPath,
|
|
438
|
-
query,
|
|
439
|
-
body,
|
|
440
|
-
});
|
|
283
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
284
|
+
return b.build();
|
|
441
285
|
};
|
|
442
286
|
export const se_DescribeVirtualNodeCommand = async (input, context) => {
|
|
443
|
-
const
|
|
287
|
+
const b = rb(input, context);
|
|
444
288
|
const headers = {};
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
289
|
+
b.bp("/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}");
|
|
290
|
+
b.p("virtualNodeName", () => input.virtualNodeName, "{virtualNodeName}", false);
|
|
291
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
449
292
|
const query = map({
|
|
450
|
-
|
|
293
|
+
[_mO]: [, input[_mO]],
|
|
451
294
|
});
|
|
452
295
|
let body;
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
hostname,
|
|
456
|
-
port,
|
|
457
|
-
method: "GET",
|
|
458
|
-
headers,
|
|
459
|
-
path: resolvedPath,
|
|
460
|
-
query,
|
|
461
|
-
body,
|
|
462
|
-
});
|
|
296
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
297
|
+
return b.build();
|
|
463
298
|
};
|
|
464
299
|
export const se_DescribeVirtualRouterCommand = async (input, context) => {
|
|
465
|
-
const
|
|
300
|
+
const b = rb(input, context);
|
|
466
301
|
const headers = {};
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
302
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}");
|
|
303
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
304
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
471
305
|
const query = map({
|
|
472
|
-
|
|
306
|
+
[_mO]: [, input[_mO]],
|
|
473
307
|
});
|
|
474
308
|
let body;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
hostname,
|
|
478
|
-
port,
|
|
479
|
-
method: "GET",
|
|
480
|
-
headers,
|
|
481
|
-
path: resolvedPath,
|
|
482
|
-
query,
|
|
483
|
-
body,
|
|
484
|
-
});
|
|
309
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
310
|
+
return b.build();
|
|
485
311
|
};
|
|
486
312
|
export const se_DescribeVirtualServiceCommand = async (input, context) => {
|
|
487
|
-
const
|
|
313
|
+
const b = rb(input, context);
|
|
488
314
|
const headers = {};
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
315
|
+
b.bp("/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}");
|
|
316
|
+
b.p("virtualServiceName", () => input.virtualServiceName, "{virtualServiceName}", false);
|
|
317
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
493
318
|
const query = map({
|
|
494
|
-
|
|
319
|
+
[_mO]: [, input[_mO]],
|
|
495
320
|
});
|
|
496
321
|
let body;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
hostname,
|
|
500
|
-
port,
|
|
501
|
-
method: "GET",
|
|
502
|
-
headers,
|
|
503
|
-
path: resolvedPath,
|
|
504
|
-
query,
|
|
505
|
-
body,
|
|
506
|
-
});
|
|
322
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
323
|
+
return b.build();
|
|
507
324
|
};
|
|
508
325
|
export const se_ListGatewayRoutesCommand = async (input, context) => {
|
|
509
|
-
const
|
|
326
|
+
const b = rb(input, context);
|
|
510
327
|
const headers = {};
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
328
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes");
|
|
329
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
330
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
515
331
|
const query = map({
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
332
|
+
[_nT]: [, input[_nT]],
|
|
333
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
334
|
+
[_mO]: [, input[_mO]],
|
|
519
335
|
});
|
|
520
336
|
let body;
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
hostname,
|
|
524
|
-
port,
|
|
525
|
-
method: "GET",
|
|
526
|
-
headers,
|
|
527
|
-
path: resolvedPath,
|
|
528
|
-
query,
|
|
529
|
-
body,
|
|
530
|
-
});
|
|
337
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
338
|
+
return b.build();
|
|
531
339
|
};
|
|
532
340
|
export const se_ListMeshesCommand = async (input, context) => {
|
|
533
|
-
const
|
|
341
|
+
const b = rb(input, context);
|
|
534
342
|
const headers = {};
|
|
535
|
-
|
|
343
|
+
b.bp("/v20190125/meshes");
|
|
536
344
|
const query = map({
|
|
537
|
-
|
|
538
|
-
|
|
345
|
+
[_nT]: [, input[_nT]],
|
|
346
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
539
347
|
});
|
|
540
348
|
let body;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
hostname,
|
|
544
|
-
port,
|
|
545
|
-
method: "GET",
|
|
546
|
-
headers,
|
|
547
|
-
path: resolvedPath,
|
|
548
|
-
query,
|
|
549
|
-
body,
|
|
550
|
-
});
|
|
349
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
350
|
+
return b.build();
|
|
551
351
|
};
|
|
552
352
|
export const se_ListRoutesCommand = async (input, context) => {
|
|
553
|
-
const
|
|
353
|
+
const b = rb(input, context);
|
|
554
354
|
const headers = {};
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
355
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes");
|
|
356
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
357
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
559
358
|
const query = map({
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
359
|
+
[_nT]: [, input[_nT]],
|
|
360
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
361
|
+
[_mO]: [, input[_mO]],
|
|
563
362
|
});
|
|
564
363
|
let body;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
hostname,
|
|
568
|
-
port,
|
|
569
|
-
method: "GET",
|
|
570
|
-
headers,
|
|
571
|
-
path: resolvedPath,
|
|
572
|
-
query,
|
|
573
|
-
body,
|
|
574
|
-
});
|
|
364
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
365
|
+
return b.build();
|
|
575
366
|
};
|
|
576
367
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
577
|
-
const
|
|
368
|
+
const b = rb(input, context);
|
|
578
369
|
const headers = {};
|
|
579
|
-
|
|
370
|
+
b.bp("/v20190125/tags");
|
|
580
371
|
const query = map({
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
372
|
+
[_rA]: [, __expectNonNull(input[_rA], `resourceArn`)],
|
|
373
|
+
[_nT]: [, input[_nT]],
|
|
374
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
584
375
|
});
|
|
585
376
|
let body;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
hostname,
|
|
589
|
-
port,
|
|
590
|
-
method: "GET",
|
|
591
|
-
headers,
|
|
592
|
-
path: resolvedPath,
|
|
593
|
-
query,
|
|
594
|
-
body,
|
|
595
|
-
});
|
|
377
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
378
|
+
return b.build();
|
|
596
379
|
};
|
|
597
380
|
export const se_ListVirtualGatewaysCommand = async (input, context) => {
|
|
598
|
-
const
|
|
381
|
+
const b = rb(input, context);
|
|
599
382
|
const headers = {};
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
383
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateways");
|
|
384
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
603
385
|
const query = map({
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
386
|
+
[_nT]: [, input[_nT]],
|
|
387
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
388
|
+
[_mO]: [, input[_mO]],
|
|
607
389
|
});
|
|
608
390
|
let body;
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
hostname,
|
|
612
|
-
port,
|
|
613
|
-
method: "GET",
|
|
614
|
-
headers,
|
|
615
|
-
path: resolvedPath,
|
|
616
|
-
query,
|
|
617
|
-
body,
|
|
618
|
-
});
|
|
391
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
392
|
+
return b.build();
|
|
619
393
|
};
|
|
620
394
|
export const se_ListVirtualNodesCommand = async (input, context) => {
|
|
621
|
-
const
|
|
395
|
+
const b = rb(input, context);
|
|
622
396
|
const headers = {};
|
|
623
|
-
|
|
624
|
-
|
|
397
|
+
b.bp("/v20190125/meshes/{meshName}/virtualNodes");
|
|
398
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
625
399
|
const query = map({
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
400
|
+
[_nT]: [, input[_nT]],
|
|
401
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
402
|
+
[_mO]: [, input[_mO]],
|
|
629
403
|
});
|
|
630
404
|
let body;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
hostname,
|
|
634
|
-
port,
|
|
635
|
-
method: "GET",
|
|
636
|
-
headers,
|
|
637
|
-
path: resolvedPath,
|
|
638
|
-
query,
|
|
639
|
-
body,
|
|
640
|
-
});
|
|
405
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
406
|
+
return b.build();
|
|
641
407
|
};
|
|
642
408
|
export const se_ListVirtualRoutersCommand = async (input, context) => {
|
|
643
|
-
const
|
|
409
|
+
const b = rb(input, context);
|
|
644
410
|
const headers = {};
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
411
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouters");
|
|
412
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
648
413
|
const query = map({
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
414
|
+
[_nT]: [, input[_nT]],
|
|
415
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
416
|
+
[_mO]: [, input[_mO]],
|
|
652
417
|
});
|
|
653
418
|
let body;
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
hostname,
|
|
657
|
-
port,
|
|
658
|
-
method: "GET",
|
|
659
|
-
headers,
|
|
660
|
-
path: resolvedPath,
|
|
661
|
-
query,
|
|
662
|
-
body,
|
|
663
|
-
});
|
|
419
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
420
|
+
return b.build();
|
|
664
421
|
};
|
|
665
422
|
export const se_ListVirtualServicesCommand = async (input, context) => {
|
|
666
|
-
const
|
|
423
|
+
const b = rb(input, context);
|
|
667
424
|
const headers = {};
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
425
|
+
b.bp("/v20190125/meshes/{meshName}/virtualServices");
|
|
426
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
671
427
|
const query = map({
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
428
|
+
[_nT]: [, input[_nT]],
|
|
429
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
430
|
+
[_mO]: [, input[_mO]],
|
|
675
431
|
});
|
|
676
432
|
let body;
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
hostname,
|
|
680
|
-
port,
|
|
681
|
-
method: "GET",
|
|
682
|
-
headers,
|
|
683
|
-
path: resolvedPath,
|
|
684
|
-
query,
|
|
685
|
-
body,
|
|
686
|
-
});
|
|
433
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
434
|
+
return b.build();
|
|
687
435
|
};
|
|
688
436
|
export const se_TagResourceCommand = async (input, context) => {
|
|
689
|
-
const
|
|
437
|
+
const b = rb(input, context);
|
|
690
438
|
const headers = {
|
|
691
439
|
"content-type": "application/json",
|
|
692
440
|
};
|
|
693
|
-
|
|
441
|
+
b.bp("/v20190125/tag");
|
|
694
442
|
const query = map({
|
|
695
|
-
|
|
443
|
+
[_rA]: [, __expectNonNull(input[_rA], `resourceArn`)],
|
|
696
444
|
});
|
|
697
445
|
let body;
|
|
698
446
|
body = JSON.stringify(take(input, {
|
|
699
447
|
tags: (_) => _json(_),
|
|
700
448
|
}));
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
hostname,
|
|
704
|
-
port,
|
|
705
|
-
method: "PUT",
|
|
706
|
-
headers,
|
|
707
|
-
path: resolvedPath,
|
|
708
|
-
query,
|
|
709
|
-
body,
|
|
710
|
-
});
|
|
449
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
450
|
+
return b.build();
|
|
711
451
|
};
|
|
712
452
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
713
|
-
const
|
|
453
|
+
const b = rb(input, context);
|
|
714
454
|
const headers = {
|
|
715
455
|
"content-type": "application/json",
|
|
716
456
|
};
|
|
717
|
-
|
|
457
|
+
b.bp("/v20190125/untag");
|
|
718
458
|
const query = map({
|
|
719
|
-
|
|
459
|
+
[_rA]: [, __expectNonNull(input[_rA], `resourceArn`)],
|
|
720
460
|
});
|
|
721
461
|
let body;
|
|
722
462
|
body = JSON.stringify(take(input, {
|
|
723
463
|
tagKeys: (_) => _json(_),
|
|
724
464
|
}));
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
hostname,
|
|
728
|
-
port,
|
|
729
|
-
method: "PUT",
|
|
730
|
-
headers,
|
|
731
|
-
path: resolvedPath,
|
|
732
|
-
query,
|
|
733
|
-
body,
|
|
734
|
-
});
|
|
465
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
466
|
+
return b.build();
|
|
735
467
|
};
|
|
736
468
|
export const se_UpdateGatewayRouteCommand = async (input, context) => {
|
|
737
|
-
const
|
|
469
|
+
const b = rb(input, context);
|
|
738
470
|
const headers = {
|
|
739
471
|
"content-type": "application/json",
|
|
740
472
|
};
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
473
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}");
|
|
474
|
+
b.p("gatewayRouteName", () => input.gatewayRouteName, "{gatewayRouteName}", false);
|
|
475
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
476
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
746
477
|
const query = map({
|
|
747
|
-
|
|
478
|
+
[_mO]: [, input[_mO]],
|
|
748
479
|
});
|
|
749
480
|
let body;
|
|
750
481
|
body = JSON.stringify(take(input, {
|
|
751
482
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
752
483
|
spec: (_) => _json(_),
|
|
753
484
|
}));
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
hostname,
|
|
757
|
-
port,
|
|
758
|
-
method: "PUT",
|
|
759
|
-
headers,
|
|
760
|
-
path: resolvedPath,
|
|
761
|
-
query,
|
|
762
|
-
body,
|
|
763
|
-
});
|
|
485
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
486
|
+
return b.build();
|
|
764
487
|
};
|
|
765
488
|
export const se_UpdateMeshCommand = async (input, context) => {
|
|
766
|
-
const
|
|
489
|
+
const b = rb(input, context);
|
|
767
490
|
const headers = {
|
|
768
491
|
"content-type": "application/json",
|
|
769
492
|
};
|
|
770
|
-
|
|
771
|
-
|
|
493
|
+
b.bp("/v20190125/meshes/{meshName}");
|
|
494
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
772
495
|
let body;
|
|
773
496
|
body = JSON.stringify(take(input, {
|
|
774
497
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
775
498
|
spec: (_) => _json(_),
|
|
776
499
|
}));
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
hostname,
|
|
780
|
-
port,
|
|
781
|
-
method: "PUT",
|
|
782
|
-
headers,
|
|
783
|
-
path: resolvedPath,
|
|
784
|
-
body,
|
|
785
|
-
});
|
|
500
|
+
b.m("PUT").h(headers).b(body);
|
|
501
|
+
return b.build();
|
|
786
502
|
};
|
|
787
503
|
export const se_UpdateRouteCommand = async (input, context) => {
|
|
788
|
-
const
|
|
504
|
+
const b = rb(input, context);
|
|
789
505
|
const headers = {
|
|
790
506
|
"content-type": "application/json",
|
|
791
507
|
};
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
508
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}");
|
|
509
|
+
b.p("routeName", () => input.routeName, "{routeName}", false);
|
|
510
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
511
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
797
512
|
const query = map({
|
|
798
|
-
|
|
513
|
+
[_mO]: [, input[_mO]],
|
|
799
514
|
});
|
|
800
515
|
let body;
|
|
801
516
|
body = JSON.stringify(take(input, {
|
|
802
517
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
803
518
|
spec: (_) => _json(_),
|
|
804
519
|
}));
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
hostname,
|
|
808
|
-
port,
|
|
809
|
-
method: "PUT",
|
|
810
|
-
headers,
|
|
811
|
-
path: resolvedPath,
|
|
812
|
-
query,
|
|
813
|
-
body,
|
|
814
|
-
});
|
|
520
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
521
|
+
return b.build();
|
|
815
522
|
};
|
|
816
523
|
export const se_UpdateVirtualGatewayCommand = async (input, context) => {
|
|
817
|
-
const
|
|
524
|
+
const b = rb(input, context);
|
|
818
525
|
const headers = {
|
|
819
526
|
"content-type": "application/json",
|
|
820
527
|
};
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
528
|
+
b.bp("/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}");
|
|
529
|
+
b.p("virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
|
|
530
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
825
531
|
const query = map({
|
|
826
|
-
|
|
532
|
+
[_mO]: [, input[_mO]],
|
|
827
533
|
});
|
|
828
534
|
let body;
|
|
829
535
|
body = JSON.stringify(take(input, {
|
|
830
536
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
831
537
|
spec: (_) => _json(_),
|
|
832
538
|
}));
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
hostname,
|
|
836
|
-
port,
|
|
837
|
-
method: "PUT",
|
|
838
|
-
headers,
|
|
839
|
-
path: resolvedPath,
|
|
840
|
-
query,
|
|
841
|
-
body,
|
|
842
|
-
});
|
|
539
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
540
|
+
return b.build();
|
|
843
541
|
};
|
|
844
542
|
export const se_UpdateVirtualNodeCommand = async (input, context) => {
|
|
845
|
-
const
|
|
543
|
+
const b = rb(input, context);
|
|
846
544
|
const headers = {
|
|
847
545
|
"content-type": "application/json",
|
|
848
546
|
};
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
547
|
+
b.bp("/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}");
|
|
548
|
+
b.p("virtualNodeName", () => input.virtualNodeName, "{virtualNodeName}", false);
|
|
549
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
853
550
|
const query = map({
|
|
854
|
-
|
|
551
|
+
[_mO]: [, input[_mO]],
|
|
855
552
|
});
|
|
856
553
|
let body;
|
|
857
554
|
body = JSON.stringify(take(input, {
|
|
858
555
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
859
556
|
spec: (_) => _json(_),
|
|
860
557
|
}));
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
hostname,
|
|
864
|
-
port,
|
|
865
|
-
method: "PUT",
|
|
866
|
-
headers,
|
|
867
|
-
path: resolvedPath,
|
|
868
|
-
query,
|
|
869
|
-
body,
|
|
870
|
-
});
|
|
558
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
559
|
+
return b.build();
|
|
871
560
|
};
|
|
872
561
|
export const se_UpdateVirtualRouterCommand = async (input, context) => {
|
|
873
|
-
const
|
|
562
|
+
const b = rb(input, context);
|
|
874
563
|
const headers = {
|
|
875
564
|
"content-type": "application/json",
|
|
876
565
|
};
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
566
|
+
b.bp("/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}");
|
|
567
|
+
b.p("virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
|
|
568
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
881
569
|
const query = map({
|
|
882
|
-
|
|
570
|
+
[_mO]: [, input[_mO]],
|
|
883
571
|
});
|
|
884
572
|
let body;
|
|
885
573
|
body = JSON.stringify(take(input, {
|
|
886
574
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
887
575
|
spec: (_) => _json(_),
|
|
888
576
|
}));
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
hostname,
|
|
892
|
-
port,
|
|
893
|
-
method: "PUT",
|
|
894
|
-
headers,
|
|
895
|
-
path: resolvedPath,
|
|
896
|
-
query,
|
|
897
|
-
body,
|
|
898
|
-
});
|
|
577
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
578
|
+
return b.build();
|
|
899
579
|
};
|
|
900
580
|
export const se_UpdateVirtualServiceCommand = async (input, context) => {
|
|
901
|
-
const
|
|
581
|
+
const b = rb(input, context);
|
|
902
582
|
const headers = {
|
|
903
583
|
"content-type": "application/json",
|
|
904
584
|
};
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
|
|
585
|
+
b.bp("/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}");
|
|
586
|
+
b.p("virtualServiceName", () => input.virtualServiceName, "{virtualServiceName}", false);
|
|
587
|
+
b.p("meshName", () => input.meshName, "{meshName}", false);
|
|
909
588
|
const query = map({
|
|
910
|
-
|
|
589
|
+
[_mO]: [, input[_mO]],
|
|
911
590
|
});
|
|
912
591
|
let body;
|
|
913
592
|
body = JSON.stringify(take(input, {
|
|
914
593
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
915
594
|
spec: (_) => _json(_),
|
|
916
595
|
}));
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
hostname,
|
|
920
|
-
port,
|
|
921
|
-
method: "PUT",
|
|
922
|
-
headers,
|
|
923
|
-
path: resolvedPath,
|
|
924
|
-
query,
|
|
925
|
-
body,
|
|
926
|
-
});
|
|
596
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
597
|
+
return b.build();
|
|
927
598
|
};
|
|
928
599
|
export const de_CreateGatewayRouteCommand = async (output, context) => {
|
|
929
600
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -3129,6 +2800,10 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3129
2800
|
value !== "" &&
|
|
3130
2801
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3131
2802
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2803
|
+
const _l = "limit";
|
|
2804
|
+
const _mO = "meshOwner";
|
|
2805
|
+
const _nT = "nextToken";
|
|
2806
|
+
const _rA = "resourceArn";
|
|
3132
2807
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3133
2808
|
if (encoded.length) {
|
|
3134
2809
|
return JSON.parse(encoded);
|