Module Values.EndpointAuthorizationSource

Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across Amazon Web Services accounts.

Sourcetype authorizeEndpointAccessResult = {
  1. grantor : String_.t option;
    (*

    The Amazon Web Services account ID of the cluster owner.

    *)
  2. grantee : String_.t option;
    (*

    The Amazon Web Services account ID of the grantee of the cluster.

    *)
  3. clusterIdentifier : String_.t option;
    (*

    The cluster identifier.

    *)
  4. authorizeTime : TStamp.t option;
    (*

    The time (UTC) when the authorization was created.

    *)
  5. clusterStatus : String_.t option;
    (*

    The status of the cluster.

    *)
  6. status : AuthorizationStatus.t option;
    (*

    The status of the authorization action.

    *)
  7. allowedAllVPCs : Boolean.t option;
    (*

    Indicates whether all VPCs in the grantee account are allowed access to the cluster.

    *)
  8. allowedVPCs : VpcIdentifierList.t option;
    (*

    The VPCs allowed access to the cluster.

    *)
  9. endpointCount : Integer.t option;
    (*

    The number of Redshift-managed VPC endpoints created for the authorization.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. authorizeEndpointAccessResult : authorizeEndpointAccessResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ClusterNotFoundFault of ClusterNotFoundFault.t
  2. | `EndpointAuthorizationAlreadyExistsFault of EndpointAuthorizationAlreadyExistsFault.t
  3. | `EndpointAuthorizationsPerClusterLimitExceededFault of EndpointAuthorizationsPerClusterLimitExceededFault.t
  4. | `InvalidAuthorizationStateFault of InvalidAuthorizationStateFault.t
  5. | `InvalidClusterStateFault of InvalidClusterStateFault.t
  6. | `UnsupportedOperationFault of UnsupportedOperationFault.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?grantor:??? -> ?grantee:??? -> ?clusterIdentifier:??? -> ?authorizeTime:??? -> ?clusterStatus:??? -> ?status:??? -> ?allowedAllVPCs:??? -> ?allowedVPCs:??? -> ?endpointCount:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClusterNotFoundFault of unit | `EndpointAuthorizationAlreadyExistsFault of unit | `EndpointAuthorizationsPerClusterLimitExceededFault of unit | `InvalidAuthorizationStateFault of unit | `InvalidClusterStateFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClusterNotFoundFault of unit | `EndpointAuthorizationAlreadyExistsFault of unit | `EndpointAuthorizationsPerClusterLimitExceededFault of unit | `InvalidAuthorizationStateFault of unit | `InvalidClusterStateFault 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 * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t ] list | `String of String_.t | `Timestamp of TStamp.t ]) 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