aws-sdk-licensemanager 1.43.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +55 -10
- data/lib/aws-sdk-licensemanager/client_api.rb +7 -0
- data/lib/aws-sdk-licensemanager/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-licensemanager/types.rb +85 -11
- data/lib/aws-sdk-licensemanager.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d1d5d8b6b4e426a0a42e69d89d0020617e7f289c8e5efbec6ddf3bbcde0a68f
|
4
|
+
data.tar.gz: 623767ed4aac9ac296df154307060c24516796fe4013864ecee6469632bc67fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef4fd6a8d2fada645354c59a4bb60ba42d60d48cbac63dd2ab0329c732c292108aeea94ffe404266daed1a14e1fcdb4c340f03910f4823eac2c678c1158df85a
|
7
|
+
data.tar.gz: 7416ab1cc6aaa7e40febf7e6463ee1c4847fe2e20136bd4698cf3eb4e27878c9538b59582247ba2a647ab8c8511322df0b945cb929e516daa922e5a608685ea3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.44.0 (2023-04-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds grant override options to the CreateGrantVersion API. These options can be used to specify grant replacement behavior during grant activation.
|
13
|
+
|
4
14
|
1.43.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
@@ -275,6 +275,11 @@ module Aws::LicenseManager
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -605,7 +610,14 @@ module Aws::LicenseManager
|
|
605
610
|
end
|
606
611
|
|
607
612
|
# Creates a grant for the specified license. A grant shares the use of
|
608
|
-
# license entitlements with specific Amazon Web Services
|
613
|
+
# license entitlements with a specific Amazon Web Services account, an
|
614
|
+
# organization, or an organizational unit (OU). For more information,
|
615
|
+
# see [Granted licenses in License Manager][1] in the *License Manager
|
616
|
+
# User Guide*.
|
617
|
+
#
|
618
|
+
#
|
619
|
+
#
|
620
|
+
# [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
|
609
621
|
#
|
610
622
|
# @option params [required, String] :client_token
|
611
623
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -618,8 +630,24 @@ module Aws::LicenseManager
|
|
618
630
|
# Amazon Resource Name (ARN) of the license.
|
619
631
|
#
|
620
632
|
# @option params [required, Array<String>] :principals
|
621
|
-
# The grant principals.
|
622
|
-
# Resource Name (ARN)
|
633
|
+
# The grant principals. You can specify one of the following as an
|
634
|
+
# Amazon Resource Name (ARN):
|
635
|
+
#
|
636
|
+
# * An Amazon Web Services account, which includes only the account
|
637
|
+
# specified.
|
638
|
+
#
|
639
|
+
# ^
|
640
|
+
# ^
|
641
|
+
#
|
642
|
+
# * An organizational unit (OU), which includes all accounts in the OU.
|
643
|
+
#
|
644
|
+
# ^
|
645
|
+
# ^
|
646
|
+
#
|
647
|
+
# * An organization, which will include all accounts across your
|
648
|
+
# organization.
|
649
|
+
#
|
650
|
+
# ^
|
623
651
|
#
|
624
652
|
# @option params [required, String] :home_region
|
625
653
|
# Home Region of the grant.
|
@@ -659,7 +687,13 @@ module Aws::LicenseManager
|
|
659
687
|
req.send_request(options)
|
660
688
|
end
|
661
689
|
|
662
|
-
# Creates a new version of the specified grant.
|
690
|
+
# Creates a new version of the specified grant. For more information,
|
691
|
+
# see [Granted licenses in License Manager][1] in the *License Manager
|
692
|
+
# User Guide*.
|
693
|
+
#
|
694
|
+
#
|
695
|
+
#
|
696
|
+
# [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
|
663
697
|
#
|
664
698
|
# @option params [required, String] :client_token
|
665
699
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -683,6 +717,9 @@ module Aws::LicenseManager
|
|
683
717
|
# @option params [String] :source_version
|
684
718
|
# Current version of the grant.
|
685
719
|
#
|
720
|
+
# @option params [Types::Options] :options
|
721
|
+
# The options specified for the grant.
|
722
|
+
#
|
686
723
|
# @return [Types::CreateGrantVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
687
724
|
#
|
688
725
|
# * {Types::CreateGrantVersionResponse#grant_arn #grant_arn} => String
|
@@ -699,6 +736,9 @@ module Aws::LicenseManager
|
|
699
736
|
# status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED, WORKFLOW_COMPLETED
|
700
737
|
# status_reason: "StatusReasonMessage",
|
701
738
|
# source_version: "String",
|
739
|
+
# options: {
|
740
|
+
# activation_override_behavior: "DISTRIBUTED_GRANTS_ONLY", # accepts DISTRIBUTED_GRANTS_ONLY, ALL_GRANTS_PERMITTED_BY_ISSUER
|
741
|
+
# },
|
702
742
|
# })
|
703
743
|
#
|
704
744
|
# @example Response structure
|
@@ -935,8 +975,7 @@ module Aws::LicenseManager
|
|
935
975
|
# @option params [required, Types::LicenseConversionContext] :source_license_context
|
936
976
|
# Information that identifies the license type you are converting from.
|
937
977
|
# For the structure of the source license, see [Convert a license type
|
938
|
-
# using the
|
939
|
-
# Guide*.
|
978
|
+
# using the CLI ][1] in the *License Manager User Guide*.
|
940
979
|
#
|
941
980
|
#
|
942
981
|
#
|
@@ -945,8 +984,7 @@ module Aws::LicenseManager
|
|
945
984
|
# @option params [required, Types::LicenseConversionContext] :destination_license_context
|
946
985
|
# Information that identifies the license type you are converting to.
|
947
986
|
# For the structure of the destination license, see [Convert a license
|
948
|
-
# type using the
|
949
|
-
# User Guide*.
|
987
|
+
# type using the CLI ][1] in the *License Manager User Guide*.
|
950
988
|
#
|
951
989
|
#
|
952
990
|
#
|
@@ -1466,6 +1504,7 @@ module Aws::LicenseManager
|
|
1466
1504
|
# resp.grant.version #=> String
|
1467
1505
|
# resp.grant.granted_operations #=> Array
|
1468
1506
|
# resp.grant.granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
1507
|
+
# resp.grant.options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
1469
1508
|
#
|
1470
1509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrant AWS API Documentation
|
1471
1510
|
#
|
@@ -1862,6 +1901,7 @@ module Aws::LicenseManager
|
|
1862
1901
|
# resp.grants[0].version #=> String
|
1863
1902
|
# resp.grants[0].granted_operations #=> Array
|
1864
1903
|
# resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
1904
|
+
# resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
1865
1905
|
# resp.next_token #=> String
|
1866
1906
|
#
|
1867
1907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrants AWS API Documentation
|
@@ -2317,7 +2357,10 @@ module Aws::LicenseManager
|
|
2317
2357
|
req.send_request(options)
|
2318
2358
|
end
|
2319
2359
|
|
2320
|
-
# Lists grants that are received
|
2360
|
+
# Lists grants that are received. Received grants are grants created
|
2361
|
+
# while specifying the recipient as this Amazon Web Services account,
|
2362
|
+
# your organization, or an organizational unit (OU) to which this member
|
2363
|
+
# account belongs.
|
2321
2364
|
#
|
2322
2365
|
# @option params [Array<String>] :grant_arns
|
2323
2366
|
# Amazon Resource Names (ARNs) of the grants.
|
@@ -2374,6 +2417,7 @@ module Aws::LicenseManager
|
|
2374
2417
|
# resp.grants[0].version #=> String
|
2375
2418
|
# resp.grants[0].granted_operations #=> Array
|
2376
2419
|
# resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
2420
|
+
# resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
2377
2421
|
# resp.next_token #=> String
|
2378
2422
|
#
|
2379
2423
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrants AWS API Documentation
|
@@ -2436,6 +2480,7 @@ module Aws::LicenseManager
|
|
2436
2480
|
# resp.grants[0].version #=> String
|
2437
2481
|
# resp.grants[0].granted_operations #=> Array
|
2438
2482
|
# resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
2483
|
+
# resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
2439
2484
|
# resp.next_token #=> String
|
2440
2485
|
#
|
2441
2486
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsForOrganization AWS API Documentation
|
@@ -3157,7 +3202,7 @@ module Aws::LicenseManager
|
|
3157
3202
|
params: params,
|
3158
3203
|
config: config)
|
3159
3204
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
3160
|
-
context[:gem_version] = '1.
|
3205
|
+
context[:gem_version] = '1.45.0'
|
3161
3206
|
Seahorse::Client::Request.new(handlers, context)
|
3162
3207
|
end
|
3163
3208
|
|
@@ -16,6 +16,7 @@ module Aws::LicenseManager
|
|
16
16
|
AcceptGrantRequest = Shapes::StructureShape.new(name: 'AcceptGrantRequest')
|
17
17
|
AcceptGrantResponse = Shapes::StructureShape.new(name: 'AcceptGrantResponse')
|
18
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
19
|
+
ActivationOverrideBehavior = Shapes::StringShape.new(name: 'ActivationOverrideBehavior')
|
19
20
|
AllowedOperation = Shapes::StringShape.new(name: 'AllowedOperation')
|
20
21
|
AllowedOperationList = Shapes::ListShape.new(name: 'AllowedOperationList')
|
21
22
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
@@ -185,6 +186,7 @@ module Aws::LicenseManager
|
|
185
186
|
Metadata = Shapes::StructureShape.new(name: 'Metadata')
|
186
187
|
MetadataList = Shapes::ListShape.new(name: 'MetadataList')
|
187
188
|
NoEntitlementsAllowedException = Shapes::StructureShape.new(name: 'NoEntitlementsAllowedException')
|
189
|
+
Options = Shapes::StructureShape.new(name: 'Options')
|
188
190
|
OrganizationConfiguration = Shapes::StructureShape.new(name: 'OrganizationConfiguration')
|
189
191
|
PrincipalArnList = Shapes::ListShape.new(name: 'PrincipalArnList')
|
190
192
|
ProductInformation = Shapes::StructureShape.new(name: 'ProductInformation')
|
@@ -343,6 +345,7 @@ module Aws::LicenseManager
|
|
343
345
|
CreateGrantVersionRequest.add_member(:status, Shapes::ShapeRef.new(shape: GrantStatus, location_name: "Status"))
|
344
346
|
CreateGrantVersionRequest.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReasonMessage, location_name: "StatusReason"))
|
345
347
|
CreateGrantVersionRequest.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "SourceVersion"))
|
348
|
+
CreateGrantVersionRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
346
349
|
CreateGrantVersionRequest.struct_class = Types::CreateGrantVersionRequest
|
347
350
|
|
348
351
|
CreateGrantVersionResponse.add_member(:grant_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "GrantArn"))
|
@@ -611,6 +614,7 @@ module Aws::LicenseManager
|
|
611
614
|
Grant.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReasonMessage, location_name: "StatusReason"))
|
612
615
|
Grant.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Version"))
|
613
616
|
Grant.add_member(:granted_operations, Shapes::ShapeRef.new(shape: AllowedOperationList, required: true, location_name: "GrantedOperations"))
|
617
|
+
Grant.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
614
618
|
Grant.struct_class = Types::Grant
|
615
619
|
|
616
620
|
GrantList.member = Shapes::ShapeRef.new(shape: Grant)
|
@@ -928,6 +932,9 @@ module Aws::LicenseManager
|
|
928
932
|
NoEntitlementsAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
929
933
|
NoEntitlementsAllowedException.struct_class = Types::NoEntitlementsAllowedException
|
930
934
|
|
935
|
+
Options.add_member(:activation_override_behavior, Shapes::ShapeRef.new(shape: ActivationOverrideBehavior, location_name: "ActivationOverrideBehavior"))
|
936
|
+
Options.struct_class = Types::Options
|
937
|
+
|
931
938
|
OrganizationConfiguration.add_member(:enable_integration, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EnableIntegration"))
|
932
939
|
OrganizationConfiguration.struct_class = Types::OrganizationConfiguration
|
933
940
|
|
@@ -14,36 +14,39 @@ module Aws::LicenseManager
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://license-manager-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://license-manager-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://license-manager-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://license-manager-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://license-manager.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://license-manager.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://license-manager.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -377,8 +377,25 @@ module Aws::LicenseManager
|
|
377
377
|
# @return [String]
|
378
378
|
#
|
379
379
|
# @!attribute [rw] principals
|
380
|
-
# The grant principals.
|
381
|
-
# Resource Name (ARN)
|
380
|
+
# The grant principals. You can specify one of the following as an
|
381
|
+
# Amazon Resource Name (ARN):
|
382
|
+
#
|
383
|
+
# * An Amazon Web Services account, which includes only the account
|
384
|
+
# specified.
|
385
|
+
#
|
386
|
+
# ^
|
387
|
+
# ^
|
388
|
+
#
|
389
|
+
# * An organizational unit (OU), which includes all accounts in the
|
390
|
+
# OU.
|
391
|
+
#
|
392
|
+
# ^
|
393
|
+
# ^
|
394
|
+
#
|
395
|
+
# * An organization, which will include all accounts across your
|
396
|
+
# organization.
|
397
|
+
#
|
398
|
+
# ^
|
382
399
|
# @return [Array<String>]
|
383
400
|
#
|
384
401
|
# @!attribute [rw] home_region
|
@@ -453,6 +470,10 @@ module Aws::LicenseManager
|
|
453
470
|
# Current version of the grant.
|
454
471
|
# @return [String]
|
455
472
|
#
|
473
|
+
# @!attribute [rw] options
|
474
|
+
# The options specified for the grant.
|
475
|
+
# @return [Types::Options]
|
476
|
+
#
|
456
477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantVersionRequest AWS API Documentation
|
457
478
|
#
|
458
479
|
class CreateGrantVersionRequest < Struct.new(
|
@@ -462,7 +483,8 @@ module Aws::LicenseManager
|
|
462
483
|
:allowed_operations,
|
463
484
|
:status,
|
464
485
|
:status_reason,
|
465
|
-
:source_version
|
486
|
+
:source_version,
|
487
|
+
:options)
|
466
488
|
SENSITIVE = []
|
467
489
|
include Aws::Structure
|
468
490
|
end
|
@@ -582,8 +604,7 @@ module Aws::LicenseManager
|
|
582
604
|
# @!attribute [rw] source_license_context
|
583
605
|
# Information that identifies the license type you are converting
|
584
606
|
# from. For the structure of the source license, see [Convert a
|
585
|
-
# license type using the
|
586
|
-
# Manager User Guide*.
|
607
|
+
# license type using the CLI ][1] in the *License Manager User Guide*.
|
587
608
|
#
|
588
609
|
#
|
589
610
|
#
|
@@ -593,8 +614,7 @@ module Aws::LicenseManager
|
|
593
614
|
# @!attribute [rw] destination_license_context
|
594
615
|
# Information that identifies the license type you are converting to.
|
595
616
|
# For the structure of the destination license, see [Convert a license
|
596
|
-
# type using the
|
597
|
-
# User Guide*.
|
617
|
+
# type using the CLI ][1] in the *License Manager User Guide*.
|
598
618
|
#
|
599
619
|
#
|
600
620
|
#
|
@@ -1238,7 +1258,8 @@ module Aws::LicenseManager
|
|
1238
1258
|
# @return [String]
|
1239
1259
|
#
|
1240
1260
|
# @!attribute [rw] values
|
1241
|
-
#
|
1261
|
+
# The value of the filter, which is case-sensitive. You can only
|
1262
|
+
# specify one value for the filter.
|
1242
1263
|
# @return [Array<String>]
|
1243
1264
|
#
|
1244
1265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Filter AWS API Documentation
|
@@ -1652,6 +1673,10 @@ module Aws::LicenseManager
|
|
1652
1673
|
# Granted operations.
|
1653
1674
|
# @return [Array<String>]
|
1654
1675
|
#
|
1676
|
+
# @!attribute [rw] options
|
1677
|
+
# The options specified for the grant.
|
1678
|
+
# @return [Types::Options]
|
1679
|
+
#
|
1655
1680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Grant AWS API Documentation
|
1656
1681
|
#
|
1657
1682
|
class Grant < Struct.new(
|
@@ -1664,7 +1689,8 @@ module Aws::LicenseManager
|
|
1664
1689
|
:grant_status,
|
1665
1690
|
:status_reason,
|
1666
1691
|
:version,
|
1667
|
-
:granted_operations
|
1692
|
+
:granted_operations,
|
1693
|
+
:options)
|
1668
1694
|
SENSITIVE = []
|
1669
1695
|
include Aws::Structure
|
1670
1696
|
end
|
@@ -3124,6 +3150,54 @@ module Aws::LicenseManager
|
|
3124
3150
|
include Aws::Structure
|
3125
3151
|
end
|
3126
3152
|
|
3153
|
+
# The options you can specify when you create a new version of a grant,
|
3154
|
+
# such as activation override behavior. For more information, see
|
3155
|
+
# [Granted licenses in License Manager][1] in the *License Manager User
|
3156
|
+
# Guide*.
|
3157
|
+
#
|
3158
|
+
#
|
3159
|
+
#
|
3160
|
+
# [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
|
3161
|
+
#
|
3162
|
+
# @!attribute [rw] activation_override_behavior
|
3163
|
+
# An activation option for your grant that determines the behavior of
|
3164
|
+
# activating a grant. Activation options can only be used with granted
|
3165
|
+
# licenses sourced from the Amazon Web Services Marketplace.
|
3166
|
+
# Additionally, the operation must specify the value of `ACTIVE` for
|
3167
|
+
# the `Status` parameter.
|
3168
|
+
#
|
3169
|
+
# * As a license administrator, you can optionally specify an
|
3170
|
+
# `ActivationOverrideBehavior` when activating a grant.
|
3171
|
+
#
|
3172
|
+
# * As a grantor, you can optionally specify an
|
3173
|
+
# `ActivationOverrideBehavior` when you activate a grant for a
|
3174
|
+
# grantee account in your organization.
|
3175
|
+
#
|
3176
|
+
# * As a grantee, if the grantor creating the distributed grant
|
3177
|
+
# doesn’t specify an `ActivationOverrideBehavior`, you can
|
3178
|
+
# optionally specify one when you are activating the grant.
|
3179
|
+
#
|
3180
|
+
# DISTRIBUTED\_GRANTS\_ONLY
|
3181
|
+
#
|
3182
|
+
# : Use this value to activate a grant without replacing any member
|
3183
|
+
# account’s active grants for the same product.
|
3184
|
+
#
|
3185
|
+
# ALL\_GRANTS\_PERMITTED\_BY\_ISSUER
|
3186
|
+
#
|
3187
|
+
# : Use this value to activate a grant and disable other active grants
|
3188
|
+
# in any member accounts for the same product. This action will also
|
3189
|
+
# replace their previously activated grants with this activated
|
3190
|
+
# grant.
|
3191
|
+
# @return [String]
|
3192
|
+
#
|
3193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Options AWS API Documentation
|
3194
|
+
#
|
3195
|
+
class Options < Struct.new(
|
3196
|
+
:activation_override_behavior)
|
3197
|
+
SENSITIVE = []
|
3198
|
+
include Aws::Structure
|
3199
|
+
end
|
3200
|
+
|
3127
3201
|
# Configuration information for Organizations.
|
3128
3202
|
#
|
3129
3203
|
# @!attribute [rw] enable_integration
|
@@ -3156,7 +3230,7 @@ module Aws::LicenseManager
|
|
3156
3230
|
# `ProductInformationFilterComparator`.
|
3157
3231
|
#
|
3158
3232
|
# The following filters and are supported when the resource type is
|
3159
|
-
# `SSM_MANAGED
|
3233
|
+
# `SSM_MANAGED`:
|
3160
3234
|
#
|
3161
3235
|
# * `Application Name` - The name of the application. Logical operator
|
3162
3236
|
# is `EQUALS`.
|
@@ -3189,7 +3263,7 @@ module Aws::LicenseManager
|
|
3189
3263
|
# `sql-server-web` \| `windows-server-datacenter`.
|
3190
3264
|
#
|
3191
3265
|
# The following filters and logical operators are supported when the
|
3192
|
-
# resource type is `RDS
|
3266
|
+
# resource type is `RDS`:
|
3193
3267
|
#
|
3194
3268
|
# * `Engine Edition` - The edition of the database engine. Logical
|
3195
3269
|
# operator is `EQUALS`. Possible values are: `oracle-ee` \|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|