AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract DetachManagedPolicyFromPermissionSetResponse DetachManagedPolicyFromPermissionSet(
         DetachManagedPolicyFromPermissionSetRequest request
)

Parameters

request
Type: Amazon.SSOAdmin.Model.DetachManagedPolicyFromPermissionSetRequest

Container for the necessary parameters to execute the DetachManagedPolicyFromPermissionSet service method.

Return Value


The response from the DetachManagedPolicyFromPermissionSet service method, as returned by SSOAdmin.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also