aws-sdk-licensemanager 1.74.0 → 1.76.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +43 -9
- 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 +15 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a18e3276045aed6f0df10143f2ef49a1fb63b87112e499f1a0cf088528061ea
|
4
|
+
data.tar.gz: 4240b127f941617033107031f92839d0da736d7a627e102da17f6d3c701c544f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64af5663d46d570301aac3e6f05ab83d1d0667e43fbe20bf534db9436735f44eaee5b3d951a642151fea695f0e1dbef2f6ade1d0b7c93cbdd4261ab6e049c33d
|
7
|
+
data.tar.gz: d1e58c7a3a7bc8690e320b3385c51ccc8c6376ee4e158a2ddede251ab651718f153b4da4402ced2a4d8c3ed0f3b137c8ee185d27466a94a82c3f297eb436a0ce
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.75.0 (2025-06-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.74.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
@@ -95,7 +95,7 @@ module Aws::LicenseManager
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::LicenseManager
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::LicenseManager
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::LicenseManager
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::LicenseManager
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -1120,9 +1130,21 @@ module Aws::LicenseManager
|
|
1120
1130
|
# resource_arn: "Arn", # required
|
1121
1131
|
# source_license_context: { # required
|
1122
1132
|
# usage_operation: "UsageOperation",
|
1133
|
+
# product_codes: [
|
1134
|
+
# {
|
1135
|
+
# product_code_id: "ProductCodeId", # required
|
1136
|
+
# product_code_type: "marketplace", # required, accepts marketplace
|
1137
|
+
# },
|
1138
|
+
# ],
|
1123
1139
|
# },
|
1124
1140
|
# destination_license_context: { # required
|
1125
1141
|
# usage_operation: "UsageOperation",
|
1142
|
+
# product_codes: [
|
1143
|
+
# {
|
1144
|
+
# product_code_id: "ProductCodeId", # required
|
1145
|
+
# product_code_type: "marketplace", # required, accepts marketplace
|
1146
|
+
# },
|
1147
|
+
# ],
|
1126
1148
|
# },
|
1127
1149
|
# })
|
1128
1150
|
#
|
@@ -1795,7 +1817,13 @@ module Aws::LicenseManager
|
|
1795
1817
|
# resp.license_conversion_task_id #=> String
|
1796
1818
|
# resp.resource_arn #=> String
|
1797
1819
|
# resp.source_license_context.usage_operation #=> String
|
1820
|
+
# resp.source_license_context.product_codes #=> Array
|
1821
|
+
# resp.source_license_context.product_codes[0].product_code_id #=> String
|
1822
|
+
# resp.source_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
1798
1823
|
# resp.destination_license_context.usage_operation #=> String
|
1824
|
+
# resp.destination_license_context.product_codes #=> Array
|
1825
|
+
# resp.destination_license_context.product_codes[0].product_code_id #=> String
|
1826
|
+
# resp.destination_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
1799
1827
|
# resp.status_message #=> String
|
1800
1828
|
# resp.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
1801
1829
|
# resp.start_time #=> Time
|
@@ -2202,7 +2230,13 @@ module Aws::LicenseManager
|
|
2202
2230
|
# resp.license_conversion_tasks[0].license_conversion_task_id #=> String
|
2203
2231
|
# resp.license_conversion_tasks[0].resource_arn #=> String
|
2204
2232
|
# resp.license_conversion_tasks[0].source_license_context.usage_operation #=> String
|
2233
|
+
# resp.license_conversion_tasks[0].source_license_context.product_codes #=> Array
|
2234
|
+
# resp.license_conversion_tasks[0].source_license_context.product_codes[0].product_code_id #=> String
|
2235
|
+
# resp.license_conversion_tasks[0].source_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
2205
2236
|
# resp.license_conversion_tasks[0].destination_license_context.usage_operation #=> String
|
2237
|
+
# resp.license_conversion_tasks[0].destination_license_context.product_codes #=> Array
|
2238
|
+
# resp.license_conversion_tasks[0].destination_license_context.product_codes[0].product_code_id #=> String
|
2239
|
+
# resp.license_conversion_tasks[0].destination_license_context.product_codes[0].product_code_type #=> String, one of "marketplace"
|
2206
2240
|
# resp.license_conversion_tasks[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2207
2241
|
# resp.license_conversion_tasks[0].status_message #=> String
|
2208
2242
|
# resp.license_conversion_tasks[0].start_time #=> Time
|
@@ -3350,7 +3384,7 @@ module Aws::LicenseManager
|
|
3350
3384
|
tracer: tracer
|
3351
3385
|
)
|
3352
3386
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
3353
|
-
context[:gem_version] = '1.
|
3387
|
+
context[:gem_version] = '1.76.0'
|
3354
3388
|
Seahorse::Client::Request.new(handlers, context)
|
3355
3389
|
end
|
3356
3390
|
|
@@ -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
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -305,10 +306,22 @@ module Aws
|
|
305
306
|
def create_license_conversion_task_for_resource: (
|
306
307
|
resource_arn: ::String,
|
307
308
|
source_license_context: {
|
308
|
-
usage_operation: ::String
|
309
|
+
usage_operation: ::String?,
|
310
|
+
product_codes: Array[
|
311
|
+
{
|
312
|
+
product_code_id: ::String,
|
313
|
+
product_code_type: ("marketplace")
|
314
|
+
},
|
315
|
+
]?
|
309
316
|
},
|
310
317
|
destination_license_context: {
|
311
|
-
usage_operation: ::String
|
318
|
+
usage_operation: ::String?,
|
319
|
+
product_codes: Array[
|
320
|
+
{
|
321
|
+
product_code_id: ::String,
|
322
|
+
product_code_type: ("marketplace")
|
323
|
+
},
|
324
|
+
]?
|
312
325
|
}
|
313
326
|
) -> _CreateLicenseConversionTaskForResourceResponseSuccess
|
314
327
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLicenseConversionTaskForResourceResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
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]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-licensemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.76.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|