create_grant_version
¶
create_grant_version(
client_token: ClientToken,
grant_arn: Arn,
*,
config_overrides: Optional[LicenseManagerClientConfig] = None,
grant_name: Optional[String] = None,
allowed_operations: Optional[AllowedOperationList] = None,
status: Optional[GrantStatus] = None,
status_reason: Optional[StatusReasonMessage] = None,
source_version: Optional[String] = None,
options: Optional[Options] = None,
) -> CreateGrantVersionResponse
Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.
Parameters:
-
client_token(ClientToken) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
grant_arn(Arn) –Amazon Resource Name (ARN) of the grant.
-
grant_name(Optional[String], default:None) –Grant name.
-
allowed_operations(Optional[AllowedOperationList], default:None) –Allowed operations for the grant.
-
status(Optional[GrantStatus], default:None) –Grant status.
-
status_reason(Optional[StatusReasonMessage], default:None) –Grant status reason.
-
source_version(Optional[String], default:None) –Current version of the grant.
-
options(Optional[Options], default:None) –The options specified for the grant.
Raises:
-
AccessDeniedException–Access to resource denied.
-
AuthorizationException–The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ServerInternalException–The server experienced an internal error. Try again.
-
ValidationException–The provided input is not valid. Try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager/_services/license_manager.py
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 | |