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.
Rejects the account link invitation.
For .NET Core this operation is only available in asynchronous form. Please refer to RejectAccountLinkInvitationAsync.
Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z
public abstract RejectAccountLinkInvitationResponse RejectAccountLinkInvitation( RejectAccountLinkInvitationRequest request )
Container for the necessary parameters to execute the RejectAccountLinkInvitation service method.
Exception | Condition |
---|---|
AccessDeniedException | The user is not authorized to access a resource. |
ConflictException | The TargetAccountId is already linked or invited. |
InternalServerException | Unexpected server error occured. |
ResourceNotFoundException | The resource could not be found. |
ValidationException | You either haven't provided a TargetAccountId or are using the same value for TargetAccountId and SourceAccountId. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5