Amazon.RDS.AmazonRDSClient.ModifyDBSnapshotAttribute C# (CSharp) Метод

ModifyDBSnapshotAttribute() публичный Метод

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

To share a manual DB 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 snapshot. Uses the value all to make the manual DB snapshot public, which means it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB 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 snapshot, or whether a manual DB snapshot public or private, use the DescribeDBSnapshotAttributes API action.

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

/// DBSnapshotIdentifier does not refer to an existing DB snapshot. /// /// The state of the DB snapshot does not allow deletion. /// /// You have exceeded the maximum number of accounts that you can share a manual DB snapshot /// with. ///
public ModifyDBSnapshotAttribute ( ModifyDBSnapshotAttributeRequest request ) : ModifyDBSnapshotAttributeResponse
request ModifyDBSnapshotAttributeRequest Container for the necessary parameters to execute the ModifyDBSnapshotAttribute service method.
Результат ModifyDBSnapshotAttributeResponse
        public ModifyDBSnapshotAttributeResponse ModifyDBSnapshotAttribute(ModifyDBSnapshotAttributeRequest request)
        {
            var marshaller = new ModifyDBSnapshotAttributeRequestMarshaller();
            var unmarshaller = ModifyDBSnapshotAttributeResponseUnmarshaller.Instance;

            return Invoke<ModifyDBSnapshotAttributeRequest,ModifyDBSnapshotAttributeResponse>(request, marshaller, unmarshaller);
        }
AmazonRDSClient