Module Values.PromoteRequestSource

Promotes a data replication replica broker to the primary broker role.

Sourcetype nonrec t = {
  1. brokerId : string;
    (*

    The unique ID that Amazon MQ generates for the broker.

    *)
  2. mode : PromoteMode.t;
    (*

    The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER.

    *)
}
Sourceval context_ : string
Sourceval make : brokerId:string -> mode:PromoteMode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of string ]) 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