ModifyDBClusterSnapshotAttribute
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.
Note
Don't add the all value for any manual DB cluster snapshots
                that contain private information that you don't want available to all AWS
                accounts.
If a manual DB cluster snapshot is encrypted, it can be shared, but only by
            specifying a list of authorized AWS account IDs for the ValuesToAdd
            parameter. You can't use all as a value for that parameter in this
            case.
To view which AWS accounts have access to copy or restore a manual DB cluster
            snapshot, or whether a manual DB cluster snapshot is public or private, use the DescribeDBClusterSnapshotAttributes API operation. The accounts are
            returned as values for the restore attribute.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- AttributeName
- 
               The name of the DB cluster snapshot attribute to modify. To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore.NoteTo view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation. Type: String Required: Yes 
- DBClusterSnapshotIdentifier
- 
               The identifier for the DB cluster snapshot to modify the attributes for. Type: String Required: Yes 
- ValuesToAdd.AttributeValue.N
- 
               A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account IDs, or allto make the manual DB cluster snapshot restorable by any AWS account. Do not add theallvalue for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts.Type: Array of strings Required: No 
- ValuesToRemove.AttributeValue.N
- 
               A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.To remove authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account identifiers, or allto remove authorization for any AWS account to copy or restore the DB cluster snapshot. If you specifyall, an AWS account whose account ID is explicitly added to therestoreattribute can still copy or restore a manual DB cluster snapshot.Type: Array of strings Required: No 
Response Elements
The following element is returned by the service.
- DBClusterSnapshotAttributesResult
- 
               Contains the results of a successful call to the DescribeDBClusterSnapshotAttributesAPI action.Manual DB cluster snapshot attributes are used to authorize other AWS accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttributeAPI action.Type: DBClusterSnapshotAttributesResult object 
Errors
For information about the errors that are common to all actions, see Common Errors.
- DBClusterSnapshotNotFoundFault
- 
               DBClusterSnapshotIdentifierdoesn't refer to an existing DB cluster snapshot.HTTP Status Code: 404 
- InvalidDBClusterSnapshotStateFault
- 
               The supplied value isn't a valid DB cluster snapshot state. HTTP Status Code: 400 
- SharedSnapshotQuotaExceeded
- 
               You have exceeded the maximum number of accounts that you can share a manual DB snapshot with. HTTP Status Code: 400 
Examples
Example
This example illustrates one usage of ModifyDBClusterSnapshotAttribute.
Sample Request
https://rds.us-west-2.amazonaws.com/
    ?Action=ModifyDBClusterSnapshotAttribute
    &AttributeName=restore
    &DBClusterSnapshotIdentifier=manual-cluster-snapshot1
    &SignatureMethod=HmacSHA256
    &SignatureVersion=4
    &ValuesToAdd.member.1=123451234512
    &ValuesToAdd.member.2=123456789012
    &ValuesToRemove.member.1=all
    &Version=2014-10-31
    &X-Amz-Algorithm=AWS4-HMAC-SHA256
    &X-Amz-Credential=AKIADQKE4SARGYLE/20150922/us-west-2/rds/aws4_request
    &X-Amz-Date=20150922T220515Z
    &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date
    &X-Amz-Signature=ef38f1ce3dab4e1dbf113d8d2a265c67d17ece1999ffd36be85714ed36dddbb3
Sample Response
<ModifyDBClusterSnapshotAttributeResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/">
  <ModifyDBClusterSnapshotAttributeResult>
    <DBClusterSnapshotAttributesResult>
      <DBClusterSnapshotAttributes>
        <DBClusterSnapshotAttribute>
          <AttributeName>restore</AttributeName>
          <AttributeValues>
            <AttributeValue>123451234512</AttributeValue>
            <AttributeValue>123456789012</AttributeValue>
          </AttributeValues>
        </DBClusterSnapshotAttribute>
      </DBClusterSnapshotAttributes>
      <DBClusterSnapshotIdentifier>manual-cluster-snapshot1</DBSnapshotIdentifier>
    </DBClusterSnapshotAttributesResult>
  </ModifyDBClusterSnapshotAttributeResult>
  <ResponseMetadata>
    <RequestId>0122a108-2276-11e5-9cc3-0f535cff56aa</RequestId>
  </ResponseMetadata>
</ModifyDBClusterSnapshotAttributeResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: