aws-sdk-licensemanager 1.82.0 → 1.83.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.
@@ -989,6 +989,245 @@ module Aws::LicenseManager
989
989
  req.send_request(options)
990
990
  end
991
991
 
992
+ # Creates a license asset group.
993
+ #
994
+ # @option params [required, String] :name
995
+ # License asset group name.
996
+ #
997
+ # @option params [String] :description
998
+ # License asset group description.
999
+ #
1000
+ # @option params [required, Array<Types::LicenseAssetGroupConfiguration>] :license_asset_group_configurations
1001
+ # License asset group configurations.
1002
+ #
1003
+ # @option params [required, Array<String>] :associated_license_asset_ruleset_arns
1004
+ # ARNs of associated license asset rulesets.
1005
+ #
1006
+ # @option params [Array<Types::LicenseAssetGroupProperty>] :properties
1007
+ # License asset group properties.
1008
+ #
1009
+ # @option params [Array<Types::Tag>] :tags
1010
+ # Tags to add to the license asset group.
1011
+ #
1012
+ # @option params [required, String] :client_token
1013
+ # Unique, case-sensitive identifier that you provide to ensure the
1014
+ # idempotency of the request.
1015
+ #
1016
+ # @return [Types::CreateLicenseAssetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1017
+ #
1018
+ # * {Types::CreateLicenseAssetGroupResponse#license_asset_group_arn #license_asset_group_arn} => String
1019
+ # * {Types::CreateLicenseAssetGroupResponse#status #status} => String
1020
+ #
1021
+ # @example Request syntax with placeholder values
1022
+ #
1023
+ # resp = client.create_license_asset_group({
1024
+ # name: "LicenseAssetResourceName", # required
1025
+ # description: "LicenseAssetResourceDescription",
1026
+ # license_asset_group_configurations: [ # required
1027
+ # {
1028
+ # usage_dimension: "String",
1029
+ # },
1030
+ # ],
1031
+ # associated_license_asset_ruleset_arns: ["Arn"], # required
1032
+ # properties: [
1033
+ # {
1034
+ # key: "String", # required
1035
+ # value: "String", # required
1036
+ # },
1037
+ # ],
1038
+ # tags: [
1039
+ # {
1040
+ # key: "String",
1041
+ # value: "String",
1042
+ # },
1043
+ # ],
1044
+ # client_token: "String", # required
1045
+ # })
1046
+ #
1047
+ # @example Response structure
1048
+ #
1049
+ # resp.license_asset_group_arn #=> String
1050
+ # resp.status #=> String
1051
+ #
1052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseAssetGroup AWS API Documentation
1053
+ #
1054
+ # @overload create_license_asset_group(params = {})
1055
+ # @param [Hash] params ({})
1056
+ def create_license_asset_group(params = {}, options = {})
1057
+ req = build_request(:create_license_asset_group, params)
1058
+ req.send_request(options)
1059
+ end
1060
+
1061
+ # Creates a license asset ruleset.
1062
+ #
1063
+ # @option params [required, String] :name
1064
+ # License asset ruleset name.
1065
+ #
1066
+ # @option params [String] :description
1067
+ # License asset ruleset description.
1068
+ #
1069
+ # @option params [required, Array<Types::LicenseAssetRule>] :rules
1070
+ # License asset rules.
1071
+ #
1072
+ # @option params [Array<Types::Tag>] :tags
1073
+ # Tags to add to the license asset ruleset.
1074
+ #
1075
+ # @option params [required, String] :client_token
1076
+ # Unique, case-sensitive identifier that you provide to ensure the
1077
+ # idempotency of the request.
1078
+ #
1079
+ # @return [Types::CreateLicenseAssetRulesetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1080
+ #
1081
+ # * {Types::CreateLicenseAssetRulesetResponse#license_asset_ruleset_arn #license_asset_ruleset_arn} => String
1082
+ #
1083
+ # @example Request syntax with placeholder values
1084
+ #
1085
+ # resp = client.create_license_asset_ruleset({
1086
+ # name: "LicenseAssetResourceName", # required
1087
+ # description: "LicenseAssetResourceDescription",
1088
+ # rules: [ # required
1089
+ # {
1090
+ # rule_statement: { # required
1091
+ # license_configuration_rule_statement: {
1092
+ # and_rule_statement: {
1093
+ # matching_rule_statements: [
1094
+ # {
1095
+ # key_to_match: "String", # required
1096
+ # constraint: "String", # required
1097
+ # value_to_match: ["String"], # required
1098
+ # },
1099
+ # ],
1100
+ # script_rule_statements: [
1101
+ # {
1102
+ # key_to_match: "String", # required
1103
+ # script: "String", # required
1104
+ # },
1105
+ # ],
1106
+ # },
1107
+ # or_rule_statement: {
1108
+ # matching_rule_statements: [
1109
+ # {
1110
+ # key_to_match: "String", # required
1111
+ # constraint: "String", # required
1112
+ # value_to_match: ["String"], # required
1113
+ # },
1114
+ # ],
1115
+ # script_rule_statements: [
1116
+ # {
1117
+ # key_to_match: "String", # required
1118
+ # script: "String", # required
1119
+ # },
1120
+ # ],
1121
+ # },
1122
+ # matching_rule_statement: {
1123
+ # key_to_match: "String", # required
1124
+ # constraint: "String", # required
1125
+ # value_to_match: ["String"], # required
1126
+ # },
1127
+ # },
1128
+ # license_rule_statement: {
1129
+ # and_rule_statement: {
1130
+ # matching_rule_statements: [
1131
+ # {
1132
+ # key_to_match: "String", # required
1133
+ # constraint: "String", # required
1134
+ # value_to_match: ["String"], # required
1135
+ # },
1136
+ # ],
1137
+ # script_rule_statements: [
1138
+ # {
1139
+ # key_to_match: "String", # required
1140
+ # script: "String", # required
1141
+ # },
1142
+ # ],
1143
+ # },
1144
+ # or_rule_statement: {
1145
+ # matching_rule_statements: [
1146
+ # {
1147
+ # key_to_match: "String", # required
1148
+ # constraint: "String", # required
1149
+ # value_to_match: ["String"], # required
1150
+ # },
1151
+ # ],
1152
+ # script_rule_statements: [
1153
+ # {
1154
+ # key_to_match: "String", # required
1155
+ # script: "String", # required
1156
+ # },
1157
+ # ],
1158
+ # },
1159
+ # matching_rule_statement: {
1160
+ # key_to_match: "String", # required
1161
+ # constraint: "String", # required
1162
+ # value_to_match: ["String"], # required
1163
+ # },
1164
+ # },
1165
+ # instance_rule_statement: {
1166
+ # and_rule_statement: {
1167
+ # matching_rule_statements: [
1168
+ # {
1169
+ # key_to_match: "String", # required
1170
+ # constraint: "String", # required
1171
+ # value_to_match: ["String"], # required
1172
+ # },
1173
+ # ],
1174
+ # script_rule_statements: [
1175
+ # {
1176
+ # key_to_match: "String", # required
1177
+ # script: "String", # required
1178
+ # },
1179
+ # ],
1180
+ # },
1181
+ # or_rule_statement: {
1182
+ # matching_rule_statements: [
1183
+ # {
1184
+ # key_to_match: "String", # required
1185
+ # constraint: "String", # required
1186
+ # value_to_match: ["String"], # required
1187
+ # },
1188
+ # ],
1189
+ # script_rule_statements: [
1190
+ # {
1191
+ # key_to_match: "String", # required
1192
+ # script: "String", # required
1193
+ # },
1194
+ # ],
1195
+ # },
1196
+ # matching_rule_statement: {
1197
+ # key_to_match: "String", # required
1198
+ # constraint: "String", # required
1199
+ # value_to_match: ["String"], # required
1200
+ # },
1201
+ # script_rule_statement: {
1202
+ # key_to_match: "String", # required
1203
+ # script: "String", # required
1204
+ # },
1205
+ # },
1206
+ # },
1207
+ # },
1208
+ # ],
1209
+ # tags: [
1210
+ # {
1211
+ # key: "String",
1212
+ # value: "String",
1213
+ # },
1214
+ # ],
1215
+ # client_token: "String", # required
1216
+ # })
1217
+ #
1218
+ # @example Response structure
1219
+ #
1220
+ # resp.license_asset_ruleset_arn #=> String
1221
+ #
1222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseAssetRuleset AWS API Documentation
1223
+ #
1224
+ # @overload create_license_asset_ruleset(params = {})
1225
+ # @param [Hash] params ({})
1226
+ def create_license_asset_ruleset(params = {}, options = {})
1227
+ req = build_request(:create_license_asset_ruleset, params)
1228
+ req.send_request(options)
1229
+ end
1230
+
992
1231
  # Creates a license configuration.
993
1232
  #
994
1233
  # A license configuration is an abstraction of a customer license
@@ -1046,6 +1285,9 @@ module Aws::LicenseManager
1046
1285
  # @option params [Array<Types::ProductInformation>] :product_information_list
1047
1286
  # Product information.
1048
1287
  #
1288
+ # @option params [Integer] :license_expiry
1289
+ # License configuration expiry.
1290
+ #
1049
1291
  # @return [Types::CreateLicenseConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1050
1292
  #
1051
1293
  # * {Types::CreateLicenseConfigurationResponse#license_configuration_arn #license_configuration_arn} => String
@@ -1078,6 +1320,7 @@ module Aws::LicenseManager
1078
1320
  # ],
1079
1321
  # },
1080
1322
  # ],
1323
+ # license_expiry: 1,
1081
1324
  # })
1082
1325
  #
1083
1326
  # @example Response structure
@@ -1198,13 +1441,16 @@ module Aws::LicenseManager
1198
1441
  #
1199
1442
  # resp = client.create_license_manager_report_generator({
1200
1443
  # report_generator_name: "ReportGeneratorName", # required
1201
- # type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
1444
+ # type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport, LicenseAssetGroupUsageReport
1202
1445
  # report_context: { # required
1203
- # license_configuration_arns: ["Arn"], # required
1446
+ # license_configuration_arns: ["Arn"],
1447
+ # license_asset_group_arns: ["Arn"],
1448
+ # report_start_date: Time.now,
1449
+ # report_end_date: Time.now,
1204
1450
  # },
1205
1451
  # report_frequency: { # required
1206
1452
  # value: 1,
1207
- # period: "DAY", # accepts DAY, WEEK, MONTH
1453
+ # period: "DAY", # accepts DAY, WEEK, MONTH, ONE_TIME
1208
1454
  # },
1209
1455
  # client_token: "ClientRequestToken", # required
1210
1456
  # description: "String",
@@ -1469,6 +1715,56 @@ module Aws::LicenseManager
1469
1715
  req.send_request(options)
1470
1716
  end
1471
1717
 
1718
+ # Deletes a license asset group.
1719
+ #
1720
+ # @option params [required, String] :license_asset_group_arn
1721
+ # Amazon Resource Name (ARN) of the license asset group.
1722
+ #
1723
+ # @return [Types::DeleteLicenseAssetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1724
+ #
1725
+ # * {Types::DeleteLicenseAssetGroupResponse#status #status} => String
1726
+ #
1727
+ # @example Request syntax with placeholder values
1728
+ #
1729
+ # resp = client.delete_license_asset_group({
1730
+ # license_asset_group_arn: "Arn", # required
1731
+ # })
1732
+ #
1733
+ # @example Response structure
1734
+ #
1735
+ # resp.status #=> String, one of "ACTIVE", "DISABLED", "DELETED"
1736
+ #
1737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseAssetGroup AWS API Documentation
1738
+ #
1739
+ # @overload delete_license_asset_group(params = {})
1740
+ # @param [Hash] params ({})
1741
+ def delete_license_asset_group(params = {}, options = {})
1742
+ req = build_request(:delete_license_asset_group, params)
1743
+ req.send_request(options)
1744
+ end
1745
+
1746
+ # Deletes a license asset ruleset.
1747
+ #
1748
+ # @option params [required, String] :license_asset_ruleset_arn
1749
+ # Amazon Resource Name (ARN) of the license asset ruleset.
1750
+ #
1751
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1752
+ #
1753
+ # @example Request syntax with placeholder values
1754
+ #
1755
+ # resp = client.delete_license_asset_ruleset({
1756
+ # license_asset_ruleset_arn: "Arn", # required
1757
+ # })
1758
+ #
1759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseAssetRuleset AWS API Documentation
1760
+ #
1761
+ # @overload delete_license_asset_ruleset(params = {})
1762
+ # @param [Hash] params ({})
1763
+ def delete_license_asset_ruleset(params = {}, options = {})
1764
+ req = build_request(:delete_license_asset_ruleset, params)
1765
+ req.send_request(options)
1766
+ end
1767
+
1472
1768
  # Deletes the specified license configuration.
1473
1769
  #
1474
1770
  # You cannot delete a license configuration that is in use.
@@ -1713,6 +2009,140 @@ module Aws::LicenseManager
1713
2009
  req.send_request(options)
1714
2010
  end
1715
2011
 
2012
+ # Gets a license asset group.
2013
+ #
2014
+ # @option params [required, String] :license_asset_group_arn
2015
+ # Amazon Resource Name (ARN) of the license asset group.
2016
+ #
2017
+ # @return [Types::GetLicenseAssetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2018
+ #
2019
+ # * {Types::GetLicenseAssetGroupResponse#license_asset_group #license_asset_group} => Types::LicenseAssetGroup
2020
+ #
2021
+ # @example Request syntax with placeholder values
2022
+ #
2023
+ # resp = client.get_license_asset_group({
2024
+ # license_asset_group_arn: "Arn", # required
2025
+ # })
2026
+ #
2027
+ # @example Response structure
2028
+ #
2029
+ # resp.license_asset_group.name #=> String
2030
+ # resp.license_asset_group.description #=> String
2031
+ # resp.license_asset_group.license_asset_group_configurations #=> Array
2032
+ # resp.license_asset_group.license_asset_group_configurations[0].usage_dimension #=> String
2033
+ # resp.license_asset_group.associated_license_asset_ruleset_arns #=> Array
2034
+ # resp.license_asset_group.associated_license_asset_ruleset_arns[0] #=> String
2035
+ # resp.license_asset_group.properties #=> Array
2036
+ # resp.license_asset_group.properties[0].key #=> String
2037
+ # resp.license_asset_group.properties[0].value #=> String
2038
+ # resp.license_asset_group.license_asset_group_arn #=> String
2039
+ # resp.license_asset_group.status #=> String, one of "ACTIVE", "DISABLED", "DELETED"
2040
+ # resp.license_asset_group.status_message #=> String
2041
+ # resp.license_asset_group.latest_usage_analysis_time #=> Time
2042
+ # resp.license_asset_group.latest_resource_discovery_time #=> Time
2043
+ #
2044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseAssetGroup AWS API Documentation
2045
+ #
2046
+ # @overload get_license_asset_group(params = {})
2047
+ # @param [Hash] params ({})
2048
+ def get_license_asset_group(params = {}, options = {})
2049
+ req = build_request(:get_license_asset_group, params)
2050
+ req.send_request(options)
2051
+ end
2052
+
2053
+ # Gets a license asset ruleset.
2054
+ #
2055
+ # @option params [required, String] :license_asset_ruleset_arn
2056
+ # Amazon Resource Name (ARN) of the license asset ruleset.
2057
+ #
2058
+ # @return [Types::GetLicenseAssetRulesetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2059
+ #
2060
+ # * {Types::GetLicenseAssetRulesetResponse#license_asset_ruleset #license_asset_ruleset} => Types::LicenseAssetRuleset
2061
+ #
2062
+ # @example Request syntax with placeholder values
2063
+ #
2064
+ # resp = client.get_license_asset_ruleset({
2065
+ # license_asset_ruleset_arn: "Arn", # required
2066
+ # })
2067
+ #
2068
+ # @example Response structure
2069
+ #
2070
+ # resp.license_asset_ruleset.name #=> String
2071
+ # resp.license_asset_ruleset.description #=> String
2072
+ # resp.license_asset_ruleset.rules #=> Array
2073
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements #=> Array
2074
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].key_to_match #=> String
2075
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].constraint #=> String
2076
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2077
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2078
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.script_rule_statements #=> Array
2079
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.script_rule_statements[0].key_to_match #=> String
2080
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.script_rule_statements[0].script #=> String
2081
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements #=> Array
2082
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].key_to_match #=> String
2083
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].constraint #=> String
2084
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2085
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2086
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.script_rule_statements #=> Array
2087
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.script_rule_statements[0].key_to_match #=> String
2088
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.script_rule_statements[0].script #=> String
2089
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.key_to_match #=> String
2090
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.constraint #=> String
2091
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.value_to_match #=> Array
2092
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.value_to_match[0] #=> String
2093
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements #=> Array
2094
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].key_to_match #=> String
2095
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].constraint #=> String
2096
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2097
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2098
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.script_rule_statements #=> Array
2099
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.script_rule_statements[0].key_to_match #=> String
2100
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.and_rule_statement.script_rule_statements[0].script #=> String
2101
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements #=> Array
2102
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].key_to_match #=> String
2103
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].constraint #=> String
2104
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2105
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2106
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.script_rule_statements #=> Array
2107
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.script_rule_statements[0].key_to_match #=> String
2108
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.or_rule_statement.script_rule_statements[0].script #=> String
2109
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.matching_rule_statement.key_to_match #=> String
2110
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.matching_rule_statement.constraint #=> String
2111
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.matching_rule_statement.value_to_match #=> Array
2112
+ # resp.license_asset_ruleset.rules[0].rule_statement.license_rule_statement.matching_rule_statement.value_to_match[0] #=> String
2113
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements #=> Array
2114
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].key_to_match #=> String
2115
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].constraint #=> String
2116
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2117
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2118
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.script_rule_statements #=> Array
2119
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.script_rule_statements[0].key_to_match #=> String
2120
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.and_rule_statement.script_rule_statements[0].script #=> String
2121
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements #=> Array
2122
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].key_to_match #=> String
2123
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].constraint #=> String
2124
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2125
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2126
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.script_rule_statements #=> Array
2127
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.script_rule_statements[0].key_to_match #=> String
2128
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.or_rule_statement.script_rule_statements[0].script #=> String
2129
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.matching_rule_statement.key_to_match #=> String
2130
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.matching_rule_statement.constraint #=> String
2131
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.matching_rule_statement.value_to_match #=> Array
2132
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.matching_rule_statement.value_to_match[0] #=> String
2133
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.script_rule_statement.key_to_match #=> String
2134
+ # resp.license_asset_ruleset.rules[0].rule_statement.instance_rule_statement.script_rule_statement.script #=> String
2135
+ # resp.license_asset_ruleset.license_asset_ruleset_arn #=> String
2136
+ #
2137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseAssetRuleset AWS API Documentation
2138
+ #
2139
+ # @overload get_license_asset_ruleset(params = {})
2140
+ # @param [Hash] params ({})
2141
+ def get_license_asset_ruleset(params = {}, options = {})
2142
+ req = build_request(:get_license_asset_ruleset, params)
2143
+ req.send_request(options)
2144
+ end
2145
+
1716
2146
  # Gets detailed information about the specified license configuration.
1717
2147
  #
1718
2148
  # @option params [required, String] :license_configuration_arn
@@ -1737,6 +2167,7 @@ module Aws::LicenseManager
1737
2167
  # * {Types::GetLicenseConfigurationResponse#product_information_list #product_information_list} => Array&lt;Types::ProductInformation&gt;
1738
2168
  # * {Types::GetLicenseConfigurationResponse#automated_discovery_information #automated_discovery_information} => Types::AutomatedDiscoveryInformation
1739
2169
  # * {Types::GetLicenseConfigurationResponse#disassociate_when_not_found #disassociate_when_not_found} => Boolean
2170
+ # * {Types::GetLicenseConfigurationResponse#license_expiry #license_expiry} => Integer
1740
2171
  #
1741
2172
  # @example Request syntax with placeholder values
1742
2173
  #
@@ -1776,6 +2207,7 @@ module Aws::LicenseManager
1776
2207
  # resp.product_information_list[0].product_information_filter_list[0].product_information_filter_comparator #=> String
1777
2208
  # resp.automated_discovery_information.last_run_time #=> Time
1778
2209
  # resp.disassociate_when_not_found #=> Boolean
2210
+ # resp.license_expiry #=> Integer
1779
2211
  #
1780
2212
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfiguration AWS API Documentation
1781
2213
  #
@@ -1855,11 +2287,15 @@ module Aws::LicenseManager
1855
2287
  #
1856
2288
  # resp.report_generator.report_generator_name #=> String
1857
2289
  # resp.report_generator.report_type #=> Array
1858
- # resp.report_generator.report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport"
2290
+ # resp.report_generator.report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport", "LicenseAssetGroupUsageReport"
1859
2291
  # resp.report_generator.report_context.license_configuration_arns #=> Array
1860
2292
  # resp.report_generator.report_context.license_configuration_arns[0] #=> String
2293
+ # resp.report_generator.report_context.license_asset_group_arns #=> Array
2294
+ # resp.report_generator.report_context.license_asset_group_arns[0] #=> String
2295
+ # resp.report_generator.report_context.report_start_date #=> Time
2296
+ # resp.report_generator.report_context.report_end_date #=> Time
1861
2297
  # resp.report_generator.report_frequency.value #=> Integer
1862
- # resp.report_generator.report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH"
2298
+ # resp.report_generator.report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH", "ONE_TIME"
1863
2299
  # resp.report_generator.license_manager_report_generator_arn #=> String
1864
2300
  # resp.report_generator.last_run_status #=> String
1865
2301
  # resp.report_generator.last_run_failure_reason #=> String
@@ -1923,6 +2359,9 @@ module Aws::LicenseManager
1923
2359
  # * {Types::GetServiceSettingsResponse#organization_configuration #organization_configuration} => Types::OrganizationConfiguration
1924
2360
  # * {Types::GetServiceSettingsResponse#enable_cross_accounts_discovery #enable_cross_accounts_discovery} => Boolean
1925
2361
  # * {Types::GetServiceSettingsResponse#license_manager_resource_share_arn #license_manager_resource_share_arn} => String
2362
+ # * {Types::GetServiceSettingsResponse#cross_region_discovery_home_region #cross_region_discovery_home_region} => String
2363
+ # * {Types::GetServiceSettingsResponse#cross_region_discovery_source_regions #cross_region_discovery_source_regions} => Array&lt;String&gt;
2364
+ # * {Types::GetServiceSettingsResponse#service_status #service_status} => Types::ServiceStatus
1926
2365
  #
1927
2366
  # @example Response structure
1928
2367
  #
@@ -1931,6 +2370,12 @@ module Aws::LicenseManager
1931
2370
  # resp.organization_configuration.enable_integration #=> Boolean
1932
2371
  # resp.enable_cross_accounts_discovery #=> Boolean
1933
2372
  # resp.license_manager_resource_share_arn #=> String
2373
+ # resp.cross_region_discovery_home_region #=> String
2374
+ # resp.cross_region_discovery_source_regions #=> Array
2375
+ # resp.cross_region_discovery_source_regions[0] #=> String
2376
+ # resp.service_status.cross_account_discovery.message #=> String
2377
+ # resp.service_status.cross_region_discovery.message #=> Hash
2378
+ # resp.service_status.cross_region_discovery.message["String"].status #=> String
1934
2379
  #
1935
2380
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings AWS API Documentation
1936
2381
  #
@@ -1941,6 +2386,51 @@ module Aws::LicenseManager
1941
2386
  req.send_request(options)
1942
2387
  end
1943
2388
 
2389
+ # Lists assets for a license asset group.
2390
+ #
2391
+ # @option params [required, String] :license_asset_group_arn
2392
+ # Amazon Resource Name (ARN) of the license asset group.
2393
+ #
2394
+ # @option params [required, String] :asset_type
2395
+ # Asset type. The possible values are `Instance` \| `License` \|
2396
+ # `LicenseConfiguration`.
2397
+ #
2398
+ # @option params [Integer] :max_results
2399
+ # Maximum number of results to return in a single call.
2400
+ #
2401
+ # @option params [String] :next_token
2402
+ # Token for the next set of results.
2403
+ #
2404
+ # @return [Types::ListAssetsForLicenseAssetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2405
+ #
2406
+ # * {Types::ListAssetsForLicenseAssetGroupResponse#assets #assets} => Array&lt;Types::Asset&gt;
2407
+ # * {Types::ListAssetsForLicenseAssetGroupResponse#next_token #next_token} => String
2408
+ #
2409
+ # @example Request syntax with placeholder values
2410
+ #
2411
+ # resp = client.list_assets_for_license_asset_group({
2412
+ # license_asset_group_arn: "String", # required
2413
+ # asset_type: "String", # required
2414
+ # max_results: 1,
2415
+ # next_token: "String",
2416
+ # })
2417
+ #
2418
+ # @example Response structure
2419
+ #
2420
+ # resp.assets #=> Array
2421
+ # resp.assets[0].asset_arn #=> String
2422
+ # resp.assets[0].latest_asset_discovery_time #=> Time
2423
+ # resp.next_token #=> String
2424
+ #
2425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssetsForLicenseAssetGroup AWS API Documentation
2426
+ #
2427
+ # @overload list_assets_for_license_asset_group(params = {})
2428
+ # @param [Hash] params ({})
2429
+ def list_assets_for_license_asset_group(params = {}, options = {})
2430
+ req = build_request(:list_assets_for_license_asset_group, params)
2431
+ req.send_request(options)
2432
+ end
2433
+
1944
2434
  # Lists the resource associations for the specified license
1945
2435
  # configuration.
1946
2436
  #
@@ -2106,6 +2596,185 @@ module Aws::LicenseManager
2106
2596
  req.send_request(options)
2107
2597
  end
2108
2598
 
2599
+ # Lists license asset groups.
2600
+ #
2601
+ # @option params [Array<Types::Filter>] :filters
2602
+ # Filters to scope the results. Following filters are supported
2603
+ #
2604
+ # * `LicenseAssetRulesetArn`
2605
+ #
2606
+ # ^
2607
+ #
2608
+ # @option params [Integer] :max_results
2609
+ # Maximum number of results to return in a single call.
2610
+ #
2611
+ # @option params [String] :next_token
2612
+ # Token for the next set of results.
2613
+ #
2614
+ # @return [Types::ListLicenseAssetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2615
+ #
2616
+ # * {Types::ListLicenseAssetGroupsResponse#license_asset_groups #license_asset_groups} => Array&lt;Types::LicenseAssetGroup&gt;
2617
+ # * {Types::ListLicenseAssetGroupsResponse#next_token #next_token} => String
2618
+ #
2619
+ # @example Request syntax with placeholder values
2620
+ #
2621
+ # resp = client.list_license_asset_groups({
2622
+ # filters: [
2623
+ # {
2624
+ # name: "FilterName",
2625
+ # values: ["FilterValue"],
2626
+ # },
2627
+ # ],
2628
+ # max_results: 1,
2629
+ # next_token: "String",
2630
+ # })
2631
+ #
2632
+ # @example Response structure
2633
+ #
2634
+ # resp.license_asset_groups #=> Array
2635
+ # resp.license_asset_groups[0].name #=> String
2636
+ # resp.license_asset_groups[0].description #=> String
2637
+ # resp.license_asset_groups[0].license_asset_group_configurations #=> Array
2638
+ # resp.license_asset_groups[0].license_asset_group_configurations[0].usage_dimension #=> String
2639
+ # resp.license_asset_groups[0].associated_license_asset_ruleset_arns #=> Array
2640
+ # resp.license_asset_groups[0].associated_license_asset_ruleset_arns[0] #=> String
2641
+ # resp.license_asset_groups[0].properties #=> Array
2642
+ # resp.license_asset_groups[0].properties[0].key #=> String
2643
+ # resp.license_asset_groups[0].properties[0].value #=> String
2644
+ # resp.license_asset_groups[0].license_asset_group_arn #=> String
2645
+ # resp.license_asset_groups[0].status #=> String, one of "ACTIVE", "DISABLED", "DELETED"
2646
+ # resp.license_asset_groups[0].status_message #=> String
2647
+ # resp.license_asset_groups[0].latest_usage_analysis_time #=> Time
2648
+ # resp.license_asset_groups[0].latest_resource_discovery_time #=> Time
2649
+ # resp.next_token #=> String
2650
+ #
2651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseAssetGroups AWS API Documentation
2652
+ #
2653
+ # @overload list_license_asset_groups(params = {})
2654
+ # @param [Hash] params ({})
2655
+ def list_license_asset_groups(params = {}, options = {})
2656
+ req = build_request(:list_license_asset_groups, params)
2657
+ req.send_request(options)
2658
+ end
2659
+
2660
+ # Lists license asset rulesets.
2661
+ #
2662
+ # @option params [Array<Types::Filter>] :filters
2663
+ # Filters to scope the results. Following filters are supported
2664
+ #
2665
+ # * `Name`
2666
+ #
2667
+ # ^
2668
+ #
2669
+ # @option params [Boolean] :show_aws_managed_license_asset_rulesets
2670
+ # Specifies whether to show License Manager managed license asset
2671
+ # rulesets.
2672
+ #
2673
+ # @option params [Integer] :max_results
2674
+ # Maximum number of results to return in a single call.
2675
+ #
2676
+ # @option params [String] :next_token
2677
+ # Token for the next set of results.
2678
+ #
2679
+ # @return [Types::ListLicenseAssetRulesetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2680
+ #
2681
+ # * {Types::ListLicenseAssetRulesetsResponse#license_asset_rulesets #license_asset_rulesets} => Array&lt;Types::LicenseAssetRuleset&gt;
2682
+ # * {Types::ListLicenseAssetRulesetsResponse#next_token #next_token} => String
2683
+ #
2684
+ # @example Request syntax with placeholder values
2685
+ #
2686
+ # resp = client.list_license_asset_rulesets({
2687
+ # filters: [
2688
+ # {
2689
+ # name: "FilterName",
2690
+ # values: ["FilterValue"],
2691
+ # },
2692
+ # ],
2693
+ # show_aws_managed_license_asset_rulesets: false,
2694
+ # max_results: 1,
2695
+ # next_token: "String",
2696
+ # })
2697
+ #
2698
+ # @example Response structure
2699
+ #
2700
+ # resp.license_asset_rulesets #=> Array
2701
+ # resp.license_asset_rulesets[0].name #=> String
2702
+ # resp.license_asset_rulesets[0].description #=> String
2703
+ # resp.license_asset_rulesets[0].rules #=> Array
2704
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements #=> Array
2705
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].key_to_match #=> String
2706
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].constraint #=> String
2707
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2708
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2709
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.script_rule_statements #=> Array
2710
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.script_rule_statements[0].key_to_match #=> String
2711
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.and_rule_statement.script_rule_statements[0].script #=> String
2712
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements #=> Array
2713
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].key_to_match #=> String
2714
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].constraint #=> String
2715
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2716
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2717
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.script_rule_statements #=> Array
2718
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.script_rule_statements[0].key_to_match #=> String
2719
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.or_rule_statement.script_rule_statements[0].script #=> String
2720
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.key_to_match #=> String
2721
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.constraint #=> String
2722
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.value_to_match #=> Array
2723
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_configuration_rule_statement.matching_rule_statement.value_to_match[0] #=> String
2724
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements #=> Array
2725
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].key_to_match #=> String
2726
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].constraint #=> String
2727
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2728
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2729
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.script_rule_statements #=> Array
2730
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.script_rule_statements[0].key_to_match #=> String
2731
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.and_rule_statement.script_rule_statements[0].script #=> String
2732
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements #=> Array
2733
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].key_to_match #=> String
2734
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].constraint #=> String
2735
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2736
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2737
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.script_rule_statements #=> Array
2738
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.script_rule_statements[0].key_to_match #=> String
2739
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.or_rule_statement.script_rule_statements[0].script #=> String
2740
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.matching_rule_statement.key_to_match #=> String
2741
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.matching_rule_statement.constraint #=> String
2742
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.matching_rule_statement.value_to_match #=> Array
2743
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.license_rule_statement.matching_rule_statement.value_to_match[0] #=> String
2744
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements #=> Array
2745
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].key_to_match #=> String
2746
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].constraint #=> String
2747
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2748
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2749
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.script_rule_statements #=> Array
2750
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.script_rule_statements[0].key_to_match #=> String
2751
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.and_rule_statement.script_rule_statements[0].script #=> String
2752
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements #=> Array
2753
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].key_to_match #=> String
2754
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].constraint #=> String
2755
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match #=> Array
2756
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.matching_rule_statements[0].value_to_match[0] #=> String
2757
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.script_rule_statements #=> Array
2758
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.script_rule_statements[0].key_to_match #=> String
2759
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.or_rule_statement.script_rule_statements[0].script #=> String
2760
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.matching_rule_statement.key_to_match #=> String
2761
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.matching_rule_statement.constraint #=> String
2762
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.matching_rule_statement.value_to_match #=> Array
2763
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.matching_rule_statement.value_to_match[0] #=> String
2764
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.script_rule_statement.key_to_match #=> String
2765
+ # resp.license_asset_rulesets[0].rules[0].rule_statement.instance_rule_statement.script_rule_statement.script #=> String
2766
+ # resp.license_asset_rulesets[0].license_asset_ruleset_arn #=> String
2767
+ # resp.next_token #=> String
2768
+ #
2769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseAssetRulesets AWS API Documentation
2770
+ #
2771
+ # @overload list_license_asset_rulesets(params = {})
2772
+ # @param [Hash] params ({})
2773
+ def list_license_asset_rulesets(params = {}, options = {})
2774
+ req = build_request(:list_license_asset_rulesets, params)
2775
+ req.send_request(options)
2776
+ end
2777
+
2109
2778
  # Lists the license configurations for your account.
2110
2779
  #
2111
2780
  # @option params [Array<String>] :license_configuration_arns
@@ -2180,6 +2849,7 @@ module Aws::LicenseManager
2180
2849
  # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_value[0] #=> String
2181
2850
  # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_comparator #=> String
2182
2851
  # resp.license_configurations[0].automated_discovery_information.last_run_time #=> Time
2852
+ # resp.license_configurations[0].license_expiry #=> Integer
2183
2853
  # resp.next_token #=> String
2184
2854
  #
2185
2855
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurations AWS API Documentation
@@ -2191,6 +2861,81 @@ module Aws::LicenseManager
2191
2861
  req.send_request(options)
2192
2862
  end
2193
2863
 
2864
+ # Lists license configurations for an organization.
2865
+ #
2866
+ # @option params [Array<String>] :license_configuration_arns
2867
+ # License configuration ARNs.
2868
+ #
2869
+ # @option params [Integer] :max_results
2870
+ # Maximum number of results to return in a single call.
2871
+ #
2872
+ # @option params [String] :next_token
2873
+ # Token for the next set of results.
2874
+ #
2875
+ # @option params [Array<Types::Filter>] :filters
2876
+ # Filters to scope the results.
2877
+ #
2878
+ # @return [Types::ListLicenseConfigurationsForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2879
+ #
2880
+ # * {Types::ListLicenseConfigurationsForOrganizationResponse#license_configurations #license_configurations} => Array&lt;Types::LicenseConfiguration&gt;
2881
+ # * {Types::ListLicenseConfigurationsForOrganizationResponse#next_token #next_token} => String
2882
+ #
2883
+ # @example Request syntax with placeholder values
2884
+ #
2885
+ # resp = client.list_license_configurations_for_organization({
2886
+ # license_configuration_arns: ["String"],
2887
+ # max_results: 1,
2888
+ # next_token: "String",
2889
+ # filters: [
2890
+ # {
2891
+ # name: "FilterName",
2892
+ # values: ["FilterValue"],
2893
+ # },
2894
+ # ],
2895
+ # })
2896
+ #
2897
+ # @example Response structure
2898
+ #
2899
+ # resp.license_configurations #=> Array
2900
+ # resp.license_configurations[0].license_configuration_id #=> String
2901
+ # resp.license_configurations[0].license_configuration_arn #=> String
2902
+ # resp.license_configurations[0].name #=> String
2903
+ # resp.license_configurations[0].description #=> String
2904
+ # resp.license_configurations[0].license_counting_type #=> String, one of "vCPU", "Instance", "Core", "Socket"
2905
+ # resp.license_configurations[0].license_rules #=> Array
2906
+ # resp.license_configurations[0].license_rules[0] #=> String
2907
+ # resp.license_configurations[0].license_count #=> Integer
2908
+ # resp.license_configurations[0].license_count_hard_limit #=> Boolean
2909
+ # resp.license_configurations[0].disassociate_when_not_found #=> Boolean
2910
+ # resp.license_configurations[0].consumed_licenses #=> Integer
2911
+ # resp.license_configurations[0].status #=> String
2912
+ # resp.license_configurations[0].owner_account_id #=> String
2913
+ # resp.license_configurations[0].consumed_license_summary_list #=> Array
2914
+ # resp.license_configurations[0].consumed_license_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
2915
+ # resp.license_configurations[0].consumed_license_summary_list[0].consumed_licenses #=> Integer
2916
+ # resp.license_configurations[0].managed_resource_summary_list #=> Array
2917
+ # resp.license_configurations[0].managed_resource_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
2918
+ # resp.license_configurations[0].managed_resource_summary_list[0].association_count #=> Integer
2919
+ # resp.license_configurations[0].product_information_list #=> Array
2920
+ # resp.license_configurations[0].product_information_list[0].resource_type #=> String
2921
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list #=> Array
2922
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_name #=> String
2923
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_value #=> Array
2924
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_value[0] #=> String
2925
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_comparator #=> String
2926
+ # resp.license_configurations[0].automated_discovery_information.last_run_time #=> Time
2927
+ # resp.license_configurations[0].license_expiry #=> Integer
2928
+ # resp.next_token #=> String
2929
+ #
2930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsForOrganization AWS API Documentation
2931
+ #
2932
+ # @overload list_license_configurations_for_organization(params = {})
2933
+ # @param [Hash] params ({})
2934
+ def list_license_configurations_for_organization(params = {}, options = {})
2935
+ req = build_request(:list_license_configurations_for_organization, params)
2936
+ req.send_request(options)
2937
+ end
2938
+
2194
2939
  # Lists the license type conversion tasks for your account.
2195
2940
  #
2196
2941
  # @option params [String] :next_token
@@ -2288,11 +3033,15 @@ module Aws::LicenseManager
2288
3033
  # resp.report_generators #=> Array
2289
3034
  # resp.report_generators[0].report_generator_name #=> String
2290
3035
  # resp.report_generators[0].report_type #=> Array
2291
- # resp.report_generators[0].report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport"
3036
+ # resp.report_generators[0].report_type[0] #=> String, one of "LicenseConfigurationSummaryReport", "LicenseConfigurationUsageReport", "LicenseAssetGroupUsageReport"
2292
3037
  # resp.report_generators[0].report_context.license_configuration_arns #=> Array
2293
3038
  # resp.report_generators[0].report_context.license_configuration_arns[0] #=> String
3039
+ # resp.report_generators[0].report_context.license_asset_group_arns #=> Array
3040
+ # resp.report_generators[0].report_context.license_asset_group_arns[0] #=> String
3041
+ # resp.report_generators[0].report_context.report_start_date #=> Time
3042
+ # resp.report_generators[0].report_context.report_end_date #=> Time
2294
3043
  # resp.report_generators[0].report_frequency.value #=> Integer
2295
- # resp.report_generators[0].report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH"
3044
+ # resp.report_generators[0].report_frequency.period #=> String, one of "DAY", "WEEK", "MONTH", "ONE_TIME"
2296
3045
  # resp.report_generators[0].license_manager_report_generator_arn #=> String
2297
3046
  # resp.report_generators[0].last_run_status #=> String
2298
3047
  # resp.report_generators[0].last_run_failure_reason #=> String
@@ -2870,6 +3619,13 @@ module Aws::LicenseManager
2870
3619
  # resp.resource_inventory_list[0].platform #=> String
2871
3620
  # resp.resource_inventory_list[0].platform_version #=> String
2872
3621
  # resp.resource_inventory_list[0].resource_owning_account_id #=> String
3622
+ # resp.resource_inventory_list[0].marketplace_product_codes #=> Array
3623
+ # resp.resource_inventory_list[0].marketplace_product_codes[0] #=> String
3624
+ # resp.resource_inventory_list[0].usage_operation #=> String
3625
+ # resp.resource_inventory_list[0].ami_id #=> String
3626
+ # resp.resource_inventory_list[0].host_id #=> String
3627
+ # resp.resource_inventory_list[0].region #=> String
3628
+ # resp.resource_inventory_list[0].instance_type #=> String
2873
3629
  # resp.next_token #=> String
2874
3630
  #
2875
3631
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventory AWS API Documentation
@@ -3152,6 +3908,240 @@ module Aws::LicenseManager
3152
3908
  req.send_request(options)
3153
3909
  end
3154
3910
 
3911
+ # Updates a license asset group.
3912
+ #
3913
+ # @option params [String] :name
3914
+ # License asset group name.
3915
+ #
3916
+ # @option params [String] :description
3917
+ # License asset group description.
3918
+ #
3919
+ # @option params [Array<Types::LicenseAssetGroupConfiguration>] :license_asset_group_configurations
3920
+ # License asset group configurations.
3921
+ #
3922
+ # @option params [required, Array<String>] :associated_license_asset_ruleset_arns
3923
+ # ARNs of associated license asset rulesets.
3924
+ #
3925
+ # @option params [Array<Types::LicenseAssetGroupProperty>] :properties
3926
+ # License asset group properties.
3927
+ #
3928
+ # @option params [required, String] :license_asset_group_arn
3929
+ # Amazon Resource Name (ARN) of the license asset group.
3930
+ #
3931
+ # @option params [String] :status
3932
+ # License asset group status. The possible values are `ACTIVE` \|
3933
+ # `DISABLED`.
3934
+ #
3935
+ # @option params [required, String] :client_token
3936
+ # Unique, case-sensitive identifier that you provide to ensure the
3937
+ # idempotency of the request.
3938
+ #
3939
+ # @return [Types::UpdateLicenseAssetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3940
+ #
3941
+ # * {Types::UpdateLicenseAssetGroupResponse#license_asset_group_arn #license_asset_group_arn} => String
3942
+ # * {Types::UpdateLicenseAssetGroupResponse#status #status} => String
3943
+ #
3944
+ # @example Request syntax with placeholder values
3945
+ #
3946
+ # resp = client.update_license_asset_group({
3947
+ # name: "LicenseAssetResourceName",
3948
+ # description: "LicenseAssetResourceDescription",
3949
+ # license_asset_group_configurations: [
3950
+ # {
3951
+ # usage_dimension: "String",
3952
+ # },
3953
+ # ],
3954
+ # associated_license_asset_ruleset_arns: ["Arn"], # required
3955
+ # properties: [
3956
+ # {
3957
+ # key: "String", # required
3958
+ # value: "String", # required
3959
+ # },
3960
+ # ],
3961
+ # license_asset_group_arn: "Arn", # required
3962
+ # status: "ACTIVE", # accepts ACTIVE, DISABLED, DELETED
3963
+ # client_token: "String", # required
3964
+ # })
3965
+ #
3966
+ # @example Response structure
3967
+ #
3968
+ # resp.license_asset_group_arn #=> String
3969
+ # resp.status #=> String
3970
+ #
3971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseAssetGroup AWS API Documentation
3972
+ #
3973
+ # @overload update_license_asset_group(params = {})
3974
+ # @param [Hash] params ({})
3975
+ def update_license_asset_group(params = {}, options = {})
3976
+ req = build_request(:update_license_asset_group, params)
3977
+ req.send_request(options)
3978
+ end
3979
+
3980
+ # Updates a license asset ruleset.
3981
+ #
3982
+ # @option params [String] :name
3983
+ # License asset ruleset name.
3984
+ #
3985
+ # @option params [String] :description
3986
+ # License asset ruleset description.
3987
+ #
3988
+ # @option params [required, Array<Types::LicenseAssetRule>] :rules
3989
+ # License asset rules.
3990
+ #
3991
+ # @option params [required, String] :license_asset_ruleset_arn
3992
+ # Amazon Resource Name (ARN) of the license asset ruleset.
3993
+ #
3994
+ # @option params [required, String] :client_token
3995
+ # Unique, case-sensitive identifier that you provide to ensure the
3996
+ # idempotency of the request.
3997
+ #
3998
+ # @return [Types::UpdateLicenseAssetRulesetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3999
+ #
4000
+ # * {Types::UpdateLicenseAssetRulesetResponse#license_asset_ruleset_arn #license_asset_ruleset_arn} => String
4001
+ #
4002
+ # @example Request syntax with placeholder values
4003
+ #
4004
+ # resp = client.update_license_asset_ruleset({
4005
+ # name: "LicenseAssetResourceName",
4006
+ # description: "LicenseAssetResourceDescription",
4007
+ # rules: [ # required
4008
+ # {
4009
+ # rule_statement: { # required
4010
+ # license_configuration_rule_statement: {
4011
+ # and_rule_statement: {
4012
+ # matching_rule_statements: [
4013
+ # {
4014
+ # key_to_match: "String", # required
4015
+ # constraint: "String", # required
4016
+ # value_to_match: ["String"], # required
4017
+ # },
4018
+ # ],
4019
+ # script_rule_statements: [
4020
+ # {
4021
+ # key_to_match: "String", # required
4022
+ # script: "String", # required
4023
+ # },
4024
+ # ],
4025
+ # },
4026
+ # or_rule_statement: {
4027
+ # matching_rule_statements: [
4028
+ # {
4029
+ # key_to_match: "String", # required
4030
+ # constraint: "String", # required
4031
+ # value_to_match: ["String"], # required
4032
+ # },
4033
+ # ],
4034
+ # script_rule_statements: [
4035
+ # {
4036
+ # key_to_match: "String", # required
4037
+ # script: "String", # required
4038
+ # },
4039
+ # ],
4040
+ # },
4041
+ # matching_rule_statement: {
4042
+ # key_to_match: "String", # required
4043
+ # constraint: "String", # required
4044
+ # value_to_match: ["String"], # required
4045
+ # },
4046
+ # },
4047
+ # license_rule_statement: {
4048
+ # and_rule_statement: {
4049
+ # matching_rule_statements: [
4050
+ # {
4051
+ # key_to_match: "String", # required
4052
+ # constraint: "String", # required
4053
+ # value_to_match: ["String"], # required
4054
+ # },
4055
+ # ],
4056
+ # script_rule_statements: [
4057
+ # {
4058
+ # key_to_match: "String", # required
4059
+ # script: "String", # required
4060
+ # },
4061
+ # ],
4062
+ # },
4063
+ # or_rule_statement: {
4064
+ # matching_rule_statements: [
4065
+ # {
4066
+ # key_to_match: "String", # required
4067
+ # constraint: "String", # required
4068
+ # value_to_match: ["String"], # required
4069
+ # },
4070
+ # ],
4071
+ # script_rule_statements: [
4072
+ # {
4073
+ # key_to_match: "String", # required
4074
+ # script: "String", # required
4075
+ # },
4076
+ # ],
4077
+ # },
4078
+ # matching_rule_statement: {
4079
+ # key_to_match: "String", # required
4080
+ # constraint: "String", # required
4081
+ # value_to_match: ["String"], # required
4082
+ # },
4083
+ # },
4084
+ # instance_rule_statement: {
4085
+ # and_rule_statement: {
4086
+ # matching_rule_statements: [
4087
+ # {
4088
+ # key_to_match: "String", # required
4089
+ # constraint: "String", # required
4090
+ # value_to_match: ["String"], # required
4091
+ # },
4092
+ # ],
4093
+ # script_rule_statements: [
4094
+ # {
4095
+ # key_to_match: "String", # required
4096
+ # script: "String", # required
4097
+ # },
4098
+ # ],
4099
+ # },
4100
+ # or_rule_statement: {
4101
+ # matching_rule_statements: [
4102
+ # {
4103
+ # key_to_match: "String", # required
4104
+ # constraint: "String", # required
4105
+ # value_to_match: ["String"], # required
4106
+ # },
4107
+ # ],
4108
+ # script_rule_statements: [
4109
+ # {
4110
+ # key_to_match: "String", # required
4111
+ # script: "String", # required
4112
+ # },
4113
+ # ],
4114
+ # },
4115
+ # matching_rule_statement: {
4116
+ # key_to_match: "String", # required
4117
+ # constraint: "String", # required
4118
+ # value_to_match: ["String"], # required
4119
+ # },
4120
+ # script_rule_statement: {
4121
+ # key_to_match: "String", # required
4122
+ # script: "String", # required
4123
+ # },
4124
+ # },
4125
+ # },
4126
+ # },
4127
+ # ],
4128
+ # license_asset_ruleset_arn: "Arn", # required
4129
+ # client_token: "String", # required
4130
+ # })
4131
+ #
4132
+ # @example Response structure
4133
+ #
4134
+ # resp.license_asset_ruleset_arn #=> String
4135
+ #
4136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseAssetRuleset AWS API Documentation
4137
+ #
4138
+ # @overload update_license_asset_ruleset(params = {})
4139
+ # @param [Hash] params ({})
4140
+ def update_license_asset_ruleset(params = {}, options = {})
4141
+ req = build_request(:update_license_asset_ruleset, params)
4142
+ req.send_request(options)
4143
+ end
4144
+
3155
4145
  # Modifies the attributes of an existing license configuration.
3156
4146
  #
3157
4147
  # @option params [required, String] :license_configuration_arn
@@ -3182,6 +4172,9 @@ module Aws::LicenseManager
3182
4172
  # @option params [Boolean] :disassociate_when_not_found
3183
4173
  # When true, disassociates a resource when software is uninstalled.
3184
4174
  #
4175
+ # @option params [Integer] :license_expiry
4176
+ # License configuration expiry time.
4177
+ #
3185
4178
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3186
4179
  #
3187
4180
  # @example Request syntax with placeholder values
@@ -3207,6 +4200,7 @@ module Aws::LicenseManager
3207
4200
  # },
3208
4201
  # ],
3209
4202
  # disassociate_when_not_found: false,
4203
+ # license_expiry: 1,
3210
4204
  # })
3211
4205
  #
3212
4206
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfiguration AWS API Documentation
@@ -3258,13 +4252,16 @@ module Aws::LicenseManager
3258
4252
  # resp = client.update_license_manager_report_generator({
3259
4253
  # license_manager_report_generator_arn: "String", # required
3260
4254
  # report_generator_name: "ReportGeneratorName", # required
3261
- # type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport
4255
+ # type: ["LicenseConfigurationSummaryReport"], # required, accepts LicenseConfigurationSummaryReport, LicenseConfigurationUsageReport, LicenseAssetGroupUsageReport
3262
4256
  # report_context: { # required
3263
- # license_configuration_arns: ["Arn"], # required
4257
+ # license_configuration_arns: ["Arn"],
4258
+ # license_asset_group_arns: ["Arn"],
4259
+ # report_start_date: Time.now,
4260
+ # report_end_date: Time.now,
3264
4261
  # },
3265
4262
  # report_frequency: { # required
3266
4263
  # value: 1,
3267
- # period: "DAY", # accepts DAY, WEEK, MONTH
4264
+ # period: "DAY", # accepts DAY, WEEK, MONTH, ONE_TIME
3268
4265
  # },
3269
4266
  # client_token: "ClientRequestToken", # required
3270
4267
  # description: "String",
@@ -3341,6 +4338,9 @@ module Aws::LicenseManager
3341
4338
  # @option params [Boolean] :enable_cross_accounts_discovery
3342
4339
  # Activates cross-account discovery.
3343
4340
  #
4341
+ # @option params [Array<String>] :enabled_discovery_source_regions
4342
+ # Cross region discovery enabled source regions.
4343
+ #
3344
4344
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3345
4345
  #
3346
4346
  # @example Request syntax with placeholder values
@@ -3352,6 +4352,7 @@ module Aws::LicenseManager
3352
4352
  # enable_integration: false, # required
3353
4353
  # },
3354
4354
  # enable_cross_accounts_discovery: false,
4355
+ # enabled_discovery_source_regions: ["String"],
3355
4356
  # })
3356
4357
  #
3357
4358
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateServiceSettings AWS API Documentation
@@ -3381,7 +4382,7 @@ module Aws::LicenseManager
3381
4382
  tracer: tracer
3382
4383
  )
3383
4384
  context[:gem_name] = 'aws-sdk-licensemanager'
3384
- context[:gem_version] = '1.82.0'
4385
+ context[:gem_version] = '1.83.0'
3385
4386
  Seahorse::Client::Request.new(handlers, context)
3386
4387
  end
3387
4388