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
 
Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a destination region.

For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.

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

Syntax

C#
public virtual CreateSnapshotCopyGrantResponse CreateSnapshotCopyGrant(
         CreateSnapshotCopyGrantRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.CreateSnapshotCopyGrantRequest

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

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

Exceptions

ExceptionCondition
InvalidTagException The tag is invalid.
LimitExceededException The encryption key has exceeded its grant limit in AWS KMS.
SnapshotCopyGrantAlreadyExistsException The snapshot copy grant can't be created because a grant with the same name already exists.
SnapshotCopyGrantQuotaExceededException The AWS account has exceeded the maximum number of snapshot copy grants in this region.
TagLimitExceededException The request exceeds the limit of 10 tags for the resource.

Version Information

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