@aws-sdk/client-license-manager-user-subscriptions 3.691.0 → 3.693.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 (59) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +441 -8
  3. package/dist-es/LicenseManagerUserSubscriptions.js +12 -0
  4. package/dist-es/commands/AssociateUserCommand.js +2 -1
  5. package/dist-es/commands/CreateLicenseServerEndpointCommand.js +23 -0
  6. package/dist-es/commands/DeleteLicenseServerEndpointCommand.js +22 -0
  7. package/dist-es/commands/ListLicenseServerEndpointsCommand.js +22 -0
  8. package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
  9. package/dist-es/commands/RegisterIdentityProviderCommand.js +2 -1
  10. package/dist-es/commands/StartProductSubscriptionCommand.js +2 -1
  11. package/dist-es/commands/TagResourceCommand.js +23 -0
  12. package/dist-es/commands/UntagResourceCommand.js +23 -0
  13. package/dist-es/commands/index.js +6 -0
  14. package/dist-es/models/models_0.js +69 -0
  15. package/dist-es/pagination/ListLicenseServerEndpointsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +189 -1
  18. package/dist-types/LicenseManagerUserSubscriptions.d.ts +47 -1
  19. package/dist-types/LicenseManagerUserSubscriptionsClient.d.ts +9 -3
  20. package/dist-types/commands/AssociateUserCommand.d.ts +41 -3
  21. package/dist-types/commands/CreateLicenseServerEndpointCommand.d.ts +109 -0
  22. package/dist-types/commands/DeleteLicenseServerEndpointCommand.d.ts +112 -0
  23. package/dist-types/commands/DeregisterIdentityProviderCommand.d.ts +41 -5
  24. package/dist-types/commands/DisassociateUserCommand.d.ts +40 -4
  25. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +28 -3
  26. package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListLicenseServerEndpointsCommand.d.ts +119 -0
  28. package/dist-types/commands/ListProductSubscriptionsCommand.d.ts +37 -2
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +82 -0
  30. package/dist-types/commands/ListUserAssociationsCommand.d.ts +36 -1
  31. package/dist-types/commands/RegisterIdentityProviderCommand.d.ts +41 -3
  32. package/dist-types/commands/StartProductSubscriptionCommand.d.ts +41 -3
  33. package/dist-types/commands/StopProductSubscriptionCommand.d.ts +40 -4
  34. package/dist-types/commands/TagResourceCommand.d.ts +81 -0
  35. package/dist-types/commands/UntagResourceCommand.d.ts +78 -0
  36. package/dist-types/commands/UpdateIdentityProviderSettingsCommand.d.ts +40 -4
  37. package/dist-types/commands/index.d.ts +6 -0
  38. package/dist-types/index.d.ts +1 -1
  39. package/dist-types/models/models_0.d.ts +728 -71
  40. package/dist-types/pagination/ListLicenseServerEndpointsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  43. package/dist-types/ts3.4/LicenseManagerUserSubscriptions.d.ts +106 -0
  44. package/dist-types/ts3.4/LicenseManagerUserSubscriptionsClient.d.ts +36 -0
  45. package/dist-types/ts3.4/commands/CreateLicenseServerEndpointCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DeleteLicenseServerEndpointCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/DeregisterIdentityProviderCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DisassociateUserCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListLicenseServerEndpointsCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/StopProductSubscriptionCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  53. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +191 -11
  56. package/dist-types/ts3.4/pagination/ListLicenseServerEndpointsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  59. package/package.json +35 -35
@@ -0,0 +1,81 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Adds tags to a resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerUserSubscriptionsClient, TagResourceCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
35
+ * // const { LicenseManagerUserSubscriptionsClient, TagResourceCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
36
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
37
+ * const input = { // TagResourceRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * Tags: { // Tags // required
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * };
43
+ * const command = new TagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
50
+ * @returns {@link TagResourceCommandOutput}
51
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An exception occurred with the service.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The resource couldn't be found.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>A parameter is not valid.</p>
63
+ *
64
+ * @throws {@link LicenseManagerUserSubscriptionsServiceException}
65
+ * <p>Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.</p>
66
+ *
67
+ * @public
68
+ */
69
+ export declare class TagResourceCommand extends TagResourceCommand_base {
70
+ /** @internal type navigation helper, not in runtime. */
71
+ protected static __types: {
72
+ api: {
73
+ input: TagResourceRequest;
74
+ output: {};
75
+ };
76
+ sdk: {
77
+ input: TagResourceCommandInput;
78
+ output: TagResourceCommandOutput;
79
+ };
80
+ };
81
+ }
@@ -0,0 +1,78 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes tags from a resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerUserSubscriptionsClient, UntagResourceCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
35
+ * // const { LicenseManagerUserSubscriptionsClient, UntagResourceCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
36
+ * const client = new LicenseManagerUserSubscriptionsClient(config);
37
+ * const input = { // UntagResourceRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * TagKeys: [ // TagKeyList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UntagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
50
+ * @returns {@link UntagResourceCommandOutput}
51
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An exception occurred with the service.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The resource couldn't be found.</p>
60
+ *
61
+ * @throws {@link LicenseManagerUserSubscriptionsServiceException}
62
+ * <p>Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.</p>
63
+ *
64
+ * @public
65
+ */
66
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: UntagResourceRequest;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: UntagResourceCommandInput;
75
+ output: UntagResourceCommandOutput;
76
+ };
77
+ };
78
+ }
@@ -28,7 +28,7 @@ declare const UpdateIdentityProviderSettingsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Updates additional product configuration settings for the registered identity
31
- * provider.</p>
31
+ * provider.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -39,11 +39,29 @@ declare const UpdateIdentityProviderSettingsCommand_base: {
39
39
  * IdentityProvider: { // IdentityProvider Union: only one key present
40
40
  * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider
41
41
  * DirectoryId: "STRING_VALUE",
42
+ * ActiveDirectorySettings: { // ActiveDirectorySettings
43
+ * DomainName: "STRING_VALUE",
44
+ * DomainIpv4List: [ // IpV4List
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present
48
+ * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider
49
+ * SecretId: "STRING_VALUE",
50
+ * },
51
+ * },
52
+ * DomainNetworkSettings: { // DomainNetworkSettings
53
+ * Subnets: [ // Subnets // required
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * },
57
+ * },
58
+ * ActiveDirectoryType: "STRING_VALUE",
42
59
  * },
43
60
  * },
44
- * Product: "STRING_VALUE", // required
61
+ * Product: "STRING_VALUE",
62
+ * IdentityProviderArn: "STRING_VALUE",
45
63
  * UpdateSettings: { // UpdateSettings
46
- * AddSubnets: [ // Subnets // required
64
+ * AddSubnets: [ // required
47
65
  * "STRING_VALUE",
48
66
  * ],
49
67
  * RemoveSubnets: [ // required
@@ -59,16 +77,34 @@ declare const UpdateIdentityProviderSettingsCommand_base: {
59
77
  * // IdentityProvider: { // IdentityProvider Union: only one key present
60
78
  * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider
61
79
  * // DirectoryId: "STRING_VALUE",
80
+ * // ActiveDirectorySettings: { // ActiveDirectorySettings
81
+ * // DomainName: "STRING_VALUE",
82
+ * // DomainIpv4List: [ // IpV4List
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present
86
+ * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider
87
+ * // SecretId: "STRING_VALUE",
88
+ * // },
89
+ * // },
90
+ * // DomainNetworkSettings: { // DomainNetworkSettings
91
+ * // Subnets: [ // Subnets // required
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // },
95
+ * // },
96
+ * // ActiveDirectoryType: "STRING_VALUE",
62
97
  * // },
63
98
  * // },
64
99
  * // Settings: { // Settings
65
- * // Subnets: [ // Subnets // required
100
+ * // Subnets: [ // required
66
101
  * // "STRING_VALUE",
67
102
  * // ],
68
103
  * // SecurityGroupId: "STRING_VALUE", // required
69
104
  * // },
70
105
  * // Product: "STRING_VALUE", // required
71
106
  * // Status: "STRING_VALUE", // required
107
+ * // IdentityProviderArn: "STRING_VALUE",
72
108
  * // FailureMessage: "STRING_VALUE",
73
109
  * // },
74
110
  * // };
@@ -1,11 +1,17 @@
1
1
  export * from "./AssociateUserCommand";
2
+ export * from "./CreateLicenseServerEndpointCommand";
3
+ export * from "./DeleteLicenseServerEndpointCommand";
2
4
  export * from "./DeregisterIdentityProviderCommand";
3
5
  export * from "./DisassociateUserCommand";
4
6
  export * from "./ListIdentityProvidersCommand";
5
7
  export * from "./ListInstancesCommand";
8
+ export * from "./ListLicenseServerEndpointsCommand";
6
9
  export * from "./ListProductSubscriptionsCommand";
10
+ export * from "./ListTagsForResourceCommand";
7
11
  export * from "./ListUserAssociationsCommand";
8
12
  export * from "./RegisterIdentityProviderCommand";
9
13
  export * from "./StartProductSubscriptionCommand";
10
14
  export * from "./StopProductSubscriptionCommand";
15
+ export * from "./TagResourceCommand";
16
+ export * from "./UntagResourceCommand";
11
17
  export * from "./UpdateIdentityProviderSettingsCommand";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
3
- * a per user subscription fee on Amazon EC2 instances.</p>
3
+ * a per user subscription fee on Amazon EC2 instances.</p>
4
4
  *
5
5
  * @packageDocumentation
6
6
  */