AWS SDK Version 2 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.

.NET Framework 4.5
 
Deletes the specified snapshot copy grant.

Namespace: Amazon.Redshift
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract DeleteSnapshotCopyGrantResponse DeleteSnapshotCopyGrant(
         DeleteSnapshotCopyGrantRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.DeleteSnapshotCopyGrantRequest

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

Return Value
Type: Amazon.Redshift.Model.DeleteSnapshotCopyGrantResponse
The response from the DeleteSnapshotCopyGrant service method, as returned by Redshift.

Exceptions

ExceptionCondition
InvalidSnapshotCopyGrantStateException The snapshot copy grant can't be deleted because it is used by one or more clusters.
SnapshotCopyGrantNotFoundException The specified snapshot copy grant can't be found. Make sure that the name is typed correctly and that the grant exists in the destination region.

Version Information

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