Closed gtsopour closed 1 year ago
Thanks @gtsopour for reaching out. We can track this request in our cross-SDK repository. I'll transfer this issue there and contact the documentation team for this service.
P84791005
Thanks for your patience. We heard back from a member of the documentation team who wanted to highlight that in order to successfully use the CheckoutBorrowLicense API, the license must meet the following requirements:
They also added a backlog item to add examples throughout this API reference. Thanks again for reaching out.
This issue is now closed.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the issue
Could you please document a simple example of using the CheckoutBorrowLicense interface https://docs.aws.amazon.com/license-manager/latest/APIReference/API_CheckoutBorrowLicense.html? Regarding the license entitlements what exactly does it mean "partial checkouts are not supported"? I have tried this interface in different ways with CLI and different SDKs but I am getting back "An error occurred (NoEntitlementsAllowedException) when calling the CheckoutBorrowLicense operation: No Entitlements Allowed"
Here is an example of calling this interface:
aws license-manager checkout-borrow-license --entitlements Name=borrow,Value=1,Unit=Count --region eu-central-1 --license-arn arn:aws:license-manager::xxxxxxxxxxxx:license:l-da0769c9479245e5807164f36d265xxx --digital-signature-method JWT_PS384 --client-token 1
Links
https://docs.aws.amazon.com/license-manager/latest/APIReference/API_CheckoutBorrowLicense.html