@aws-sdk/client-service-quotas 3.975.0 → 3.978.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/index.js CHANGED
@@ -1376,6 +1376,18 @@ class UpdateAutoManagementCommand extends smithyClient.Command
1376
1376
  .build() {
1377
1377
  }
1378
1378
 
1379
+ const paginateListAWSDefaultServiceQuotas = core.createPaginator(ServiceQuotasClient, ListAWSDefaultServiceQuotasCommand, "NextToken", "NextToken", "MaxResults");
1380
+
1381
+ const paginateListRequestedServiceQuotaChangeHistoryByQuota = core.createPaginator(ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryByQuotaCommand, "NextToken", "NextToken", "MaxResults");
1382
+
1383
+ const paginateListRequestedServiceQuotaChangeHistory = core.createPaginator(ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryCommand, "NextToken", "NextToken", "MaxResults");
1384
+
1385
+ const paginateListServiceQuotaIncreaseRequestsInTemplate = core.createPaginator(ServiceQuotasClient, ListServiceQuotaIncreaseRequestsInTemplateCommand, "NextToken", "NextToken", "MaxResults");
1386
+
1387
+ const paginateListServiceQuotas = core.createPaginator(ServiceQuotasClient, ListServiceQuotasCommand, "NextToken", "NextToken", "MaxResults");
1388
+
1389
+ const paginateListServices = core.createPaginator(ServiceQuotasClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
1390
+
1379
1391
  const commands = {
1380
1392
  AssociateServiceQuotaTemplateCommand,
1381
1393
  CreateSupportCaseCommand,
@@ -1404,21 +1416,17 @@ const commands = {
1404
1416
  UntagResourceCommand,
1405
1417
  UpdateAutoManagementCommand,
1406
1418
  };
1419
+ const paginators = {
1420
+ paginateListAWSDefaultServiceQuotas,
1421
+ paginateListRequestedServiceQuotaChangeHistory,
1422
+ paginateListRequestedServiceQuotaChangeHistoryByQuota,
1423
+ paginateListServiceQuotaIncreaseRequestsInTemplate,
1424
+ paginateListServiceQuotas,
1425
+ paginateListServices,
1426
+ };
1407
1427
  class ServiceQuotas extends ServiceQuotasClient {
1408
1428
  }
1409
- smithyClient.createAggregatedClient(commands, ServiceQuotas);
1410
-
1411
- const paginateListAWSDefaultServiceQuotas = core.createPaginator(ServiceQuotasClient, ListAWSDefaultServiceQuotasCommand, "NextToken", "NextToken", "MaxResults");
1412
-
1413
- const paginateListRequestedServiceQuotaChangeHistory = core.createPaginator(ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryCommand, "NextToken", "NextToken", "MaxResults");
1414
-
1415
- const paginateListRequestedServiceQuotaChangeHistoryByQuota = core.createPaginator(ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryByQuotaCommand, "NextToken", "NextToken", "MaxResults");
1416
-
1417
- const paginateListServiceQuotaIncreaseRequestsInTemplate = core.createPaginator(ServiceQuotasClient, ListServiceQuotaIncreaseRequestsInTemplateCommand, "NextToken", "NextToken", "MaxResults");
1418
-
1419
- const paginateListServiceQuotas = core.createPaginator(ServiceQuotasClient, ListServiceQuotasCommand, "NextToken", "NextToken", "MaxResults");
1420
-
1421
- const paginateListServices = core.createPaginator(ServiceQuotasClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
1429
+ smithyClient.createAggregatedClient(commands, ServiceQuotas, { paginators });
1422
1430
 
1423
1431
  const AppliedLevelEnum = {
1424
1432
  ACCOUNT: "ACCOUNT",
@@ -25,6 +25,12 @@ import { StopAutoManagementCommand, } from "./commands/StopAutoManagementCommand
25
25
  import { TagResourceCommand } from "./commands/TagResourceCommand";
26
26
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
27
27
  import { UpdateAutoManagementCommand, } from "./commands/UpdateAutoManagementCommand";
28
+ import { paginateListAWSDefaultServiceQuotas } from "./pagination/ListAWSDefaultServiceQuotasPaginator";
29
+ import { paginateListRequestedServiceQuotaChangeHistoryByQuota, } from "./pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator";
30
+ import { paginateListRequestedServiceQuotaChangeHistory, } from "./pagination/ListRequestedServiceQuotaChangeHistoryPaginator";
31
+ import { paginateListServiceQuotaIncreaseRequestsInTemplate, } from "./pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator";
32
+ import { paginateListServiceQuotas } from "./pagination/ListServiceQuotasPaginator";
33
+ import { paginateListServices } from "./pagination/ListServicesPaginator";
28
34
  import { ServiceQuotasClient } from "./ServiceQuotasClient";
29
35
  const commands = {
30
36
  AssociateServiceQuotaTemplateCommand,
@@ -54,6 +60,14 @@ const commands = {
54
60
  UntagResourceCommand,
55
61
  UpdateAutoManagementCommand,
56
62
  };
63
+ const paginators = {
64
+ paginateListAWSDefaultServiceQuotas,
65
+ paginateListRequestedServiceQuotaChangeHistory,
66
+ paginateListRequestedServiceQuotaChangeHistoryByQuota,
67
+ paginateListServiceQuotaIncreaseRequestsInTemplate,
68
+ paginateListServiceQuotas,
69
+ paginateListServices,
70
+ };
57
71
  export class ServiceQuotas extends ServiceQuotasClient {
58
72
  }
59
- createAggregatedClient(commands, ServiceQuotas);
73
+ createAggregatedClient(commands, ServiceQuotas, { paginators });
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "./commands/AssociateServiceQuotaTemplateCommand";
3
3
  import { CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput } from "./commands/CreateSupportCaseCommand";
4
4
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -193,6 +193,48 @@ export interface ServiceQuotas {
193
193
  updateAutoManagement(args: UpdateAutoManagementCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAutoManagementCommandOutput>;
194
194
  updateAutoManagement(args: UpdateAutoManagementCommandInput, cb: (err: any, data?: UpdateAutoManagementCommandOutput) => void): void;
195
195
  updateAutoManagement(args: UpdateAutoManagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAutoManagementCommandOutput) => void): void;
196
+ /**
197
+ * @see {@link ListAWSDefaultServiceQuotasCommand}
198
+ * @param args - command input.
199
+ * @param paginationConfig - optional pagination config.
200
+ * @returns AsyncIterable of {@link ListAWSDefaultServiceQuotasCommandOutput}.
201
+ */
202
+ paginateListAWSDefaultServiceQuotas(args: ListAWSDefaultServiceQuotasCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAWSDefaultServiceQuotasCommandOutput>;
203
+ /**
204
+ * @see {@link ListRequestedServiceQuotaChangeHistoryCommand}
205
+ * @param args - command input.
206
+ * @param paginationConfig - optional pagination config.
207
+ * @returns AsyncIterable of {@link ListRequestedServiceQuotaChangeHistoryCommandOutput}.
208
+ */
209
+ paginateListRequestedServiceQuotaChangeHistory(args?: ListRequestedServiceQuotaChangeHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRequestedServiceQuotaChangeHistoryCommandOutput>;
210
+ /**
211
+ * @see {@link ListRequestedServiceQuotaChangeHistoryByQuotaCommand}
212
+ * @param args - command input.
213
+ * @param paginationConfig - optional pagination config.
214
+ * @returns AsyncIterable of {@link ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput}.
215
+ */
216
+ paginateListRequestedServiceQuotaChangeHistoryByQuota(args: ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput>;
217
+ /**
218
+ * @see {@link ListServiceQuotaIncreaseRequestsInTemplateCommand}
219
+ * @param args - command input.
220
+ * @param paginationConfig - optional pagination config.
221
+ * @returns AsyncIterable of {@link ListServiceQuotaIncreaseRequestsInTemplateCommandOutput}.
222
+ */
223
+ paginateListServiceQuotaIncreaseRequestsInTemplate(args?: ListServiceQuotaIncreaseRequestsInTemplateCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceQuotaIncreaseRequestsInTemplateCommandOutput>;
224
+ /**
225
+ * @see {@link ListServiceQuotasCommand}
226
+ * @param args - command input.
227
+ * @param paginationConfig - optional pagination config.
228
+ * @returns AsyncIterable of {@link ListServiceQuotasCommandOutput}.
229
+ */
230
+ paginateListServiceQuotas(args: ListServiceQuotasCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceQuotasCommandOutput>;
231
+ /**
232
+ * @see {@link ListServicesCommand}
233
+ * @param args - command input.
234
+ * @param paginationConfig - optional pagination config.
235
+ * @returns AsyncIterable of {@link ListServicesCommandOutput}.
236
+ */
237
+ paginateListServices(args?: ListServicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServicesCommandOutput>;
196
238
  }
197
239
  /**
198
240
  * <p>With Service Quotas, you can view and manage your quotas easily as your Amazon Web Services workloads grow.
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  AssociateServiceQuotaTemplateCommandInput,
4
8
  AssociateServiceQuotaTemplateCommandOutput,
@@ -495,6 +499,48 @@ export interface ServiceQuotas {
495
499
  options: __HttpHandlerOptions,
496
500
  cb: (err: any, data?: UpdateAutoManagementCommandOutput) => void
497
501
  ): void;
502
+ paginateListAWSDefaultServiceQuotas(
503
+ args: ListAWSDefaultServiceQuotasCommandInput,
504
+ paginationConfig?: Pick<
505
+ PaginationConfiguration,
506
+ Exclude<keyof PaginationConfiguration, "client">
507
+ >
508
+ ): Paginator<ListAWSDefaultServiceQuotasCommandOutput>;
509
+ paginateListRequestedServiceQuotaChangeHistory(
510
+ args?: ListRequestedServiceQuotaChangeHistoryCommandInput,
511
+ paginationConfig?: Pick<
512
+ PaginationConfiguration,
513
+ Exclude<keyof PaginationConfiguration, "client">
514
+ >
515
+ ): Paginator<ListRequestedServiceQuotaChangeHistoryCommandOutput>;
516
+ paginateListRequestedServiceQuotaChangeHistoryByQuota(
517
+ args: ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput,
518
+ paginationConfig?: Pick<
519
+ PaginationConfiguration,
520
+ Exclude<keyof PaginationConfiguration, "client">
521
+ >
522
+ ): Paginator<ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput>;
523
+ paginateListServiceQuotaIncreaseRequestsInTemplate(
524
+ args?: ListServiceQuotaIncreaseRequestsInTemplateCommandInput,
525
+ paginationConfig?: Pick<
526
+ PaginationConfiguration,
527
+ Exclude<keyof PaginationConfiguration, "client">
528
+ >
529
+ ): Paginator<ListServiceQuotaIncreaseRequestsInTemplateCommandOutput>;
530
+ paginateListServiceQuotas(
531
+ args: ListServiceQuotasCommandInput,
532
+ paginationConfig?: Pick<
533
+ PaginationConfiguration,
534
+ Exclude<keyof PaginationConfiguration, "client">
535
+ >
536
+ ): Paginator<ListServiceQuotasCommandOutput>;
537
+ paginateListServices(
538
+ args?: ListServicesCommandInput,
539
+ paginationConfig?: Pick<
540
+ PaginationConfiguration,
541
+ Exclude<keyof PaginationConfiguration, "client">
542
+ >
543
+ ): Paginator<ListServicesCommandOutput>;
498
544
  }
499
545
  export declare class ServiceQuotas
500
546
  extends ServiceQuotasClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-quotas",
3
3
  "description": "AWS SDK for JavaScript Service Quotas Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.978.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-service-quotas",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.11",
42
- "@smithy/middleware-retry": "^4.4.27",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.12",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",