delete_grant
async
¶
delete_grant(
grant_arn: Arn,
version: String,
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = None,
status_reason: Optional[StatusReasonMessage] = None,
) -> DeleteGrantResponse
Deletes the specified grant.
Parameters:
-
grant_arn(Arn) –Amazon Resource Name (ARN) of the grant.
-
status_reason(Optional[StatusReasonMessage], default:None) –The Status reason for the delete request.
-
version(String) –Current version of 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.