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
9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 | |