AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.
For .NET Core this operation is only available in asynchronous form. Please refer to DetachManagedPolicyFromPermissionSetAsync.
Namespace: Amazon.SSOAdmin
Assembly: AWSSDK.SSOAdmin.dll
Version: 3.x.y.z
public abstract DetachManagedPolicyFromPermissionSetResponse DetachManagedPolicyFromPermissionSet( DetachManagedPolicyFromPermissionSetRequest request )
Container for the necessary parameters to execute the DetachManagedPolicyFromPermissionSet service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5 and newer, 3.5