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.
Deletes the specified snapshot copy grant.
For .NET Core this operation is only available in asynchronous form. Please refer to DeleteSnapshotCopyGrantAsync.
Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public virtual DeleteSnapshotCopyGrantResponse DeleteSnapshotCopyGrant( DeleteSnapshotCopyGrantRequest request )
Container for the necessary parameters to execute the DeleteSnapshotCopyGrant service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5