Module Values.AuthorizeSnapshotAccessResultSource

Authorizes the specified Amazon Web Services account to restore the specified snapshot. For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

Sourcetype authorizeSnapshotAccessResult = {
  1. snapshot : Snapshot.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. authorizeSnapshotAccessResult : authorizeSnapshotAccessResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `AuthorizationAlreadyExistsFault of AuthorizationAlreadyExistsFault.t
  2. | `AuthorizationQuotaExceededFault of AuthorizationQuotaExceededFault.t
  3. | `ClusterSnapshotNotFoundFault of ClusterSnapshotNotFoundFault.t
  4. | `DependentServiceRequestThrottlingFault of DependentServiceRequestThrottlingFault.t
  5. | `InvalidClusterSnapshotStateFault of InvalidClusterSnapshotStateFault.t
  6. | `LimitExceededFault of LimitExceededFault.t
  7. | `UnsupportedOperationFault of UnsupportedOperationFault.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?snapshot:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AuthorizationAlreadyExistsFault of unit | `AuthorizationQuotaExceededFault of unit | `ClusterSnapshotNotFoundFault of unit | `DependentServiceRequestThrottlingFault of unit | `InvalidClusterSnapshotStateFault of unit | `LimitExceededFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AuthorizationAlreadyExistsFault of unit | `AuthorizationQuotaExceededFault of unit | `ClusterSnapshotNotFoundFault of unit | `DependentServiceRequestThrottlingFault of unit | `InvalidClusterSnapshotStateFault of unit | `LimitExceededFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ] list | `Long of Long.t | `String of String_.t | `Timestamp of TStamp.t ]) 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