@aws-sdk/client-license-manager 3.936.0 → 3.937.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 (69) hide show
  1. package/README.md +96 -0
  2. package/dist-cjs/index.js +605 -21
  3. package/dist-es/LicenseManager.js +24 -0
  4. package/dist-es/commands/CreateLicenseAssetGroupCommand.js +16 -0
  5. package/dist-es/commands/CreateLicenseAssetRulesetCommand.js +16 -0
  6. package/dist-es/commands/DeleteLicenseAssetGroupCommand.js +16 -0
  7. package/dist-es/commands/DeleteLicenseAssetRulesetCommand.js +16 -0
  8. package/dist-es/commands/GetLicenseAssetGroupCommand.js +16 -0
  9. package/dist-es/commands/GetLicenseAssetRulesetCommand.js +16 -0
  10. package/dist-es/commands/ListAssetsForLicenseAssetGroupCommand.js +16 -0
  11. package/dist-es/commands/ListLicenseAssetGroupsCommand.js +16 -0
  12. package/dist-es/commands/ListLicenseAssetRulesetsCommand.js +16 -0
  13. package/dist-es/commands/ListLicenseConfigurationsForOrganizationCommand.js +16 -0
  14. package/dist-es/commands/UpdateLicenseAssetGroupCommand.js +16 -0
  15. package/dist-es/commands/UpdateLicenseAssetRulesetCommand.js +16 -0
  16. package/dist-es/commands/index.js +12 -0
  17. package/dist-es/models/enums.js +7 -0
  18. package/dist-es/schemas/schemas_0.js +430 -21
  19. package/dist-types/LicenseManager.d.ts +87 -0
  20. package/dist-types/LicenseManagerClient.d.ts +14 -2
  21. package/dist-types/commands/CreateLicenseAssetGroupCommand.d.ts +116 -0
  22. package/dist-types/commands/CreateLicenseAssetRulesetCommand.d.ts +206 -0
  23. package/dist-types/commands/CreateLicenseConfigurationCommand.d.ts +1 -0
  24. package/dist-types/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +8 -3
  25. package/dist-types/commands/DeleteLicenseAssetGroupCommand.d.ts +93 -0
  26. package/dist-types/commands/DeleteLicenseAssetRulesetCommand.d.ts +91 -0
  27. package/dist-types/commands/GetLicenseAssetGroupCommand.d.ts +115 -0
  28. package/dist-types/commands/GetLicenseAssetRulesetCommand.d.ts +202 -0
  29. package/dist-types/commands/GetLicenseConfigurationCommand.d.ts +1 -0
  30. package/dist-types/commands/GetLicenseManagerReportGeneratorCommand.d.ts +8 -3
  31. package/dist-types/commands/GetServiceSettingsCommand.d.ts +16 -0
  32. package/dist-types/commands/ListAssetsForLicenseAssetGroupCommand.d.ts +102 -0
  33. package/dist-types/commands/ListLicenseAssetGroupsCommand.d.ts +127 -0
  34. package/dist-types/commands/ListLicenseAssetRulesetsCommand.d.ts +215 -0
  35. package/dist-types/commands/ListLicenseConfigurationsCommand.d.ts +1 -0
  36. package/dist-types/commands/ListLicenseConfigurationsForOrganizationCommand.d.ts +153 -0
  37. package/dist-types/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +8 -3
  38. package/dist-types/commands/ListResourceInventoryCommand.d.ts +8 -0
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  40. package/dist-types/commands/TagResourceCommand.d.ts +3 -0
  41. package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
  42. package/dist-types/commands/UpdateLicenseAssetGroupCommand.d.ts +112 -0
  43. package/dist-types/commands/UpdateLicenseAssetRulesetCommand.d.ts +201 -0
  44. package/dist-types/commands/UpdateLicenseConfigurationCommand.d.ts +1 -0
  45. package/dist-types/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +8 -3
  46. package/dist-types/commands/UpdateServiceSettingsCommand.d.ts +9 -0
  47. package/dist-types/commands/index.d.ts +12 -0
  48. package/dist-types/models/enums.d.ts +15 -0
  49. package/dist-types/models/models_0.d.ts +991 -4
  50. package/dist-types/schemas/schemas_0.d.ts +65 -1
  51. package/dist-types/ts3.4/LicenseManager.d.ts +213 -0
  52. package/dist-types/ts3.4/LicenseManagerClient.d.ts +72 -0
  53. package/dist-types/ts3.4/commands/CreateLicenseAssetGroupCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/CreateLicenseAssetRulesetCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/DeleteLicenseAssetGroupCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/DeleteLicenseAssetRulesetCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/GetLicenseAssetGroupCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/GetLicenseAssetRulesetCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListAssetsForLicenseAssetGroupCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/ListLicenseAssetGroupsCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/ListLicenseAssetRulesetsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListLicenseConfigurationsForOrganizationCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/UpdateLicenseAssetGroupCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/UpdateLicenseAssetRulesetCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  66. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +216 -1
  68. package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -0
  69. package/package.json +1 -1
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
4
+ import { DeleteLicenseAssetGroupRequest, DeleteLicenseAssetGroupResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteLicenseAssetGroupCommand}.
14
+ */
15
+ export interface DeleteLicenseAssetGroupCommandInput extends DeleteLicenseAssetGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteLicenseAssetGroupCommand}.
21
+ */
22
+ export interface DeleteLicenseAssetGroupCommandOutput extends DeleteLicenseAssetGroupResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteLicenseAssetGroupCommand_base: {
25
+ new (input: DeleteLicenseAssetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLicenseAssetGroupCommandInput, DeleteLicenseAssetGroupCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteLicenseAssetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLicenseAssetGroupCommandInput, DeleteLicenseAssetGroupCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a license asset group.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerClient, DeleteLicenseAssetGroupCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
35
+ * // const { LicenseManagerClient, DeleteLicenseAssetGroupCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
36
+ * // import type { LicenseManagerClientConfig } from "@aws-sdk/client-license-manager";
37
+ * const config = {}; // type is LicenseManagerClientConfig
38
+ * const client = new LicenseManagerClient(config);
39
+ * const input = { // DeleteLicenseAssetGroupRequest
40
+ * LicenseAssetGroupArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteLicenseAssetGroupCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteLicenseAssetGroupResponse
45
+ * // Status: "ACTIVE" || "DISABLED" || "DELETED", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteLicenseAssetGroupCommandInput - {@link DeleteLicenseAssetGroupCommandInput}
51
+ * @returns {@link DeleteLicenseAssetGroupCommandOutput}
52
+ * @see {@link DeleteLicenseAssetGroupCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteLicenseAssetGroupCommandOutput} for command's `response` shape.
54
+ * @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>Access to resource denied.</p>
58
+ *
59
+ * @throws {@link AuthorizationException} (client fault)
60
+ * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
61
+ * policy associated with this account.</p>
62
+ *
63
+ * @throws {@link InvalidParameterValueException} (client fault)
64
+ * <p>One or more parameter values are not valid.</p>
65
+ *
66
+ * @throws {@link RateLimitExceededException} (client fault)
67
+ * <p>Too many requests have been submitted. Try again after a brief wait.</p>
68
+ *
69
+ * @throws {@link ServerInternalException} (server fault)
70
+ * <p>The server experienced an internal error. Try again.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The provided input is not valid. Try your request again.</p>
74
+ *
75
+ * @throws {@link LicenseManagerServiceException}
76
+ * <p>Base exception class for all service exceptions from LicenseManager service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class DeleteLicenseAssetGroupCommand extends DeleteLicenseAssetGroupCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: DeleteLicenseAssetGroupRequest;
86
+ output: DeleteLicenseAssetGroupResponse;
87
+ };
88
+ sdk: {
89
+ input: DeleteLicenseAssetGroupCommandInput;
90
+ output: DeleteLicenseAssetGroupCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
4
+ import { DeleteLicenseAssetRulesetRequest, DeleteLicenseAssetRulesetResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteLicenseAssetRulesetCommand}.
14
+ */
15
+ export interface DeleteLicenseAssetRulesetCommandInput extends DeleteLicenseAssetRulesetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteLicenseAssetRulesetCommand}.
21
+ */
22
+ export interface DeleteLicenseAssetRulesetCommandOutput extends DeleteLicenseAssetRulesetResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteLicenseAssetRulesetCommand_base: {
25
+ new (input: DeleteLicenseAssetRulesetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLicenseAssetRulesetCommandInput, DeleteLicenseAssetRulesetCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteLicenseAssetRulesetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLicenseAssetRulesetCommandInput, DeleteLicenseAssetRulesetCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a license asset ruleset.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerClient, DeleteLicenseAssetRulesetCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
35
+ * // const { LicenseManagerClient, DeleteLicenseAssetRulesetCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
36
+ * // import type { LicenseManagerClientConfig } from "@aws-sdk/client-license-manager";
37
+ * const config = {}; // type is LicenseManagerClientConfig
38
+ * const client = new LicenseManagerClient(config);
39
+ * const input = { // DeleteLicenseAssetRulesetRequest
40
+ * LicenseAssetRulesetArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteLicenseAssetRulesetCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteLicenseAssetRulesetCommandInput - {@link DeleteLicenseAssetRulesetCommandInput}
49
+ * @returns {@link DeleteLicenseAssetRulesetCommandOutput}
50
+ * @see {@link DeleteLicenseAssetRulesetCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteLicenseAssetRulesetCommandOutput} for command's `response` shape.
52
+ * @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>Access to resource denied.</p>
56
+ *
57
+ * @throws {@link AuthorizationException} (client fault)
58
+ * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
59
+ * policy associated with this account.</p>
60
+ *
61
+ * @throws {@link InvalidParameterValueException} (client fault)
62
+ * <p>One or more parameter values are not valid.</p>
63
+ *
64
+ * @throws {@link RateLimitExceededException} (client fault)
65
+ * <p>Too many requests have been submitted. Try again after a brief wait.</p>
66
+ *
67
+ * @throws {@link ServerInternalException} (server fault)
68
+ * <p>The server experienced an internal error. Try again.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The provided input is not valid. Try your request again.</p>
72
+ *
73
+ * @throws {@link LicenseManagerServiceException}
74
+ * <p>Base exception class for all service exceptions from LicenseManager service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteLicenseAssetRulesetCommand extends DeleteLicenseAssetRulesetCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteLicenseAssetRulesetRequest;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: DeleteLicenseAssetRulesetCommandInput;
88
+ output: DeleteLicenseAssetRulesetCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
4
+ import { GetLicenseAssetGroupRequest, GetLicenseAssetGroupResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetLicenseAssetGroupCommand}.
14
+ */
15
+ export interface GetLicenseAssetGroupCommandInput extends GetLicenseAssetGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetLicenseAssetGroupCommand}.
21
+ */
22
+ export interface GetLicenseAssetGroupCommandOutput extends GetLicenseAssetGroupResponse, __MetadataBearer {
23
+ }
24
+ declare const GetLicenseAssetGroupCommand_base: {
25
+ new (input: GetLicenseAssetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetLicenseAssetGroupCommandInput, GetLicenseAssetGroupCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetLicenseAssetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetLicenseAssetGroupCommandInput, GetLicenseAssetGroupCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets a license asset group.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerClient, GetLicenseAssetGroupCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
35
+ * // const { LicenseManagerClient, GetLicenseAssetGroupCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
36
+ * // import type { LicenseManagerClientConfig } from "@aws-sdk/client-license-manager";
37
+ * const config = {}; // type is LicenseManagerClientConfig
38
+ * const client = new LicenseManagerClient(config);
39
+ * const input = { // GetLicenseAssetGroupRequest
40
+ * LicenseAssetGroupArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetLicenseAssetGroupCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetLicenseAssetGroupResponse
45
+ * // LicenseAssetGroup: { // LicenseAssetGroup
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Description: "STRING_VALUE",
48
+ * // LicenseAssetGroupConfigurations: [ // LicenseAssetGroupConfigurationList
49
+ * // { // LicenseAssetGroupConfiguration
50
+ * // UsageDimension: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // AssociatedLicenseAssetRulesetARNs: [ // LicenseAssetRulesetArnList // required
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // Properties: [ // LicenseAssetGroupPropertyList
57
+ * // { // LicenseAssetGroupProperty
58
+ * // Key: "STRING_VALUE", // required
59
+ * // Value: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // LicenseAssetGroupArn: "STRING_VALUE", // required
63
+ * // Status: "ACTIVE" || "DISABLED" || "DELETED", // required
64
+ * // StatusMessage: "STRING_VALUE",
65
+ * // LatestUsageAnalysisTime: new Date("TIMESTAMP"),
66
+ * // LatestResourceDiscoveryTime: new Date("TIMESTAMP"),
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param GetLicenseAssetGroupCommandInput - {@link GetLicenseAssetGroupCommandInput}
73
+ * @returns {@link GetLicenseAssetGroupCommandOutput}
74
+ * @see {@link GetLicenseAssetGroupCommandInput} for command's `input` shape.
75
+ * @see {@link GetLicenseAssetGroupCommandOutput} for command's `response` shape.
76
+ * @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>Access to resource denied.</p>
80
+ *
81
+ * @throws {@link AuthorizationException} (client fault)
82
+ * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
83
+ * policy associated with this account.</p>
84
+ *
85
+ * @throws {@link InvalidParameterValueException} (client fault)
86
+ * <p>One or more parameter values are not valid.</p>
87
+ *
88
+ * @throws {@link RateLimitExceededException} (client fault)
89
+ * <p>Too many requests have been submitted. Try again after a brief wait.</p>
90
+ *
91
+ * @throws {@link ServerInternalException} (server fault)
92
+ * <p>The server experienced an internal error. Try again.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>The provided input is not valid. Try your request again.</p>
96
+ *
97
+ * @throws {@link LicenseManagerServiceException}
98
+ * <p>Base exception class for all service exceptions from LicenseManager service.</p>
99
+ *
100
+ *
101
+ * @public
102
+ */
103
+ export declare class GetLicenseAssetGroupCommand extends GetLicenseAssetGroupCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: GetLicenseAssetGroupRequest;
108
+ output: GetLicenseAssetGroupResponse;
109
+ };
110
+ sdk: {
111
+ input: GetLicenseAssetGroupCommandInput;
112
+ output: GetLicenseAssetGroupCommandOutput;
113
+ };
114
+ };
115
+ }
@@ -0,0 +1,202 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
4
+ import { GetLicenseAssetRulesetRequest, GetLicenseAssetRulesetResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetLicenseAssetRulesetCommand}.
14
+ */
15
+ export interface GetLicenseAssetRulesetCommandInput extends GetLicenseAssetRulesetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetLicenseAssetRulesetCommand}.
21
+ */
22
+ export interface GetLicenseAssetRulesetCommandOutput extends GetLicenseAssetRulesetResponse, __MetadataBearer {
23
+ }
24
+ declare const GetLicenseAssetRulesetCommand_base: {
25
+ new (input: GetLicenseAssetRulesetCommandInput): import("@smithy/smithy-client").CommandImpl<GetLicenseAssetRulesetCommandInput, GetLicenseAssetRulesetCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetLicenseAssetRulesetCommandInput): import("@smithy/smithy-client").CommandImpl<GetLicenseAssetRulesetCommandInput, GetLicenseAssetRulesetCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets a license asset ruleset.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerClient, GetLicenseAssetRulesetCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
35
+ * // const { LicenseManagerClient, GetLicenseAssetRulesetCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
36
+ * // import type { LicenseManagerClientConfig } from "@aws-sdk/client-license-manager";
37
+ * const config = {}; // type is LicenseManagerClientConfig
38
+ * const client = new LicenseManagerClient(config);
39
+ * const input = { // GetLicenseAssetRulesetRequest
40
+ * LicenseAssetRulesetArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetLicenseAssetRulesetCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetLicenseAssetRulesetResponse
45
+ * // LicenseAssetRuleset: { // LicenseAssetRuleset
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Description: "STRING_VALUE",
48
+ * // Rules: [ // LicenseAssetRuleList // required
49
+ * // { // LicenseAssetRule
50
+ * // RuleStatement: { // RuleStatement
51
+ * // LicenseConfigurationRuleStatement: { // LicenseConfigurationRuleStatement
52
+ * // AndRuleStatement: { // AndRuleStatement
53
+ * // MatchingRuleStatements: [ // MatchingRuleStatementList
54
+ * // { // MatchingRuleStatement
55
+ * // KeyToMatch: "STRING_VALUE", // required
56
+ * // Constraint: "STRING_VALUE", // required
57
+ * // ValueToMatch: [ // StringList // required
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // },
61
+ * // ],
62
+ * // ScriptRuleStatements: [ // ScriptRuleStatementList
63
+ * // { // ScriptRuleStatement
64
+ * // KeyToMatch: "STRING_VALUE", // required
65
+ * // Script: "STRING_VALUE", // required
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // OrRuleStatement: { // OrRuleStatement
70
+ * // MatchingRuleStatements: [
71
+ * // {
72
+ * // KeyToMatch: "STRING_VALUE", // required
73
+ * // Constraint: "STRING_VALUE", // required
74
+ * // ValueToMatch: [ // required
75
+ * // "STRING_VALUE",
76
+ * // ],
77
+ * // },
78
+ * // ],
79
+ * // ScriptRuleStatements: [
80
+ * // {
81
+ * // KeyToMatch: "STRING_VALUE", // required
82
+ * // Script: "STRING_VALUE", // required
83
+ * // },
84
+ * // ],
85
+ * // },
86
+ * // MatchingRuleStatement: {
87
+ * // KeyToMatch: "STRING_VALUE", // required
88
+ * // Constraint: "STRING_VALUE", // required
89
+ * // ValueToMatch: [ // required
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // },
93
+ * // },
94
+ * // LicenseRuleStatement: { // LicenseRuleStatement
95
+ * // AndRuleStatement: {
96
+ * // MatchingRuleStatements: [
97
+ * // {
98
+ * // KeyToMatch: "STRING_VALUE", // required
99
+ * // Constraint: "STRING_VALUE", // required
100
+ * // ValueToMatch: [ // required
101
+ * // "STRING_VALUE",
102
+ * // ],
103
+ * // },
104
+ * // ],
105
+ * // ScriptRuleStatements: [
106
+ * // {
107
+ * // KeyToMatch: "STRING_VALUE", // required
108
+ * // Script: "STRING_VALUE", // required
109
+ * // },
110
+ * // ],
111
+ * // },
112
+ * // OrRuleStatement: {
113
+ * // MatchingRuleStatements: [
114
+ * // {
115
+ * // KeyToMatch: "STRING_VALUE", // required
116
+ * // Constraint: "STRING_VALUE", // required
117
+ * // ValueToMatch: [ // required
118
+ * // "STRING_VALUE",
119
+ * // ],
120
+ * // },
121
+ * // ],
122
+ * // ScriptRuleStatements: [
123
+ * // {
124
+ * // KeyToMatch: "STRING_VALUE", // required
125
+ * // Script: "STRING_VALUE", // required
126
+ * // },
127
+ * // ],
128
+ * // },
129
+ * // MatchingRuleStatement: "<MatchingRuleStatement>",
130
+ * // },
131
+ * // InstanceRuleStatement: { // InstanceRuleStatement
132
+ * // AndRuleStatement: {
133
+ * // MatchingRuleStatements: [
134
+ * // "<MatchingRuleStatement>",
135
+ * // ],
136
+ * // ScriptRuleStatements: [
137
+ * // {
138
+ * // KeyToMatch: "STRING_VALUE", // required
139
+ * // Script: "STRING_VALUE", // required
140
+ * // },
141
+ * // ],
142
+ * // },
143
+ * // OrRuleStatement: {
144
+ * // MatchingRuleStatements: "<MatchingRuleStatementList>",
145
+ * // ScriptRuleStatements: "<ScriptRuleStatementList>",
146
+ * // },
147
+ * // MatchingRuleStatement: "<MatchingRuleStatement>",
148
+ * // ScriptRuleStatement: "<ScriptRuleStatement>",
149
+ * // },
150
+ * // },
151
+ * // },
152
+ * // ],
153
+ * // LicenseAssetRulesetArn: "STRING_VALUE", // required
154
+ * // },
155
+ * // };
156
+ *
157
+ * ```
158
+ *
159
+ * @param GetLicenseAssetRulesetCommandInput - {@link GetLicenseAssetRulesetCommandInput}
160
+ * @returns {@link GetLicenseAssetRulesetCommandOutput}
161
+ * @see {@link GetLicenseAssetRulesetCommandInput} for command's `input` shape.
162
+ * @see {@link GetLicenseAssetRulesetCommandOutput} for command's `response` shape.
163
+ * @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
164
+ *
165
+ * @throws {@link AccessDeniedException} (client fault)
166
+ * <p>Access to resource denied.</p>
167
+ *
168
+ * @throws {@link AuthorizationException} (client fault)
169
+ * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
170
+ * policy associated with this account.</p>
171
+ *
172
+ * @throws {@link InvalidParameterValueException} (client fault)
173
+ * <p>One or more parameter values are not valid.</p>
174
+ *
175
+ * @throws {@link RateLimitExceededException} (client fault)
176
+ * <p>Too many requests have been submitted. Try again after a brief wait.</p>
177
+ *
178
+ * @throws {@link ServerInternalException} (server fault)
179
+ * <p>The server experienced an internal error. Try again.</p>
180
+ *
181
+ * @throws {@link ValidationException} (client fault)
182
+ * <p>The provided input is not valid. Try your request again.</p>
183
+ *
184
+ * @throws {@link LicenseManagerServiceException}
185
+ * <p>Base exception class for all service exceptions from LicenseManager service.</p>
186
+ *
187
+ *
188
+ * @public
189
+ */
190
+ export declare class GetLicenseAssetRulesetCommand extends GetLicenseAssetRulesetCommand_base {
191
+ /** @internal type navigation helper, not in runtime. */
192
+ protected static __types: {
193
+ api: {
194
+ input: GetLicenseAssetRulesetRequest;
195
+ output: GetLicenseAssetRulesetResponse;
196
+ };
197
+ sdk: {
198
+ input: GetLicenseAssetRulesetCommandInput;
199
+ output: GetLicenseAssetRulesetCommandOutput;
200
+ };
201
+ };
202
+ }
@@ -91,6 +91,7 @@ declare const GetLicenseConfigurationCommand_base: {
91
91
  * // LastRunTime: new Date("TIMESTAMP"),
92
92
  * // },
93
93
  * // DisassociateWhenNotFound: true || false,
94
+ * // LicenseExpiry: Number("long"),
94
95
  * // };
95
96
  *
96
97
  * ```
@@ -45,16 +45,21 @@ declare const GetLicenseManagerReportGeneratorCommand_base: {
45
45
  * // ReportGenerator: { // ReportGenerator
46
46
  * // ReportGeneratorName: "STRING_VALUE",
47
47
  * // ReportType: [ // ReportTypeList
48
- * // "LicenseConfigurationSummaryReport" || "LicenseConfigurationUsageReport",
48
+ * // "LicenseConfigurationSummaryReport" || "LicenseConfigurationUsageReport" || "LicenseAssetGroupUsageReport",
49
49
  * // ],
50
50
  * // ReportContext: { // ReportContext
51
- * // licenseConfigurationArns: [ // ArnList // required
51
+ * // licenseConfigurationArns: [ // ArnList
52
52
  * // "STRING_VALUE",
53
53
  * // ],
54
+ * // licenseAssetGroupArns: [
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // reportStartDate: new Date("TIMESTAMP"),
58
+ * // reportEndDate: new Date("TIMESTAMP"),
54
59
  * // },
55
60
  * // ReportFrequency: { // ReportFrequency
56
61
  * // value: Number("int"),
57
- * // period: "DAY" || "WEEK" || "MONTH",
62
+ * // period: "DAY" || "WEEK" || "MONTH" || "ONE_TIME",
58
63
  * // },
59
64
  * // LicenseManagerReportGeneratorArn: "STRING_VALUE",
60
65
  * // LastRunStatus: "STRING_VALUE",
@@ -47,6 +47,22 @@ declare const GetServiceSettingsCommand_base: {
47
47
  * // },
48
48
  * // EnableCrossAccountsDiscovery: true || false,
49
49
  * // LicenseManagerResourceShareArn: "STRING_VALUE",
50
+ * // CrossRegionDiscoveryHomeRegion: "STRING_VALUE",
51
+ * // CrossRegionDiscoverySourceRegions: [ // StringList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // ServiceStatus: { // ServiceStatus
55
+ * // CrossAccountDiscovery: { // CrossAccountDiscoveryServiceStatus
56
+ * // Message: "STRING_VALUE",
57
+ * // },
58
+ * // CrossRegionDiscovery: { // CrossRegionDiscoveryStatus
59
+ * // Message: { // RegionStatusMap
60
+ * // "<keys>": { // RegionStatus
61
+ * // Status: "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // },
65
+ * // },
50
66
  * // };
51
67
  *
52
68
  * ```
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
4
+ import { ListAssetsForLicenseAssetGroupRequest, ListAssetsForLicenseAssetGroupResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAssetsForLicenseAssetGroupCommand}.
14
+ */
15
+ export interface ListAssetsForLicenseAssetGroupCommandInput extends ListAssetsForLicenseAssetGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAssetsForLicenseAssetGroupCommand}.
21
+ */
22
+ export interface ListAssetsForLicenseAssetGroupCommandOutput extends ListAssetsForLicenseAssetGroupResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAssetsForLicenseAssetGroupCommand_base: {
25
+ new (input: ListAssetsForLicenseAssetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssetsForLicenseAssetGroupCommandInput, ListAssetsForLicenseAssetGroupCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAssetsForLicenseAssetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssetsForLicenseAssetGroupCommandInput, ListAssetsForLicenseAssetGroupCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists assets for a license asset group.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerClient, ListAssetsForLicenseAssetGroupCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
35
+ * // const { LicenseManagerClient, ListAssetsForLicenseAssetGroupCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
36
+ * // import type { LicenseManagerClientConfig } from "@aws-sdk/client-license-manager";
37
+ * const config = {}; // type is LicenseManagerClientConfig
38
+ * const client = new LicenseManagerClient(config);
39
+ * const input = { // ListAssetsForLicenseAssetGroupRequest
40
+ * LicenseAssetGroupArn: "STRING_VALUE", // required
41
+ * AssetType: "STRING_VALUE", // required
42
+ * MaxResults: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListAssetsForLicenseAssetGroupCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListAssetsForLicenseAssetGroupResponse
48
+ * // Assets: [ // AssetList
49
+ * // { // Asset
50
+ * // AssetArn: "STRING_VALUE",
51
+ * // LatestAssetDiscoveryTime: new Date("TIMESTAMP"),
52
+ * // },
53
+ * // ],
54
+ * // NextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListAssetsForLicenseAssetGroupCommandInput - {@link ListAssetsForLicenseAssetGroupCommandInput}
60
+ * @returns {@link ListAssetsForLicenseAssetGroupCommandOutput}
61
+ * @see {@link ListAssetsForLicenseAssetGroupCommandInput} for command's `input` shape.
62
+ * @see {@link ListAssetsForLicenseAssetGroupCommandOutput} for command's `response` shape.
63
+ * @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>Access to resource denied.</p>
67
+ *
68
+ * @throws {@link AuthorizationException} (client fault)
69
+ * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
70
+ * policy associated with this account.</p>
71
+ *
72
+ * @throws {@link InvalidParameterValueException} (client fault)
73
+ * <p>One or more parameter values are not valid.</p>
74
+ *
75
+ * @throws {@link RateLimitExceededException} (client fault)
76
+ * <p>Too many requests have been submitted. Try again after a brief wait.</p>
77
+ *
78
+ * @throws {@link ServerInternalException} (server fault)
79
+ * <p>The server experienced an internal error. Try again.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The provided input is not valid. Try your request again.</p>
83
+ *
84
+ * @throws {@link LicenseManagerServiceException}
85
+ * <p>Base exception class for all service exceptions from LicenseManager service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class ListAssetsForLicenseAssetGroupCommand extends ListAssetsForLicenseAssetGroupCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: ListAssetsForLicenseAssetGroupRequest;
95
+ output: ListAssetsForLicenseAssetGroupResponse;
96
+ };
97
+ sdk: {
98
+ input: ListAssetsForLicenseAssetGroupCommandInput;
99
+ output: ListAssetsForLicenseAssetGroupCommandOutput;
100
+ };
101
+ };
102
+ }