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.

Rejects the account link invitation.

Note:

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

Syntax

C#
public abstract RejectAccountLinkInvitationResponse RejectAccountLinkInvitation(
         RejectAccountLinkInvitationRequest request
)

Parameters

request
Type: Amazon.WorkSpaces.Model.RejectAccountLinkInvitationRequest

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

Return Value


The response from the RejectAccountLinkInvitation service method, as returned by WorkSpaces.

Exceptions

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

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also