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.

Removes the ability of the specified Amazon Web Services account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to RevokeSnapshotAccessAsync.

Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z

Syntax

C#
public abstract RevokeSnapshotAccessResponse RevokeSnapshotAccess(
         RevokeSnapshotAccessRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.RevokeSnapshotAccessRequest

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

Return Value


The response from the RevokeSnapshotAccess service method, as returned by Redshift.

Exceptions

ExceptionCondition
AccessToSnapshotDeniedException The owner of the specified snapshot has not authorized your account to access the snapshot.
AuthorizationNotFoundException The specified CIDR IP range or EC2 security group is not authorized for the specified cluster security group.
ClusterSnapshotNotFoundException The snapshot identifier does not refer to an existing cluster snapshot.
UnsupportedOperationException The requested operation isn't supported.

Version Information

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

See Also