remove_policy_grant
¶
remove_policy_grant(
domain_identifier: DomainId,
entity_type: TargetEntityType,
entity_identifier: str,
policy_type: ManagedPolicyType,
principal: PolicyGrantPrincipal,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 | |