@aws-sdk/client-resource-explorer-2 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.
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListViewsCommand } from "../commands/ListViewsCommand";
2
3
  import { ResourceExplorer2Client } from "../ResourceExplorer2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListViewsCommand(input), ...args);
5
- };
6
- export async function* paginateListViews(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ResourceExplorer2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ResourceExplorer2 | ResourceExplorer2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListViews = createPaginator(ResourceExplorer2Client, ListViewsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchCommand } from "../commands/SearchCommand";
2
3
  import { ResourceExplorer2Client } from "../ResourceExplorer2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchCommand(input), ...args);
5
- };
6
- export async function* paginateSearch(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ResourceExplorer2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ResourceExplorer2 | ResourceExplorer2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateSearch = createPaginator(ResourceExplorer2Client, SearchCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,75 +1,54 @@
1
- import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
+ const b = rb(input, context);
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AssociateDefaultView";
11
+ b.bp("/AssociateDefaultView");
12
12
  let body;
13
13
  body = JSON.stringify(take(input, {
14
14
  ViewArn: [],
15
15
  }));
16
- return new __HttpRequest({
17
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
20
+ const b = rb(input, context);
28
21
  const headers = {
29
22
  "content-type": "application/json",
30
23
  };
31
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetView";
24
+ b.bp("/BatchGetView");
32
25
  let body;
33
26
  body = JSON.stringify(take(input, {
34
27
  ViewArns: (_) => _json(_),
35
28
  }));
36
- return new __HttpRequest({
37
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
33
+ const b = rb(input, context);
48
34
  const headers = {
49
35
  "content-type": "application/json",
50
36
  };
51
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateIndex";
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
- return new __HttpRequest({
58
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
47
+ const b = rb(input, context);
69
48
  const headers = {
70
49
  "content-type": "application/json",
71
50
  };
72
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateView";
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
- return new __HttpRequest({
83
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
65
+ const b = rb(input, context);
94
66
  const headers = {
95
67
  "content-type": "application/json",
96
68
  };
97
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteIndex";
69
+ b.bp("/DeleteIndex");
98
70
  let body;
99
71
  body = JSON.stringify(take(input, {
100
72
  Arn: [],
101
73
  }));
102
- return new __HttpRequest({
103
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
78
+ const b = rb(input, context);
114
79
  const headers = {
115
80
  "content-type": "application/json",
116
81
  };
117
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteView";
82
+ b.bp("/DeleteView");
118
83
  let body;
119
84
  body = JSON.stringify(take(input, {
120
85
  ViewArn: [],
121
86
  }));
122
- return new __HttpRequest({
123
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
91
+ const b = rb(input, context);
134
92
  const headers = {
135
93
  "content-type": "application/json",
136
94
  };
137
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DisassociateDefaultView";
95
+ b.bp("/DisassociateDefaultView");
138
96
  let body;
139
97
  body = "";
140
- return new __HttpRequest({
141
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
+ const b = rb(input, context);
152
103
  const headers = {
153
104
  "content-type": "application/json",
154
105
  };
155
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetAccountLevelServiceConfiguration";
106
+ b.bp("/GetAccountLevelServiceConfiguration");
156
107
  let body;
157
108
  body = "";
158
- return new __HttpRequest({
159
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
113
+ const b = rb(input, context);
170
114
  const headers = {
171
115
  "content-type": "application/json",
172
116
  };
173
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetDefaultView";
117
+ b.bp("/GetDefaultView");
174
118
  let body;
175
119
  body = "";
176
- return new __HttpRequest({
177
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
124
+ const b = rb(input, context);
188
125
  const headers = {
189
126
  "content-type": "application/json",
190
127
  };
191
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetIndex";
128
+ b.bp("/GetIndex");
192
129
  let body;
193
130
  body = "";
194
- return new __HttpRequest({
195
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
135
+ const b = rb(input, context);
206
136
  const headers = {
207
137
  "content-type": "application/json",
208
138
  };
209
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetView";
139
+ b.bp("/GetView");
210
140
  let body;
211
141
  body = JSON.stringify(take(input, {
212
142
  ViewArn: [],
213
143
  }));
214
- return new __HttpRequest({
215
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
148
+ const b = rb(input, context);
226
149
  const headers = {
227
150
  "content-type": "application/json",
228
151
  };
229
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListIndexes";
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
- return new __HttpRequest({
238
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
164
+ const b = rb(input, context);
249
165
  const headers = {
250
166
  "content-type": "application/json",
251
167
  };
252
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListIndexesForMembers";
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
- return new __HttpRequest({
260
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
179
+ const b = rb(input, context);
271
180
  const headers = {
272
181
  "content-type": "application/json",
273
182
  };
274
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListSupportedResourceTypes";
183
+ b.bp("/ListSupportedResourceTypes");
275
184
  let body;
276
185
  body = JSON.stringify(take(input, {
277
186
  MaxResults: [],
278
187
  NextToken: [],
279
188
  }));
280
- return new __HttpRequest({
281
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
193
+ const b = rb(input, context);
292
194
  const headers = {};
293
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
294
- resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
195
+ b.bp("/tags/{resourceArn}");
196
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
295
197
  let body;
296
- return new __HttpRequest({
297
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
202
+ const b = rb(input, context);
308
203
  const headers = {
309
204
  "content-type": "application/json",
310
205
  };
311
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListViews";
206
+ b.bp("/ListViews");
312
207
  let body;
313
208
  body = JSON.stringify(take(input, {
314
209
  MaxResults: [],
315
210
  NextToken: [],
316
211
  }));
317
- return new __HttpRequest({
318
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
216
+ const b = rb(input, context);
329
217
  const headers = {
330
218
  "content-type": "application/json",
331
219
  };
332
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/Search";
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
- return new __HttpRequest({
341
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
232
+ const b = rb(input, context);
352
233
  const headers = {
353
234
  "content-type": "application/json",
354
235
  };
355
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
356
- resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
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
- return new __HttpRequest({
362
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
246
+ const b = rb(input, context);
373
247
  const headers = {};
374
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
375
- resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
248
+ b.bp("/tags/{resourceArn}");
249
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
376
250
  const query = map({
377
- tagKeys: [
251
+ [_tK]: [
378
252
  __expectNonNull(input.tagKeys, `tagKeys`) != null,
379
- () => (input.tagKeys || []).map((_entry) => _entry),
253
+ () => (input[_tK] || []).map((_entry) => _entry),
380
254
  ],
381
255
  });
382
256
  let body;
383
- return new __HttpRequest({
384
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
261
+ const b = rb(input, context);
396
262
  const headers = {
397
263
  "content-type": "application/json",
398
264
  };
399
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateIndexType";
265
+ b.bp("/UpdateIndexType");
400
266
  let body;
401
267
  body = JSON.stringify(take(input, {
402
268
  Arn: [],
403
269
  Type: [],
404
270
  }));
405
- return new __HttpRequest({
406
- protocol,
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 { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
275
+ const b = rb(input, context);
417
276
  const headers = {
418
277
  "content-type": "application/json",
419
278
  };
420
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateView";
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
- return new __HttpRequest({
428
- protocol,
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);
@@ -4,4 +4,4 @@ import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListIndexesForMembers(config: ResourceExplorer2PaginationConfiguration, input: ListIndexesForMembersCommandInput, ...additionalArguments: any): Paginator<ListIndexesForMembersCommandOutput>;
7
+ export declare const paginateListIndexesForMembers: (config: ResourceExplorer2PaginationConfiguration, input: ListIndexesForMembersCommandInput, ...rest: any[]) => Paginator<ListIndexesForMembersCommandOutput>;
@@ -4,4 +4,4 @@ import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListIndexes(config: ResourceExplorer2PaginationConfiguration, input: ListIndexesCommandInput, ...additionalArguments: any): Paginator<ListIndexesCommandOutput>;
7
+ export declare const paginateListIndexes: (config: ResourceExplorer2PaginationConfiguration, input: ListIndexesCommandInput, ...rest: any[]) => Paginator<ListIndexesCommandOutput>;
@@ -4,4 +4,4 @@ import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSupportedResourceTypes(config: ResourceExplorer2PaginationConfiguration, input: ListSupportedResourceTypesCommandInput, ...additionalArguments: any): Paginator<ListSupportedResourceTypesCommandOutput>;
7
+ export declare const paginateListSupportedResourceTypes: (config: ResourceExplorer2PaginationConfiguration, input: ListSupportedResourceTypesCommandInput, ...rest: any[]) => Paginator<ListSupportedResourceTypesCommandOutput>;
@@ -4,4 +4,4 @@ import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListViews(config: ResourceExplorer2PaginationConfiguration, input: ListViewsCommandInput, ...additionalArguments: any): Paginator<ListViewsCommandOutput>;
7
+ export declare const paginateListViews: (config: ResourceExplorer2PaginationConfiguration, input: ListViewsCommandInput, ...rest: any[]) => Paginator<ListViewsCommandOutput>;
@@ -4,4 +4,4 @@ import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearch(config: ResourceExplorer2PaginationConfiguration, input: SearchCommandInput, ...additionalArguments: any): Paginator<SearchCommandOutput>;
7
+ export declare const paginateSearch: (config: ResourceExplorer2PaginationConfiguration, input: SearchCommandInput, ...rest: any[]) => Paginator<SearchCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListIndexesForMembersCommandOutput,
5
5
  } from "../commands/ListIndexesForMembersCommand";
6
6
  import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListIndexesForMembers(
7
+ export declare const paginateListIndexesForMembers: (
8
8
  config: ResourceExplorer2PaginationConfiguration,
9
9
  input: ListIndexesForMembersCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListIndexesForMembersCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListIndexesForMembersCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListIndexesCommandOutput,
5
5
  } from "../commands/ListIndexesCommand";
6
6
  import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListIndexes(
7
+ export declare const paginateListIndexes: (
8
8
  config: ResourceExplorer2PaginationConfiguration,
9
9
  input: ListIndexesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListIndexesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListIndexesCommandOutput>;