@aws-sdk/client-license-manager-user-subscriptions 3.142.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.
Files changed (120) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +211 -0
  4. package/dist-cjs/LicenseManagerUserSubscriptions.js +157 -0
  5. package/dist-cjs/LicenseManagerUserSubscriptionsClient.js +37 -0
  6. package/dist-cjs/commands/AssociateUserCommand.js +36 -0
  7. package/dist-cjs/commands/DeregisterIdentityProviderCommand.js +36 -0
  8. package/dist-cjs/commands/DisassociateUserCommand.js +36 -0
  9. package/dist-cjs/commands/ListIdentityProvidersCommand.js +36 -0
  10. package/dist-cjs/commands/ListInstancesCommand.js +36 -0
  11. package/dist-cjs/commands/ListProductSubscriptionsCommand.js +36 -0
  12. package/dist-cjs/commands/ListUserAssociationsCommand.js +36 -0
  13. package/dist-cjs/commands/RegisterIdentityProviderCommand.js +36 -0
  14. package/dist-cjs/commands/StartProductSubscriptionCommand.js +36 -0
  15. package/dist-cjs/commands/StopProductSubscriptionCommand.js +36 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/endpoints.js +168 -0
  18. package/dist-cjs/index.js +11 -0
  19. package/dist-cjs/models/LicenseManagerUserSubscriptionsServiceException.js +11 -0
  20. package/dist-cjs/models/index.js +4 -0
  21. package/dist-cjs/models/models_0.js +250 -0
  22. package/dist-cjs/pagination/Interfaces.js +2 -0
  23. package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +36 -0
  24. package/dist-cjs/pagination/ListInstancesPaginator.js +36 -0
  25. package/dist-cjs/pagination/ListProductSubscriptionsPaginator.js +36 -0
  26. package/dist-cjs/pagination/ListUserAssociationsPaginator.js +36 -0
  27. package/dist-cjs/pagination/index.js +8 -0
  28. package/dist-cjs/protocols/Aws_restJson1.js +1072 -0
  29. package/dist-cjs/runtimeConfig.browser.js +45 -0
  30. package/dist-cjs/runtimeConfig.js +52 -0
  31. package/dist-cjs/runtimeConfig.native.js +16 -0
  32. package/dist-cjs/runtimeConfig.shared.js +17 -0
  33. package/dist-es/LicenseManagerUserSubscriptions.js +160 -0
  34. package/dist-es/LicenseManagerUserSubscriptionsClient.js +39 -0
  35. package/dist-es/commands/AssociateUserCommand.js +39 -0
  36. package/dist-es/commands/DeregisterIdentityProviderCommand.js +39 -0
  37. package/dist-es/commands/DisassociateUserCommand.js +39 -0
  38. package/dist-es/commands/ListIdentityProvidersCommand.js +39 -0
  39. package/dist-es/commands/ListInstancesCommand.js +39 -0
  40. package/dist-es/commands/ListProductSubscriptionsCommand.js +39 -0
  41. package/dist-es/commands/ListUserAssociationsCommand.js +39 -0
  42. package/dist-es/commands/RegisterIdentityProviderCommand.js +39 -0
  43. package/dist-es/commands/StartProductSubscriptionCommand.js +39 -0
  44. package/dist-es/commands/StopProductSubscriptionCommand.js +39 -0
  45. package/dist-es/commands/index.js +10 -0
  46. package/dist-es/endpoints.js +164 -0
  47. package/dist-es/index.js +6 -0
  48. package/dist-es/models/LicenseManagerUserSubscriptionsServiceException.js +12 -0
  49. package/dist-es/models/index.js +1 -0
  50. package/dist-es/models/models_0.js +145 -0
  51. package/dist-es/pagination/Interfaces.js +1 -0
  52. package/dist-es/pagination/ListIdentityProvidersPaginator.js +75 -0
  53. package/dist-es/pagination/ListInstancesPaginator.js +75 -0
  54. package/dist-es/pagination/ListProductSubscriptionsPaginator.js +75 -0
  55. package/dist-es/pagination/ListUserAssociationsPaginator.js +75 -0
  56. package/dist-es/pagination/index.js +5 -0
  57. package/dist-es/protocols/Aws_restJson1.js +1356 -0
  58. package/dist-es/runtimeConfig.browser.js +26 -0
  59. package/dist-es/runtimeConfig.js +30 -0
  60. package/dist-es/runtimeConfig.native.js +8 -0
  61. package/dist-es/runtimeConfig.shared.js +13 -0
  62. package/dist-types/LicenseManagerUserSubscriptions.d.ts +77 -0
  63. package/dist-types/LicenseManagerUserSubscriptionsClient.d.ts +154 -0
  64. package/dist-types/commands/AssociateUserCommand.d.ts +35 -0
  65. package/dist-types/commands/DeregisterIdentityProviderCommand.d.ts +35 -0
  66. package/dist-types/commands/DisassociateUserCommand.d.ts +35 -0
  67. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +35 -0
  68. package/dist-types/commands/ListInstancesCommand.d.ts +35 -0
  69. package/dist-types/commands/ListProductSubscriptionsCommand.d.ts +35 -0
  70. package/dist-types/commands/ListUserAssociationsCommand.d.ts +35 -0
  71. package/dist-types/commands/RegisterIdentityProviderCommand.d.ts +35 -0
  72. package/dist-types/commands/StartProductSubscriptionCommand.d.ts +35 -0
  73. package/dist-types/commands/StopProductSubscriptionCommand.d.ts +35 -0
  74. package/dist-types/commands/index.d.ts +10 -0
  75. package/dist-types/endpoints.d.ts +2 -0
  76. package/dist-types/index.d.ts +6 -0
  77. package/dist-types/models/LicenseManagerUserSubscriptionsServiceException.d.ts +10 -0
  78. package/dist-types/models/index.d.ts +1 -0
  79. package/dist-types/models/models_0.d.ts +596 -0
  80. package/dist-types/pagination/Interfaces.d.ts +6 -0
  81. package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
  82. package/dist-types/pagination/ListInstancesPaginator.d.ts +4 -0
  83. package/dist-types/pagination/ListProductSubscriptionsPaginator.d.ts +4 -0
  84. package/dist-types/pagination/ListUserAssociationsPaginator.d.ts +4 -0
  85. package/dist-types/pagination/index.d.ts +5 -0
  86. package/dist-types/protocols/Aws_restJson1.d.ts +32 -0
  87. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  88. package/dist-types/runtimeConfig.d.ts +40 -0
  89. package/dist-types/runtimeConfig.native.d.ts +39 -0
  90. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  91. package/dist-types/ts3.4/LicenseManagerUserSubscriptions.d.ts +55 -0
  92. package/dist-types/ts3.4/LicenseManagerUserSubscriptionsClient.d.ts +83 -0
  93. package/dist-types/ts3.4/commands/AssociateUserCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/DeregisterIdentityProviderCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/DisassociateUserCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/ListProductSubscriptionsCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/ListUserAssociationsCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/RegisterIdentityProviderCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/StartProductSubscriptionCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/StopProductSubscriptionCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  104. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  105. package/dist-types/ts3.4/index.d.ts +6 -0
  106. package/dist-types/ts3.4/models/LicenseManagerUserSubscriptionsServiceException.d.ts +6 -0
  107. package/dist-types/ts3.4/models/index.d.ts +1 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +340 -0
  109. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  110. package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
  111. package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +4 -0
  112. package/dist-types/ts3.4/pagination/ListProductSubscriptionsPaginator.d.ts +4 -0
  113. package/dist-types/ts3.4/pagination/ListUserAssociationsPaginator.d.ts +4 -0
  114. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  115. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -0
  116. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  117. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  118. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  119. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  120. package/package.json +94 -0
@@ -0,0 +1,26 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
15
+ export var getRuntimeConfig = function (config) {
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
26
+ };
@@ -0,0 +1,30 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
+ import { Hash } from "@aws-sdk/hash-node";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
18
+ export var getRuntimeConfig = function (config) {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
21
+ var defaultsMode = resolveDefaultsModeConfig(config);
22
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
23
+ var clientSharedValues = getSharedRuntimeConfig(config);
24
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
25
+ switch (_a.label) {
26
+ case 0: return [4, defaultConfigProvider()];
27
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
28
+ }
29
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
30
+ };
@@ -0,0 +1,8 @@
1
+ import { __assign } from "tslib";
2
+ import { Sha256 } from "@aws-crypto/sha256-js";
3
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2018-05-10",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "License Manager User Subscriptions",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -0,0 +1,77 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AssociateUserCommandInput, AssociateUserCommandOutput } from "./commands/AssociateUserCommand";
3
+ import { DeregisterIdentityProviderCommandInput, DeregisterIdentityProviderCommandOutput } from "./commands/DeregisterIdentityProviderCommand";
4
+ import { DisassociateUserCommandInput, DisassociateUserCommandOutput } from "./commands/DisassociateUserCommand";
5
+ import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput } from "./commands/ListIdentityProvidersCommand";
6
+ import { ListInstancesCommandInput, ListInstancesCommandOutput } from "./commands/ListInstancesCommand";
7
+ import { ListProductSubscriptionsCommandInput, ListProductSubscriptionsCommandOutput } from "./commands/ListProductSubscriptionsCommand";
8
+ import { ListUserAssociationsCommandInput, ListUserAssociationsCommandOutput } from "./commands/ListUserAssociationsCommand";
9
+ import { RegisterIdentityProviderCommandInput, RegisterIdentityProviderCommandOutput } from "./commands/RegisterIdentityProviderCommand";
10
+ import { StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOutput } from "./commands/StartProductSubscriptionCommand";
11
+ import { StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput } from "./commands/StopProductSubscriptionCommand";
12
+ import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
13
+ /**
14
+ * <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>
15
+ */
16
+ export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
17
+ /**
18
+ * <p>Associates the user to an EC2 instance to utilize user-based subscriptions.</p>
19
+ */
20
+ associateUser(args: AssociateUserCommandInput, options?: __HttpHandlerOptions): Promise<AssociateUserCommandOutput>;
21
+ associateUser(args: AssociateUserCommandInput, cb: (err: any, data?: AssociateUserCommandOutput) => void): void;
22
+ associateUser(args: AssociateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateUserCommandOutput) => void): void;
23
+ /**
24
+ * <p>Deregisters the identity provider from providing user-based subscriptions.</p>
25
+ */
26
+ deregisterIdentityProvider(args: DeregisterIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterIdentityProviderCommandOutput>;
27
+ deregisterIdentityProvider(args: DeregisterIdentityProviderCommandInput, cb: (err: any, data?: DeregisterIdentityProviderCommandOutput) => void): void;
28
+ deregisterIdentityProvider(args: DeregisterIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterIdentityProviderCommandOutput) => void): void;
29
+ /**
30
+ * <p>Disassociates the user from an EC2 instance providing user-based subscriptions.</p>
31
+ */
32
+ disassociateUser(args: DisassociateUserCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateUserCommandOutput>;
33
+ disassociateUser(args: DisassociateUserCommandInput, cb: (err: any, data?: DisassociateUserCommandOutput) => void): void;
34
+ disassociateUser(args: DisassociateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateUserCommandOutput) => void): void;
35
+ /**
36
+ * <p>Lists the identity providers for user-based subscriptions.</p>
37
+ */
38
+ listIdentityProviders(args: ListIdentityProvidersCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityProvidersCommandOutput>;
39
+ listIdentityProviders(args: ListIdentityProvidersCommandInput, cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void): void;
40
+ listIdentityProviders(args: ListIdentityProvidersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void): void;
41
+ /**
42
+ * <p>Lists the EC2 instances providing user-based subscriptions.</p>
43
+ */
44
+ listInstances(args: ListInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListInstancesCommandOutput>;
45
+ listInstances(args: ListInstancesCommandInput, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
46
+ listInstances(args: ListInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
47
+ /**
48
+ * <p>Lists the user-based subscription products available from an identity provider.</p>
49
+ */
50
+ listProductSubscriptions(args: ListProductSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProductSubscriptionsCommandOutput>;
51
+ listProductSubscriptions(args: ListProductSubscriptionsCommandInput, cb: (err: any, data?: ListProductSubscriptionsCommandOutput) => void): void;
52
+ listProductSubscriptions(args: ListProductSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProductSubscriptionsCommandOutput) => void): void;
53
+ /**
54
+ * <p>Lists user associations for an identity provider.</p>
55
+ */
56
+ listUserAssociations(args: ListUserAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListUserAssociationsCommandOutput>;
57
+ listUserAssociations(args: ListUserAssociationsCommandInput, cb: (err: any, data?: ListUserAssociationsCommandOutput) => void): void;
58
+ listUserAssociations(args: ListUserAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUserAssociationsCommandOutput) => void): void;
59
+ /**
60
+ * <p>Registers an identity provider for user-based subscriptions.</p>
61
+ */
62
+ registerIdentityProvider(args: RegisterIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<RegisterIdentityProviderCommandOutput>;
63
+ registerIdentityProvider(args: RegisterIdentityProviderCommandInput, cb: (err: any, data?: RegisterIdentityProviderCommandOutput) => void): void;
64
+ registerIdentityProvider(args: RegisterIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterIdentityProviderCommandOutput) => void): void;
65
+ /**
66
+ * <p>Starts a product subscription for a user with the specified identity provider.</p>
67
+ */
68
+ startProductSubscription(args: StartProductSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartProductSubscriptionCommandOutput>;
69
+ startProductSubscription(args: StartProductSubscriptionCommandInput, cb: (err: any, data?: StartProductSubscriptionCommandOutput) => void): void;
70
+ startProductSubscription(args: StartProductSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartProductSubscriptionCommandOutput) => void): void;
71
+ /**
72
+ * <p>Stops a product subscription for a user with the specified identity provider.</p>
73
+ */
74
+ stopProductSubscription(args: StopProductSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StopProductSubscriptionCommandOutput>;
75
+ stopProductSubscription(args: StopProductSubscriptionCommandInput, cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void): void;
76
+ stopProductSubscription(args: StopProductSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void): void;
77
+ }
@@ -0,0 +1,154 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AssociateUserCommandInput, AssociateUserCommandOutput } from "./commands/AssociateUserCommand";
10
+ import { DeregisterIdentityProviderCommandInput, DeregisterIdentityProviderCommandOutput } from "./commands/DeregisterIdentityProviderCommand";
11
+ import { DisassociateUserCommandInput, DisassociateUserCommandOutput } from "./commands/DisassociateUserCommand";
12
+ import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput } from "./commands/ListIdentityProvidersCommand";
13
+ import { ListInstancesCommandInput, ListInstancesCommandOutput } from "./commands/ListInstancesCommand";
14
+ import { ListProductSubscriptionsCommandInput, ListProductSubscriptionsCommandOutput } from "./commands/ListProductSubscriptionsCommand";
15
+ import { ListUserAssociationsCommandInput, ListUserAssociationsCommandOutput } from "./commands/ListUserAssociationsCommand";
16
+ import { RegisterIdentityProviderCommandInput, RegisterIdentityProviderCommandOutput } from "./commands/RegisterIdentityProviderCommand";
17
+ import { StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOutput } from "./commands/StartProductSubscriptionCommand";
18
+ import { StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput } from "./commands/StopProductSubscriptionCommand";
19
+ export declare type ServiceInputTypes = AssociateUserCommandInput | DeregisterIdentityProviderCommandInput | DisassociateUserCommandInput | ListIdentityProvidersCommandInput | ListInstancesCommandInput | ListProductSubscriptionsCommandInput | ListUserAssociationsCommandInput | RegisterIdentityProviderCommandInput | StartProductSubscriptionCommandInput | StopProductSubscriptionCommandInput;
20
+ export declare type ServiceOutputTypes = AssociateUserCommandOutput | DeregisterIdentityProviderCommandOutput | DisassociateUserCommandOutput | ListIdentityProvidersCommandOutput | ListInstancesCommandOutput | ListProductSubscriptionsCommandOutput | ListUserAssociationsCommandOutput | RegisterIdentityProviderCommandOutput | StartProductSubscriptionCommandOutput | StopProductSubscriptionCommandOutput;
21
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
22
+ /**
23
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
24
+ */
25
+ requestHandler?: __HttpHandler;
26
+ /**
27
+ * A constructor for a class implementing the {@link __Hash} interface
28
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
29
+ * @internal
30
+ */
31
+ sha256?: __HashConstructor;
32
+ /**
33
+ * The function that will be used to convert strings into HTTP endpoints.
34
+ * @internal
35
+ */
36
+ urlParser?: __UrlParser;
37
+ /**
38
+ * A function that can calculate the length of a request body.
39
+ * @internal
40
+ */
41
+ bodyLengthChecker?: __BodyLengthCalculator;
42
+ /**
43
+ * A function that converts a stream into an array of bytes.
44
+ * @internal
45
+ */
46
+ streamCollector?: __StreamCollector;
47
+ /**
48
+ * The function that will be used to convert a base64-encoded string to a byte array.
49
+ * @internal
50
+ */
51
+ base64Decoder?: __Decoder;
52
+ /**
53
+ * The function that will be used to convert binary data to a base64-encoded string.
54
+ * @internal
55
+ */
56
+ base64Encoder?: __Encoder;
57
+ /**
58
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
59
+ * @internal
60
+ */
61
+ utf8Decoder?: __Decoder;
62
+ /**
63
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
64
+ * @internal
65
+ */
66
+ utf8Encoder?: __Encoder;
67
+ /**
68
+ * The runtime environment.
69
+ * @internal
70
+ */
71
+ runtime?: string;
72
+ /**
73
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
74
+ * trait of an operation.
75
+ */
76
+ disableHostPrefix?: boolean;
77
+ /**
78
+ * Value for how many times a request will be made at most in case of retry.
79
+ */
80
+ maxAttempts?: number | __Provider<number>;
81
+ /**
82
+ * Specifies which retry algorithm to use.
83
+ */
84
+ retryMode?: string | __Provider<string>;
85
+ /**
86
+ * Optional logger for logging debug/info/warn/error.
87
+ */
88
+ logger?: __Logger;
89
+ /**
90
+ * Enables IPv6/IPv4 dualstack endpoint.
91
+ */
92
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
93
+ /**
94
+ * Enables FIPS compatible endpoints.
95
+ */
96
+ useFipsEndpoint?: boolean | __Provider<boolean>;
97
+ /**
98
+ * Unique service identifier.
99
+ * @internal
100
+ */
101
+ serviceId?: string;
102
+ /**
103
+ * The AWS region to which this client will send requests
104
+ */
105
+ region?: string | __Provider<string>;
106
+ /**
107
+ * Default credentials provider; Not available in browser runtime.
108
+ * @internal
109
+ */
110
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
111
+ /**
112
+ * Fetch related hostname, signing name or signing region with given region.
113
+ * @internal
114
+ */
115
+ regionInfoProvider?: RegionInfoProvider;
116
+ /**
117
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
118
+ * @internal
119
+ */
120
+ defaultUserAgentProvider?: Provider<__UserAgent>;
121
+ /**
122
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
123
+ */
124
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
125
+ }
126
+ declare type LicenseManagerUserSubscriptionsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
127
+ /**
128
+ * The configuration interface of LicenseManagerUserSubscriptionsClient class constructor that set the region, credentials and other options.
129
+ */
130
+ export interface LicenseManagerUserSubscriptionsClientConfig extends LicenseManagerUserSubscriptionsClientConfigType {
131
+ }
132
+ declare type LicenseManagerUserSubscriptionsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
133
+ /**
134
+ * The resolved configuration interface of LicenseManagerUserSubscriptionsClient class. This is resolved and normalized from the {@link LicenseManagerUserSubscriptionsClientConfig | constructor configuration interface}.
135
+ */
136
+ export interface LicenseManagerUserSubscriptionsClientResolvedConfig extends LicenseManagerUserSubscriptionsClientResolvedConfigType {
137
+ }
138
+ /**
139
+ * <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>
140
+ */
141
+ export declare class LicenseManagerUserSubscriptionsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LicenseManagerUserSubscriptionsClientResolvedConfig> {
142
+ /**
143
+ * The resolved configuration of LicenseManagerUserSubscriptionsClient class. This is resolved and normalized from the {@link LicenseManagerUserSubscriptionsClientConfig | constructor configuration interface}.
144
+ */
145
+ readonly config: LicenseManagerUserSubscriptionsClientResolvedConfig;
146
+ constructor(configuration: LicenseManagerUserSubscriptionsClientConfig);
147
+ /**
148
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
149
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
150
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
151
+ */
152
+ destroy(): void;
153
+ }
154
+ export {};
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { AssociateUserRequest, AssociateUserResponse } from "../models/models_0";
5
+ export interface AssociateUserCommandInput extends AssociateUserRequest {
6
+ }
7
+ export interface AssociateUserCommandOutput extends AssociateUserResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Associates the user to an EC2 instance to utilize user-based subscriptions.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, AssociateUserCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, AssociateUserCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new AssociateUserCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link AssociateUserCommandInput} for command's `input` shape.
22
+ * @see {@link AssociateUserCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class AssociateUserCommand extends $Command<AssociateUserCommandInput, AssociateUserCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: AssociateUserCommandInput;
28
+ constructor(input: AssociateUserCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateUserCommandInput, AssociateUserCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { DeregisterIdentityProviderRequest, DeregisterIdentityProviderResponse } from "../models/models_0";
5
+ export interface DeregisterIdentityProviderCommandInput extends DeregisterIdentityProviderRequest {
6
+ }
7
+ export interface DeregisterIdentityProviderCommandOutput extends DeregisterIdentityProviderResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deregisters the identity provider from providing user-based subscriptions.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, DeregisterIdentityProviderCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, DeregisterIdentityProviderCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new DeregisterIdentityProviderCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeregisterIdentityProviderCommandInput} for command's `input` shape.
22
+ * @see {@link DeregisterIdentityProviderCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeregisterIdentityProviderCommand extends $Command<DeregisterIdentityProviderCommandInput, DeregisterIdentityProviderCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: DeregisterIdentityProviderCommandInput;
28
+ constructor(input: DeregisterIdentityProviderCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterIdentityProviderCommandInput, DeregisterIdentityProviderCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { DisassociateUserRequest, DisassociateUserResponse } from "../models/models_0";
5
+ export interface DisassociateUserCommandInput extends DisassociateUserRequest {
6
+ }
7
+ export interface DisassociateUserCommandOutput extends DisassociateUserResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Disassociates the user from an EC2 instance providing user-based subscriptions.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, DisassociateUserCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, DisassociateUserCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new DisassociateUserCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DisassociateUserCommandInput} for command's `input` shape.
22
+ * @see {@link DisassociateUserCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DisassociateUserCommand extends $Command<DisassociateUserCommandInput, DisassociateUserCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: DisassociateUserCommandInput;
28
+ constructor(input: DisassociateUserCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateUserCommandInput, DisassociateUserCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { ListIdentityProvidersRequest, ListIdentityProvidersResponse } from "../models/models_0";
5
+ export interface ListIdentityProvidersCommandInput extends ListIdentityProvidersRequest {
6
+ }
7
+ export interface ListIdentityProvidersCommandOutput extends ListIdentityProvidersResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the identity providers for user-based subscriptions.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, ListIdentityProvidersCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, ListIdentityProvidersCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new ListIdentityProvidersCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListIdentityProvidersCommandInput} for command's `input` shape.
22
+ * @see {@link ListIdentityProvidersCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListIdentityProvidersCommand extends $Command<ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: ListIdentityProvidersCommandInput;
28
+ constructor(input: ListIdentityProvidersCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { ListInstancesRequest, ListInstancesResponse } from "../models/models_0";
5
+ export interface ListInstancesCommandInput extends ListInstancesRequest {
6
+ }
7
+ export interface ListInstancesCommandOutput extends ListInstancesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the EC2 instances providing user-based subscriptions.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, ListInstancesCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, ListInstancesCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new ListInstancesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListInstancesCommandInput} for command's `input` shape.
22
+ * @see {@link ListInstancesCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListInstancesCommand extends $Command<ListInstancesCommandInput, ListInstancesCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: ListInstancesCommandInput;
28
+ constructor(input: ListInstancesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListInstancesCommandInput, ListInstancesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { ListProductSubscriptionsRequest, ListProductSubscriptionsResponse } from "../models/models_0";
5
+ export interface ListProductSubscriptionsCommandInput extends ListProductSubscriptionsRequest {
6
+ }
7
+ export interface ListProductSubscriptionsCommandOutput extends ListProductSubscriptionsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the user-based subscription products available from an identity provider.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, ListProductSubscriptionsCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, ListProductSubscriptionsCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new ListProductSubscriptionsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListProductSubscriptionsCommandInput} for command's `input` shape.
22
+ * @see {@link ListProductSubscriptionsCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListProductSubscriptionsCommand extends $Command<ListProductSubscriptionsCommandInput, ListProductSubscriptionsCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: ListProductSubscriptionsCommandInput;
28
+ constructor(input: ListProductSubscriptionsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProductSubscriptionsCommandInput, ListProductSubscriptionsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { ListUserAssociationsRequest, ListUserAssociationsResponse } from "../models/models_0";
5
+ export interface ListUserAssociationsCommandInput extends ListUserAssociationsRequest {
6
+ }
7
+ export interface ListUserAssociationsCommandOutput extends ListUserAssociationsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists user associations for an identity provider.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, ListUserAssociationsCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, ListUserAssociationsCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new ListUserAssociationsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListUserAssociationsCommandInput} for command's `input` shape.
22
+ * @see {@link ListUserAssociationsCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListUserAssociationsCommand extends $Command<ListUserAssociationsCommandInput, ListUserAssociationsCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: ListUserAssociationsCommandInput;
28
+ constructor(input: ListUserAssociationsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListUserAssociationsCommandInput, ListUserAssociationsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { RegisterIdentityProviderRequest, RegisterIdentityProviderResponse } from "../models/models_0";
5
+ export interface RegisterIdentityProviderCommandInput extends RegisterIdentityProviderRequest {
6
+ }
7
+ export interface RegisterIdentityProviderCommandOutput extends RegisterIdentityProviderResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Registers an identity provider for user-based subscriptions.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LicenseManagerUserSubscriptionsClient, RegisterIdentityProviderCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, RegisterIdentityProviderCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new RegisterIdentityProviderCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link RegisterIdentityProviderCommandInput} for command's `input` shape.
22
+ * @see {@link RegisterIdentityProviderCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class RegisterIdentityProviderCommand extends $Command<RegisterIdentityProviderCommandInput, RegisterIdentityProviderCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: RegisterIdentityProviderCommandInput;
28
+ constructor(input: RegisterIdentityProviderCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterIdentityProviderCommandInput, RegisterIdentityProviderCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }