Module Values_1.ModifyDBSnapshotAttributeResultSource

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 Amazon Web Services accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the Amazon Web Services 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 Amazon Web Services accounts. Don't add the all value for any manual DB snapshots that contain private information that you don't want available to all Amazon Web Services accounts. If the manual DB snapshot is encrypted, it can be shared, but only by specifying a list of authorized Amazon Web Services account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. To view which Amazon Web Services accounts have access to copy or restore a manual DB snapshot, or whether a manual DB snapshot public or private, use the DescribeDBSnapshotAttributes API operation. The accounts are returned as values for the restore attribute.

Sourcetype modifyDBSnapshotAttributeResult = {
  1. dBSnapshotAttributesResult : Values_0.DBSnapshotAttributesResult.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. modifyDBSnapshotAttributeResult : modifyDBSnapshotAttributeResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `DBSnapshotNotFoundFault of Values_0.DBSnapshotNotFoundFault.t
  2. | `InvalidDBSnapshotStateFault of Values_0.InvalidDBSnapshotStateFault.t
  3. | `SharedSnapshotQuotaExceededFault of Values_0.SharedSnapshotQuotaExceededFault.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?dBSnapshotAttributesResult:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DBSnapshotNotFoundFault of unit | `InvalidDBSnapshotStateFault of unit | `SharedSnapshotQuotaExceededFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DBSnapshotNotFoundFault of unit | `InvalidDBSnapshotStateFault of unit | `SharedSnapshotQuotaExceededFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of string ] list | `String of string ]) list ] list | `String of string ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t