@aws-sdk/client-resource-explorer-2 3.474.0 → 3.477.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.
|
@@ -1,81 +1,60 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_UpdateViewCommand = exports.de_UpdateIndexTypeCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SearchCommand = exports.de_ListViewsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSupportedResourceTypesCommand = exports.de_ListIndexesForMembersCommand = exports.de_ListIndexesCommand = exports.de_GetViewCommand = exports.de_GetIndexCommand = exports.de_GetDefaultViewCommand = exports.de_GetAccountLevelServiceConfigurationCommand = exports.de_DisassociateDefaultViewCommand = exports.de_DeleteViewCommand = exports.de_DeleteIndexCommand = exports.de_CreateViewCommand = exports.de_CreateIndexCommand = exports.de_BatchGetViewCommand = exports.de_AssociateDefaultViewCommand = exports.se_UpdateViewCommand = exports.se_UpdateIndexTypeCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SearchCommand = exports.se_ListViewsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSupportedResourceTypesCommand = exports.se_ListIndexesForMembersCommand = exports.se_ListIndexesCommand = exports.se_GetViewCommand = exports.se_GetIndexCommand = exports.se_GetDefaultViewCommand = exports.se_GetAccountLevelServiceConfigurationCommand = exports.se_DisassociateDefaultViewCommand = exports.se_DeleteViewCommand = exports.se_DeleteIndexCommand = exports.se_CreateViewCommand = exports.se_CreateIndexCommand = exports.se_BatchGetViewCommand = exports.se_AssociateDefaultViewCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const ResourceExplorer2ServiceException_1 = require("../models/ResourceExplorer2ServiceException");
|
|
9
9
|
const se_AssociateDefaultViewCommand = async (input, context) => {
|
|
10
|
-
const
|
|
10
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
b.bp("/AssociateDefaultView");
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
17
|
ViewArn: [],
|
|
18
18
|
}));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
hostname,
|
|
22
|
-
port,
|
|
23
|
-
method: "POST",
|
|
24
|
-
headers,
|
|
25
|
-
path: resolvedPath,
|
|
26
|
-
body,
|
|
27
|
-
});
|
|
19
|
+
b.m("POST").h(headers).b(body);
|
|
20
|
+
return b.build();
|
|
28
21
|
};
|
|
29
22
|
exports.se_AssociateDefaultViewCommand = se_AssociateDefaultViewCommand;
|
|
30
23
|
const se_BatchGetViewCommand = async (input, context) => {
|
|
31
|
-
const
|
|
24
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
32
25
|
const headers = {
|
|
33
26
|
"content-type": "application/json",
|
|
34
27
|
};
|
|
35
|
-
|
|
28
|
+
b.bp("/BatchGetView");
|
|
36
29
|
let body;
|
|
37
30
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
38
31
|
ViewArns: (_) => (0, smithy_client_1._json)(_),
|
|
39
32
|
}));
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
hostname,
|
|
43
|
-
port,
|
|
44
|
-
method: "POST",
|
|
45
|
-
headers,
|
|
46
|
-
path: resolvedPath,
|
|
47
|
-
body,
|
|
48
|
-
});
|
|
33
|
+
b.m("POST").h(headers).b(body);
|
|
34
|
+
return b.build();
|
|
49
35
|
};
|
|
50
36
|
exports.se_BatchGetViewCommand = se_BatchGetViewCommand;
|
|
51
37
|
const se_CreateIndexCommand = async (input, context) => {
|
|
52
|
-
const
|
|
38
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
53
39
|
const headers = {
|
|
54
40
|
"content-type": "application/json",
|
|
55
41
|
};
|
|
56
|
-
|
|
42
|
+
b.bp("/CreateIndex");
|
|
57
43
|
let body;
|
|
58
44
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
59
45
|
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
60
46
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
61
47
|
}));
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
hostname,
|
|
65
|
-
port,
|
|
66
|
-
method: "POST",
|
|
67
|
-
headers,
|
|
68
|
-
path: resolvedPath,
|
|
69
|
-
body,
|
|
70
|
-
});
|
|
48
|
+
b.m("POST").h(headers).b(body);
|
|
49
|
+
return b.build();
|
|
71
50
|
};
|
|
72
51
|
exports.se_CreateIndexCommand = se_CreateIndexCommand;
|
|
73
52
|
const se_CreateViewCommand = async (input, context) => {
|
|
74
|
-
const
|
|
53
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
75
54
|
const headers = {
|
|
76
55
|
"content-type": "application/json",
|
|
77
56
|
};
|
|
78
|
-
|
|
57
|
+
b.bp("/CreateView");
|
|
79
58
|
let body;
|
|
80
59
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
81
60
|
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -85,162 +64,106 @@ const se_CreateViewCommand = async (input, context) => {
|
|
|
85
64
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
86
65
|
ViewName: [],
|
|
87
66
|
}));
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
hostname,
|
|
91
|
-
port,
|
|
92
|
-
method: "POST",
|
|
93
|
-
headers,
|
|
94
|
-
path: resolvedPath,
|
|
95
|
-
body,
|
|
96
|
-
});
|
|
67
|
+
b.m("POST").h(headers).b(body);
|
|
68
|
+
return b.build();
|
|
97
69
|
};
|
|
98
70
|
exports.se_CreateViewCommand = se_CreateViewCommand;
|
|
99
71
|
const se_DeleteIndexCommand = async (input, context) => {
|
|
100
|
-
const
|
|
72
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
101
73
|
const headers = {
|
|
102
74
|
"content-type": "application/json",
|
|
103
75
|
};
|
|
104
|
-
|
|
76
|
+
b.bp("/DeleteIndex");
|
|
105
77
|
let body;
|
|
106
78
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
107
79
|
Arn: [],
|
|
108
80
|
}));
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
hostname,
|
|
112
|
-
port,
|
|
113
|
-
method: "POST",
|
|
114
|
-
headers,
|
|
115
|
-
path: resolvedPath,
|
|
116
|
-
body,
|
|
117
|
-
});
|
|
81
|
+
b.m("POST").h(headers).b(body);
|
|
82
|
+
return b.build();
|
|
118
83
|
};
|
|
119
84
|
exports.se_DeleteIndexCommand = se_DeleteIndexCommand;
|
|
120
85
|
const se_DeleteViewCommand = async (input, context) => {
|
|
121
|
-
const
|
|
86
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
122
87
|
const headers = {
|
|
123
88
|
"content-type": "application/json",
|
|
124
89
|
};
|
|
125
|
-
|
|
90
|
+
b.bp("/DeleteView");
|
|
126
91
|
let body;
|
|
127
92
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
128
93
|
ViewArn: [],
|
|
129
94
|
}));
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
hostname,
|
|
133
|
-
port,
|
|
134
|
-
method: "POST",
|
|
135
|
-
headers,
|
|
136
|
-
path: resolvedPath,
|
|
137
|
-
body,
|
|
138
|
-
});
|
|
95
|
+
b.m("POST").h(headers).b(body);
|
|
96
|
+
return b.build();
|
|
139
97
|
};
|
|
140
98
|
exports.se_DeleteViewCommand = se_DeleteViewCommand;
|
|
141
99
|
const se_DisassociateDefaultViewCommand = async (input, context) => {
|
|
142
|
-
const
|
|
100
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
143
101
|
const headers = {
|
|
144
102
|
"content-type": "application/json",
|
|
145
103
|
};
|
|
146
|
-
|
|
104
|
+
b.bp("/DisassociateDefaultView");
|
|
147
105
|
let body;
|
|
148
106
|
body = "";
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
hostname,
|
|
152
|
-
port,
|
|
153
|
-
method: "POST",
|
|
154
|
-
headers,
|
|
155
|
-
path: resolvedPath,
|
|
156
|
-
body,
|
|
157
|
-
});
|
|
107
|
+
b.m("POST").h(headers).b(body);
|
|
108
|
+
return b.build();
|
|
158
109
|
};
|
|
159
110
|
exports.se_DisassociateDefaultViewCommand = se_DisassociateDefaultViewCommand;
|
|
160
111
|
const se_GetAccountLevelServiceConfigurationCommand = async (input, context) => {
|
|
161
|
-
const
|
|
112
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
162
113
|
const headers = {
|
|
163
114
|
"content-type": "application/json",
|
|
164
115
|
};
|
|
165
|
-
|
|
116
|
+
b.bp("/GetAccountLevelServiceConfiguration");
|
|
166
117
|
let body;
|
|
167
118
|
body = "";
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
hostname,
|
|
171
|
-
port,
|
|
172
|
-
method: "POST",
|
|
173
|
-
headers,
|
|
174
|
-
path: resolvedPath,
|
|
175
|
-
body,
|
|
176
|
-
});
|
|
119
|
+
b.m("POST").h(headers).b(body);
|
|
120
|
+
return b.build();
|
|
177
121
|
};
|
|
178
122
|
exports.se_GetAccountLevelServiceConfigurationCommand = se_GetAccountLevelServiceConfigurationCommand;
|
|
179
123
|
const se_GetDefaultViewCommand = async (input, context) => {
|
|
180
|
-
const
|
|
124
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
181
125
|
const headers = {
|
|
182
126
|
"content-type": "application/json",
|
|
183
127
|
};
|
|
184
|
-
|
|
128
|
+
b.bp("/GetDefaultView");
|
|
185
129
|
let body;
|
|
186
130
|
body = "";
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
hostname,
|
|
190
|
-
port,
|
|
191
|
-
method: "POST",
|
|
192
|
-
headers,
|
|
193
|
-
path: resolvedPath,
|
|
194
|
-
body,
|
|
195
|
-
});
|
|
131
|
+
b.m("POST").h(headers).b(body);
|
|
132
|
+
return b.build();
|
|
196
133
|
};
|
|
197
134
|
exports.se_GetDefaultViewCommand = se_GetDefaultViewCommand;
|
|
198
135
|
const se_GetIndexCommand = async (input, context) => {
|
|
199
|
-
const
|
|
136
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
200
137
|
const headers = {
|
|
201
138
|
"content-type": "application/json",
|
|
202
139
|
};
|
|
203
|
-
|
|
140
|
+
b.bp("/GetIndex");
|
|
204
141
|
let body;
|
|
205
142
|
body = "";
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
hostname,
|
|
209
|
-
port,
|
|
210
|
-
method: "POST",
|
|
211
|
-
headers,
|
|
212
|
-
path: resolvedPath,
|
|
213
|
-
body,
|
|
214
|
-
});
|
|
143
|
+
b.m("POST").h(headers).b(body);
|
|
144
|
+
return b.build();
|
|
215
145
|
};
|
|
216
146
|
exports.se_GetIndexCommand = se_GetIndexCommand;
|
|
217
147
|
const se_GetViewCommand = async (input, context) => {
|
|
218
|
-
const
|
|
148
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
219
149
|
const headers = {
|
|
220
150
|
"content-type": "application/json",
|
|
221
151
|
};
|
|
222
|
-
|
|
152
|
+
b.bp("/GetView");
|
|
223
153
|
let body;
|
|
224
154
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
225
155
|
ViewArn: [],
|
|
226
156
|
}));
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
hostname,
|
|
230
|
-
port,
|
|
231
|
-
method: "POST",
|
|
232
|
-
headers,
|
|
233
|
-
path: resolvedPath,
|
|
234
|
-
body,
|
|
235
|
-
});
|
|
157
|
+
b.m("POST").h(headers).b(body);
|
|
158
|
+
return b.build();
|
|
236
159
|
};
|
|
237
160
|
exports.se_GetViewCommand = se_GetViewCommand;
|
|
238
161
|
const se_ListIndexesCommand = async (input, context) => {
|
|
239
|
-
const
|
|
162
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
240
163
|
const headers = {
|
|
241
164
|
"content-type": "application/json",
|
|
242
165
|
};
|
|
243
|
-
|
|
166
|
+
b.bp("/ListIndexes");
|
|
244
167
|
let body;
|
|
245
168
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
246
169
|
MaxResults: [],
|
|
@@ -248,107 +171,72 @@ const se_ListIndexesCommand = async (input, context) => {
|
|
|
248
171
|
Regions: (_) => (0, smithy_client_1._json)(_),
|
|
249
172
|
Type: [],
|
|
250
173
|
}));
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
hostname,
|
|
254
|
-
port,
|
|
255
|
-
method: "POST",
|
|
256
|
-
headers,
|
|
257
|
-
path: resolvedPath,
|
|
258
|
-
body,
|
|
259
|
-
});
|
|
174
|
+
b.m("POST").h(headers).b(body);
|
|
175
|
+
return b.build();
|
|
260
176
|
};
|
|
261
177
|
exports.se_ListIndexesCommand = se_ListIndexesCommand;
|
|
262
178
|
const se_ListIndexesForMembersCommand = async (input, context) => {
|
|
263
|
-
const
|
|
179
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
264
180
|
const headers = {
|
|
265
181
|
"content-type": "application/json",
|
|
266
182
|
};
|
|
267
|
-
|
|
183
|
+
b.bp("/ListIndexesForMembers");
|
|
268
184
|
let body;
|
|
269
185
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
270
186
|
AccountIdList: (_) => (0, smithy_client_1._json)(_),
|
|
271
187
|
MaxResults: [],
|
|
272
188
|
NextToken: [],
|
|
273
189
|
}));
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
hostname,
|
|
277
|
-
port,
|
|
278
|
-
method: "POST",
|
|
279
|
-
headers,
|
|
280
|
-
path: resolvedPath,
|
|
281
|
-
body,
|
|
282
|
-
});
|
|
190
|
+
b.m("POST").h(headers).b(body);
|
|
191
|
+
return b.build();
|
|
283
192
|
};
|
|
284
193
|
exports.se_ListIndexesForMembersCommand = se_ListIndexesForMembersCommand;
|
|
285
194
|
const se_ListSupportedResourceTypesCommand = async (input, context) => {
|
|
286
|
-
const
|
|
195
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
287
196
|
const headers = {
|
|
288
197
|
"content-type": "application/json",
|
|
289
198
|
};
|
|
290
|
-
|
|
199
|
+
b.bp("/ListSupportedResourceTypes");
|
|
291
200
|
let body;
|
|
292
201
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
293
202
|
MaxResults: [],
|
|
294
203
|
NextToken: [],
|
|
295
204
|
}));
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
hostname,
|
|
299
|
-
port,
|
|
300
|
-
method: "POST",
|
|
301
|
-
headers,
|
|
302
|
-
path: resolvedPath,
|
|
303
|
-
body,
|
|
304
|
-
});
|
|
205
|
+
b.m("POST").h(headers).b(body);
|
|
206
|
+
return b.build();
|
|
305
207
|
};
|
|
306
208
|
exports.se_ListSupportedResourceTypesCommand = se_ListSupportedResourceTypesCommand;
|
|
307
209
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
308
|
-
const
|
|
210
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
309
211
|
const headers = {};
|
|
310
|
-
|
|
311
|
-
|
|
212
|
+
b.bp("/tags/{resourceArn}");
|
|
213
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
312
214
|
let body;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
hostname,
|
|
316
|
-
port,
|
|
317
|
-
method: "GET",
|
|
318
|
-
headers,
|
|
319
|
-
path: resolvedPath,
|
|
320
|
-
body,
|
|
321
|
-
});
|
|
215
|
+
b.m("GET").h(headers).b(body);
|
|
216
|
+
return b.build();
|
|
322
217
|
};
|
|
323
218
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
324
219
|
const se_ListViewsCommand = async (input, context) => {
|
|
325
|
-
const
|
|
220
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
326
221
|
const headers = {
|
|
327
222
|
"content-type": "application/json",
|
|
328
223
|
};
|
|
329
|
-
|
|
224
|
+
b.bp("/ListViews");
|
|
330
225
|
let body;
|
|
331
226
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
332
227
|
MaxResults: [],
|
|
333
228
|
NextToken: [],
|
|
334
229
|
}));
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
hostname,
|
|
338
|
-
port,
|
|
339
|
-
method: "POST",
|
|
340
|
-
headers,
|
|
341
|
-
path: resolvedPath,
|
|
342
|
-
body,
|
|
343
|
-
});
|
|
230
|
+
b.m("POST").h(headers).b(body);
|
|
231
|
+
return b.build();
|
|
344
232
|
};
|
|
345
233
|
exports.se_ListViewsCommand = se_ListViewsCommand;
|
|
346
234
|
const se_SearchCommand = async (input, context) => {
|
|
347
|
-
const
|
|
235
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
348
236
|
const headers = {
|
|
349
237
|
"content-type": "application/json",
|
|
350
238
|
};
|
|
351
|
-
|
|
239
|
+
b.bp("/Search");
|
|
352
240
|
let body;
|
|
353
241
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
354
242
|
MaxResults: [],
|
|
@@ -356,106 +244,70 @@ const se_SearchCommand = async (input, context) => {
|
|
|
356
244
|
QueryString: [],
|
|
357
245
|
ViewArn: [],
|
|
358
246
|
}));
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
hostname,
|
|
362
|
-
port,
|
|
363
|
-
method: "POST",
|
|
364
|
-
headers,
|
|
365
|
-
path: resolvedPath,
|
|
366
|
-
body,
|
|
367
|
-
});
|
|
247
|
+
b.m("POST").h(headers).b(body);
|
|
248
|
+
return b.build();
|
|
368
249
|
};
|
|
369
250
|
exports.se_SearchCommand = se_SearchCommand;
|
|
370
251
|
const se_TagResourceCommand = async (input, context) => {
|
|
371
|
-
const
|
|
252
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
372
253
|
const headers = {
|
|
373
254
|
"content-type": "application/json",
|
|
374
255
|
};
|
|
375
|
-
|
|
376
|
-
|
|
256
|
+
b.bp("/tags/{resourceArn}");
|
|
257
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
377
258
|
let body;
|
|
378
259
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
379
260
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
380
261
|
}));
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
hostname,
|
|
384
|
-
port,
|
|
385
|
-
method: "POST",
|
|
386
|
-
headers,
|
|
387
|
-
path: resolvedPath,
|
|
388
|
-
body,
|
|
389
|
-
});
|
|
262
|
+
b.m("POST").h(headers).b(body);
|
|
263
|
+
return b.build();
|
|
390
264
|
};
|
|
391
265
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
392
266
|
const se_UntagResourceCommand = async (input, context) => {
|
|
393
|
-
const
|
|
267
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
394
268
|
const headers = {};
|
|
395
|
-
|
|
396
|
-
|
|
269
|
+
b.bp("/tags/{resourceArn}");
|
|
270
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
397
271
|
const query = (0, smithy_client_1.map)({
|
|
398
|
-
|
|
272
|
+
[_tK]: [
|
|
399
273
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
400
|
-
() => (input
|
|
274
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
401
275
|
],
|
|
402
276
|
});
|
|
403
277
|
let body;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
hostname,
|
|
407
|
-
port,
|
|
408
|
-
method: "DELETE",
|
|
409
|
-
headers,
|
|
410
|
-
path: resolvedPath,
|
|
411
|
-
query,
|
|
412
|
-
body,
|
|
413
|
-
});
|
|
278
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
279
|
+
return b.build();
|
|
414
280
|
};
|
|
415
281
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
416
282
|
const se_UpdateIndexTypeCommand = async (input, context) => {
|
|
417
|
-
const
|
|
283
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
418
284
|
const headers = {
|
|
419
285
|
"content-type": "application/json",
|
|
420
286
|
};
|
|
421
|
-
|
|
287
|
+
b.bp("/UpdateIndexType");
|
|
422
288
|
let body;
|
|
423
289
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
424
290
|
Arn: [],
|
|
425
291
|
Type: [],
|
|
426
292
|
}));
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
hostname,
|
|
430
|
-
port,
|
|
431
|
-
method: "POST",
|
|
432
|
-
headers,
|
|
433
|
-
path: resolvedPath,
|
|
434
|
-
body,
|
|
435
|
-
});
|
|
293
|
+
b.m("POST").h(headers).b(body);
|
|
294
|
+
return b.build();
|
|
436
295
|
};
|
|
437
296
|
exports.se_UpdateIndexTypeCommand = se_UpdateIndexTypeCommand;
|
|
438
297
|
const se_UpdateViewCommand = async (input, context) => {
|
|
439
|
-
const
|
|
298
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
440
299
|
const headers = {
|
|
441
300
|
"content-type": "application/json",
|
|
442
301
|
};
|
|
443
|
-
|
|
302
|
+
b.bp("/UpdateView");
|
|
444
303
|
let body;
|
|
445
304
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
446
305
|
Filters: (_) => (0, smithy_client_1._json)(_),
|
|
447
306
|
IncludedProperties: (_) => (0, smithy_client_1._json)(_),
|
|
448
307
|
ViewArn: [],
|
|
449
308
|
}));
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
hostname,
|
|
453
|
-
port,
|
|
454
|
-
method: "POST",
|
|
455
|
-
headers,
|
|
456
|
-
path: resolvedPath,
|
|
457
|
-
body,
|
|
458
|
-
});
|
|
309
|
+
b.m("POST").h(headers).b(body);
|
|
310
|
+
return b.build();
|
|
459
311
|
};
|
|
460
312
|
exports.se_UpdateViewCommand = se_UpdateViewCommand;
|
|
461
313
|
const de_AssociateDefaultViewCommand = async (output, context) => {
|
|
@@ -1628,6 +1480,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1628
1480
|
value !== "" &&
|
|
1629
1481
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1630
1482
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1483
|
+
const _tK = "tagKeys";
|
|
1631
1484
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1632
1485
|
if (encoded.length) {
|
|
1633
1486
|
return JSON.parse(encoded);
|
|
@@ -1,75 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { ResourceExplorer2ServiceException as __BaseException } from "../models/ResourceExplorer2ServiceException";
|
|
6
6
|
export const se_AssociateDefaultViewCommand = async (input, context) => {
|
|
7
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
b.bp("/AssociateDefaultView");
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
14
|
ViewArn: [],
|
|
15
15
|
}));
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
hostname,
|
|
19
|
-
port,
|
|
20
|
-
method: "POST",
|
|
21
|
-
headers,
|
|
22
|
-
path: resolvedPath,
|
|
23
|
-
body,
|
|
24
|
-
});
|
|
16
|
+
b.m("POST").h(headers).b(body);
|
|
17
|
+
return b.build();
|
|
25
18
|
};
|
|
26
19
|
export const se_BatchGetViewCommand = async (input, context) => {
|
|
27
|
-
const
|
|
20
|
+
const b = rb(input, context);
|
|
28
21
|
const headers = {
|
|
29
22
|
"content-type": "application/json",
|
|
30
23
|
};
|
|
31
|
-
|
|
24
|
+
b.bp("/BatchGetView");
|
|
32
25
|
let body;
|
|
33
26
|
body = JSON.stringify(take(input, {
|
|
34
27
|
ViewArns: (_) => _json(_),
|
|
35
28
|
}));
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
hostname,
|
|
39
|
-
port,
|
|
40
|
-
method: "POST",
|
|
41
|
-
headers,
|
|
42
|
-
path: resolvedPath,
|
|
43
|
-
body,
|
|
44
|
-
});
|
|
29
|
+
b.m("POST").h(headers).b(body);
|
|
30
|
+
return b.build();
|
|
45
31
|
};
|
|
46
32
|
export const se_CreateIndexCommand = async (input, context) => {
|
|
47
|
-
const
|
|
33
|
+
const b = rb(input, context);
|
|
48
34
|
const headers = {
|
|
49
35
|
"content-type": "application/json",
|
|
50
36
|
};
|
|
51
|
-
|
|
37
|
+
b.bp("/CreateIndex");
|
|
52
38
|
let body;
|
|
53
39
|
body = JSON.stringify(take(input, {
|
|
54
40
|
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
55
41
|
Tags: (_) => _json(_),
|
|
56
42
|
}));
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
hostname,
|
|
60
|
-
port,
|
|
61
|
-
method: "POST",
|
|
62
|
-
headers,
|
|
63
|
-
path: resolvedPath,
|
|
64
|
-
body,
|
|
65
|
-
});
|
|
43
|
+
b.m("POST").h(headers).b(body);
|
|
44
|
+
return b.build();
|
|
66
45
|
};
|
|
67
46
|
export const se_CreateViewCommand = async (input, context) => {
|
|
68
|
-
const
|
|
47
|
+
const b = rb(input, context);
|
|
69
48
|
const headers = {
|
|
70
49
|
"content-type": "application/json",
|
|
71
50
|
};
|
|
72
|
-
|
|
51
|
+
b.bp("/CreateView");
|
|
73
52
|
let body;
|
|
74
53
|
body = JSON.stringify(take(input, {
|
|
75
54
|
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -79,154 +58,98 @@ export const se_CreateViewCommand = async (input, context) => {
|
|
|
79
58
|
Tags: (_) => _json(_),
|
|
80
59
|
ViewName: [],
|
|
81
60
|
}));
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
hostname,
|
|
85
|
-
port,
|
|
86
|
-
method: "POST",
|
|
87
|
-
headers,
|
|
88
|
-
path: resolvedPath,
|
|
89
|
-
body,
|
|
90
|
-
});
|
|
61
|
+
b.m("POST").h(headers).b(body);
|
|
62
|
+
return b.build();
|
|
91
63
|
};
|
|
92
64
|
export const se_DeleteIndexCommand = async (input, context) => {
|
|
93
|
-
const
|
|
65
|
+
const b = rb(input, context);
|
|
94
66
|
const headers = {
|
|
95
67
|
"content-type": "application/json",
|
|
96
68
|
};
|
|
97
|
-
|
|
69
|
+
b.bp("/DeleteIndex");
|
|
98
70
|
let body;
|
|
99
71
|
body = JSON.stringify(take(input, {
|
|
100
72
|
Arn: [],
|
|
101
73
|
}));
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
hostname,
|
|
105
|
-
port,
|
|
106
|
-
method: "POST",
|
|
107
|
-
headers,
|
|
108
|
-
path: resolvedPath,
|
|
109
|
-
body,
|
|
110
|
-
});
|
|
74
|
+
b.m("POST").h(headers).b(body);
|
|
75
|
+
return b.build();
|
|
111
76
|
};
|
|
112
77
|
export const se_DeleteViewCommand = async (input, context) => {
|
|
113
|
-
const
|
|
78
|
+
const b = rb(input, context);
|
|
114
79
|
const headers = {
|
|
115
80
|
"content-type": "application/json",
|
|
116
81
|
};
|
|
117
|
-
|
|
82
|
+
b.bp("/DeleteView");
|
|
118
83
|
let body;
|
|
119
84
|
body = JSON.stringify(take(input, {
|
|
120
85
|
ViewArn: [],
|
|
121
86
|
}));
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
hostname,
|
|
125
|
-
port,
|
|
126
|
-
method: "POST",
|
|
127
|
-
headers,
|
|
128
|
-
path: resolvedPath,
|
|
129
|
-
body,
|
|
130
|
-
});
|
|
87
|
+
b.m("POST").h(headers).b(body);
|
|
88
|
+
return b.build();
|
|
131
89
|
};
|
|
132
90
|
export const se_DisassociateDefaultViewCommand = async (input, context) => {
|
|
133
|
-
const
|
|
91
|
+
const b = rb(input, context);
|
|
134
92
|
const headers = {
|
|
135
93
|
"content-type": "application/json",
|
|
136
94
|
};
|
|
137
|
-
|
|
95
|
+
b.bp("/DisassociateDefaultView");
|
|
138
96
|
let body;
|
|
139
97
|
body = "";
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
hostname,
|
|
143
|
-
port,
|
|
144
|
-
method: "POST",
|
|
145
|
-
headers,
|
|
146
|
-
path: resolvedPath,
|
|
147
|
-
body,
|
|
148
|
-
});
|
|
98
|
+
b.m("POST").h(headers).b(body);
|
|
99
|
+
return b.build();
|
|
149
100
|
};
|
|
150
101
|
export const se_GetAccountLevelServiceConfigurationCommand = async (input, context) => {
|
|
151
|
-
const
|
|
102
|
+
const b = rb(input, context);
|
|
152
103
|
const headers = {
|
|
153
104
|
"content-type": "application/json",
|
|
154
105
|
};
|
|
155
|
-
|
|
106
|
+
b.bp("/GetAccountLevelServiceConfiguration");
|
|
156
107
|
let body;
|
|
157
108
|
body = "";
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
hostname,
|
|
161
|
-
port,
|
|
162
|
-
method: "POST",
|
|
163
|
-
headers,
|
|
164
|
-
path: resolvedPath,
|
|
165
|
-
body,
|
|
166
|
-
});
|
|
109
|
+
b.m("POST").h(headers).b(body);
|
|
110
|
+
return b.build();
|
|
167
111
|
};
|
|
168
112
|
export const se_GetDefaultViewCommand = async (input, context) => {
|
|
169
|
-
const
|
|
113
|
+
const b = rb(input, context);
|
|
170
114
|
const headers = {
|
|
171
115
|
"content-type": "application/json",
|
|
172
116
|
};
|
|
173
|
-
|
|
117
|
+
b.bp("/GetDefaultView");
|
|
174
118
|
let body;
|
|
175
119
|
body = "";
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
hostname,
|
|
179
|
-
port,
|
|
180
|
-
method: "POST",
|
|
181
|
-
headers,
|
|
182
|
-
path: resolvedPath,
|
|
183
|
-
body,
|
|
184
|
-
});
|
|
120
|
+
b.m("POST").h(headers).b(body);
|
|
121
|
+
return b.build();
|
|
185
122
|
};
|
|
186
123
|
export const se_GetIndexCommand = async (input, context) => {
|
|
187
|
-
const
|
|
124
|
+
const b = rb(input, context);
|
|
188
125
|
const headers = {
|
|
189
126
|
"content-type": "application/json",
|
|
190
127
|
};
|
|
191
|
-
|
|
128
|
+
b.bp("/GetIndex");
|
|
192
129
|
let body;
|
|
193
130
|
body = "";
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
hostname,
|
|
197
|
-
port,
|
|
198
|
-
method: "POST",
|
|
199
|
-
headers,
|
|
200
|
-
path: resolvedPath,
|
|
201
|
-
body,
|
|
202
|
-
});
|
|
131
|
+
b.m("POST").h(headers).b(body);
|
|
132
|
+
return b.build();
|
|
203
133
|
};
|
|
204
134
|
export const se_GetViewCommand = async (input, context) => {
|
|
205
|
-
const
|
|
135
|
+
const b = rb(input, context);
|
|
206
136
|
const headers = {
|
|
207
137
|
"content-type": "application/json",
|
|
208
138
|
};
|
|
209
|
-
|
|
139
|
+
b.bp("/GetView");
|
|
210
140
|
let body;
|
|
211
141
|
body = JSON.stringify(take(input, {
|
|
212
142
|
ViewArn: [],
|
|
213
143
|
}));
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
hostname,
|
|
217
|
-
port,
|
|
218
|
-
method: "POST",
|
|
219
|
-
headers,
|
|
220
|
-
path: resolvedPath,
|
|
221
|
-
body,
|
|
222
|
-
});
|
|
144
|
+
b.m("POST").h(headers).b(body);
|
|
145
|
+
return b.build();
|
|
223
146
|
};
|
|
224
147
|
export const se_ListIndexesCommand = async (input, context) => {
|
|
225
|
-
const
|
|
148
|
+
const b = rb(input, context);
|
|
226
149
|
const headers = {
|
|
227
150
|
"content-type": "application/json",
|
|
228
151
|
};
|
|
229
|
-
|
|
152
|
+
b.bp("/ListIndexes");
|
|
230
153
|
let body;
|
|
231
154
|
body = JSON.stringify(take(input, {
|
|
232
155
|
MaxResults: [],
|
|
@@ -234,102 +157,67 @@ export const se_ListIndexesCommand = async (input, context) => {
|
|
|
234
157
|
Regions: (_) => _json(_),
|
|
235
158
|
Type: [],
|
|
236
159
|
}));
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
hostname,
|
|
240
|
-
port,
|
|
241
|
-
method: "POST",
|
|
242
|
-
headers,
|
|
243
|
-
path: resolvedPath,
|
|
244
|
-
body,
|
|
245
|
-
});
|
|
160
|
+
b.m("POST").h(headers).b(body);
|
|
161
|
+
return b.build();
|
|
246
162
|
};
|
|
247
163
|
export const se_ListIndexesForMembersCommand = async (input, context) => {
|
|
248
|
-
const
|
|
164
|
+
const b = rb(input, context);
|
|
249
165
|
const headers = {
|
|
250
166
|
"content-type": "application/json",
|
|
251
167
|
};
|
|
252
|
-
|
|
168
|
+
b.bp("/ListIndexesForMembers");
|
|
253
169
|
let body;
|
|
254
170
|
body = JSON.stringify(take(input, {
|
|
255
171
|
AccountIdList: (_) => _json(_),
|
|
256
172
|
MaxResults: [],
|
|
257
173
|
NextToken: [],
|
|
258
174
|
}));
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
hostname,
|
|
262
|
-
port,
|
|
263
|
-
method: "POST",
|
|
264
|
-
headers,
|
|
265
|
-
path: resolvedPath,
|
|
266
|
-
body,
|
|
267
|
-
});
|
|
175
|
+
b.m("POST").h(headers).b(body);
|
|
176
|
+
return b.build();
|
|
268
177
|
};
|
|
269
178
|
export const se_ListSupportedResourceTypesCommand = async (input, context) => {
|
|
270
|
-
const
|
|
179
|
+
const b = rb(input, context);
|
|
271
180
|
const headers = {
|
|
272
181
|
"content-type": "application/json",
|
|
273
182
|
};
|
|
274
|
-
|
|
183
|
+
b.bp("/ListSupportedResourceTypes");
|
|
275
184
|
let body;
|
|
276
185
|
body = JSON.stringify(take(input, {
|
|
277
186
|
MaxResults: [],
|
|
278
187
|
NextToken: [],
|
|
279
188
|
}));
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
hostname,
|
|
283
|
-
port,
|
|
284
|
-
method: "POST",
|
|
285
|
-
headers,
|
|
286
|
-
path: resolvedPath,
|
|
287
|
-
body,
|
|
288
|
-
});
|
|
189
|
+
b.m("POST").h(headers).b(body);
|
|
190
|
+
return b.build();
|
|
289
191
|
};
|
|
290
192
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
291
|
-
const
|
|
193
|
+
const b = rb(input, context);
|
|
292
194
|
const headers = {};
|
|
293
|
-
|
|
294
|
-
|
|
195
|
+
b.bp("/tags/{resourceArn}");
|
|
196
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
295
197
|
let body;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
hostname,
|
|
299
|
-
port,
|
|
300
|
-
method: "GET",
|
|
301
|
-
headers,
|
|
302
|
-
path: resolvedPath,
|
|
303
|
-
body,
|
|
304
|
-
});
|
|
198
|
+
b.m("GET").h(headers).b(body);
|
|
199
|
+
return b.build();
|
|
305
200
|
};
|
|
306
201
|
export const se_ListViewsCommand = async (input, context) => {
|
|
307
|
-
const
|
|
202
|
+
const b = rb(input, context);
|
|
308
203
|
const headers = {
|
|
309
204
|
"content-type": "application/json",
|
|
310
205
|
};
|
|
311
|
-
|
|
206
|
+
b.bp("/ListViews");
|
|
312
207
|
let body;
|
|
313
208
|
body = JSON.stringify(take(input, {
|
|
314
209
|
MaxResults: [],
|
|
315
210
|
NextToken: [],
|
|
316
211
|
}));
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
hostname,
|
|
320
|
-
port,
|
|
321
|
-
method: "POST",
|
|
322
|
-
headers,
|
|
323
|
-
path: resolvedPath,
|
|
324
|
-
body,
|
|
325
|
-
});
|
|
212
|
+
b.m("POST").h(headers).b(body);
|
|
213
|
+
return b.build();
|
|
326
214
|
};
|
|
327
215
|
export const se_SearchCommand = async (input, context) => {
|
|
328
|
-
const
|
|
216
|
+
const b = rb(input, context);
|
|
329
217
|
const headers = {
|
|
330
218
|
"content-type": "application/json",
|
|
331
219
|
};
|
|
332
|
-
|
|
220
|
+
b.bp("/Search");
|
|
333
221
|
let body;
|
|
334
222
|
body = JSON.stringify(take(input, {
|
|
335
223
|
MaxResults: [],
|
|
@@ -337,102 +225,66 @@ export const se_SearchCommand = async (input, context) => {
|
|
|
337
225
|
QueryString: [],
|
|
338
226
|
ViewArn: [],
|
|
339
227
|
}));
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
hostname,
|
|
343
|
-
port,
|
|
344
|
-
method: "POST",
|
|
345
|
-
headers,
|
|
346
|
-
path: resolvedPath,
|
|
347
|
-
body,
|
|
348
|
-
});
|
|
228
|
+
b.m("POST").h(headers).b(body);
|
|
229
|
+
return b.build();
|
|
349
230
|
};
|
|
350
231
|
export const se_TagResourceCommand = async (input, context) => {
|
|
351
|
-
const
|
|
232
|
+
const b = rb(input, context);
|
|
352
233
|
const headers = {
|
|
353
234
|
"content-type": "application/json",
|
|
354
235
|
};
|
|
355
|
-
|
|
356
|
-
|
|
236
|
+
b.bp("/tags/{resourceArn}");
|
|
237
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
357
238
|
let body;
|
|
358
239
|
body = JSON.stringify(take(input, {
|
|
359
240
|
Tags: (_) => _json(_),
|
|
360
241
|
}));
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
hostname,
|
|
364
|
-
port,
|
|
365
|
-
method: "POST",
|
|
366
|
-
headers,
|
|
367
|
-
path: resolvedPath,
|
|
368
|
-
body,
|
|
369
|
-
});
|
|
242
|
+
b.m("POST").h(headers).b(body);
|
|
243
|
+
return b.build();
|
|
370
244
|
};
|
|
371
245
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
372
|
-
const
|
|
246
|
+
const b = rb(input, context);
|
|
373
247
|
const headers = {};
|
|
374
|
-
|
|
375
|
-
|
|
248
|
+
b.bp("/tags/{resourceArn}");
|
|
249
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
376
250
|
const query = map({
|
|
377
|
-
|
|
251
|
+
[_tK]: [
|
|
378
252
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
379
|
-
() => (input
|
|
253
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
380
254
|
],
|
|
381
255
|
});
|
|
382
256
|
let body;
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
hostname,
|
|
386
|
-
port,
|
|
387
|
-
method: "DELETE",
|
|
388
|
-
headers,
|
|
389
|
-
path: resolvedPath,
|
|
390
|
-
query,
|
|
391
|
-
body,
|
|
392
|
-
});
|
|
257
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
258
|
+
return b.build();
|
|
393
259
|
};
|
|
394
260
|
export const se_UpdateIndexTypeCommand = async (input, context) => {
|
|
395
|
-
const
|
|
261
|
+
const b = rb(input, context);
|
|
396
262
|
const headers = {
|
|
397
263
|
"content-type": "application/json",
|
|
398
264
|
};
|
|
399
|
-
|
|
265
|
+
b.bp("/UpdateIndexType");
|
|
400
266
|
let body;
|
|
401
267
|
body = JSON.stringify(take(input, {
|
|
402
268
|
Arn: [],
|
|
403
269
|
Type: [],
|
|
404
270
|
}));
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
hostname,
|
|
408
|
-
port,
|
|
409
|
-
method: "POST",
|
|
410
|
-
headers,
|
|
411
|
-
path: resolvedPath,
|
|
412
|
-
body,
|
|
413
|
-
});
|
|
271
|
+
b.m("POST").h(headers).b(body);
|
|
272
|
+
return b.build();
|
|
414
273
|
};
|
|
415
274
|
export const se_UpdateViewCommand = async (input, context) => {
|
|
416
|
-
const
|
|
275
|
+
const b = rb(input, context);
|
|
417
276
|
const headers = {
|
|
418
277
|
"content-type": "application/json",
|
|
419
278
|
};
|
|
420
|
-
|
|
279
|
+
b.bp("/UpdateView");
|
|
421
280
|
let body;
|
|
422
281
|
body = JSON.stringify(take(input, {
|
|
423
282
|
Filters: (_) => _json(_),
|
|
424
283
|
IncludedProperties: (_) => _json(_),
|
|
425
284
|
ViewArn: [],
|
|
426
285
|
}));
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
hostname,
|
|
430
|
-
port,
|
|
431
|
-
method: "POST",
|
|
432
|
-
headers,
|
|
433
|
-
path: resolvedPath,
|
|
434
|
-
body,
|
|
435
|
-
});
|
|
286
|
+
b.m("POST").h(headers).b(body);
|
|
287
|
+
return b.build();
|
|
436
288
|
};
|
|
437
289
|
export const de_AssociateDefaultViewCommand = async (output, context) => {
|
|
438
290
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -1583,6 +1435,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1583
1435
|
value !== "" &&
|
|
1584
1436
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1585
1437
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1438
|
+
const _tK = "tagKeys";
|
|
1586
1439
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1587
1440
|
if (encoded.length) {
|
|
1588
1441
|
return JSON.parse(encoded);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-explorer-2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Explorer 2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.477.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.477.0",
|
|
24
|
+
"@aws-sdk/core": "3.477.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.477.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|