@aws-sdk/client-license-manager-user-subscriptions 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
@@ -944,6 +944,16 @@ class UpdateIdentityProviderSettingsCommand extends smithyClient.Command
944
944
  .build() {
945
945
  }
946
946
 
947
+ const paginateListIdentityProviders = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListIdentityProvidersCommand, "NextToken", "NextToken", "MaxResults");
948
+
949
+ const paginateListInstances = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListInstancesCommand, "NextToken", "NextToken", "MaxResults");
950
+
951
+ const paginateListLicenseServerEndpoints = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListLicenseServerEndpointsCommand, "NextToken", "NextToken", "MaxResults");
952
+
953
+ const paginateListProductSubscriptions = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListProductSubscriptionsCommand, "NextToken", "NextToken", "MaxResults");
954
+
955
+ const paginateListUserAssociations = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListUserAssociationsCommand, "NextToken", "NextToken", "MaxResults");
956
+
947
957
  const commands = {
948
958
  AssociateUserCommand,
949
959
  CreateLicenseServerEndpointCommand,
@@ -963,19 +973,16 @@ const commands = {
963
973
  UntagResourceCommand,
964
974
  UpdateIdentityProviderSettingsCommand,
965
975
  };
976
+ const paginators = {
977
+ paginateListIdentityProviders,
978
+ paginateListInstances,
979
+ paginateListLicenseServerEndpoints,
980
+ paginateListProductSubscriptions,
981
+ paginateListUserAssociations,
982
+ };
966
983
  class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
967
984
  }
968
- smithyClient.createAggregatedClient(commands, LicenseManagerUserSubscriptions);
969
-
970
- const paginateListIdentityProviders = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListIdentityProvidersCommand, "NextToken", "NextToken", "MaxResults");
971
-
972
- const paginateListInstances = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListInstancesCommand, "NextToken", "NextToken", "MaxResults");
973
-
974
- const paginateListLicenseServerEndpoints = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListLicenseServerEndpointsCommand, "NextToken", "NextToken", "MaxResults");
975
-
976
- const paginateListProductSubscriptions = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListProductSubscriptionsCommand, "NextToken", "NextToken", "MaxResults");
977
-
978
- const paginateListUserAssociations = core.createPaginator(LicenseManagerUserSubscriptionsClient, ListUserAssociationsCommand, "NextToken", "NextToken", "MaxResults");
985
+ smithyClient.createAggregatedClient(commands, LicenseManagerUserSubscriptions, { paginators });
979
986
 
980
987
  const ActiveDirectoryType = {
981
988
  AWS_MANAGED: "AWS_MANAGED",
@@ -17,6 +17,11 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
17
17
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
18
18
  import { UpdateIdentityProviderSettingsCommand, } from "./commands/UpdateIdentityProviderSettingsCommand";
19
19
  import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
20
+ import { paginateListIdentityProviders } from "./pagination/ListIdentityProvidersPaginator";
21
+ import { paginateListInstances } from "./pagination/ListInstancesPaginator";
22
+ import { paginateListLicenseServerEndpoints } from "./pagination/ListLicenseServerEndpointsPaginator";
23
+ import { paginateListProductSubscriptions } from "./pagination/ListProductSubscriptionsPaginator";
24
+ import { paginateListUserAssociations } from "./pagination/ListUserAssociationsPaginator";
20
25
  const commands = {
21
26
  AssociateUserCommand,
22
27
  CreateLicenseServerEndpointCommand,
@@ -36,6 +41,13 @@ const commands = {
36
41
  UntagResourceCommand,
37
42
  UpdateIdentityProviderSettingsCommand,
38
43
  };
44
+ const paginators = {
45
+ paginateListIdentityProviders,
46
+ paginateListInstances,
47
+ paginateListLicenseServerEndpoints,
48
+ paginateListProductSubscriptions,
49
+ paginateListUserAssociations,
50
+ };
39
51
  export class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
40
52
  }
41
- createAggregatedClient(commands, LicenseManagerUserSubscriptions);
53
+ createAggregatedClient(commands, LicenseManagerUserSubscriptions, { 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 { AssociateUserCommandInput, AssociateUserCommandOutput } from "./commands/AssociateUserCommand";
3
3
  import { CreateLicenseServerEndpointCommandInput, CreateLicenseServerEndpointCommandOutput } from "./commands/CreateLicenseServerEndpointCommand";
4
4
  import { DeleteLicenseServerEndpointCommandInput, DeleteLicenseServerEndpointCommandOutput } from "./commands/DeleteLicenseServerEndpointCommand";
@@ -126,6 +126,41 @@ export interface LicenseManagerUserSubscriptions {
126
126
  updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIdentityProviderSettingsCommandOutput>;
127
127
  updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void): void;
128
128
  updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void): void;
129
+ /**
130
+ * @see {@link ListIdentityProvidersCommand}
131
+ * @param args - command input.
132
+ * @param paginationConfig - optional pagination config.
133
+ * @returns AsyncIterable of {@link ListIdentityProvidersCommandOutput}.
134
+ */
135
+ paginateListIdentityProviders(args?: ListIdentityProvidersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIdentityProvidersCommandOutput>;
136
+ /**
137
+ * @see {@link ListInstancesCommand}
138
+ * @param args - command input.
139
+ * @param paginationConfig - optional pagination config.
140
+ * @returns AsyncIterable of {@link ListInstancesCommandOutput}.
141
+ */
142
+ paginateListInstances(args?: ListInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInstancesCommandOutput>;
143
+ /**
144
+ * @see {@link ListLicenseServerEndpointsCommand}
145
+ * @param args - command input.
146
+ * @param paginationConfig - optional pagination config.
147
+ * @returns AsyncIterable of {@link ListLicenseServerEndpointsCommandOutput}.
148
+ */
149
+ paginateListLicenseServerEndpoints(args?: ListLicenseServerEndpointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLicenseServerEndpointsCommandOutput>;
150
+ /**
151
+ * @see {@link ListProductSubscriptionsCommand}
152
+ * @param args - command input.
153
+ * @param paginationConfig - optional pagination config.
154
+ * @returns AsyncIterable of {@link ListProductSubscriptionsCommandOutput}.
155
+ */
156
+ paginateListProductSubscriptions(args: ListProductSubscriptionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProductSubscriptionsCommandOutput>;
157
+ /**
158
+ * @see {@link ListUserAssociationsCommand}
159
+ * @param args - command input.
160
+ * @param paginationConfig - optional pagination config.
161
+ * @returns AsyncIterable of {@link ListUserAssociationsCommandOutput}.
162
+ */
163
+ paginateListUserAssociations(args: ListUserAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListUserAssociationsCommandOutput>;
129
164
  }
130
165
  /**
131
166
  * <p>With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.</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
  AssociateUserCommandInput,
4
8
  AssociateUserCommandOutput,
@@ -296,6 +300,41 @@ export interface LicenseManagerUserSubscriptions {
296
300
  options: __HttpHandlerOptions,
297
301
  cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void
298
302
  ): void;
303
+ paginateListIdentityProviders(
304
+ args?: ListIdentityProvidersCommandInput,
305
+ paginationConfig?: Pick<
306
+ PaginationConfiguration,
307
+ Exclude<keyof PaginationConfiguration, "client">
308
+ >
309
+ ): Paginator<ListIdentityProvidersCommandOutput>;
310
+ paginateListInstances(
311
+ args?: ListInstancesCommandInput,
312
+ paginationConfig?: Pick<
313
+ PaginationConfiguration,
314
+ Exclude<keyof PaginationConfiguration, "client">
315
+ >
316
+ ): Paginator<ListInstancesCommandOutput>;
317
+ paginateListLicenseServerEndpoints(
318
+ args?: ListLicenseServerEndpointsCommandInput,
319
+ paginationConfig?: Pick<
320
+ PaginationConfiguration,
321
+ Exclude<keyof PaginationConfiguration, "client">
322
+ >
323
+ ): Paginator<ListLicenseServerEndpointsCommandOutput>;
324
+ paginateListProductSubscriptions(
325
+ args: ListProductSubscriptionsCommandInput,
326
+ paginationConfig?: Pick<
327
+ PaginationConfiguration,
328
+ Exclude<keyof PaginationConfiguration, "client">
329
+ >
330
+ ): Paginator<ListProductSubscriptionsCommandOutput>;
331
+ paginateListUserAssociations(
332
+ args: ListUserAssociationsCommandInput,
333
+ paginationConfig?: Pick<
334
+ PaginationConfiguration,
335
+ Exclude<keyof PaginationConfiguration, "client">
336
+ >
337
+ ): Paginator<ListUserAssociationsCommandOutput>;
299
338
  }
300
339
  export declare class LicenseManagerUserSubscriptions
301
340
  extends LicenseManagerUserSubscriptionsClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-license-manager-user-subscriptions",
3
3
  "description": "AWS SDK for JavaScript License Manager User Subscriptions 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-license-manager-user-subscriptions",
@@ -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",