@aws-sdk/client-license-manager 3.936.0 → 3.939.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -0
- package/dist-cjs/index.js +605 -21
- package/dist-es/LicenseManager.js +24 -0
- package/dist-es/commands/CreateLicenseAssetGroupCommand.js +16 -0
- package/dist-es/commands/CreateLicenseAssetRulesetCommand.js +16 -0
- package/dist-es/commands/DeleteLicenseAssetGroupCommand.js +16 -0
- package/dist-es/commands/DeleteLicenseAssetRulesetCommand.js +16 -0
- package/dist-es/commands/GetLicenseAssetGroupCommand.js +16 -0
- package/dist-es/commands/GetLicenseAssetRulesetCommand.js +16 -0
- package/dist-es/commands/ListAssetsForLicenseAssetGroupCommand.js +16 -0
- package/dist-es/commands/ListLicenseAssetGroupsCommand.js +16 -0
- package/dist-es/commands/ListLicenseAssetRulesetsCommand.js +16 -0
- package/dist-es/commands/ListLicenseConfigurationsForOrganizationCommand.js +16 -0
- package/dist-es/commands/UpdateLicenseAssetGroupCommand.js +16 -0
- package/dist-es/commands/UpdateLicenseAssetRulesetCommand.js +16 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +430 -21
- package/dist-types/LicenseManager.d.ts +87 -0
- package/dist-types/LicenseManagerClient.d.ts +14 -2
- package/dist-types/commands/CreateLicenseAssetGroupCommand.d.ts +116 -0
- package/dist-types/commands/CreateLicenseAssetRulesetCommand.d.ts +206 -0
- package/dist-types/commands/CreateLicenseConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +8 -3
- package/dist-types/commands/DeleteLicenseAssetGroupCommand.d.ts +93 -0
- package/dist-types/commands/DeleteLicenseAssetRulesetCommand.d.ts +91 -0
- package/dist-types/commands/GetLicenseAssetGroupCommand.d.ts +115 -0
- package/dist-types/commands/GetLicenseAssetRulesetCommand.d.ts +202 -0
- package/dist-types/commands/GetLicenseConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetLicenseManagerReportGeneratorCommand.d.ts +8 -3
- package/dist-types/commands/GetServiceSettingsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssetsForLicenseAssetGroupCommand.d.ts +102 -0
- package/dist-types/commands/ListLicenseAssetGroupsCommand.d.ts +127 -0
- package/dist-types/commands/ListLicenseAssetRulesetsCommand.d.ts +215 -0
- package/dist-types/commands/ListLicenseConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/ListLicenseConfigurationsForOrganizationCommand.d.ts +153 -0
- package/dist-types/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +8 -3
- package/dist-types/commands/ListResourceInventoryCommand.d.ts +8 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateLicenseAssetGroupCommand.d.ts +112 -0
- package/dist-types/commands/UpdateLicenseAssetRulesetCommand.d.ts +201 -0
- package/dist-types/commands/UpdateLicenseConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +8 -3
- package/dist-types/commands/UpdateServiceSettingsCommand.d.ts +9 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/models_0.d.ts +991 -4
- package/dist-types/schemas/schemas_0.d.ts +65 -1
- package/dist-types/ts3.4/LicenseManager.d.ts +213 -0
- package/dist-types/ts3.4/LicenseManagerClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateLicenseAssetGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateLicenseAssetRulesetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteLicenseAssetGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteLicenseAssetRulesetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLicenseAssetGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLicenseAssetRulesetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAssetsForLicenseAssetGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLicenseAssetGroupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLicenseAssetRulesetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLicenseConfigurationsForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateLicenseAssetGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateLicenseAssetRulesetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +216 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -0
- package/package.json +2 -2
|
@@ -0,0 +1,127 @@
|
|
|
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 { ListLicenseAssetGroupsRequest, ListLicenseAssetGroupsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListLicenseAssetGroupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListLicenseAssetGroupsCommandInput extends ListLicenseAssetGroupsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListLicenseAssetGroupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListLicenseAssetGroupsCommandOutput extends ListLicenseAssetGroupsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListLicenseAssetGroupsCommand_base: {
|
|
25
|
+
new (input: ListLicenseAssetGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListLicenseAssetGroupsCommandInput, ListLicenseAssetGroupsCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListLicenseAssetGroupsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListLicenseAssetGroupsCommandInput, ListLicenseAssetGroupsCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists license asset groups.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LicenseManagerClient, ListLicenseAssetGroupsCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
35
|
+
* // const { LicenseManagerClient, ListLicenseAssetGroupsCommand } = 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 = { // ListLicenseAssetGroupsRequest
|
|
40
|
+
* Filters: [ // Filters
|
|
41
|
+
* { // Filter
|
|
42
|
+
* Name: "STRING_VALUE",
|
|
43
|
+
* Values: [ // FilterValues
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* NextToken: "STRING_VALUE",
|
|
50
|
+
* };
|
|
51
|
+
* const command = new ListLicenseAssetGroupsCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListLicenseAssetGroupsResponse
|
|
54
|
+
* // LicenseAssetGroups: [ // LicenseAssetGroupList
|
|
55
|
+
* // { // LicenseAssetGroup
|
|
56
|
+
* // Name: "STRING_VALUE", // required
|
|
57
|
+
* // Description: "STRING_VALUE",
|
|
58
|
+
* // LicenseAssetGroupConfigurations: [ // LicenseAssetGroupConfigurationList
|
|
59
|
+
* // { // LicenseAssetGroupConfiguration
|
|
60
|
+
* // UsageDimension: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // AssociatedLicenseAssetRulesetARNs: [ // LicenseAssetRulesetArnList // required
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // Properties: [ // LicenseAssetGroupPropertyList
|
|
67
|
+
* // { // LicenseAssetGroupProperty
|
|
68
|
+
* // Key: "STRING_VALUE", // required
|
|
69
|
+
* // Value: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // LicenseAssetGroupArn: "STRING_VALUE", // required
|
|
73
|
+
* // Status: "ACTIVE" || "DISABLED" || "DELETED", // required
|
|
74
|
+
* // StatusMessage: "STRING_VALUE",
|
|
75
|
+
* // LatestUsageAnalysisTime: new Date("TIMESTAMP"),
|
|
76
|
+
* // LatestResourceDiscoveryTime: new Date("TIMESTAMP"),
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // NextToken: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param ListLicenseAssetGroupsCommandInput - {@link ListLicenseAssetGroupsCommandInput}
|
|
85
|
+
* @returns {@link ListLicenseAssetGroupsCommandOutput}
|
|
86
|
+
* @see {@link ListLicenseAssetGroupsCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link ListLicenseAssetGroupsCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>Access to resource denied.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link AuthorizationException} (client fault)
|
|
94
|
+
* <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
|
|
95
|
+
* policy associated with this account.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
98
|
+
* <p>One or more parameter values are not valid.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
101
|
+
* <p>Too many requests have been submitted. Try again after a brief wait.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ServerInternalException} (server fault)
|
|
104
|
+
* <p>The server experienced an internal error. Try again.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ValidationException} (client fault)
|
|
107
|
+
* <p>The provided input is not valid. Try your request again.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link LicenseManagerServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from LicenseManager service.</p>
|
|
111
|
+
*
|
|
112
|
+
*
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class ListLicenseAssetGroupsCommand extends ListLicenseAssetGroupsCommand_base {
|
|
116
|
+
/** @internal type navigation helper, not in runtime. */
|
|
117
|
+
protected static __types: {
|
|
118
|
+
api: {
|
|
119
|
+
input: ListLicenseAssetGroupsRequest;
|
|
120
|
+
output: ListLicenseAssetGroupsResponse;
|
|
121
|
+
};
|
|
122
|
+
sdk: {
|
|
123
|
+
input: ListLicenseAssetGroupsCommandInput;
|
|
124
|
+
output: ListLicenseAssetGroupsCommandOutput;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
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 { ListLicenseAssetRulesetsRequest, ListLicenseAssetRulesetsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListLicenseAssetRulesetsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListLicenseAssetRulesetsCommandInput extends ListLicenseAssetRulesetsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListLicenseAssetRulesetsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListLicenseAssetRulesetsCommandOutput extends ListLicenseAssetRulesetsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListLicenseAssetRulesetsCommand_base: {
|
|
25
|
+
new (input: ListLicenseAssetRulesetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListLicenseAssetRulesetsCommandInput, ListLicenseAssetRulesetsCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListLicenseAssetRulesetsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListLicenseAssetRulesetsCommandInput, ListLicenseAssetRulesetsCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists license asset rulesets.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LicenseManagerClient, ListLicenseAssetRulesetsCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
35
|
+
* // const { LicenseManagerClient, ListLicenseAssetRulesetsCommand } = 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 = { // ListLicenseAssetRulesetsRequest
|
|
40
|
+
* Filters: [ // Filters
|
|
41
|
+
* { // Filter
|
|
42
|
+
* Name: "STRING_VALUE",
|
|
43
|
+
* Values: [ // FilterValues
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* ShowAWSManagedLicenseAssetRulesets: true || false,
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* NextToken: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new ListLicenseAssetRulesetsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // ListLicenseAssetRulesetsResponse
|
|
55
|
+
* // LicenseAssetRulesets: [ // LicenseAssetRulesetList
|
|
56
|
+
* // { // LicenseAssetRuleset
|
|
57
|
+
* // Name: "STRING_VALUE", // required
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // Rules: [ // LicenseAssetRuleList // required
|
|
60
|
+
* // { // LicenseAssetRule
|
|
61
|
+
* // RuleStatement: { // RuleStatement
|
|
62
|
+
* // LicenseConfigurationRuleStatement: { // LicenseConfigurationRuleStatement
|
|
63
|
+
* // AndRuleStatement: { // AndRuleStatement
|
|
64
|
+
* // MatchingRuleStatements: [ // MatchingRuleStatementList
|
|
65
|
+
* // { // MatchingRuleStatement
|
|
66
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
67
|
+
* // Constraint: "STRING_VALUE", // required
|
|
68
|
+
* // ValueToMatch: [ // StringList // required
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // ScriptRuleStatements: [ // ScriptRuleStatementList
|
|
74
|
+
* // { // ScriptRuleStatement
|
|
75
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
76
|
+
* // Script: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // OrRuleStatement: { // OrRuleStatement
|
|
81
|
+
* // MatchingRuleStatements: [
|
|
82
|
+
* // {
|
|
83
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
84
|
+
* // Constraint: "STRING_VALUE", // required
|
|
85
|
+
* // ValueToMatch: [ // required
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // ScriptRuleStatements: [
|
|
91
|
+
* // {
|
|
92
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
93
|
+
* // Script: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // MatchingRuleStatement: {
|
|
98
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
99
|
+
* // Constraint: "STRING_VALUE", // required
|
|
100
|
+
* // ValueToMatch: [ // required
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // LicenseRuleStatement: { // LicenseRuleStatement
|
|
106
|
+
* // AndRuleStatement: {
|
|
107
|
+
* // MatchingRuleStatements: [
|
|
108
|
+
* // {
|
|
109
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
110
|
+
* // Constraint: "STRING_VALUE", // required
|
|
111
|
+
* // ValueToMatch: [ // required
|
|
112
|
+
* // "STRING_VALUE",
|
|
113
|
+
* // ],
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // ScriptRuleStatements: [
|
|
117
|
+
* // {
|
|
118
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
119
|
+
* // Script: "STRING_VALUE", // required
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
123
|
+
* // OrRuleStatement: {
|
|
124
|
+
* // MatchingRuleStatements: [
|
|
125
|
+
* // {
|
|
126
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
127
|
+
* // Constraint: "STRING_VALUE", // required
|
|
128
|
+
* // ValueToMatch: [ // required
|
|
129
|
+
* // "STRING_VALUE",
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // ScriptRuleStatements: [
|
|
134
|
+
* // {
|
|
135
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
136
|
+
* // Script: "STRING_VALUE", // required
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // MatchingRuleStatement: "<MatchingRuleStatement>",
|
|
141
|
+
* // },
|
|
142
|
+
* // InstanceRuleStatement: { // InstanceRuleStatement
|
|
143
|
+
* // AndRuleStatement: {
|
|
144
|
+
* // MatchingRuleStatements: [
|
|
145
|
+
* // "<MatchingRuleStatement>",
|
|
146
|
+
* // ],
|
|
147
|
+
* // ScriptRuleStatements: [
|
|
148
|
+
* // {
|
|
149
|
+
* // KeyToMatch: "STRING_VALUE", // required
|
|
150
|
+
* // Script: "STRING_VALUE", // required
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
153
|
+
* // },
|
|
154
|
+
* // OrRuleStatement: {
|
|
155
|
+
* // MatchingRuleStatements: "<MatchingRuleStatementList>",
|
|
156
|
+
* // ScriptRuleStatements: "<ScriptRuleStatementList>",
|
|
157
|
+
* // },
|
|
158
|
+
* // MatchingRuleStatement: "<MatchingRuleStatement>",
|
|
159
|
+
* // ScriptRuleStatement: "<ScriptRuleStatement>",
|
|
160
|
+
* // },
|
|
161
|
+
* // },
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // LicenseAssetRulesetArn: "STRING_VALUE", // required
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // NextToken: "STRING_VALUE",
|
|
168
|
+
* // };
|
|
169
|
+
*
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* @param ListLicenseAssetRulesetsCommandInput - {@link ListLicenseAssetRulesetsCommandInput}
|
|
173
|
+
* @returns {@link ListLicenseAssetRulesetsCommandOutput}
|
|
174
|
+
* @see {@link ListLicenseAssetRulesetsCommandInput} for command's `input` shape.
|
|
175
|
+
* @see {@link ListLicenseAssetRulesetsCommandOutput} for command's `response` shape.
|
|
176
|
+
* @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
179
|
+
* <p>Access to resource denied.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link AuthorizationException} (client fault)
|
|
182
|
+
* <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
|
|
183
|
+
* policy associated with this account.</p>
|
|
184
|
+
*
|
|
185
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
186
|
+
* <p>One or more parameter values are not valid.</p>
|
|
187
|
+
*
|
|
188
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
189
|
+
* <p>Too many requests have been submitted. Try again after a brief wait.</p>
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ServerInternalException} (server fault)
|
|
192
|
+
* <p>The server experienced an internal error. Try again.</p>
|
|
193
|
+
*
|
|
194
|
+
* @throws {@link ValidationException} (client fault)
|
|
195
|
+
* <p>The provided input is not valid. Try your request again.</p>
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link LicenseManagerServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from LicenseManager service.</p>
|
|
199
|
+
*
|
|
200
|
+
*
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export declare class ListLicenseAssetRulesetsCommand extends ListLicenseAssetRulesetsCommand_base {
|
|
204
|
+
/** @internal type navigation helper, not in runtime. */
|
|
205
|
+
protected static __types: {
|
|
206
|
+
api: {
|
|
207
|
+
input: ListLicenseAssetRulesetsRequest;
|
|
208
|
+
output: ListLicenseAssetRulesetsResponse;
|
|
209
|
+
};
|
|
210
|
+
sdk: {
|
|
211
|
+
input: ListLicenseAssetRulesetsCommandInput;
|
|
212
|
+
output: ListLicenseAssetRulesetsCommandOutput;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
}
|
|
@@ -99,6 +99,7 @@ declare const ListLicenseConfigurationsCommand_base: {
|
|
|
99
99
|
* // AutomatedDiscoveryInformation: { // AutomatedDiscoveryInformation
|
|
100
100
|
* // LastRunTime: new Date("TIMESTAMP"),
|
|
101
101
|
* // },
|
|
102
|
+
* // LicenseExpiry: Number("long"),
|
|
102
103
|
* // },
|
|
103
104
|
* // ],
|
|
104
105
|
* // NextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,153 @@
|
|
|
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 { ListLicenseConfigurationsForOrganizationRequest, ListLicenseConfigurationsForOrganizationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListLicenseConfigurationsForOrganizationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListLicenseConfigurationsForOrganizationCommandInput extends ListLicenseConfigurationsForOrganizationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListLicenseConfigurationsForOrganizationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListLicenseConfigurationsForOrganizationCommandOutput extends ListLicenseConfigurationsForOrganizationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListLicenseConfigurationsForOrganizationCommand_base: {
|
|
25
|
+
new (input: ListLicenseConfigurationsForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<ListLicenseConfigurationsForOrganizationCommandInput, ListLicenseConfigurationsForOrganizationCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListLicenseConfigurationsForOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<ListLicenseConfigurationsForOrganizationCommandInput, ListLicenseConfigurationsForOrganizationCommandOutput, LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists license configurations for an organization.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LicenseManagerClient, ListLicenseConfigurationsForOrganizationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
35
|
+
* // const { LicenseManagerClient, ListLicenseConfigurationsForOrganizationCommand } = 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 = { // ListLicenseConfigurationsForOrganizationRequest
|
|
40
|
+
* LicenseConfigurationArns: [ // StringList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* Filters: [ // Filters
|
|
46
|
+
* { // Filter
|
|
47
|
+
* Name: "STRING_VALUE",
|
|
48
|
+
* Values: [ // FilterValues
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
54
|
+
* const command = new ListLicenseConfigurationsForOrganizationCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // ListLicenseConfigurationsForOrganizationResponse
|
|
57
|
+
* // LicenseConfigurations: [ // LicenseConfigurations
|
|
58
|
+
* // { // LicenseConfiguration
|
|
59
|
+
* // LicenseConfigurationId: "STRING_VALUE",
|
|
60
|
+
* // LicenseConfigurationArn: "STRING_VALUE",
|
|
61
|
+
* // Name: "STRING_VALUE",
|
|
62
|
+
* // Description: "STRING_VALUE",
|
|
63
|
+
* // LicenseCountingType: "vCPU" || "Instance" || "Core" || "Socket",
|
|
64
|
+
* // LicenseRules: [ // StringList
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // LicenseCount: Number("long"),
|
|
68
|
+
* // LicenseCountHardLimit: true || false,
|
|
69
|
+
* // DisassociateWhenNotFound: true || false,
|
|
70
|
+
* // ConsumedLicenses: Number("long"),
|
|
71
|
+
* // Status: "STRING_VALUE",
|
|
72
|
+
* // OwnerAccountId: "STRING_VALUE",
|
|
73
|
+
* // ConsumedLicenseSummaryList: [ // ConsumedLicenseSummaryList
|
|
74
|
+
* // { // ConsumedLicenseSummary
|
|
75
|
+
* // ResourceType: "EC2_INSTANCE" || "EC2_HOST" || "EC2_AMI" || "RDS" || "SYSTEMS_MANAGER_MANAGED_INSTANCE",
|
|
76
|
+
* // ConsumedLicenses: Number("long"),
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // ManagedResourceSummaryList: [ // ManagedResourceSummaryList
|
|
80
|
+
* // { // ManagedResourceSummary
|
|
81
|
+
* // ResourceType: "EC2_INSTANCE" || "EC2_HOST" || "EC2_AMI" || "RDS" || "SYSTEMS_MANAGER_MANAGED_INSTANCE",
|
|
82
|
+
* // AssociationCount: Number("long"),
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // ProductInformationList: [ // ProductInformationList
|
|
86
|
+
* // { // ProductInformation
|
|
87
|
+
* // ResourceType: "STRING_VALUE", // required
|
|
88
|
+
* // ProductInformationFilterList: [ // ProductInformationFilterList // required
|
|
89
|
+
* // { // ProductInformationFilter
|
|
90
|
+
* // ProductInformationFilterName: "STRING_VALUE", // required
|
|
91
|
+
* // ProductInformationFilterValue: [
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // ProductInformationFilterComparator: "STRING_VALUE", // required
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // AutomatedDiscoveryInformation: { // AutomatedDiscoveryInformation
|
|
100
|
+
* // LastRunTime: new Date("TIMESTAMP"),
|
|
101
|
+
* // },
|
|
102
|
+
* // LicenseExpiry: Number("long"),
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // NextToken: "STRING_VALUE",
|
|
106
|
+
* // };
|
|
107
|
+
*
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @param ListLicenseConfigurationsForOrganizationCommandInput - {@link ListLicenseConfigurationsForOrganizationCommandInput}
|
|
111
|
+
* @returns {@link ListLicenseConfigurationsForOrganizationCommandOutput}
|
|
112
|
+
* @see {@link ListLicenseConfigurationsForOrganizationCommandInput} for command's `input` shape.
|
|
113
|
+
* @see {@link ListLicenseConfigurationsForOrganizationCommandOutput} for command's `response` shape.
|
|
114
|
+
* @see {@link LicenseManagerClientResolvedConfig | config} for LicenseManagerClient's `config` shape.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
117
|
+
* <p>Access to resource denied.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link AuthorizationException} (client fault)
|
|
120
|
+
* <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
|
|
121
|
+
* policy associated with this account.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link FilterLimitExceededException} (client fault)
|
|
124
|
+
* <p>The request uses too many filters or too many filter values.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
127
|
+
* <p>One or more parameter values are not valid.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
130
|
+
* <p>Too many requests have been submitted. Try again after a brief wait.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ServerInternalException} (server fault)
|
|
133
|
+
* <p>The server experienced an internal error. Try again.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link LicenseManagerServiceException}
|
|
136
|
+
* <p>Base exception class for all service exceptions from LicenseManager service.</p>
|
|
137
|
+
*
|
|
138
|
+
*
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export declare class ListLicenseConfigurationsForOrganizationCommand extends ListLicenseConfigurationsForOrganizationCommand_base {
|
|
142
|
+
/** @internal type navigation helper, not in runtime. */
|
|
143
|
+
protected static __types: {
|
|
144
|
+
api: {
|
|
145
|
+
input: ListLicenseConfigurationsForOrganizationRequest;
|
|
146
|
+
output: ListLicenseConfigurationsForOrganizationResponse;
|
|
147
|
+
};
|
|
148
|
+
sdk: {
|
|
149
|
+
input: ListLicenseConfigurationsForOrganizationCommandInput;
|
|
150
|
+
output: ListLicenseConfigurationsForOrganizationCommandOutput;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
}
|
|
@@ -55,16 +55,21 @@ declare const ListLicenseManagerReportGeneratorsCommand_base: {
|
|
|
55
55
|
* // { // ReportGenerator
|
|
56
56
|
* // ReportGeneratorName: "STRING_VALUE",
|
|
57
57
|
* // ReportType: [ // ReportTypeList
|
|
58
|
-
* // "LicenseConfigurationSummaryReport" || "LicenseConfigurationUsageReport",
|
|
58
|
+
* // "LicenseConfigurationSummaryReport" || "LicenseConfigurationUsageReport" || "LicenseAssetGroupUsageReport",
|
|
59
59
|
* // ],
|
|
60
60
|
* // ReportContext: { // ReportContext
|
|
61
|
-
* // licenseConfigurationArns: [ // ArnList
|
|
61
|
+
* // licenseConfigurationArns: [ // ArnList
|
|
62
62
|
* // "STRING_VALUE",
|
|
63
63
|
* // ],
|
|
64
|
+
* // licenseAssetGroupArns: [
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // reportStartDate: new Date("TIMESTAMP"),
|
|
68
|
+
* // reportEndDate: new Date("TIMESTAMP"),
|
|
64
69
|
* // },
|
|
65
70
|
* // ReportFrequency: { // ReportFrequency
|
|
66
71
|
* // value: Number("int"),
|
|
67
|
-
* // period: "DAY" || "WEEK" || "MONTH",
|
|
72
|
+
* // period: "DAY" || "WEEK" || "MONTH" || "ONE_TIME",
|
|
68
73
|
* // },
|
|
69
74
|
* // LicenseManagerReportGeneratorArn: "STRING_VALUE",
|
|
70
75
|
* // LastRunStatus: "STRING_VALUE",
|
|
@@ -58,6 +58,14 @@ declare const ListResourceInventoryCommand_base: {
|
|
|
58
58
|
* // Platform: "STRING_VALUE",
|
|
59
59
|
* // PlatformVersion: "STRING_VALUE",
|
|
60
60
|
* // ResourceOwningAccountId: "STRING_VALUE",
|
|
61
|
+
* // MarketplaceProductCodes: [ // StringList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // UsageOperation: "STRING_VALUE",
|
|
65
|
+
* // AmiId: "STRING_VALUE",
|
|
66
|
+
* // HostId: "STRING_VALUE",
|
|
67
|
+
* // Region: "STRING_VALUE",
|
|
68
|
+
* // InstanceType: "STRING_VALUE",
|
|
61
69
|
* // },
|
|
62
70
|
* // ],
|
|
63
71
|
* // NextToken: "STRING_VALUE",
|
|
@@ -75,6 +75,9 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
75
75
|
* @throws {@link ServerInternalException} (server fault)
|
|
76
76
|
* <p>The server experienced an internal error. Try again.</p>
|
|
77
77
|
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The provided input is not valid. Try your request again.</p>
|
|
80
|
+
*
|
|
78
81
|
* @throws {@link LicenseManagerServiceException}
|
|
79
82
|
* <p>Base exception class for all service exceptions from LicenseManager service.</p>
|
|
80
83
|
*
|
|
@@ -88,6 +88,9 @@ declare const TagResourceCommand_base: {
|
|
|
88
88
|
* @throws {@link ServerInternalException} (server fault)
|
|
89
89
|
* <p>The server experienced an internal error. Try again.</p>
|
|
90
90
|
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The provided input is not valid. Try your request again.</p>
|
|
93
|
+
*
|
|
91
94
|
* @throws {@link LicenseManagerServiceException}
|
|
92
95
|
* <p>Base exception class for all service exceptions from LicenseManager service.</p>
|
|
93
96
|
*
|
|
@@ -70,6 +70,9 @@ declare const UntagResourceCommand_base: {
|
|
|
70
70
|
* @throws {@link ServerInternalException} (server fault)
|
|
71
71
|
* <p>The server experienced an internal error. Try again.</p>
|
|
72
72
|
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The provided input is not valid. Try your request again.</p>
|
|
75
|
+
*
|
|
73
76
|
* @throws {@link LicenseManagerServiceException}
|
|
74
77
|
* <p>Base exception class for all service exceptions from LicenseManager service.</p>
|
|
75
78
|
*
|