Submits a service-linked role deletion request and returns a
which you can use to check the status of the deletion. Before you call this operation,
confirm that the role has no active sessions and that any resources used by the role
in the linked service are deleted. If you call this operation more than once for the
same service-linked role and an earlier deletion task is not complete, then the
of the earlier request is returned.
If you submit a deletion request for a service-linked role whose linked service is still accessing a resource, then the deletion task fails. If it fails, the GetServiceLinkedRoleDeletionStatus API operation returns the reason for the failure, including the resources that must be deleted. To delete the service-linked role, you must first remove those resources from the linked service and then submit the deletion request again. Resources are specific to the service that is linked to the role. For more information about removing resources from a service, see the AWS documentation for your service.
For more information about service-linked roles, see Roles Terms and Concepts: AWS Service-Linked Role in the IAM User Guide.
For PCL and Unity this operation is only available in asynchronous form. Please refer to DeleteServiceLinkedRoleAsync.
public virtual DeleteServiceLinkedRoleResponse DeleteServiceLinkedRole( DeleteServiceLinkedRoleRequest request )
Container for the necessary parameters to execute the DeleteServiceLinkedRole service method.
|LimitExceededException||The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.|
|NoSuchEntityException||The request was rejected because it referenced an entity that does not exist. The error message describes the entity.|
|ServiceFailureException||The request processing has failed because of an unknown error, exception or failure.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone