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 Management Guide.
Declaration Syntax
C# |
public AuthorizeSnapshotAccessResponse AuthorizeSnapshotAccess( AuthorizeSnapshotAccessRequest request )
Parameters
- request (AuthorizeSnapshotAccessRequest)
- Container for the necessary parameters to execute the AuthorizeSnapshotAccess service method.
Return Value
The response from the AuthorizeSnapshotAccess service method, as returned by Redshift.
Exceptions
Exception | Condition |
---|---|
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.
|