Smaws_Client_Redshift.AuthorizeSnapshotAccessAuthorizes 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationAlreadyExistsFault of
Types.authorization_already_exists_fault
| `AuthorizationQuotaExceededFault of
Types.authorization_quota_exceeded_fault
| `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_not_found_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `InvalidClusterSnapshotStateFault of
Types.invalid_cluster_snapshot_state_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `UnsupportedOperationFault of Types.unsupported_operation_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.authorize_snapshot_access_message ->
(Types.authorize_snapshot_access_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationAlreadyExistsFault of
Types.authorization_already_exists_fault
| `AuthorizationQuotaExceededFault of
Types.authorization_quota_exceeded_fault
| `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_not_found_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `InvalidClusterSnapshotStateFault of
Types.invalid_cluster_snapshot_state_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `UnsupportedOperationFault of Types.unsupported_operation_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.authorize_snapshot_access_message ->
(Types.authorize_snapshot_access_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationAlreadyExistsFault of
Types.authorization_already_exists_fault
| `AuthorizationQuotaExceededFault of
Types.authorization_quota_exceeded_fault
| `ClusterSnapshotNotFoundFault of Types.cluster_snapshot_not_found_fault
| `DependentServiceRequestThrottlingFault of
Types.dependent_service_request_throttling_fault
| `InvalidClusterSnapshotStateFault of
Types.invalid_cluster_snapshot_state_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `UnsupportedOperationFault of Types.unsupported_operation_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result