@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,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 { StartProductSubscriptionRequest, StartProductSubscriptionResponse } from "../models/models_0";
5
+ export interface StartProductSubscriptionCommandInput extends StartProductSubscriptionRequest {
6
+ }
7
+ export interface StartProductSubscriptionCommandOutput extends StartProductSubscriptionResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Starts a product subscription for a user with the specified 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, StartProductSubscriptionCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, StartProductSubscriptionCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new StartProductSubscriptionCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link StartProductSubscriptionCommandInput} for command's `input` shape.
22
+ * @see {@link StartProductSubscriptionCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class StartProductSubscriptionCommand extends $Command<StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: StartProductSubscriptionCommandInput;
28
+ constructor(input: StartProductSubscriptionCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOutput>;
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 { StopProductSubscriptionRequest, StopProductSubscriptionResponse } from "../models/models_0";
5
+ export interface StopProductSubscriptionCommandInput extends StopProductSubscriptionRequest {
6
+ }
7
+ export interface StopProductSubscriptionCommandOutput extends StopProductSubscriptionResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Stops a product subscription for a user with the specified 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, StopProductSubscriptionCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
15
+ * // const { LicenseManagerUserSubscriptionsClient, StopProductSubscriptionCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
16
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
17
+ * const command = new StopProductSubscriptionCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link StopProductSubscriptionCommandInput} for command's `input` shape.
22
+ * @see {@link StopProductSubscriptionCommandOutput} for command's `response` shape.
23
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class StopProductSubscriptionCommand extends $Command<StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
27
+ readonly input: StopProductSubscriptionCommandInput;
28
+ constructor(input: StopProductSubscriptionCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./AssociateUserCommand";
2
+ export * from "./DeregisterIdentityProviderCommand";
3
+ export * from "./DisassociateUserCommand";
4
+ export * from "./ListIdentityProvidersCommand";
5
+ export * from "./ListInstancesCommand";
6
+ export * from "./ListProductSubscriptionsCommand";
7
+ export * from "./ListUserAssociationsCommand";
8
+ export * from "./RegisterIdentityProviderCommand";
9
+ export * from "./StartProductSubscriptionCommand";
10
+ export * from "./StopProductSubscriptionCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./LicenseManagerUserSubscriptions";
2
+ export * from "./LicenseManagerUserSubscriptionsClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { LicenseManagerUserSubscriptionsServiceException } from "./models/LicenseManagerUserSubscriptionsServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.
4
+ */
5
+ export declare class LicenseManagerUserSubscriptionsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";