@aws-sdk/client-ssm-sap 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 { ListComponentsCommand, } from "../commands/ListComponentsCommand";
2
3
  import { SsmSapClient } from "../SsmSapClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListComponentsCommand(input), ...args);
5
- };
6
- export async function* paginateListComponents(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 SsmSapClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SsmSap | SsmSapClient");
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 paginateListComponents = createPaginator(SsmSapClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDatabasesCommand, } from "../commands/ListDatabasesCommand";
2
3
  import { SsmSapClient } from "../SsmSapClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDatabasesCommand(input), ...args);
5
- };
6
- export async function* paginateListDatabases(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 SsmSapClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SsmSap | SsmSapClient");
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 paginateListDatabases = createPaginator(SsmSapClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListOperationsCommand, } from "../commands/ListOperationsCommand";
2
3
  import { SsmSapClient } from "../SsmSapClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListOperationsCommand(input), ...args);
5
- };
6
- export async function* paginateListOperations(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 SsmSapClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SsmSap | SsmSapClient");
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 paginateListOperations = createPaginator(SsmSapClient, ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,98 +1,70 @@
1
- import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
1
+ import { requestBuilder as rb } from "@smithy/core";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, 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 { ConflictException, InternalServerException, ResourceNotFoundException, UnauthorizedException, ValidationException, } from "../models/models_0";
4
4
  import { SsmSapServiceException as __BaseException } from "../models/SsmSapServiceException";
5
5
  export const se_DeleteResourcePermissionCommand = async (input, context) => {
6
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
6
+ const b = rb(input, context);
7
7
  const headers = {
8
8
  "content-type": "application/json",
9
9
  };
10
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-resource-permission";
10
+ b.bp("/delete-resource-permission");
11
11
  let body;
12
12
  body = JSON.stringify(take(input, {
13
13
  ActionType: [],
14
14
  ResourceArn: [],
15
15
  SourceResourceArn: [],
16
16
  }));
17
- return new __HttpRequest({
18
- protocol,
19
- hostname,
20
- port,
21
- method: "POST",
22
- headers,
23
- path: resolvedPath,
24
- body,
25
- });
17
+ b.m("POST").h(headers).b(body);
18
+ return b.build();
26
19
  };
27
20
  export const se_DeregisterApplicationCommand = async (input, context) => {
28
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
21
+ const b = rb(input, context);
29
22
  const headers = {
30
23
  "content-type": "application/json",
31
24
  };
32
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deregister-application";
25
+ b.bp("/deregister-application");
33
26
  let body;
34
27
  body = JSON.stringify(take(input, {
35
28
  ApplicationId: [],
36
29
  }));
37
- return new __HttpRequest({
38
- protocol,
39
- hostname,
40
- port,
41
- method: "POST",
42
- headers,
43
- path: resolvedPath,
44
- body,
45
- });
30
+ b.m("POST").h(headers).b(body);
31
+ return b.build();
46
32
  };
47
33
  export const se_GetApplicationCommand = async (input, context) => {
48
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
34
+ const b = rb(input, context);
49
35
  const headers = {
50
36
  "content-type": "application/json",
51
37
  };
52
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-application";
38
+ b.bp("/get-application");
53
39
  let body;
54
40
  body = JSON.stringify(take(input, {
55
41
  AppRegistryArn: [],
56
42
  ApplicationArn: [],
57
43
  ApplicationId: [],
58
44
  }));
59
- return new __HttpRequest({
60
- protocol,
61
- hostname,
62
- port,
63
- method: "POST",
64
- headers,
65
- path: resolvedPath,
66
- body,
67
- });
45
+ b.m("POST").h(headers).b(body);
46
+ return b.build();
68
47
  };
69
48
  export const se_GetComponentCommand = async (input, context) => {
70
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
49
+ const b = rb(input, context);
71
50
  const headers = {
72
51
  "content-type": "application/json",
73
52
  };
74
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-component";
53
+ b.bp("/get-component");
75
54
  let body;
76
55
  body = JSON.stringify(take(input, {
77
56
  ApplicationId: [],
78
57
  ComponentId: [],
79
58
  }));
80
- return new __HttpRequest({
81
- protocol,
82
- hostname,
83
- port,
84
- method: "POST",
85
- headers,
86
- path: resolvedPath,
87
- body,
88
- });
59
+ b.m("POST").h(headers).b(body);
60
+ return b.build();
89
61
  };
90
62
  export const se_GetDatabaseCommand = async (input, context) => {
91
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
63
+ const b = rb(input, context);
92
64
  const headers = {
93
65
  "content-type": "application/json",
94
66
  };
95
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-database";
67
+ b.bp("/get-database");
96
68
  let body;
97
69
  body = JSON.stringify(take(input, {
98
70
  ApplicationId: [],
@@ -100,107 +72,72 @@ export const se_GetDatabaseCommand = async (input, context) => {
100
72
  DatabaseArn: [],
101
73
  DatabaseId: [],
102
74
  }));
103
- return new __HttpRequest({
104
- protocol,
105
- hostname,
106
- port,
107
- method: "POST",
108
- headers,
109
- path: resolvedPath,
110
- body,
111
- });
75
+ b.m("POST").h(headers).b(body);
76
+ return b.build();
112
77
  };
113
78
  export const se_GetOperationCommand = async (input, context) => {
114
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
79
+ const b = rb(input, context);
115
80
  const headers = {
116
81
  "content-type": "application/json",
117
82
  };
118
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-operation";
83
+ b.bp("/get-operation");
119
84
  let body;
120
85
  body = JSON.stringify(take(input, {
121
86
  OperationId: [],
122
87
  }));
123
- return new __HttpRequest({
124
- protocol,
125
- hostname,
126
- port,
127
- method: "POST",
128
- headers,
129
- path: resolvedPath,
130
- body,
131
- });
88
+ b.m("POST").h(headers).b(body);
89
+ return b.build();
132
90
  };
133
91
  export const se_GetResourcePermissionCommand = async (input, context) => {
134
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
92
+ const b = rb(input, context);
135
93
  const headers = {
136
94
  "content-type": "application/json",
137
95
  };
138
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-resource-permission";
96
+ b.bp("/get-resource-permission");
139
97
  let body;
140
98
  body = JSON.stringify(take(input, {
141
99
  ActionType: [],
142
100
  ResourceArn: [],
143
101
  }));
144
- return new __HttpRequest({
145
- protocol,
146
- hostname,
147
- port,
148
- method: "POST",
149
- headers,
150
- path: resolvedPath,
151
- body,
152
- });
102
+ b.m("POST").h(headers).b(body);
103
+ return b.build();
153
104
  };
154
105
  export const se_ListApplicationsCommand = async (input, context) => {
155
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
106
+ const b = rb(input, context);
156
107
  const headers = {
157
108
  "content-type": "application/json",
158
109
  };
159
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-applications";
110
+ b.bp("/list-applications");
160
111
  let body;
161
112
  body = JSON.stringify(take(input, {
162
113
  Filters: (_) => _json(_),
163
114
  MaxResults: [],
164
115
  NextToken: [],
165
116
  }));
166
- return new __HttpRequest({
167
- protocol,
168
- hostname,
169
- port,
170
- method: "POST",
171
- headers,
172
- path: resolvedPath,
173
- body,
174
- });
117
+ b.m("POST").h(headers).b(body);
118
+ return b.build();
175
119
  };
176
120
  export const se_ListComponentsCommand = async (input, context) => {
177
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
121
+ const b = rb(input, context);
178
122
  const headers = {
179
123
  "content-type": "application/json",
180
124
  };
181
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-components";
125
+ b.bp("/list-components");
182
126
  let body;
183
127
  body = JSON.stringify(take(input, {
184
128
  ApplicationId: [],
185
129
  MaxResults: [],
186
130
  NextToken: [],
187
131
  }));
188
- return new __HttpRequest({
189
- protocol,
190
- hostname,
191
- port,
192
- method: "POST",
193
- headers,
194
- path: resolvedPath,
195
- body,
196
- });
132
+ b.m("POST").h(headers).b(body);
133
+ return b.build();
197
134
  };
198
135
  export const se_ListDatabasesCommand = async (input, context) => {
199
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
136
+ const b = rb(input, context);
200
137
  const headers = {
201
138
  "content-type": "application/json",
202
139
  };
203
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-databases";
140
+ b.bp("/list-databases");
204
141
  let body;
205
142
  body = JSON.stringify(take(input, {
206
143
  ApplicationId: [],
@@ -208,22 +145,15 @@ export const se_ListDatabasesCommand = async (input, context) => {
208
145
  MaxResults: [],
209
146
  NextToken: [],
210
147
  }));
211
- return new __HttpRequest({
212
- protocol,
213
- hostname,
214
- port,
215
- method: "POST",
216
- headers,
217
- path: resolvedPath,
218
- body,
219
- });
148
+ b.m("POST").h(headers).b(body);
149
+ return b.build();
220
150
  };
221
151
  export const se_ListOperationsCommand = async (input, context) => {
222
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
152
+ const b = rb(input, context);
223
153
  const headers = {
224
154
  "content-type": "application/json",
225
155
  };
226
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-operations";
156
+ b.bp("/list-operations");
227
157
  let body;
228
158
  body = JSON.stringify(take(input, {
229
159
  ApplicationId: [],
@@ -231,60 +161,39 @@ export const se_ListOperationsCommand = async (input, context) => {
231
161
  MaxResults: [],
232
162
  NextToken: [],
233
163
  }));
234
- return new __HttpRequest({
235
- protocol,
236
- hostname,
237
- port,
238
- method: "POST",
239
- headers,
240
- path: resolvedPath,
241
- body,
242
- });
164
+ b.m("POST").h(headers).b(body);
165
+ return b.build();
243
166
  };
244
167
  export const se_ListTagsForResourceCommand = async (input, context) => {
245
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
168
+ const b = rb(input, context);
246
169
  const headers = {};
247
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
248
- resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
170
+ b.bp("/tags/{resourceArn}");
171
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
249
172
  let body;
250
- return new __HttpRequest({
251
- protocol,
252
- hostname,
253
- port,
254
- method: "GET",
255
- headers,
256
- path: resolvedPath,
257
- body,
258
- });
173
+ b.m("GET").h(headers).b(body);
174
+ return b.build();
259
175
  };
260
176
  export const se_PutResourcePermissionCommand = async (input, context) => {
261
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
177
+ const b = rb(input, context);
262
178
  const headers = {
263
179
  "content-type": "application/json",
264
180
  };
265
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/put-resource-permission";
181
+ b.bp("/put-resource-permission");
266
182
  let body;
267
183
  body = JSON.stringify(take(input, {
268
184
  ActionType: [],
269
185
  ResourceArn: [],
270
186
  SourceResourceArn: [],
271
187
  }));
272
- return new __HttpRequest({
273
- protocol,
274
- hostname,
275
- port,
276
- method: "POST",
277
- headers,
278
- path: resolvedPath,
279
- body,
280
- });
188
+ b.m("POST").h(headers).b(body);
189
+ return b.build();
281
190
  };
282
191
  export const se_RegisterApplicationCommand = async (input, context) => {
283
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
192
+ const b = rb(input, context);
284
193
  const headers = {
285
194
  "content-type": "application/json",
286
195
  };
287
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/register-application";
196
+ b.bp("/register-application");
288
197
  let body;
289
198
  body = JSON.stringify(take(input, {
290
199
  ApplicationId: [],
@@ -296,86 +205,57 @@ export const se_RegisterApplicationCommand = async (input, context) => {
296
205
  Sid: [],
297
206
  Tags: (_) => _json(_),
298
207
  }));
299
- return new __HttpRequest({
300
- protocol,
301
- hostname,
302
- port,
303
- method: "POST",
304
- headers,
305
- path: resolvedPath,
306
- body,
307
- });
208
+ b.m("POST").h(headers).b(body);
209
+ return b.build();
308
210
  };
309
211
  export const se_StartApplicationRefreshCommand = async (input, context) => {
310
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
212
+ const b = rb(input, context);
311
213
  const headers = {
312
214
  "content-type": "application/json",
313
215
  };
314
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-application-refresh";
216
+ b.bp("/start-application-refresh");
315
217
  let body;
316
218
  body = JSON.stringify(take(input, {
317
219
  ApplicationId: [],
318
220
  }));
319
- return new __HttpRequest({
320
- protocol,
321
- hostname,
322
- port,
323
- method: "POST",
324
- headers,
325
- path: resolvedPath,
326
- body,
327
- });
221
+ b.m("POST").h(headers).b(body);
222
+ return b.build();
328
223
  };
329
224
  export const se_TagResourceCommand = async (input, context) => {
330
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
225
+ const b = rb(input, context);
331
226
  const headers = {
332
227
  "content-type": "application/json",
333
228
  };
334
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
335
- resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
229
+ b.bp("/tags/{resourceArn}");
230
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
336
231
  let body;
337
232
  body = JSON.stringify(take(input, {
338
233
  tags: (_) => _json(_),
339
234
  }));
340
- return new __HttpRequest({
341
- protocol,
342
- hostname,
343
- port,
344
- method: "POST",
345
- headers,
346
- path: resolvedPath,
347
- body,
348
- });
235
+ b.m("POST").h(headers).b(body);
236
+ return b.build();
349
237
  };
350
238
  export const se_UntagResourceCommand = async (input, context) => {
351
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
239
+ const b = rb(input, context);
352
240
  const headers = {};
353
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
354
- resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
241
+ b.bp("/tags/{resourceArn}");
242
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
355
243
  const query = map({
356
- tagKeys: [
244
+ [_tK]: [
357
245
  __expectNonNull(input.tagKeys, `tagKeys`) != null,
358
- () => (input.tagKeys || []).map((_entry) => _entry),
246
+ () => (input[_tK] || []).map((_entry) => _entry),
359
247
  ],
360
248
  });
361
249
  let body;
362
- return new __HttpRequest({
363
- protocol,
364
- hostname,
365
- port,
366
- method: "DELETE",
367
- headers,
368
- path: resolvedPath,
369
- query,
370
- body,
371
- });
250
+ b.m("DELETE").h(headers).q(query).b(body);
251
+ return b.build();
372
252
  };
373
253
  export const se_UpdateApplicationSettingsCommand = async (input, context) => {
374
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
254
+ const b = rb(input, context);
375
255
  const headers = {
376
256
  "content-type": "application/json",
377
257
  };
378
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-application-settings";
258
+ b.bp("/update-application-settings");
379
259
  let body;
380
260
  body = JSON.stringify(take(input, {
381
261
  ApplicationId: [],
@@ -384,15 +264,8 @@ export const se_UpdateApplicationSettingsCommand = async (input, context) => {
384
264
  CredentialsToRemove: (_) => _json(_),
385
265
  DatabaseArn: [],
386
266
  }));
387
- return new __HttpRequest({
388
- protocol,
389
- hostname,
390
- port,
391
- method: "POST",
392
- headers,
393
- path: resolvedPath,
394
- body,
395
- });
267
+ b.m("POST").h(headers).b(body);
268
+ return b.build();
396
269
  };
397
270
  export const de_DeleteResourcePermissionCommand = async (output, context) => {
398
271
  if (output.statusCode !== 200 && output.statusCode >= 300) {
@@ -1262,6 +1135,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1262
1135
  value !== "" &&
1263
1136
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
1264
1137
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1138
+ const _tK = "tagKeys";
1265
1139
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1266
1140
  if (encoded.length) {
1267
1141
  return JSON.parse(encoded);
@@ -4,4 +4,4 @@ import { SsmSapPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListApplications(config: SsmSapPaginationConfiguration, input: ListApplicationsCommandInput, ...additionalArguments: any): Paginator<ListApplicationsCommandOutput>;
7
+ export declare const paginateListApplications: (config: SsmSapPaginationConfiguration, input: ListApplicationsCommandInput, ...rest: any[]) => Paginator<ListApplicationsCommandOutput>;
@@ -4,4 +4,4 @@ import { SsmSapPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListComponents(config: SsmSapPaginationConfiguration, input: ListComponentsCommandInput, ...additionalArguments: any): Paginator<ListComponentsCommandOutput>;
7
+ export declare const paginateListComponents: (config: SsmSapPaginationConfiguration, input: ListComponentsCommandInput, ...rest: any[]) => Paginator<ListComponentsCommandOutput>;
@@ -4,4 +4,4 @@ import { SsmSapPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListDatabases(config: SsmSapPaginationConfiguration, input: ListDatabasesCommandInput, ...additionalArguments: any): Paginator<ListDatabasesCommandOutput>;
7
+ export declare const paginateListDatabases: (config: SsmSapPaginationConfiguration, input: ListDatabasesCommandInput, ...rest: any[]) => Paginator<ListDatabasesCommandOutput>;
@@ -4,4 +4,4 @@ import { SsmSapPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListOperations(config: SsmSapPaginationConfiguration, input: ListOperationsCommandInput, ...additionalArguments: any): Paginator<ListOperationsCommandOutput>;
7
+ export declare const paginateListOperations: (config: SsmSapPaginationConfiguration, input: ListOperationsCommandInput, ...rest: any[]) => Paginator<ListOperationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListApplicationsCommandOutput,
5
5
  } from "../commands/ListApplicationsCommand";
6
6
  import { SsmSapPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListApplications(
7
+ export declare const paginateListApplications: (
8
8
  config: SsmSapPaginationConfiguration,
9
9
  input: ListApplicationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListApplicationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListApplicationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListComponentsCommandOutput,
5
5
  } from "../commands/ListComponentsCommand";
6
6
  import { SsmSapPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListComponents(
7
+ export declare const paginateListComponents: (
8
8
  config: SsmSapPaginationConfiguration,
9
9
  input: ListComponentsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListComponentsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListComponentsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListDatabasesCommandOutput,
5
5
  } from "../commands/ListDatabasesCommand";
6
6
  import { SsmSapPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListDatabases(
7
+ export declare const paginateListDatabases: (
8
8
  config: SsmSapPaginationConfiguration,
9
9
  input: ListDatabasesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListDatabasesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListDatabasesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListOperationsCommandOutput,
5
5
  } from "../commands/ListOperationsCommand";
6
6
  import { SsmSapPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListOperations(
7
+ export declare const paginateListOperations: (
8
8
  config: SsmSapPaginationConfiguration,
9
9
  input: ListOperationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListOperationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListOperationsCommandOutput>;