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 3.5
 
Authorizes the specified AWS customer account to restore the specified snapshot.

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

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

Syntax

C#
public virtual AuthorizeSnapshotAccessResponse AuthorizeSnapshotAccess(
         AuthorizeSnapshotAccessRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.AuthorizeSnapshotAccessRequest

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

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

Exceptions

ExceptionCondition
AuthorizationAlreadyExistsException The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.
AuthorizationQuotaExceededException The authorization quota for the cluster security group has been reached.
ClusterSnapshotNotFoundException The snapshot identifier does not refer to an existing cluster snapshot.

Version Information

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