@aws-sdk/client-route53globalresolver 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
@@ -1860,6 +1860,24 @@ class UpdateHostedZoneAssociationCommand extends smithyClient.Command
1860
1860
  .build() {
1861
1861
  }
1862
1862
 
1863
+ const paginateListAccessSources = core.createPaginator(Route53GlobalResolverClient, ListAccessSourcesCommand, "nextToken", "nextToken", "maxResults");
1864
+
1865
+ const paginateListAccessTokens = core.createPaginator(Route53GlobalResolverClient, ListAccessTokensCommand, "nextToken", "nextToken", "maxResults");
1866
+
1867
+ const paginateListDNSViews = core.createPaginator(Route53GlobalResolverClient, ListDNSViewsCommand, "nextToken", "nextToken", "maxResults");
1868
+
1869
+ const paginateListFirewallDomainLists = core.createPaginator(Route53GlobalResolverClient, ListFirewallDomainListsCommand, "nextToken", "nextToken", "maxResults");
1870
+
1871
+ const paginateListFirewallDomains = core.createPaginator(Route53GlobalResolverClient, ListFirewallDomainsCommand, "nextToken", "nextToken", "maxResults");
1872
+
1873
+ const paginateListFirewallRules = core.createPaginator(Route53GlobalResolverClient, ListFirewallRulesCommand, "nextToken", "nextToken", "maxResults");
1874
+
1875
+ const paginateListGlobalResolvers = core.createPaginator(Route53GlobalResolverClient, ListGlobalResolversCommand, "nextToken", "nextToken", "maxResults");
1876
+
1877
+ const paginateListHostedZoneAssociations = core.createPaginator(Route53GlobalResolverClient, ListHostedZoneAssociationsCommand, "nextToken", "nextToken", "maxResults");
1878
+
1879
+ const paginateListManagedFirewallDomainLists = core.createPaginator(Route53GlobalResolverClient, ListManagedFirewallDomainListsCommand, "nextToken", "nextToken", "maxResults");
1880
+
1863
1881
  const commands = {
1864
1882
  AssociateHostedZoneCommand,
1865
1883
  BatchCreateFirewallRuleCommand,
@@ -1909,27 +1927,20 @@ const commands = {
1909
1927
  UpdateGlobalResolverCommand,
1910
1928
  UpdateHostedZoneAssociationCommand,
1911
1929
  };
1930
+ const paginators = {
1931
+ paginateListAccessSources,
1932
+ paginateListAccessTokens,
1933
+ paginateListDNSViews,
1934
+ paginateListFirewallDomainLists,
1935
+ paginateListFirewallDomains,
1936
+ paginateListFirewallRules,
1937
+ paginateListGlobalResolvers,
1938
+ paginateListHostedZoneAssociations,
1939
+ paginateListManagedFirewallDomainLists,
1940
+ };
1912
1941
  class Route53GlobalResolver extends Route53GlobalResolverClient {
1913
1942
  }
1914
- smithyClient.createAggregatedClient(commands, Route53GlobalResolver);
1915
-
1916
- const paginateListAccessSources = core.createPaginator(Route53GlobalResolverClient, ListAccessSourcesCommand, "nextToken", "nextToken", "maxResults");
1917
-
1918
- const paginateListAccessTokens = core.createPaginator(Route53GlobalResolverClient, ListAccessTokensCommand, "nextToken", "nextToken", "maxResults");
1919
-
1920
- const paginateListDNSViews = core.createPaginator(Route53GlobalResolverClient, ListDNSViewsCommand, "nextToken", "nextToken", "maxResults");
1921
-
1922
- const paginateListFirewallDomainLists = core.createPaginator(Route53GlobalResolverClient, ListFirewallDomainListsCommand, "nextToken", "nextToken", "maxResults");
1923
-
1924
- const paginateListFirewallDomains = core.createPaginator(Route53GlobalResolverClient, ListFirewallDomainsCommand, "nextToken", "nextToken", "maxResults");
1925
-
1926
- const paginateListFirewallRules = core.createPaginator(Route53GlobalResolverClient, ListFirewallRulesCommand, "nextToken", "nextToken", "maxResults");
1927
-
1928
- const paginateListGlobalResolvers = core.createPaginator(Route53GlobalResolverClient, ListGlobalResolversCommand, "nextToken", "nextToken", "maxResults");
1929
-
1930
- const paginateListHostedZoneAssociations = core.createPaginator(Route53GlobalResolverClient, ListHostedZoneAssociationsCommand, "nextToken", "nextToken", "maxResults");
1931
-
1932
- const paginateListManagedFirewallDomainLists = core.createPaginator(Route53GlobalResolverClient, ListManagedFirewallDomainListsCommand, "nextToken", "nextToken", "maxResults");
1943
+ smithyClient.createAggregatedClient(commands, Route53GlobalResolver, { paginators });
1933
1944
 
1934
1945
  const IpAddressType = {
1935
1946
  IPV4: "IPV4",
@@ -46,6 +46,15 @@ import { UpdateFirewallDomainsCommand, } from "./commands/UpdateFirewallDomainsC
46
46
  import { UpdateFirewallRuleCommand, } from "./commands/UpdateFirewallRuleCommand";
47
47
  import { UpdateGlobalResolverCommand, } from "./commands/UpdateGlobalResolverCommand";
48
48
  import { UpdateHostedZoneAssociationCommand, } from "./commands/UpdateHostedZoneAssociationCommand";
49
+ import { paginateListAccessSources } from "./pagination/ListAccessSourcesPaginator";
50
+ import { paginateListAccessTokens } from "./pagination/ListAccessTokensPaginator";
51
+ import { paginateListDNSViews } from "./pagination/ListDNSViewsPaginator";
52
+ import { paginateListFirewallDomainLists } from "./pagination/ListFirewallDomainListsPaginator";
53
+ import { paginateListFirewallDomains } from "./pagination/ListFirewallDomainsPaginator";
54
+ import { paginateListFirewallRules } from "./pagination/ListFirewallRulesPaginator";
55
+ import { paginateListGlobalResolvers } from "./pagination/ListGlobalResolversPaginator";
56
+ import { paginateListHostedZoneAssociations } from "./pagination/ListHostedZoneAssociationsPaginator";
57
+ import { paginateListManagedFirewallDomainLists } from "./pagination/ListManagedFirewallDomainListsPaginator";
49
58
  import { Route53GlobalResolverClient } from "./Route53GlobalResolverClient";
50
59
  const commands = {
51
60
  AssociateHostedZoneCommand,
@@ -96,6 +105,17 @@ const commands = {
96
105
  UpdateGlobalResolverCommand,
97
106
  UpdateHostedZoneAssociationCommand,
98
107
  };
108
+ const paginators = {
109
+ paginateListAccessSources,
110
+ paginateListAccessTokens,
111
+ paginateListDNSViews,
112
+ paginateListFirewallDomainLists,
113
+ paginateListFirewallDomains,
114
+ paginateListFirewallRules,
115
+ paginateListGlobalResolvers,
116
+ paginateListHostedZoneAssociations,
117
+ paginateListManagedFirewallDomainLists,
118
+ };
99
119
  export class Route53GlobalResolver extends Route53GlobalResolverClient {
100
120
  }
101
- createAggregatedClient(commands, Route53GlobalResolver);
121
+ createAggregatedClient(commands, Route53GlobalResolver, { 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 { AssociateHostedZoneCommandInput, AssociateHostedZoneCommandOutput } from "./commands/AssociateHostedZoneCommand";
3
3
  import { BatchCreateFirewallRuleCommandInput, BatchCreateFirewallRuleCommandOutput } from "./commands/BatchCreateFirewallRuleCommand";
4
4
  import { BatchDeleteFirewallRuleCommandInput, BatchDeleteFirewallRuleCommandOutput } from "./commands/BatchDeleteFirewallRuleCommand";
@@ -333,6 +333,69 @@ export interface Route53GlobalResolver {
333
333
  updateHostedZoneAssociation(args: UpdateHostedZoneAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHostedZoneAssociationCommandOutput>;
334
334
  updateHostedZoneAssociation(args: UpdateHostedZoneAssociationCommandInput, cb: (err: any, data?: UpdateHostedZoneAssociationCommandOutput) => void): void;
335
335
  updateHostedZoneAssociation(args: UpdateHostedZoneAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHostedZoneAssociationCommandOutput) => void): void;
336
+ /**
337
+ * @see {@link ListAccessSourcesCommand}
338
+ * @param args - command input.
339
+ * @param paginationConfig - optional pagination config.
340
+ * @returns AsyncIterable of {@link ListAccessSourcesCommandOutput}.
341
+ */
342
+ paginateListAccessSources(args?: ListAccessSourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccessSourcesCommandOutput>;
343
+ /**
344
+ * @see {@link ListAccessTokensCommand}
345
+ * @param args - command input.
346
+ * @param paginationConfig - optional pagination config.
347
+ * @returns AsyncIterable of {@link ListAccessTokensCommandOutput}.
348
+ */
349
+ paginateListAccessTokens(args: ListAccessTokensCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccessTokensCommandOutput>;
350
+ /**
351
+ * @see {@link ListDNSViewsCommand}
352
+ * @param args - command input.
353
+ * @param paginationConfig - optional pagination config.
354
+ * @returns AsyncIterable of {@link ListDNSViewsCommandOutput}.
355
+ */
356
+ paginateListDNSViews(args: ListDNSViewsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDNSViewsCommandOutput>;
357
+ /**
358
+ * @see {@link ListFirewallDomainListsCommand}
359
+ * @param args - command input.
360
+ * @param paginationConfig - optional pagination config.
361
+ * @returns AsyncIterable of {@link ListFirewallDomainListsCommandOutput}.
362
+ */
363
+ paginateListFirewallDomainLists(args?: ListFirewallDomainListsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFirewallDomainListsCommandOutput>;
364
+ /**
365
+ * @see {@link ListFirewallDomainsCommand}
366
+ * @param args - command input.
367
+ * @param paginationConfig - optional pagination config.
368
+ * @returns AsyncIterable of {@link ListFirewallDomainsCommandOutput}.
369
+ */
370
+ paginateListFirewallDomains(args: ListFirewallDomainsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFirewallDomainsCommandOutput>;
371
+ /**
372
+ * @see {@link ListFirewallRulesCommand}
373
+ * @param args - command input.
374
+ * @param paginationConfig - optional pagination config.
375
+ * @returns AsyncIterable of {@link ListFirewallRulesCommandOutput}.
376
+ */
377
+ paginateListFirewallRules(args: ListFirewallRulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFirewallRulesCommandOutput>;
378
+ /**
379
+ * @see {@link ListGlobalResolversCommand}
380
+ * @param args - command input.
381
+ * @param paginationConfig - optional pagination config.
382
+ * @returns AsyncIterable of {@link ListGlobalResolversCommandOutput}.
383
+ */
384
+ paginateListGlobalResolvers(args?: ListGlobalResolversCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGlobalResolversCommandOutput>;
385
+ /**
386
+ * @see {@link ListHostedZoneAssociationsCommand}
387
+ * @param args - command input.
388
+ * @param paginationConfig - optional pagination config.
389
+ * @returns AsyncIterable of {@link ListHostedZoneAssociationsCommandOutput}.
390
+ */
391
+ paginateListHostedZoneAssociations(args: ListHostedZoneAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHostedZoneAssociationsCommandOutput>;
392
+ /**
393
+ * @see {@link ListManagedFirewallDomainListsCommand}
394
+ * @param args - command input.
395
+ * @param paginationConfig - optional pagination config.
396
+ * @returns AsyncIterable of {@link ListManagedFirewallDomainListsCommandOutput}.
397
+ */
398
+ paginateListManagedFirewallDomainLists(args: ListManagedFirewallDomainListsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListManagedFirewallDomainListsCommandOutput>;
336
399
  }
337
400
  /**
338
401
  * <p> Amazon Route 53 Global Resolver is a global, internet-accessible DNS resolver that enables customers to resolve and forward traffic for both public and private domains while ensuring security and authenticity of queries over the internet. Route 53 Global Resolver supports DNS-over-port 53 (Do53), DNS-over-TLS (DoT), and DNS-over-HTTPS (DoH) protocols through global anycast IP addresses. </p>
@@ -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
  AssociateHostedZoneCommandInput,
4
8
  AssociateHostedZoneCommandOutput,
@@ -803,6 +807,69 @@ export interface Route53GlobalResolver {
803
807
  options: __HttpHandlerOptions,
804
808
  cb: (err: any, data?: UpdateHostedZoneAssociationCommandOutput) => void
805
809
  ): void;
810
+ paginateListAccessSources(
811
+ args?: ListAccessSourcesCommandInput,
812
+ paginationConfig?: Pick<
813
+ PaginationConfiguration,
814
+ Exclude<keyof PaginationConfiguration, "client">
815
+ >
816
+ ): Paginator<ListAccessSourcesCommandOutput>;
817
+ paginateListAccessTokens(
818
+ args: ListAccessTokensCommandInput,
819
+ paginationConfig?: Pick<
820
+ PaginationConfiguration,
821
+ Exclude<keyof PaginationConfiguration, "client">
822
+ >
823
+ ): Paginator<ListAccessTokensCommandOutput>;
824
+ paginateListDNSViews(
825
+ args: ListDNSViewsCommandInput,
826
+ paginationConfig?: Pick<
827
+ PaginationConfiguration,
828
+ Exclude<keyof PaginationConfiguration, "client">
829
+ >
830
+ ): Paginator<ListDNSViewsCommandOutput>;
831
+ paginateListFirewallDomainLists(
832
+ args?: ListFirewallDomainListsCommandInput,
833
+ paginationConfig?: Pick<
834
+ PaginationConfiguration,
835
+ Exclude<keyof PaginationConfiguration, "client">
836
+ >
837
+ ): Paginator<ListFirewallDomainListsCommandOutput>;
838
+ paginateListFirewallDomains(
839
+ args: ListFirewallDomainsCommandInput,
840
+ paginationConfig?: Pick<
841
+ PaginationConfiguration,
842
+ Exclude<keyof PaginationConfiguration, "client">
843
+ >
844
+ ): Paginator<ListFirewallDomainsCommandOutput>;
845
+ paginateListFirewallRules(
846
+ args: ListFirewallRulesCommandInput,
847
+ paginationConfig?: Pick<
848
+ PaginationConfiguration,
849
+ Exclude<keyof PaginationConfiguration, "client">
850
+ >
851
+ ): Paginator<ListFirewallRulesCommandOutput>;
852
+ paginateListGlobalResolvers(
853
+ args?: ListGlobalResolversCommandInput,
854
+ paginationConfig?: Pick<
855
+ PaginationConfiguration,
856
+ Exclude<keyof PaginationConfiguration, "client">
857
+ >
858
+ ): Paginator<ListGlobalResolversCommandOutput>;
859
+ paginateListHostedZoneAssociations(
860
+ args: ListHostedZoneAssociationsCommandInput,
861
+ paginationConfig?: Pick<
862
+ PaginationConfiguration,
863
+ Exclude<keyof PaginationConfiguration, "client">
864
+ >
865
+ ): Paginator<ListHostedZoneAssociationsCommandOutput>;
866
+ paginateListManagedFirewallDomainLists(
867
+ args: ListManagedFirewallDomainListsCommandInput,
868
+ paginationConfig?: Pick<
869
+ PaginationConfiguration,
870
+ Exclude<keyof PaginationConfiguration, "client">
871
+ >
872
+ ): Paginator<ListManagedFirewallDomainListsCommandOutput>;
806
873
  }
807
874
  export declare class Route53GlobalResolver
808
875
  extends Route53GlobalResolverClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53globalresolver",
3
3
  "description": "AWS SDK for JavaScript Route53globalresolver 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-route53globalresolver",
@@ -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",