Amazon.RDS.AmazonRDSClient.ModifyDBClusterSnapshotAttribute C# (CSharp) Method

ModifyDBClusterSnapshotAttribute() public method

Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.

To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts.

To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action.

If a manual DB cluster snapshot is encrypted, it cannot be shared.

/// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. /// /// The supplied value is not a valid DB cluster snapshot state. /// /// You have exceeded the maximum number of accounts that you can share a manual DB snapshot /// with. ///
public ModifyDBClusterSnapshotAttribute ( ModifyDBClusterSnapshotAttributeRequest request ) : ModifyDBClusterSnapshotAttributeResponse
request ModifyDBClusterSnapshotAttributeRequest Container for the necessary parameters to execute the ModifyDBClusterSnapshotAttribute service method.
return ModifyDBClusterSnapshotAttributeResponse
        public ModifyDBClusterSnapshotAttributeResponse ModifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request)
        {
            var marshaller = new ModifyDBClusterSnapshotAttributeRequestMarshaller();
            var unmarshaller = ModifyDBClusterSnapshotAttributeResponseUnmarshaller.Instance;

            return Invoke<ModifyDBClusterSnapshotAttributeRequest,ModifyDBClusterSnapshotAttributeResponse>(request, marshaller, unmarshaller);
        }
AmazonRDSClient