@aws-sdk/client-license-manager 3.935.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 +12 -12
@@ -1,4 +1,4 @@
1
- import { ActivationOverrideBehavior, AllowedOperation, CheckoutType, DigitalSignatureMethod, EntitlementDataUnit, EntitlementUnit, GrantStatus, InventoryFilterCondition, LicenseConfigurationStatus, LicenseConversionTaskStatus, LicenseCountingType, LicenseDeletionStatus, LicenseStatus, ProductCodeType, ReceivedStatus, RenewType, ReportFrequencyType, ReportType, ResourceType, TokenType } from "./enums";
1
+ import { ActivationOverrideBehavior, AllowedOperation, CheckoutType, DigitalSignatureMethod, EntitlementDataUnit, EntitlementUnit, GrantStatus, InventoryFilterCondition, LicenseAssetGroupStatus, LicenseConfigurationStatus, LicenseConversionTaskStatus, LicenseCountingType, LicenseDeletionStatus, LicenseStatus, ProductCodeType, ReceivedStatus, RenewType, ReportFrequencyType, ReportType, ResourceType, TokenType } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -29,6 +29,195 @@ export interface AcceptGrantResponse {
29
29
  */
30
30
  Version?: string | undefined;
31
31
  }
32
+ /**
33
+ * <p>Matching rule statement.</p>
34
+ * @public
35
+ */
36
+ export interface MatchingRuleStatement {
37
+ /**
38
+ * <p>Key to match.</p>
39
+ * <p>The following keys and are supported when the RuleStatement type
40
+ * is <code>Instance</code>:
41
+ * </p>
42
+ * <ul>
43
+ * <li>
44
+ * <p>
45
+ * <code>Platform</code> - The name of the platform.
46
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
47
+ * </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>EC2BillingProduct</code> - The billing product code.
52
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
53
+ * Possible values are: <code>windows-server-enterprise</code> |
54
+ * <code>windows-byol</code> |
55
+ * <code>rhel</code> |
56
+ * <code>rhel-byol</code> |
57
+ * <code>rhel-high-availability</code> |
58
+ * <code>ubuntu-pro</code> |
59
+ * <code>suse-linux</code> |
60
+ * <code>sql-server-standard</code> |
61
+ * <code>sql-server-enterprise</code>.
62
+ * </p>
63
+ * </li>
64
+ * <li>
65
+ * <p>
66
+ * <code>MarketPlaceProductCode</code> - The Marketplace product code.
67
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
68
+ * </p>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <code>AMIId</code> - The ID of the AMI.
73
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
74
+ * </p>
75
+ * </li>
76
+ * <li>
77
+ * <p>
78
+ * <code>InstanceType</code> - The instance type.
79
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
80
+ * </p>
81
+ * </li>
82
+ * <li>
83
+ * <p>
84
+ * <code>InstanceId</code> - The ID of the instance.
85
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
86
+ * </p>
87
+ * </li>
88
+ * <li>
89
+ * <p>
90
+ * <code>HostId</code> - The ID of the host.
91
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
92
+ * </p>
93
+ * </li>
94
+ * <li>
95
+ * <p>
96
+ * <code>AccountId</code> - The ID of the account.
97
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
98
+ * </p>
99
+ * </li>
100
+ * </ul>
101
+ * <p>The following keys and are supported when the RuleStatement type
102
+ * is <code>License</code>:
103
+ * </p>
104
+ * <ul>
105
+ * <li>
106
+ * <p>
107
+ * <code>LicenseArn</code> - The ARN of a Managed Entitlement License.
108
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
109
+ * </p>
110
+ * </li>
111
+ * <li>
112
+ * <p>
113
+ * <code>ProductSKU</code> - The productSKU of the license.
114
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
115
+ * </p>
116
+ * </li>
117
+ * <li>
118
+ * <p>
119
+ * <code>Issuer</code> - The issuer of the license.
120
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
121
+ * </p>
122
+ * </li>
123
+ * <li>
124
+ * <p>
125
+ * <code>Beneficiary</code> - The beneficiary of the license.
126
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
127
+ * </p>
128
+ * </li>
129
+ * <li>
130
+ * <p>
131
+ * <code>LicenseStatus</code> - The status of the license.
132
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
133
+ * </p>
134
+ * </li>
135
+ * <li>
136
+ * <p>
137
+ * <code>HomeRegion</code> - The home region of the license.
138
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
139
+ * </p>
140
+ * </li>
141
+ * </ul>
142
+ * <p>The following keys and are supported when the RuleStatement type
143
+ * is <code>License Configuration</code>:
144
+ * </p>
145
+ * <ul>
146
+ * <li>
147
+ * <p>
148
+ * <code>LicenseConfigurationArn</code> - The ARN of a self-managed license configuration.
149
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
150
+ * </p>
151
+ * </li>
152
+ * <li>
153
+ * <p>
154
+ * <code>AccountId</code> - The account of the license configuration.
155
+ * Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>.
156
+ * </p>
157
+ * </li>
158
+ * </ul>
159
+ * @public
160
+ */
161
+ KeyToMatch: string | undefined;
162
+ /**
163
+ * <p>Constraint.</p>
164
+ * @public
165
+ */
166
+ Constraint: string | undefined;
167
+ /**
168
+ * <p>Value to match.</p>
169
+ * @public
170
+ */
171
+ ValueToMatch: string[] | undefined;
172
+ }
173
+ /**
174
+ * <p>Rule statement that uses a script to evaluate license asset conditions.</p>
175
+ * @public
176
+ */
177
+ export interface ScriptRuleStatement {
178
+ /**
179
+ * <p>Key name to match against in the script rule evaluation.</p>
180
+ * @public
181
+ */
182
+ KeyToMatch: string | undefined;
183
+ /**
184
+ * <p>Script code used to evaluate the rule condition.</p>
185
+ * @public
186
+ */
187
+ Script: string | undefined;
188
+ }
189
+ /**
190
+ * <p>AND rule statement.</p>
191
+ * @public
192
+ */
193
+ export interface AndRuleStatement {
194
+ /**
195
+ * <p>Matching rule statements.</p>
196
+ * @public
197
+ */
198
+ MatchingRuleStatements?: MatchingRuleStatement[] | undefined;
199
+ /**
200
+ * <p>Script rule statements.</p>
201
+ * @public
202
+ */
203
+ ScriptRuleStatements?: ScriptRuleStatement[] | undefined;
204
+ }
205
+ /**
206
+ * <p>Asset.</p>
207
+ * @public
208
+ */
209
+ export interface Asset {
210
+ /**
211
+ * <p>Amazon Resource Name (ARN) of the asset.</p>
212
+ * @public
213
+ */
214
+ AssetArn?: string | undefined;
215
+ /**
216
+ * <p>Latest asset discovery time.</p>
217
+ * @public
218
+ */
219
+ LatestAssetDiscoveryTime?: Date | undefined;
220
+ }
32
221
  /**
33
222
  * <p>Describes automated discovery.</p>
34
223
  * @public
@@ -670,6 +859,244 @@ export interface CreateLicenseResponse {
670
859
  */
671
860
  Version?: string | undefined;
672
861
  }
862
+ /**
863
+ * <p>License asset group configuration.</p>
864
+ * @public
865
+ */
866
+ export interface LicenseAssetGroupConfiguration {
867
+ /**
868
+ * <p>License Asset Group Configuration Usage dimension.</p>
869
+ * @public
870
+ */
871
+ UsageDimension?: string | undefined;
872
+ }
873
+ /**
874
+ * <p>License asset group property.</p>
875
+ * @public
876
+ */
877
+ export interface LicenseAssetGroupProperty {
878
+ /**
879
+ * <p>Property key.</p>
880
+ * @public
881
+ */
882
+ Key: string | undefined;
883
+ /**
884
+ * <p>Property value.</p>
885
+ * @public
886
+ */
887
+ Value: string | undefined;
888
+ }
889
+ /**
890
+ * @public
891
+ */
892
+ export interface CreateLicenseAssetGroupRequest {
893
+ /**
894
+ * <p>License asset group name.</p>
895
+ * @public
896
+ */
897
+ Name: string | undefined;
898
+ /**
899
+ * <p>License asset group description.</p>
900
+ * @public
901
+ */
902
+ Description?: string | undefined;
903
+ /**
904
+ * <p>License asset group configurations.</p>
905
+ * @public
906
+ */
907
+ LicenseAssetGroupConfigurations: LicenseAssetGroupConfiguration[] | undefined;
908
+ /**
909
+ * <p>ARNs of associated license asset rulesets.</p>
910
+ * @public
911
+ */
912
+ AssociatedLicenseAssetRulesetARNs: string[] | undefined;
913
+ /**
914
+ * <p>License asset group properties.</p>
915
+ * @public
916
+ */
917
+ Properties?: LicenseAssetGroupProperty[] | undefined;
918
+ /**
919
+ * <p>Tags to add to the license asset group.</p>
920
+ * @public
921
+ */
922
+ Tags?: Tag[] | undefined;
923
+ /**
924
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
925
+ * @public
926
+ */
927
+ ClientToken: string | undefined;
928
+ }
929
+ /**
930
+ * @public
931
+ */
932
+ export interface CreateLicenseAssetGroupResponse {
933
+ /**
934
+ * <p>Amazon Resource Name (ARN) of the license asset group.</p>
935
+ * @public
936
+ */
937
+ LicenseAssetGroupArn: string | undefined;
938
+ /**
939
+ * <p>License asset group status.</p>
940
+ * @public
941
+ */
942
+ Status: string | undefined;
943
+ }
944
+ /**
945
+ * <p>OR rule statement.</p>
946
+ * @public
947
+ */
948
+ export interface OrRuleStatement {
949
+ /**
950
+ * <p>Matching rule statements.</p>
951
+ * @public
952
+ */
953
+ MatchingRuleStatements?: MatchingRuleStatement[] | undefined;
954
+ /**
955
+ * <p>Script rule statements.</p>
956
+ * @public
957
+ */
958
+ ScriptRuleStatements?: ScriptRuleStatement[] | undefined;
959
+ }
960
+ /**
961
+ * <p>Instance rule statement.</p>
962
+ * @public
963
+ */
964
+ export interface InstanceRuleStatement {
965
+ /**
966
+ * <p>AND rule statement.</p>
967
+ * @public
968
+ */
969
+ AndRuleStatement?: AndRuleStatement | undefined;
970
+ /**
971
+ * <p>OR rule statement.</p>
972
+ * @public
973
+ */
974
+ OrRuleStatement?: OrRuleStatement | undefined;
975
+ /**
976
+ * <p>Matching rule statement.</p>
977
+ * @public
978
+ */
979
+ MatchingRuleStatement?: MatchingRuleStatement | undefined;
980
+ /**
981
+ * <p>Script rule statement.</p>
982
+ * @public
983
+ */
984
+ ScriptRuleStatement?: ScriptRuleStatement | undefined;
985
+ }
986
+ /**
987
+ * <p>License configuration rule statement.</p>
988
+ * @public
989
+ */
990
+ export interface LicenseConfigurationRuleStatement {
991
+ /**
992
+ * <p>AND rule statement.</p>
993
+ * @public
994
+ */
995
+ AndRuleStatement?: AndRuleStatement | undefined;
996
+ /**
997
+ * <p>OR rule statement.</p>
998
+ * @public
999
+ */
1000
+ OrRuleStatement?: OrRuleStatement | undefined;
1001
+ /**
1002
+ * <p>Matching rule statement.</p>
1003
+ * @public
1004
+ */
1005
+ MatchingRuleStatement?: MatchingRuleStatement | undefined;
1006
+ }
1007
+ /**
1008
+ * <p>License rule statement.</p>
1009
+ * @public
1010
+ */
1011
+ export interface LicenseRuleStatement {
1012
+ /**
1013
+ * <p>AND rule statement.</p>
1014
+ * @public
1015
+ */
1016
+ AndRuleStatement?: AndRuleStatement | undefined;
1017
+ /**
1018
+ * <p>OR rule statement.</p>
1019
+ * @public
1020
+ */
1021
+ OrRuleStatement?: OrRuleStatement | undefined;
1022
+ /**
1023
+ * <p>Matching rule statement.</p>
1024
+ * @public
1025
+ */
1026
+ MatchingRuleStatement?: MatchingRuleStatement | undefined;
1027
+ }
1028
+ /**
1029
+ * <p>Rule statement.</p>
1030
+ * @public
1031
+ */
1032
+ export interface RuleStatement {
1033
+ /**
1034
+ * <p>License configuration rule statement.</p>
1035
+ * @public
1036
+ */
1037
+ LicenseConfigurationRuleStatement?: LicenseConfigurationRuleStatement | undefined;
1038
+ /**
1039
+ * <p>License rule statement.</p>
1040
+ * @public
1041
+ */
1042
+ LicenseRuleStatement?: LicenseRuleStatement | undefined;
1043
+ /**
1044
+ * <p>Instance rule statement.</p>
1045
+ * @public
1046
+ */
1047
+ InstanceRuleStatement?: InstanceRuleStatement | undefined;
1048
+ }
1049
+ /**
1050
+ * <p>License asset rule.</p>
1051
+ * @public
1052
+ */
1053
+ export interface LicenseAssetRule {
1054
+ /**
1055
+ * <p>Rule statement.</p>
1056
+ * @public
1057
+ */
1058
+ RuleStatement: RuleStatement | undefined;
1059
+ }
1060
+ /**
1061
+ * @public
1062
+ */
1063
+ export interface CreateLicenseAssetRulesetRequest {
1064
+ /**
1065
+ * <p>License asset ruleset name.</p>
1066
+ * @public
1067
+ */
1068
+ Name: string | undefined;
1069
+ /**
1070
+ * <p>License asset ruleset description.</p>
1071
+ * @public
1072
+ */
1073
+ Description?: string | undefined;
1074
+ /**
1075
+ * <p>License asset rules.</p>
1076
+ * @public
1077
+ */
1078
+ Rules: LicenseAssetRule[] | undefined;
1079
+ /**
1080
+ * <p>Tags to add to the license asset ruleset.</p>
1081
+ * @public
1082
+ */
1083
+ Tags?: Tag[] | undefined;
1084
+ /**
1085
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
1086
+ * @public
1087
+ */
1088
+ ClientToken: string | undefined;
1089
+ }
1090
+ /**
1091
+ * @public
1092
+ */
1093
+ export interface CreateLicenseAssetRulesetResponse {
1094
+ /**
1095
+ * <p>Amazon Resource Name (ARN) of the license asset ruleset.</p>
1096
+ * @public
1097
+ */
1098
+ LicenseAssetRulesetArn: string | undefined;
1099
+ }
673
1100
  /**
674
1101
  * <p>Describes product information filters.</p>
675
1102
  * @public
@@ -861,6 +1288,11 @@ export interface CreateLicenseConfigurationRequest {
861
1288
  * @public
862
1289
  */
863
1290
  ProductInformationList?: ProductInformation[] | undefined;
1291
+ /**
1292
+ * <p>License configuration expiry.</p>
1293
+ * @public
1294
+ */
1295
+ LicenseExpiry?: number | undefined;
864
1296
  }
865
1297
  /**
866
1298
  * @public
@@ -947,7 +1379,22 @@ export interface ReportContext {
947
1379
  * <p>Amazon Resource Name (ARN) of the license configuration that this generator reports on.</p>
948
1380
  * @public
949
1381
  */
950
- licenseConfigurationArns: string[] | undefined;
1382
+ licenseConfigurationArns?: string[] | undefined;
1383
+ /**
1384
+ * <p>Amazon Resource Names (ARNs) of the license asset groups to include in the report.</p>
1385
+ * @public
1386
+ */
1387
+ licenseAssetGroupArns?: string[] | undefined;
1388
+ /**
1389
+ * <p>Start date for the report data collection period.</p>
1390
+ * @public
1391
+ */
1392
+ reportStartDate?: Date | undefined;
1393
+ /**
1394
+ * <p>End date for the report data collection period.</p>
1395
+ * @public
1396
+ */
1397
+ reportEndDate?: Date | undefined;
951
1398
  }
952
1399
  /**
953
1400
  * <p>Details about how frequently reports are generated.</p>
@@ -1234,6 +1681,41 @@ export interface DeleteLicenseResponse {
1234
1681
  */
1235
1682
  DeletionDate?: string | undefined;
1236
1683
  }
1684
+ /**
1685
+ * @public
1686
+ */
1687
+ export interface DeleteLicenseAssetGroupRequest {
1688
+ /**
1689
+ * <p>Amazon Resource Name (ARN) of the license asset group.</p>
1690
+ * @public
1691
+ */
1692
+ LicenseAssetGroupArn: string | undefined;
1693
+ }
1694
+ /**
1695
+ * @public
1696
+ */
1697
+ export interface DeleteLicenseAssetGroupResponse {
1698
+ /**
1699
+ * <p>License asset group status.</p>
1700
+ * @public
1701
+ */
1702
+ Status: LicenseAssetGroupStatus | undefined;
1703
+ }
1704
+ /**
1705
+ * @public
1706
+ */
1707
+ export interface DeleteLicenseAssetRulesetRequest {
1708
+ /**
1709
+ * <p>Amazon Resource Name (ARN) of the license asset ruleset.</p>
1710
+ * @public
1711
+ */
1712
+ LicenseAssetRulesetArn: string | undefined;
1713
+ }
1714
+ /**
1715
+ * @public
1716
+ */
1717
+ export interface DeleteLicenseAssetRulesetResponse {
1718
+ }
1237
1719
  /**
1238
1720
  * @public
1239
1721
  */
@@ -1543,6 +2025,128 @@ export interface GetLicenseResponse {
1543
2025
  */
1544
2026
  License?: License | undefined;
1545
2027
  }
2028
+ /**
2029
+ * @public
2030
+ */
2031
+ export interface GetLicenseAssetGroupRequest {
2032
+ /**
2033
+ * <p>Amazon Resource Name (ARN) of the license asset group.</p>
2034
+ * @public
2035
+ */
2036
+ LicenseAssetGroupArn: string | undefined;
2037
+ }
2038
+ /**
2039
+ * <p>License asset group.</p>
2040
+ * @public
2041
+ */
2042
+ export interface LicenseAssetGroup {
2043
+ /**
2044
+ * <p>License asset group name.</p>
2045
+ * @public
2046
+ */
2047
+ Name: string | undefined;
2048
+ /**
2049
+ * <p>License asset group description.</p>
2050
+ * @public
2051
+ */
2052
+ Description?: string | undefined;
2053
+ /**
2054
+ * <p>License asset group configurations.</p>
2055
+ * @public
2056
+ */
2057
+ LicenseAssetGroupConfigurations?: LicenseAssetGroupConfiguration[] | undefined;
2058
+ /**
2059
+ * <p>ARNs of associated license asset rulesets.</p>
2060
+ * @public
2061
+ */
2062
+ AssociatedLicenseAssetRulesetARNs: string[] | undefined;
2063
+ /**
2064
+ * <p>License asset group properties.</p>
2065
+ * @public
2066
+ */
2067
+ Properties?: LicenseAssetGroupProperty[] | undefined;
2068
+ /**
2069
+ * <p>Amazon Resource Name (ARN) of the license asset group.</p>
2070
+ * @public
2071
+ */
2072
+ LicenseAssetGroupArn: string | undefined;
2073
+ /**
2074
+ * <p>License asset group status.</p>
2075
+ * @public
2076
+ */
2077
+ Status: LicenseAssetGroupStatus | undefined;
2078
+ /**
2079
+ * <p>License asset group status message.</p>
2080
+ * @public
2081
+ */
2082
+ StatusMessage?: string | undefined;
2083
+ /**
2084
+ * <p>Latest usage analysis time.</p>
2085
+ * @public
2086
+ */
2087
+ LatestUsageAnalysisTime?: Date | undefined;
2088
+ /**
2089
+ * <p>Latest resource discovery time.</p>
2090
+ * @public
2091
+ */
2092
+ LatestResourceDiscoveryTime?: Date | undefined;
2093
+ }
2094
+ /**
2095
+ * @public
2096
+ */
2097
+ export interface GetLicenseAssetGroupResponse {
2098
+ /**
2099
+ * <p>License asset group.</p>
2100
+ * @public
2101
+ */
2102
+ LicenseAssetGroup: LicenseAssetGroup | undefined;
2103
+ }
2104
+ /**
2105
+ * @public
2106
+ */
2107
+ export interface GetLicenseAssetRulesetRequest {
2108
+ /**
2109
+ * <p>Amazon Resource Name (ARN) of the license asset ruleset.</p>
2110
+ * @public
2111
+ */
2112
+ LicenseAssetRulesetArn: string | undefined;
2113
+ }
2114
+ /**
2115
+ * <p>License asset ruleset.</p>
2116
+ * @public
2117
+ */
2118
+ export interface LicenseAssetRuleset {
2119
+ /**
2120
+ * <p>License asset ruleset name.</p>
2121
+ * @public
2122
+ */
2123
+ Name: string | undefined;
2124
+ /**
2125
+ * <p>License asset ruleset description.</p>
2126
+ * @public
2127
+ */
2128
+ Description?: string | undefined;
2129
+ /**
2130
+ * <p>License asset rules.</p>
2131
+ * @public
2132
+ */
2133
+ Rules: LicenseAssetRule[] | undefined;
2134
+ /**
2135
+ * <p>Amazon Resource Name (ARN) of the license asset ruleset.</p>
2136
+ * @public
2137
+ */
2138
+ LicenseAssetRulesetArn: string | undefined;
2139
+ }
2140
+ /**
2141
+ * @public
2142
+ */
2143
+ export interface GetLicenseAssetRulesetResponse {
2144
+ /**
2145
+ * <p>License asset ruleset.</p>
2146
+ * @public
2147
+ */
2148
+ LicenseAssetRuleset: LicenseAssetRuleset | undefined;
2149
+ }
1546
2150
  /**
1547
2151
  * @public
1548
2152
  */
@@ -1674,6 +2278,11 @@ export interface GetLicenseConfigurationResponse {
1674
2278
  * @public
1675
2279
  */
1676
2280
  DisassociateWhenNotFound?: boolean | undefined;
2281
+ /**
2282
+ * <p>License Expiry.</p>
2283
+ * @public
2284
+ */
2285
+ LicenseExpiry?: number | undefined;
1677
2286
  }
1678
2287
  /**
1679
2288
  * @public
@@ -1910,10 +2519,59 @@ export interface GetServiceSettingsRequest {
1910
2519
  */
1911
2520
  export interface OrganizationConfiguration {
1912
2521
  /**
1913
- * <p>Enables Organizations integration.</p>
2522
+ * <p>Enables Organizations integration.</p>
2523
+ * @public
2524
+ */
2525
+ EnableIntegration: boolean | undefined;
2526
+ }
2527
+ /**
2528
+ * <p>Status information for cross-account discovery service.</p>
2529
+ * @public
2530
+ */
2531
+ export interface CrossAccountDiscoveryServiceStatus {
2532
+ /**
2533
+ * <p>Status message for cross-account discovery service.</p>
2534
+ * @public
2535
+ */
2536
+ Message?: string | undefined;
2537
+ }
2538
+ /**
2539
+ * <p>Status information for a specific region.</p>
2540
+ * @public
2541
+ */
2542
+ export interface RegionStatus {
2543
+ /**
2544
+ * <p>Status value for the region.</p>
2545
+ * @public
2546
+ */
2547
+ Status?: string | undefined;
2548
+ }
2549
+ /**
2550
+ * <p>Status information for cross-region discovery.</p>
2551
+ * @public
2552
+ */
2553
+ export interface CrossRegionDiscoveryStatus {
2554
+ /**
2555
+ * <p>Map of region status messages for cross-region discovery.</p>
2556
+ * @public
2557
+ */
2558
+ Message?: Record<string, RegionStatus> | undefined;
2559
+ }
2560
+ /**
2561
+ * <p>Overall service status information for License Manager.</p>
2562
+ * @public
2563
+ */
2564
+ export interface ServiceStatus {
2565
+ /**
2566
+ * <p>Status of cross-account discovery service.</p>
1914
2567
  * @public
1915
2568
  */
1916
- EnableIntegration: boolean | undefined;
2569
+ CrossAccountDiscovery?: CrossAccountDiscoveryServiceStatus | undefined;
2570
+ /**
2571
+ * <p>Status of cross-region discovery service.</p>
2572
+ * @public
2573
+ */
2574
+ CrossRegionDiscovery?: CrossRegionDiscoveryStatus | undefined;
1917
2575
  }
1918
2576
  /**
1919
2577
  * @public
@@ -1947,6 +2605,61 @@ export interface GetServiceSettingsResponse {
1947
2605
  * @public
1948
2606
  */
1949
2607
  LicenseManagerResourceShareArn?: string | undefined;
2608
+ /**
2609
+ * <p>Cross region discovery home region.</p>
2610
+ * @public
2611
+ */
2612
+ CrossRegionDiscoveryHomeRegion?: string | undefined;
2613
+ /**
2614
+ * <p>Cross region discovery source regions.</p>
2615
+ * @public
2616
+ */
2617
+ CrossRegionDiscoverySourceRegions?: string[] | undefined;
2618
+ /**
2619
+ * <p>Service status.</p>
2620
+ * @public
2621
+ */
2622
+ ServiceStatus?: ServiceStatus | undefined;
2623
+ }
2624
+ /**
2625
+ * @public
2626
+ */
2627
+ export interface ListAssetsForLicenseAssetGroupRequest {
2628
+ /**
2629
+ * <p>Amazon Resource Name (ARN) of the license asset group.</p>
2630
+ * @public
2631
+ */
2632
+ LicenseAssetGroupArn: string | undefined;
2633
+ /**
2634
+ * <p>Asset type. The possible values are <code>Instance</code> | <code>License</code> | <code>LicenseConfiguration</code>.</p>
2635
+ * @public
2636
+ */
2637
+ AssetType: string | undefined;
2638
+ /**
2639
+ * <p>Maximum number of results to return in a single call.</p>
2640
+ * @public
2641
+ */
2642
+ MaxResults?: number | undefined;
2643
+ /**
2644
+ * <p>Token for the next set of results.</p>
2645
+ * @public
2646
+ */
2647
+ NextToken?: string | undefined;
2648
+ }
2649
+ /**
2650
+ * @public
2651
+ */
2652
+ export interface ListAssetsForLicenseAssetGroupResponse {
2653
+ /**
2654
+ * <p>Assets.</p>
2655
+ * @public
2656
+ */
2657
+ Assets?: Asset[] | undefined;
2658
+ /**
2659
+ * <p>Token for the next set of results.</p>
2660
+ * @public
2661
+ */
2662
+ NextToken?: string | undefined;
1950
2663
  }
1951
2664
  /**
1952
2665
  * @public
@@ -2180,6 +2893,95 @@ export interface ListFailuresForLicenseConfigurationOperationsResponse {
2180
2893
  */
2181
2894
  NextToken?: string | undefined;
2182
2895
  }
2896
+ /**
2897
+ * @public
2898
+ */
2899
+ export interface ListLicenseAssetGroupsRequest {
2900
+ /**
2901
+ * <p>Filters to scope the results. Following filters are supported</p>
2902
+ * <ul>
2903
+ * <li>
2904
+ * <p>
2905
+ * <code>LicenseAssetRulesetArn</code>
2906
+ * </p>
2907
+ * </li>
2908
+ * </ul>
2909
+ * @public
2910
+ */
2911
+ Filters?: Filter[] | undefined;
2912
+ /**
2913
+ * <p>Maximum number of results to return in a single call.</p>
2914
+ * @public
2915
+ */
2916
+ MaxResults?: number | undefined;
2917
+ /**
2918
+ * <p>Token for the next set of results.</p>
2919
+ * @public
2920
+ */
2921
+ NextToken?: string | undefined;
2922
+ }
2923
+ /**
2924
+ * @public
2925
+ */
2926
+ export interface ListLicenseAssetGroupsResponse {
2927
+ /**
2928
+ * <p>License asset groups.</p>
2929
+ * @public
2930
+ */
2931
+ LicenseAssetGroups?: LicenseAssetGroup[] | undefined;
2932
+ /**
2933
+ * <p>Token for the next set of results.</p>
2934
+ * @public
2935
+ */
2936
+ NextToken?: string | undefined;
2937
+ }
2938
+ /**
2939
+ * @public
2940
+ */
2941
+ export interface ListLicenseAssetRulesetsRequest {
2942
+ /**
2943
+ * <p>Filters to scope the results. Following filters are supported</p>
2944
+ * <ul>
2945
+ * <li>
2946
+ * <p>
2947
+ * <code>Name</code>
2948
+ * </p>
2949
+ * </li>
2950
+ * </ul>
2951
+ * @public
2952
+ */
2953
+ Filters?: Filter[] | undefined;
2954
+ /**
2955
+ * <p>Specifies whether to show License Manager managed license asset rulesets.</p>
2956
+ * @public
2957
+ */
2958
+ ShowAWSManagedLicenseAssetRulesets?: boolean | undefined;
2959
+ /**
2960
+ * <p>Maximum number of results to return in a single call.</p>
2961
+ * @public
2962
+ */
2963
+ MaxResults?: number | undefined;
2964
+ /**
2965
+ * <p>Token for the next set of results.</p>
2966
+ * @public
2967
+ */
2968
+ NextToken?: string | undefined;
2969
+ }
2970
+ /**
2971
+ * @public
2972
+ */
2973
+ export interface ListLicenseAssetRulesetsResponse {
2974
+ /**
2975
+ * <p>License asset rulesets.</p>
2976
+ * @public
2977
+ */
2978
+ LicenseAssetRulesets?: LicenseAssetRuleset[] | undefined;
2979
+ /**
2980
+ * <p>Token for the next set of results.</p>
2981
+ * @public
2982
+ */
2983
+ NextToken?: string | undefined;
2984
+ }
2183
2985
  /**
2184
2986
  * @public
2185
2987
  */
@@ -2310,6 +3112,11 @@ export interface LicenseConfiguration {
2310
3112
  * @public
2311
3113
  */
2312
3114
  AutomatedDiscoveryInformation?: AutomatedDiscoveryInformation | undefined;
3115
+ /**
3116
+ * <p>License configuration expiry time in Unix timestamp format.</p>
3117
+ * @public
3118
+ */
3119
+ LicenseExpiry?: number | undefined;
2313
3120
  }
2314
3121
  /**
2315
3122
  * @public
@@ -2326,6 +3133,46 @@ export interface ListLicenseConfigurationsResponse {
2326
3133
  */
2327
3134
  NextToken?: string | undefined;
2328
3135
  }
3136
+ /**
3137
+ * @public
3138
+ */
3139
+ export interface ListLicenseConfigurationsForOrganizationRequest {
3140
+ /**
3141
+ * <p>License configuration ARNs.</p>
3142
+ * @public
3143
+ */
3144
+ LicenseConfigurationArns?: string[] | undefined;
3145
+ /**
3146
+ * <p>Maximum number of results to return in a single call.</p>
3147
+ * @public
3148
+ */
3149
+ MaxResults?: number | undefined;
3150
+ /**
3151
+ * <p>Token for the next set of results.</p>
3152
+ * @public
3153
+ */
3154
+ NextToken?: string | undefined;
3155
+ /**
3156
+ * <p>Filters to scope the results.</p>
3157
+ * @public
3158
+ */
3159
+ Filters?: Filter[] | undefined;
3160
+ }
3161
+ /**
3162
+ * @public
3163
+ */
3164
+ export interface ListLicenseConfigurationsForOrganizationResponse {
3165
+ /**
3166
+ * <p>License configurations.</p>
3167
+ * @public
3168
+ */
3169
+ LicenseConfigurations?: LicenseConfiguration[] | undefined;
3170
+ /**
3171
+ * <p>Token for the next set of results.</p>
3172
+ * @public
3173
+ */
3174
+ NextToken?: string | undefined;
3175
+ }
2329
3176
  /**
2330
3177
  * @public
2331
3178
  */
@@ -3054,6 +3901,36 @@ export interface ResourceInventory {
3054
3901
  * @public
3055
3902
  */
3056
3903
  ResourceOwningAccountId?: string | undefined;
3904
+ /**
3905
+ * <p>List of Marketplace product codes associated with the resource.</p>
3906
+ * @public
3907
+ */
3908
+ MarketplaceProductCodes?: string[] | undefined;
3909
+ /**
3910
+ * <p>Usage operation value that corresponds to the license type for billing purposes.</p>
3911
+ * @public
3912
+ */
3913
+ UsageOperation?: string | undefined;
3914
+ /**
3915
+ * <p>Amazon Machine Image (AMI) ID associated with the resource.</p>
3916
+ * @public
3917
+ */
3918
+ AmiId?: string | undefined;
3919
+ /**
3920
+ * <p>Dedicated Host ID where the resource is running.</p>
3921
+ * @public
3922
+ */
3923
+ HostId?: string | undefined;
3924
+ /**
3925
+ * <p>Region where the resource is located.</p>
3926
+ * @public
3927
+ */
3928
+ Region?: string | undefined;
3929
+ /**
3930
+ * <p>EC2 instance type of the resource.</p>
3931
+ * @public
3932
+ */
3933
+ InstanceType?: string | undefined;
3057
3934
  }
3058
3935
  /**
3059
3936
  * @public
@@ -3363,6 +4240,106 @@ export interface UntagResourceRequest {
3363
4240
  */
3364
4241
  export interface UntagResourceResponse {
3365
4242
  }
4243
+ /**
4244
+ * @public
4245
+ */
4246
+ export interface UpdateLicenseAssetGroupRequest {
4247
+ /**
4248
+ * <p>License asset group name.</p>
4249
+ * @public
4250
+ */
4251
+ Name?: string | undefined;
4252
+ /**
4253
+ * <p>License asset group description.</p>
4254
+ * @public
4255
+ */
4256
+ Description?: string | undefined;
4257
+ /**
4258
+ * <p>License asset group configurations.</p>
4259
+ * @public
4260
+ */
4261
+ LicenseAssetGroupConfigurations?: LicenseAssetGroupConfiguration[] | undefined;
4262
+ /**
4263
+ * <p>ARNs of associated license asset rulesets.</p>
4264
+ * @public
4265
+ */
4266
+ AssociatedLicenseAssetRulesetARNs: string[] | undefined;
4267
+ /**
4268
+ * <p>License asset group properties.</p>
4269
+ * @public
4270
+ */
4271
+ Properties?: LicenseAssetGroupProperty[] | undefined;
4272
+ /**
4273
+ * <p>Amazon Resource Name (ARN) of the license asset group.</p>
4274
+ * @public
4275
+ */
4276
+ LicenseAssetGroupArn: string | undefined;
4277
+ /**
4278
+ * <p>License asset group status. The possible values are <code>ACTIVE</code> | <code>DISABLED</code>.</p>
4279
+ * @public
4280
+ */
4281
+ Status?: LicenseAssetGroupStatus | undefined;
4282
+ /**
4283
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
4284
+ * @public
4285
+ */
4286
+ ClientToken: string | undefined;
4287
+ }
4288
+ /**
4289
+ * @public
4290
+ */
4291
+ export interface UpdateLicenseAssetGroupResponse {
4292
+ /**
4293
+ * <p>Amazon Resource Name (ARN) of the license asset group.</p>
4294
+ * @public
4295
+ */
4296
+ LicenseAssetGroupArn: string | undefined;
4297
+ /**
4298
+ * <p>License asset group status.</p>
4299
+ * @public
4300
+ */
4301
+ Status: string | undefined;
4302
+ }
4303
+ /**
4304
+ * @public
4305
+ */
4306
+ export interface UpdateLicenseAssetRulesetRequest {
4307
+ /**
4308
+ * <p>License asset ruleset name.</p>
4309
+ * @public
4310
+ */
4311
+ Name?: string | undefined;
4312
+ /**
4313
+ * <p>License asset ruleset description.</p>
4314
+ * @public
4315
+ */
4316
+ Description?: string | undefined;
4317
+ /**
4318
+ * <p>License asset rules.</p>
4319
+ * @public
4320
+ */
4321
+ Rules: LicenseAssetRule[] | undefined;
4322
+ /**
4323
+ * <p>Amazon Resource Name (ARN) of the license asset ruleset.</p>
4324
+ * @public
4325
+ */
4326
+ LicenseAssetRulesetArn: string | undefined;
4327
+ /**
4328
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
4329
+ * @public
4330
+ */
4331
+ ClientToken: string | undefined;
4332
+ }
4333
+ /**
4334
+ * @public
4335
+ */
4336
+ export interface UpdateLicenseAssetRulesetResponse {
4337
+ /**
4338
+ * <p>Amazon Resource Name (ARN) of the license asset ruleset.</p>
4339
+ * @public
4340
+ */
4341
+ LicenseAssetRulesetArn: string | undefined;
4342
+ }
3366
4343
  /**
3367
4344
  * @public
3368
4345
  */
@@ -3413,6 +4390,11 @@ export interface UpdateLicenseConfigurationRequest {
3413
4390
  * @public
3414
4391
  */
3415
4392
  DisassociateWhenNotFound?: boolean | undefined;
4393
+ /**
4394
+ * <p>License configuration expiry time.</p>
4395
+ * @public
4396
+ */
4397
+ LicenseExpiry?: number | undefined;
3416
4398
  }
3417
4399
  /**
3418
4400
  * @public
@@ -3521,6 +4503,11 @@ export interface UpdateServiceSettingsRequest {
3521
4503
  * @public
3522
4504
  */
3523
4505
  EnableCrossAccountsDiscovery?: boolean | undefined;
4506
+ /**
4507
+ * <p>Cross region discovery enabled source regions.</p>
4508
+ * @public
4509
+ */
4510
+ EnabledDiscoverySourceRegions?: string[] | undefined;
3524
4511
  }
3525
4512
  /**
3526
4513
  * @public