Module Values.DataShareSource

From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.

Sourcetype associateDataShareConsumerResult = {
  1. dataShareArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

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

    The Amazon Resource Name (ARN) of the producer namespace.

    *)
  3. allowPubliclyAccessibleConsumers : Boolean.t option;
    (*

    A value that specifies whether the datashare can be shared to a publicly accessible cluster.

    *)
  4. dataShareAssociations : DataShareAssociationList.t option;
    (*

    A value that specifies when the datashare has an association between producer and data consumers.

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

    The identifier of a datashare to show its managing entity.

    *)
  6. dataShareType : DataShareType.t option;
    (*

    The type of the datashare created by RegisterNamespace.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. associateDataShareConsumerResult : associateDataShareConsumerResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidDataShareFault of InvalidDataShareFault.t
  2. | `InvalidNamespaceFault of InvalidNamespaceFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?dataShareArn:??? -> ?producerArn:??? -> ?allowPubliclyAccessibleConsumers:??? -> ?dataShareAssociations:??? -> ?managedBy:??? -> ?dataShareType:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidDataShareFault of unit | `InvalidNamespaceFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidDataShareFault of unit | `InvalidNamespaceFault 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 * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `Boolean of BooleanOptional.t | `Enum of string | `String of String_.t | `Timestamp of TStamp.t ]) list ] list | `String of String_.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