aws-sdk-licensemanager 1.74.0 → 1.75.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +25 -1
- data/lib/aws-sdk-licensemanager/client_api.rb +11 -0
- data/lib/aws-sdk-licensemanager/types.rb +25 -1
- data/lib/aws-sdk-licensemanager.rb +1 -1
- data/sig/client.rbs +14 -2
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9173554292da06572c7d4ae9c74e70d24a23cdf3281d984821cc8871abd6e74
|
4
|
+
data.tar.gz: 76c978143eef290f6fe6ea7e62b1fc18fa05ba1190d2b4f2b5aa7ea074745054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8faed869ffc48801554fe306ab5ea01c5f415edb5bda311775cd14805f075277aec8a67ed02a21b6ee30a187b1206422df59ca8039ad9f8e5a983058070af0a5
|
7
|
+
data.tar.gz: c57eadd7e59f793138639abe9e874da4e7a48d24ad00e15620894cdc7cc0ebba955da20ebb2eb1251b9a1a4d523ca2b335233e91be3375f01bfdb83b539da230
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.75.0 (2025-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS License Manager now supports license type conversions for AWS Marketplace products. Customers can provide Marketplace codes in the source license context or destination license context in the CreateLicenseConversionTaskForResource requests.
|
8
|
+
|
4
9
|
1.74.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
@@ -1120,9 +1120,21 @@ module Aws::LicenseManager
|
|
1120
1120
|
# resource_arn: "Arn", # required
|
1121
1121
|
# source_license_context: { # required
|
1122
1122
|
# usage_operation: "UsageOperation",
|
1123
|
+
# product_codes: [
|
1124
|
+
# {
|
1125
|
+
# product_code_id: "ProductCodeId", # required
|
1126
|
+
# product_code_type: "marketplace", # required, accepts marketplace
|
1127
|
+
# },
|
1128
|
+
# ],
|
1123
1129
|
# },
|
1124
1130
|
# destination_license_context: { # required
|
1125
1131
|
# usage_operation: "UsageOperation",
|
1132
|
+
# product_codes: [
|
1133
|
+
# {
|
1134
|
+
# product_code_id: "ProductCodeId", # required
|
1135
|
+
# product_code_type: "marketplace", # required, accepts marketplace
|
1136
|
+
# },
|
1137
|
+
# ],
|
1126
1138
|
# },
|
1127
1139
|
# })
|
1128
1140
|
#
|
@@ -1795,7 +1807,13 @@ module Aws::LicenseManager
|
|
1795
1807
|
# resp.license_conversion_task_id #=> String
|
1796
1808
|
# resp.resource_arn #=> String
|
1797
1809
|
# resp.source_license_context.usage_operation #=> String
|
1810
|
+
# resp.source_license_context.product_codes #=> Array
|
1811
|
+
# resp.source_license_context.product_codes[0].product_code_id #=> String
|
1812
|
+
# resp.source_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
1798
1813
|
# resp.destination_license_context.usage_operation #=> String
|
1814
|
+
# resp.destination_license_context.product_codes #=> Array
|
1815
|
+
# resp.destination_license_context.product_codes[0].product_code_id #=> String
|
1816
|
+
# resp.destination_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
1799
1817
|
# resp.status_message #=> String
|
1800
1818
|
# resp.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
1801
1819
|
# resp.start_time #=> Time
|
@@ -2202,7 +2220,13 @@ module Aws::LicenseManager
|
|
2202
2220
|
# resp.license_conversion_tasks[0].license_conversion_task_id #=> String
|
2203
2221
|
# resp.license_conversion_tasks[0].resource_arn #=> String
|
2204
2222
|
# resp.license_conversion_tasks[0].source_license_context.usage_operation #=> String
|
2223
|
+
# resp.license_conversion_tasks[0].source_license_context.product_codes #=> Array
|
2224
|
+
# resp.license_conversion_tasks[0].source_license_context.product_codes[0].product_code_id #=> String
|
2225
|
+
# resp.license_conversion_tasks[0].source_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
2205
2226
|
# resp.license_conversion_tasks[0].destination_license_context.usage_operation #=> String
|
2227
|
+
# resp.license_conversion_tasks[0].destination_license_context.product_codes #=> Array
|
2228
|
+
# resp.license_conversion_tasks[0].destination_license_context.product_codes[0].product_code_id #=> String
|
2229
|
+
# resp.license_conversion_tasks[0].destination_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
2206
2230
|
# resp.license_conversion_tasks[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2207
2231
|
# resp.license_conversion_tasks[0].status_message #=> String
|
2208
2232
|
# resp.license_conversion_tasks[0].start_time #=> Time
|
@@ -3350,7 +3374,7 @@ module Aws::LicenseManager
|
|
3350
3374
|
tracer: tracer
|
3351
3375
|
)
|
3352
3376
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
3353
|
-
context[:gem_version] = '1.
|
3377
|
+
context[:gem_version] = '1.75.0'
|
3354
3378
|
Seahorse::Client::Request.new(handlers, context)
|
3355
3379
|
end
|
3356
3380
|
|
@@ -190,6 +190,10 @@ module Aws::LicenseManager
|
|
190
190
|
Options = Shapes::StructureShape.new(name: 'Options')
|
191
191
|
OrganizationConfiguration = Shapes::StructureShape.new(name: 'OrganizationConfiguration')
|
192
192
|
PrincipalArnList = Shapes::ListShape.new(name: 'PrincipalArnList')
|
193
|
+
ProductCodeId = Shapes::StringShape.new(name: 'ProductCodeId')
|
194
|
+
ProductCodeList = Shapes::ListShape.new(name: 'ProductCodeList')
|
195
|
+
ProductCodeListItem = Shapes::StructureShape.new(name: 'ProductCodeListItem')
|
196
|
+
ProductCodeType = Shapes::StringShape.new(name: 'ProductCodeType')
|
193
197
|
ProductInformation = Shapes::StructureShape.new(name: 'ProductInformation')
|
194
198
|
ProductInformationFilter = Shapes::StructureShape.new(name: 'ProductInformationFilter')
|
195
199
|
ProductInformationFilterList = Shapes::ListShape.new(name: 'ProductInformationFilterList')
|
@@ -719,6 +723,7 @@ module Aws::LicenseManager
|
|
719
723
|
LicenseConfigurations.member = Shapes::ShapeRef.new(shape: LicenseConfiguration)
|
720
724
|
|
721
725
|
LicenseConversionContext.add_member(:usage_operation, Shapes::ShapeRef.new(shape: UsageOperation, location_name: "UsageOperation"))
|
726
|
+
LicenseConversionContext.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "ProductCodes"))
|
722
727
|
LicenseConversionContext.struct_class = Types::LicenseConversionContext
|
723
728
|
|
724
729
|
LicenseConversionTask.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, location_name: "LicenseConversionTaskId"))
|
@@ -943,6 +948,12 @@ module Aws::LicenseManager
|
|
943
948
|
|
944
949
|
PrincipalArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
945
950
|
|
951
|
+
ProductCodeList.member = Shapes::ShapeRef.new(shape: ProductCodeListItem)
|
952
|
+
|
953
|
+
ProductCodeListItem.add_member(:product_code_id, Shapes::ShapeRef.new(shape: ProductCodeId, required: true, location_name: "ProductCodeId"))
|
954
|
+
ProductCodeListItem.add_member(:product_code_type, Shapes::ShapeRef.new(shape: ProductCodeType, required: true, location_name: "ProductCodeType"))
|
955
|
+
ProductCodeListItem.struct_class = Types::ProductCodeListItem
|
956
|
+
|
946
957
|
ProductInformation.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
|
947
958
|
ProductInformation.add_member(:product_information_filter_list, Shapes::ShapeRef.new(shape: ProductInformationFilterList, required: true, location_name: "ProductInformationFilterList"))
|
948
959
|
ProductInformation.struct_class = Types::ProductInformation
|
@@ -2165,10 +2165,15 @@ module Aws::LicenseManager
|
|
2165
2165
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html#billing-info
|
2166
2166
|
# @return [String]
|
2167
2167
|
#
|
2168
|
+
# @!attribute [rw] product_codes
|
2169
|
+
# Product codes referred to in the license conversion process.
|
2170
|
+
# @return [Array<Types::ProductCodeListItem>]
|
2171
|
+
#
|
2168
2172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConversionContext AWS API Documentation
|
2169
2173
|
#
|
2170
2174
|
class LicenseConversionContext < Struct.new(
|
2171
|
-
:usage_operation
|
2175
|
+
:usage_operation,
|
2176
|
+
:product_codes)
|
2172
2177
|
SENSITIVE = []
|
2173
2178
|
include Aws::Structure
|
2174
2179
|
end
|
@@ -3226,6 +3231,25 @@ module Aws::LicenseManager
|
|
3226
3231
|
include Aws::Structure
|
3227
3232
|
end
|
3228
3233
|
|
3234
|
+
# A list item that contains a product code.
|
3235
|
+
#
|
3236
|
+
# @!attribute [rw] product_code_id
|
3237
|
+
# The product code ID
|
3238
|
+
# @return [String]
|
3239
|
+
#
|
3240
|
+
# @!attribute [rw] product_code_type
|
3241
|
+
# The product code type
|
3242
|
+
# @return [String]
|
3243
|
+
#
|
3244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ProductCodeListItem AWS API Documentation
|
3245
|
+
#
|
3246
|
+
class ProductCodeListItem < Struct.new(
|
3247
|
+
:product_code_id,
|
3248
|
+
:product_code_type)
|
3249
|
+
SENSITIVE = []
|
3250
|
+
include Aws::Structure
|
3251
|
+
end
|
3252
|
+
|
3229
3253
|
# Describes product information for a license configuration.
|
3230
3254
|
#
|
3231
3255
|
# @!attribute [rw] resource_type
|
data/sig/client.rbs
CHANGED
@@ -305,10 +305,22 @@ module Aws
|
|
305
305
|
def create_license_conversion_task_for_resource: (
|
306
306
|
resource_arn: ::String,
|
307
307
|
source_license_context: {
|
308
|
-
usage_operation: ::String
|
308
|
+
usage_operation: ::String?,
|
309
|
+
product_codes: Array[
|
310
|
+
{
|
311
|
+
product_code_id: ::String,
|
312
|
+
product_code_type: ("marketplace")
|
313
|
+
},
|
314
|
+
]?
|
309
315
|
},
|
310
316
|
destination_license_context: {
|
311
|
-
usage_operation: ::String
|
317
|
+
usage_operation: ::String?,
|
318
|
+
product_codes: Array[
|
319
|
+
{
|
320
|
+
product_code_id: ::String,
|
321
|
+
product_code_type: ("marketplace")
|
322
|
+
},
|
323
|
+
]?
|
312
324
|
}
|
313
325
|
) -> _CreateLicenseConversionTaskForResourceResponseSuccess
|
314
326
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLicenseConversionTaskForResourceResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -605,6 +605,7 @@ module Aws::LicenseManager
|
|
605
605
|
|
606
606
|
class LicenseConversionContext
|
607
607
|
attr_accessor usage_operation: ::String
|
608
|
+
attr_accessor product_codes: ::Array[Types::ProductCodeListItem]
|
608
609
|
SENSITIVE: []
|
609
610
|
end
|
610
611
|
|
@@ -902,6 +903,12 @@ module Aws::LicenseManager
|
|
902
903
|
SENSITIVE: []
|
903
904
|
end
|
904
905
|
|
906
|
+
class ProductCodeListItem
|
907
|
+
attr_accessor product_code_id: ::String
|
908
|
+
attr_accessor product_code_type: ("marketplace")
|
909
|
+
SENSITIVE: []
|
910
|
+
end
|
911
|
+
|
905
912
|
class ProductInformation
|
906
913
|
attr_accessor resource_type: ::String
|
907
914
|
attr_accessor product_information_filter_list: ::Array[Types::ProductInformationFilter]
|