detach_customer_managed_policy_reference_from_permission_set
async
¶
detach_customer_managed_policy_reference_from_permission_set(
instance_arn: InstanceArn,
permission_set_arn: PermissionSetArn,
customer_managed_policy_reference: CustomerManagedPolicyReference,
*,
config_overrides: Optional[AsyncSSOAdminClientConfig] = None,
) -> DetachCustomerManagedPolicyReferenceFromPermissionSetResponse
Detaches the specified customer managed policy from the specified PermissionSet.
Parameters:
-
instance_arn(InstanceArn) –The ARN of the IAM Identity Center instance under which the operation will be executed.
-
permission_set_arn(PermissionSetArn) –The ARN of the
PermissionSet. -
customer_managed_policy_reference(CustomerManagedPolicyReference) –Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ResourceNotFoundException–Indicates that a requested resource is not found.
-
ThrottlingException–Indicates that the principal has crossed the throttling limits of the API operations.
-
ValidationException–The request failed because it contains a syntax error.
-
UnknownServiceError–The service returned an error code this client does not model.