remove_policy_grant
async
¶
remove_policy_grant(
domain_identifier: DomainId,
entity_type: TargetEntityType,
entity_identifier: str,
policy_type: ManagedPolicyType,
principal: PolicyGrantPrincipal,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
grant_identifier: Optional[GrantIdentifier] = None,
client_token: Optional[ClientToken] = None,
) -> RemovePolicyGrantOutput
Removes a policy grant.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where you want to remove a policy grant.
-
entity_type(TargetEntityType) –The type of the entity from which you want to remove a policy grant.
-
entity_identifier(str) –The ID of the entity from which you want to remove a policy grant.
-
policy_type(ManagedPolicyType) –The type of the policy that you want to remove.
-
principal(PolicyGrantPrincipal) –The principal from which you want to remove a policy grant.
-
grant_identifier(Optional[GrantIdentifier], default:None) –The ID of the policy grant that is to be removed from a specified entity.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 | |