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.

Removes CloudTrail delegated administrator permissions from a member account in an organization.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeregisterOrganizationDelegatedAdminAsync.

Namespace: Amazon.CloudTrail
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z

Syntax

C#
public abstract DeregisterOrganizationDelegatedAdminResponse DeregisterOrganizationDelegatedAdmin(
         DeregisterOrganizationDelegatedAdminRequest request
)

Parameters

request
Type: Amazon.CloudTrail.Model.DeregisterOrganizationDelegatedAdminRequest

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

Return Value


The response from the DeregisterOrganizationDelegatedAdmin service method, as returned by CloudTrail.

Exceptions

ExceptionCondition
AccountNotFoundException This exception is thrown when the specified account is not found or not part of an organization.
AccountNotRegisteredException This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.
CloudTrailAccessNotEnabledException This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see How to enable or disable trusted access in the Organizations User Guide and Prepare For Creating a Trail For Your Organization in the CloudTrail User Guide.
ConflictException This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
InsufficientDependencyServiceAccessPermissionException This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
InvalidParameterException The request includes a parameter that is not valid.
NotOrganizationManagementAccountException This exception is thrown when the account making the request is not the organization's management account.
OperationNotPermittedException This exception is thrown when the requested operation is not permitted.
OrganizationNotInAllFeaturesModeException This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
OrganizationsNotInUseException This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
UnsupportedOperationException This exception is thrown when the requested operation is not supported.

Version Information

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

See Also