aws-sdk-licensemanager 1.43.0 → 1.44.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +50 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c332b2b44e6a934ba618126f02df559e807082396c0f95a513f627bd54fe251
|
4
|
+
data.tar.gz: 7cdb4530695fff68e8cc268de07bf301933d9feae8a1ebf4d61b6b104ba0abe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8a1079892e8b220ca56c33075cd68685a0246a4c6170b647527a60e777a67a5a681752405df6e3260022046b05871152ec3d6075ffbfcd7e5f298899538f56a
|
7
|
+
data.tar.gz: 01cb49dd83d20e60125d0efb9aa75cb900ab0b68af7bc13068600ff240a3adea5602a8ec085faea167b63423a8d9894487b472174bb51caedb8b336d66fc02cf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2023-04-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds grant override options to the CreateGrantVersion API. These options can be used to specify grant replacement behavior during grant activation.
|
8
|
+
|
4
9
|
1.43.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -605,7 +605,14 @@ module Aws::LicenseManager
|
|
605
605
|
end
|
606
606
|
|
607
607
|
# Creates a grant for the specified license. A grant shares the use of
|
608
|
-
# license entitlements with specific Amazon Web Services
|
608
|
+
# license entitlements with a specific Amazon Web Services account, an
|
609
|
+
# organization, or an organizational unit (OU). For more information,
|
610
|
+
# see [Granted licenses in License Manager][1] in the *License Manager
|
611
|
+
# User Guide*.
|
612
|
+
#
|
613
|
+
#
|
614
|
+
#
|
615
|
+
# [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
|
609
616
|
#
|
610
617
|
# @option params [required, String] :client_token
|
611
618
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -618,8 +625,24 @@ module Aws::LicenseManager
|
|
618
625
|
# Amazon Resource Name (ARN) of the license.
|
619
626
|
#
|
620
627
|
# @option params [required, Array<String>] :principals
|
621
|
-
# The grant principals.
|
622
|
-
# Resource Name (ARN)
|
628
|
+
# The grant principals. You can specify one of the following as an
|
629
|
+
# Amazon Resource Name (ARN):
|
630
|
+
#
|
631
|
+
# * An Amazon Web Services account, which includes only the account
|
632
|
+
# specified.
|
633
|
+
#
|
634
|
+
# ^
|
635
|
+
# ^
|
636
|
+
#
|
637
|
+
# * An organizational unit (OU), which includes all accounts in the OU.
|
638
|
+
#
|
639
|
+
# ^
|
640
|
+
# ^
|
641
|
+
#
|
642
|
+
# * An organization, which will include all accounts across your
|
643
|
+
# organization.
|
644
|
+
#
|
645
|
+
# ^
|
623
646
|
#
|
624
647
|
# @option params [required, String] :home_region
|
625
648
|
# Home Region of the grant.
|
@@ -659,7 +682,13 @@ module Aws::LicenseManager
|
|
659
682
|
req.send_request(options)
|
660
683
|
end
|
661
684
|
|
662
|
-
# Creates a new version of the specified grant.
|
685
|
+
# Creates a new version of the specified grant. For more information,
|
686
|
+
# see [Granted licenses in License Manager][1] in the *License Manager
|
687
|
+
# User Guide*.
|
688
|
+
#
|
689
|
+
#
|
690
|
+
#
|
691
|
+
# [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
|
663
692
|
#
|
664
693
|
# @option params [required, String] :client_token
|
665
694
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -683,6 +712,9 @@ module Aws::LicenseManager
|
|
683
712
|
# @option params [String] :source_version
|
684
713
|
# Current version of the grant.
|
685
714
|
#
|
715
|
+
# @option params [Types::Options] :options
|
716
|
+
# The options specified for the grant.
|
717
|
+
#
|
686
718
|
# @return [Types::CreateGrantVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
687
719
|
#
|
688
720
|
# * {Types::CreateGrantVersionResponse#grant_arn #grant_arn} => String
|
@@ -699,6 +731,9 @@ module Aws::LicenseManager
|
|
699
731
|
# status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED, WORKFLOW_COMPLETED
|
700
732
|
# status_reason: "StatusReasonMessage",
|
701
733
|
# source_version: "String",
|
734
|
+
# options: {
|
735
|
+
# activation_override_behavior: "DISTRIBUTED_GRANTS_ONLY", # accepts DISTRIBUTED_GRANTS_ONLY, ALL_GRANTS_PERMITTED_BY_ISSUER
|
736
|
+
# },
|
702
737
|
# })
|
703
738
|
#
|
704
739
|
# @example Response structure
|
@@ -935,8 +970,7 @@ module Aws::LicenseManager
|
|
935
970
|
# @option params [required, Types::LicenseConversionContext] :source_license_context
|
936
971
|
# Information that identifies the license type you are converting from.
|
937
972
|
# For the structure of the source license, see [Convert a license type
|
938
|
-
# using the
|
939
|
-
# Guide*.
|
973
|
+
# using the CLI ][1] in the *License Manager User Guide*.
|
940
974
|
#
|
941
975
|
#
|
942
976
|
#
|
@@ -945,8 +979,7 @@ module Aws::LicenseManager
|
|
945
979
|
# @option params [required, Types::LicenseConversionContext] :destination_license_context
|
946
980
|
# Information that identifies the license type you are converting to.
|
947
981
|
# For the structure of the destination license, see [Convert a license
|
948
|
-
# type using the
|
949
|
-
# User Guide*.
|
982
|
+
# type using the CLI ][1] in the *License Manager User Guide*.
|
950
983
|
#
|
951
984
|
#
|
952
985
|
#
|
@@ -1466,6 +1499,7 @@ module Aws::LicenseManager
|
|
1466
1499
|
# resp.grant.version #=> String
|
1467
1500
|
# resp.grant.granted_operations #=> Array
|
1468
1501
|
# resp.grant.granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
1502
|
+
# resp.grant.options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
1469
1503
|
#
|
1470
1504
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrant AWS API Documentation
|
1471
1505
|
#
|
@@ -1862,6 +1896,7 @@ module Aws::LicenseManager
|
|
1862
1896
|
# resp.grants[0].version #=> String
|
1863
1897
|
# resp.grants[0].granted_operations #=> Array
|
1864
1898
|
# resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
1899
|
+
# resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
1865
1900
|
# resp.next_token #=> String
|
1866
1901
|
#
|
1867
1902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrants AWS API Documentation
|
@@ -2317,7 +2352,10 @@ module Aws::LicenseManager
|
|
2317
2352
|
req.send_request(options)
|
2318
2353
|
end
|
2319
2354
|
|
2320
|
-
# Lists grants that are received
|
2355
|
+
# Lists grants that are received. Received grants are grants created
|
2356
|
+
# while specifying the recipient as this Amazon Web Services account,
|
2357
|
+
# your organization, or an organizational unit (OU) to which this member
|
2358
|
+
# account belongs.
|
2321
2359
|
#
|
2322
2360
|
# @option params [Array<String>] :grant_arns
|
2323
2361
|
# Amazon Resource Names (ARNs) of the grants.
|
@@ -2374,6 +2412,7 @@ module Aws::LicenseManager
|
|
2374
2412
|
# resp.grants[0].version #=> String
|
2375
2413
|
# resp.grants[0].granted_operations #=> Array
|
2376
2414
|
# resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
2415
|
+
# resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
2377
2416
|
# resp.next_token #=> String
|
2378
2417
|
#
|
2379
2418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrants AWS API Documentation
|
@@ -2436,6 +2475,7 @@ module Aws::LicenseManager
|
|
2436
2475
|
# resp.grants[0].version #=> String
|
2437
2476
|
# resp.grants[0].granted_operations #=> Array
|
2438
2477
|
# resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
2478
|
+
# resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
|
2439
2479
|
# resp.next_token #=> String
|
2440
2480
|
#
|
2441
2481
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsForOrganization AWS API Documentation
|
@@ -3157,7 +3197,7 @@ module Aws::LicenseManager
|
|
3157
3197
|
params: params,
|
3158
3198
|
config: config)
|
3159
3199
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
3160
|
-
context[:gem_version] = '1.
|
3200
|
+
context[:gem_version] = '1.44.0'
|
3161
3201
|
Seahorse::Client::Request.new(handlers, context)
|
3162
3202
|
end
|
3163
3203
|
|
@@ -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.44.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-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|