aws-sdk-licensemanager 1.99.0 → 1.100.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 623f4b50ecc6aee7a283f399b5929f027b7a85ddf500cc1eb0f89ef5391491ba
4
- data.tar.gz: 97c5849554a465421064de9e64071c1358a66a77de8cc48c2c20833b8d2b7e34
3
+ metadata.gz: 3b2689d3841c358ac7daaead2b3be8a975aea1f30362c95521fd6fbfff1e90b5
4
+ data.tar.gz: ed1b50ae97dd3ab667db0b3c0d2c6bc7beb3f32fdcd58537b95849b4c84bc42d
5
5
  SHA512:
6
- metadata.gz: 0d6a0100fe3651a799a28b0c2db91442e3cf52f196bf56c78455efa92e1a0701ea9fe22d714c05dbe3723eb06fca029970b06d54bfc5f297ac4fe90270be19d8
7
- data.tar.gz: cf0544f4498cfe3607607545c3d0dcbf5caf5e7f67a05eb9e4000e84d5fb55cfb4f7aa054cec580615741c1406652513169dd52f2cac299210a4474586575189
6
+ metadata.gz: ba5bc4c9cf7ed54665773eb711530513ab12d23020c53c745e18faa0c4c50fbedb1b99f8c087b6bdc13e99a8f260b7e7db854e014581db4409420106fdc63048
7
+ data.tar.gz: 54337f5c037987bd7897fb76aa51b0dd6ca0081f7b77692ad21adcce58f5bf1610fc4eb46ff40364d032db31c921d2094127fb6f575feaf04b64614500abe730
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2026-10-27)
5
+ ------------------
6
+
7
+ * Feature - AWS License Manager now supports delegate grants for read-only visibility into license distributions. CreateGrant accepts a new GrantType (BuyerGrant or DelegateGrant) and a desired status at distribution time.
8
+
4
9
  1.99.0 (2026-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.100.0
@@ -720,6 +720,25 @@ module Aws::LicenseManager
720
720
  # see [Granted licenses in License Manager][1] in the *License Manager
721
721
  # User Guide*.
722
722
  #
723
+ # Set the type of grant with the `GrantType` field:
724
+ #
725
+ # * `BuyerGrant` - The default grant type, created by the seller when a
726
+ # customer subscribes to a product. The seller creates a license for
727
+ # the subscription and a buyer grant for the customer. With a buyer
728
+ # grant, the customer can use, consume, and distribute the license,
729
+ # according to the permissions the seller sets in the product
730
+ # contract.
731
+ #
732
+ # * `DelegateGrant` - A delegate grant gives the grantee read-only
733
+ # visibility into the licenses and grants that you have distributed to
734
+ # buyers for a product. The grantee can monitor that activity on your
735
+ # behalf, and can also listen for the related Amazon EventBridge
736
+ # events. A delegate grant conveys no entitlement to use the licenses,
737
+ # and its only allowed operation is `ListReceivedLicenses`. You must
738
+ # create the delegate grant, and its license, from the same Amazon Web
739
+ # Services account that you used to create those buyer licenses and
740
+ # grants.
741
+ #
723
742
  #
724
743
  #
725
744
  # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
@@ -768,6 +787,21 @@ module Aws::LicenseManager
768
787
  #
769
788
  # [1]: https://docs.aws.amazon.com/license-manager/latest/APIReference/API_TagResource.html
770
789
  #
790
+ # @option params [String] :grant_type
791
+ # The type of grant to create. For more information about each type, see
792
+ # the preceding description of this operation. Valid values:
793
+ #
794
+ # * `BuyerGrant` - The default grant type if you don't specify a value.
795
+ # Conveys the entitlement to use the license.
796
+ #
797
+ # * `DelegateGrant` - Gives the grantee read-only visibility into the
798
+ # licenses and grants that you have distributed to buyers, with no
799
+ # entitlement to use them.
800
+ #
801
+ # @option params [Types::Options] :options
802
+ # The options for the grant: the status to set after creation, and how
803
+ # activating the grant affects other active grants for the same product.
804
+ #
771
805
  # @return [Types::CreateGrantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
772
806
  #
773
807
  # * {Types::CreateGrantResponse#grant_arn #grant_arn} => String
@@ -782,13 +816,18 @@ module Aws::LicenseManager
782
816
  # license_arn: "Arn", # required
783
817
  # principals: ["Arn"], # required
784
818
  # home_region: "String", # required
785
- # allowed_operations: ["CreateGrant"], # required, accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
819
+ # allowed_operations: ["CreateGrant"], # required, accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken, ListReceivedLicenses
786
820
  # tags: [
787
821
  # {
788
822
  # key: "String",
789
823
  # value: "String",
790
824
  # },
791
825
  # ],
826
+ # grant_type: "BuyerGrant", # accepts BuyerGrant, DelegateGrant
827
+ # options: {
828
+ # activation_override_behavior: "DISTRIBUTED_GRANTS_ONLY", # accepts DISTRIBUTED_GRANTS_ONLY, ALL_GRANTS_PERMITTED_BY_ISSUER
829
+ # desired_status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED, WORKFLOW_COMPLETED
830
+ # },
792
831
  # })
793
832
  #
794
833
  # @example Response structure
@@ -851,12 +890,13 @@ module Aws::LicenseManager
851
890
  # client_token: "ClientToken", # required
852
891
  # grant_arn: "Arn", # required
853
892
  # grant_name: "String",
854
- # allowed_operations: ["CreateGrant"], # accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken
893
+ # allowed_operations: ["CreateGrant"], # accepts CreateGrant, CheckoutLicense, CheckoutBorrowLicense, CheckInLicense, ExtendConsumptionLicense, ListPurchasedLicenses, CreateToken, ListReceivedLicenses
855
894
  # status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED, WORKFLOW_COMPLETED
856
895
  # status_reason: "StatusReasonMessage",
857
896
  # source_version: "String",
858
897
  # options: {
859
898
  # activation_override_behavior: "DISTRIBUTED_GRANTS_ONLY", # accepts DISTRIBUTED_GRANTS_ONLY, ALL_GRANTS_PERMITTED_BY_ISSUER
899
+ # desired_status: "PENDING_WORKFLOW", # accepts PENDING_WORKFLOW, PENDING_ACCEPT, REJECTED, ACTIVE, FAILED_WORKFLOW, DELETED, PENDING_DELETE, DISABLED, WORKFLOW_COMPLETED
860
900
  # },
861
901
  # })
862
902
  #
@@ -1949,8 +1989,10 @@ module Aws::LicenseManager
1949
1989
  # resp.grant.status_reason #=> String
1950
1990
  # resp.grant.version #=> String
1951
1991
  # resp.grant.granted_operations #=> Array
1952
- # resp.grant.granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
1992
+ # resp.grant.granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken", "ListReceivedLicenses"
1953
1993
  # resp.grant.options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
1994
+ # resp.grant.options.desired_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
1995
+ # resp.grant.grant_type #=> String, one of "BuyerGrant", "DelegateGrant"
1954
1996
  #
1955
1997
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrant AWS API Documentation
1956
1998
  #
@@ -2546,8 +2588,10 @@ module Aws::LicenseManager
2546
2588
  # resp.grants[0].status_reason #=> String
2547
2589
  # resp.grants[0].version #=> String
2548
2590
  # resp.grants[0].granted_operations #=> Array
2549
- # resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
2591
+ # resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken", "ListReceivedLicenses"
2550
2592
  # resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
2593
+ # resp.grants[0].options.desired_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
2594
+ # resp.grants[0].grant_type #=> String, one of "BuyerGrant", "DelegateGrant"
2551
2595
  # resp.next_token #=> String
2552
2596
  #
2553
2597
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrants AWS API Documentation
@@ -3325,8 +3369,10 @@ module Aws::LicenseManager
3325
3369
  # resp.grants[0].status_reason #=> String
3326
3370
  # resp.grants[0].version #=> String
3327
3371
  # resp.grants[0].granted_operations #=> Array
3328
- # resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
3372
+ # resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken", "ListReceivedLicenses"
3329
3373
  # resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
3374
+ # resp.grants[0].options.desired_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
3375
+ # resp.grants[0].grant_type #=> String, one of "BuyerGrant", "DelegateGrant"
3330
3376
  # resp.next_token #=> String
3331
3377
  #
3332
3378
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrants AWS API Documentation
@@ -3388,8 +3434,10 @@ module Aws::LicenseManager
3388
3434
  # resp.grants[0].status_reason #=> String
3389
3435
  # resp.grants[0].version #=> String
3390
3436
  # resp.grants[0].granted_operations #=> Array
3391
- # resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
3437
+ # resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken", "ListReceivedLicenses"
3392
3438
  # resp.grants[0].options.activation_override_behavior #=> String, one of "DISTRIBUTED_GRANTS_ONLY", "ALL_GRANTS_PERMITTED_BY_ISSUER"
3439
+ # resp.grants[0].options.desired_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
3440
+ # resp.grants[0].grant_type #=> String, one of "BuyerGrant", "DelegateGrant"
3393
3441
  # resp.next_token #=> String
3394
3442
  #
3395
3443
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsForOrganization AWS API Documentation
@@ -3478,7 +3526,8 @@ module Aws::LicenseManager
3478
3526
  # resp.licenses[0].received_metadata.received_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "DISABLED", "WORKFLOW_COMPLETED"
3479
3527
  # resp.licenses[0].received_metadata.received_status_reason #=> String
3480
3528
  # resp.licenses[0].received_metadata.allowed_operations #=> Array
3481
- # resp.licenses[0].received_metadata.allowed_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
3529
+ # resp.licenses[0].received_metadata.allowed_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken", "ListReceivedLicenses"
3530
+ # resp.licenses[0].received_metadata.grant_type #=> String, one of "BuyerGrant", "DelegateGrant"
3482
3531
  # resp.next_token #=> String
3483
3532
  #
3484
3533
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicenses AWS API Documentation
@@ -3557,7 +3606,8 @@ module Aws::LicenseManager
3557
3606
  # resp.licenses[0].received_metadata.received_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "DISABLED", "WORKFLOW_COMPLETED"
3558
3607
  # resp.licenses[0].received_metadata.received_status_reason #=> String
3559
3608
  # resp.licenses[0].received_metadata.allowed_operations #=> Array
3560
- # resp.licenses[0].received_metadata.allowed_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
3609
+ # resp.licenses[0].received_metadata.allowed_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken", "ListReceivedLicenses"
3610
+ # resp.licenses[0].received_metadata.grant_type #=> String, one of "BuyerGrant", "DelegateGrant"
3561
3611
  # resp.next_token #=> String
3562
3612
  #
3563
3613
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesForOrganization AWS API Documentation
@@ -4393,7 +4443,7 @@ module Aws::LicenseManager
4393
4443
  tracer: tracer
4394
4444
  )
4395
4445
  context[:gem_name] = 'aws-sdk-licensemanager'
4396
- context[:gem_version] = '1.99.0'
4446
+ context[:gem_version] = '1.100.0'
4397
4447
  Seahorse::Client::Request.new(handlers, context)
4398
4448
  end
4399
4449
 
@@ -126,6 +126,7 @@ module Aws::LicenseManager
126
126
  Grant = Shapes::StructureShape.new(name: 'Grant')
127
127
  GrantList = Shapes::ListShape.new(name: 'GrantList')
128
128
  GrantStatus = Shapes::StringShape.new(name: 'GrantStatus')
129
+ GrantType = Shapes::StringShape.new(name: 'GrantType')
129
130
  GrantedLicense = Shapes::StructureShape.new(name: 'GrantedLicense')
130
131
  GrantedLicenseList = Shapes::ListShape.new(name: 'GrantedLicenseList')
131
132
  ISO8601DateTime = Shapes::StringShape.new(name: 'ISO8601DateTime')
@@ -402,6 +403,8 @@ module Aws::LicenseManager
402
403
  CreateGrantRequest.add_member(:home_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "HomeRegion"))
403
404
  CreateGrantRequest.add_member(:allowed_operations, Shapes::ShapeRef.new(shape: AllowedOperationList, required: true, location_name: "AllowedOperations"))
404
405
  CreateGrantRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
406
+ CreateGrantRequest.add_member(:grant_type, Shapes::ShapeRef.new(shape: GrantType, location_name: "GrantType"))
407
+ CreateGrantRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
405
408
  CreateGrantRequest.struct_class = Types::CreateGrantRequest
406
409
 
407
410
  CreateGrantResponse.add_member(:grant_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "GrantArn"))
@@ -745,6 +748,7 @@ module Aws::LicenseManager
745
748
  Grant.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Version"))
746
749
  Grant.add_member(:granted_operations, Shapes::ShapeRef.new(shape: AllowedOperationList, required: true, location_name: "GrantedOperations"))
747
750
  Grant.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
751
+ Grant.add_member(:grant_type, Shapes::ShapeRef.new(shape: GrantType, location_name: "GrantType"))
748
752
  Grant.struct_class = Types::Grant
749
753
 
750
754
  GrantList.member = Shapes::ShapeRef.new(shape: Grant)
@@ -1167,6 +1171,7 @@ module Aws::LicenseManager
1167
1171
  NoEntitlementsAllowedException.struct_class = Types::NoEntitlementsAllowedException
1168
1172
 
1169
1173
  Options.add_member(:activation_override_behavior, Shapes::ShapeRef.new(shape: ActivationOverrideBehavior, location_name: "ActivationOverrideBehavior"))
1174
+ Options.add_member(:desired_status, Shapes::ShapeRef.new(shape: GrantStatus, location_name: "DesiredStatus"))
1170
1175
  Options.struct_class = Types::Options
1171
1176
 
1172
1177
  OrRuleStatement.add_member(:matching_rule_statements, Shapes::ShapeRef.new(shape: MatchingRuleStatementList, location_name: "MatchingRuleStatements"))
@@ -1206,6 +1211,7 @@ module Aws::LicenseManager
1206
1211
  ReceivedMetadata.add_member(:received_status, Shapes::ShapeRef.new(shape: ReceivedStatus, location_name: "ReceivedStatus"))
1207
1212
  ReceivedMetadata.add_member(:received_status_reason, Shapes::ShapeRef.new(shape: StatusReasonMessage, location_name: "ReceivedStatusReason"))
1208
1213
  ReceivedMetadata.add_member(:allowed_operations, Shapes::ShapeRef.new(shape: AllowedOperationList, location_name: "AllowedOperations"))
1214
+ ReceivedMetadata.add_member(:grant_type, Shapes::ShapeRef.new(shape: GrantType, location_name: "GrantType"))
1209
1215
  ReceivedMetadata.struct_class = Types::ReceivedMetadata
1210
1216
 
1211
1217
  RedirectException.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
@@ -453,6 +453,24 @@ module Aws::LicenseManager
453
453
  # [1]: https://docs.aws.amazon.com/license-manager/latest/APIReference/API_TagResource.html
454
454
  # @return [Array<Types::Tag>]
455
455
  #
456
+ # @!attribute [rw] grant_type
457
+ # The type of grant to create. For more information about each type,
458
+ # see the preceding description of this operation. Valid values:
459
+ #
460
+ # * `BuyerGrant` - The default grant type if you don't specify a
461
+ # value. Conveys the entitlement to use the license.
462
+ #
463
+ # * `DelegateGrant` - Gives the grantee read-only visibility into the
464
+ # licenses and grants that you have distributed to buyers, with no
465
+ # entitlement to use them.
466
+ # @return [String]
467
+ #
468
+ # @!attribute [rw] options
469
+ # The options for the grant: the status to set after creation, and how
470
+ # activating the grant affects other active grants for the same
471
+ # product.
472
+ # @return [Types::Options]
473
+ #
456
474
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantRequest AWS API Documentation
457
475
  #
458
476
  class CreateGrantRequest < Struct.new(
@@ -462,7 +480,9 @@ module Aws::LicenseManager
462
480
  :principals,
463
481
  :home_region,
464
482
  :allowed_operations,
465
- :tags)
483
+ :tags,
484
+ :grant_type,
485
+ :options)
466
486
  SENSITIVE = []
467
487
  include Aws::Structure
468
488
  end
@@ -1987,6 +2007,16 @@ module Aws::LicenseManager
1987
2007
  # The options specified for the grant.
1988
2008
  # @return [Types::Options]
1989
2009
  #
2010
+ # @!attribute [rw] grant_type
2011
+ # The type of the grant. Valid values:
2012
+ #
2013
+ # * `BuyerGrant` - Grants the entitlement to use the license.
2014
+ #
2015
+ # * `DelegateGrant` - Gives the grantee read-only visibility into the
2016
+ # licenses and grants distributed to buyers, with no entitlement to
2017
+ # use them.
2018
+ # @return [String]
2019
+ #
1990
2020
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Grant AWS API Documentation
1991
2021
  #
1992
2022
  class Grant < Struct.new(
@@ -2000,7 +2030,8 @@ module Aws::LicenseManager
2000
2030
  :status_reason,
2001
2031
  :version,
2002
2032
  :granted_operations,
2003
- :options)
2033
+ :options,
2034
+ :grant_type)
2004
2035
  SENSITIVE = []
2005
2036
  include Aws::Structure
2006
2037
  end
@@ -3942,10 +3973,10 @@ module Aws::LicenseManager
3942
3973
  include Aws::Structure
3943
3974
  end
3944
3975
 
3945
- # The options you can specify when you create a new version of a grant,
3946
- # such as activation override behavior. For more information, see
3947
- # [Granted licenses in License Manager][1] in the *License Manager User
3948
- # Guide*.
3976
+ # The options you can specify when you create a grant or a new version
3977
+ # of a grant, such as activation override behavior. For more
3978
+ # information, see [Granted licenses in License Manager][1] in the
3979
+ # *License Manager User Guide*.
3949
3980
  #
3950
3981
  #
3951
3982
  #
@@ -3955,8 +3986,10 @@ module Aws::LicenseManager
3955
3986
  # An activation option for your grant that determines the behavior of
3956
3987
  # activating a grant. Activation options can only be used with granted
3957
3988
  # licenses sourced from the Amazon Web Services Marketplace.
3958
- # Additionally, the operation must specify the value of `ACTIVE` for
3959
- # the `Status` parameter.
3989
+ # Additionally, the operation must activate the grant. For the
3990
+ # `CreateGrantVersion` operation, specify `ACTIVE` for the `Status`
3991
+ # parameter. For the `CreateGrant` operation, specify `ACTIVE` for the
3992
+ # `DesiredStatus` option.
3960
3993
  #
3961
3994
  # * As a license administrator, you can optionally specify an
3962
3995
  # `ActivationOverrideBehavior` when activating a grant.
@@ -3982,10 +4015,22 @@ module Aws::LicenseManager
3982
4015
  # grant.
3983
4016
  # @return [String]
3984
4017
  #
4018
+ # @!attribute [rw] desired_status
4019
+ # The status of the grant after License Manager creates it. The only
4020
+ # supported value is `ACTIVE`. Specify `ACTIVE` to create and activate
4021
+ # the grant in one request.
4022
+ #
4023
+ # You can specify this option only for the `CreateGrant` operation,
4024
+ # and only when the grant principal is an organization or an
4025
+ # organizational unit (OU). To change the status of an existing grant,
4026
+ # use the `Status` parameter of the `CreateGrantVersion` operation.
4027
+ # @return [String]
4028
+ #
3985
4029
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Options AWS API Documentation
3986
4030
  #
3987
4031
  class Options < Struct.new(
3988
- :activation_override_behavior)
4032
+ :activation_override_behavior,
4033
+ :desired_status)
3989
4034
  SENSITIVE = []
3990
4035
  include Aws::Structure
3991
4036
  end
@@ -4179,12 +4224,23 @@ module Aws::LicenseManager
4179
4224
  # Allowed operations.
4180
4225
  # @return [Array<String>]
4181
4226
  #
4227
+ # @!attribute [rw] grant_type
4228
+ # The type of the grant through which the license was received. Valid
4229
+ # values:
4230
+ #
4231
+ # * `BuyerGrant` - Grants you the entitlement to use the license.
4232
+ #
4233
+ # * `DelegateGrant` - Gives you read-only visibility into the licenses
4234
+ # and grants distributed to buyers, with no entitlement to use them.
4235
+ # @return [String]
4236
+ #
4182
4237
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ReceivedMetadata AWS API Documentation
4183
4238
  #
4184
4239
  class ReceivedMetadata < Struct.new(
4185
4240
  :received_status,
4186
4241
  :received_status_reason,
4187
- :allowed_operations)
4242
+ :allowed_operations,
4243
+ :grant_type)
4188
4244
  SENSITIVE = []
4189
4245
  include Aws::Structure
4190
4246
  end
@@ -54,7 +54,7 @@ module Aws::LicenseManager
54
54
  autoload :EndpointProvider, 'aws-sdk-licensemanager/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-licensemanager/endpoints'
56
56
 
57
- GEM_VERSION = '1.99.0'
57
+ GEM_VERSION = '1.100.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -177,13 +177,18 @@ module Aws
177
177
  license_arn: ::String,
178
178
  principals: Array[::String],
179
179
  home_region: ::String,
180
- allowed_operations: Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")],
180
+ allowed_operations: Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken" | "ListReceivedLicenses")],
181
181
  ?tags: Array[
182
182
  {
183
183
  key: ::String?,
184
184
  value: ::String?
185
185
  }
186
- ]
186
+ ],
187
+ ?grant_type: ("BuyerGrant" | "DelegateGrant"),
188
+ ?options: {
189
+ activation_override_behavior: ("DISTRIBUTED_GRANTS_ONLY" | "ALL_GRANTS_PERMITTED_BY_ISSUER")?,
190
+ desired_status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")?
191
+ }
187
192
  ) -> _CreateGrantResponseSuccess
188
193
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGrantResponseSuccess
189
194
 
@@ -198,12 +203,13 @@ module Aws
198
203
  client_token: ::String,
199
204
  grant_arn: ::String,
200
205
  ?grant_name: ::String,
201
- ?allowed_operations: Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")],
206
+ ?allowed_operations: Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken" | "ListReceivedLicenses")],
202
207
  ?status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED"),
203
208
  ?status_reason: ::String,
204
209
  ?source_version: ::String,
205
210
  ?options: {
206
- activation_override_behavior: ("DISTRIBUTED_GRANTS_ONLY" | "ALL_GRANTS_PERMITTED_BY_ISSUER")?
211
+ activation_override_behavior: ("DISTRIBUTED_GRANTS_ONLY" | "ALL_GRANTS_PERMITTED_BY_ISSUER")?,
212
+ desired_status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")?
207
213
  }
208
214
  ) -> _CreateGrantVersionResponseSuccess
209
215
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGrantVersionResponseSuccess
data/sig/types.rbs CHANGED
@@ -131,8 +131,10 @@ module Aws::LicenseManager
131
131
  attr_accessor license_arn: ::String
132
132
  attr_accessor principals: ::Array[::String]
133
133
  attr_accessor home_region: ::String
134
- attr_accessor allowed_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")]
134
+ attr_accessor allowed_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken" | "ListReceivedLicenses")]
135
135
  attr_accessor tags: ::Array[Types::Tag]
136
+ attr_accessor grant_type: ("BuyerGrant" | "DelegateGrant")
137
+ attr_accessor options: Types::Options
136
138
  SENSITIVE: []
137
139
  end
138
140
 
@@ -147,7 +149,7 @@ module Aws::LicenseManager
147
149
  attr_accessor client_token: ::String
148
150
  attr_accessor grant_arn: ::String
149
151
  attr_accessor grant_name: ::String
150
- attr_accessor allowed_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")]
152
+ attr_accessor allowed_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken" | "ListReceivedLicenses")]
151
153
  attr_accessor status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
152
154
  attr_accessor status_reason: ::String
153
155
  attr_accessor source_version: ::String
@@ -589,8 +591,9 @@ module Aws::LicenseManager
589
591
  attr_accessor grant_status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
590
592
  attr_accessor status_reason: ::String
591
593
  attr_accessor version: ::String
592
- attr_accessor granted_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")]
594
+ attr_accessor granted_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken" | "ListReceivedLicenses")]
593
595
  attr_accessor options: Types::Options
596
+ attr_accessor grant_type: ("BuyerGrant" | "DelegateGrant")
594
597
  SENSITIVE: []
595
598
  end
596
599
 
@@ -1115,6 +1118,7 @@ module Aws::LicenseManager
1115
1118
 
1116
1119
  class Options
1117
1120
  attr_accessor activation_override_behavior: ("DISTRIBUTED_GRANTS_ONLY" | "ALL_GRANTS_PERMITTED_BY_ISSUER")
1121
+ attr_accessor desired_status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
1118
1122
  SENSITIVE: []
1119
1123
  end
1120
1124
 
@@ -1161,7 +1165,8 @@ module Aws::LicenseManager
1161
1165
  class ReceivedMetadata
1162
1166
  attr_accessor received_status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "DISABLED" | "WORKFLOW_COMPLETED")
1163
1167
  attr_accessor received_status_reason: ::String
1164
- attr_accessor allowed_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")]
1168
+ attr_accessor allowed_operations: ::Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken" | "ListReceivedLicenses")]
1169
+ attr_accessor grant_type: ("BuyerGrant" | "DelegateGrant")
1165
1170
  SENSITIVE: []
1166
1171
  end
1167
1172
 
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.99.0
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services