Module Values.CreateProposalInputSource

Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal. Applies only to Hyperledger Fabric.

Sourcetype nonrec t = {
  1. clientRequestToken : ClientRequestTokenString.t;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.

    *)
  2. networkId : ResourceIdString.t;
    (*

    The unique identifier of the network for which the proposal is made.

    *)
  3. memberId : ResourceIdString.t;
    (*

    The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single Amazon Web Services account.

    *)
  4. actions : ProposalActions.t;
    (*

    The type of actions proposed, such as inviting a member or removing a member. The types of Actions in a proposal are mutually exclusive. For example, a proposal with Invitations actions cannot also contain Removals actions.

    *)
  5. description : DescriptionString.t option;
    (*

    A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."

    *)
  6. tags : InputTagMap.t option;
    (*

    Tags to assign to the proposal. Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?tags:??? -> clientRequestToken:ClientRequestTokenString.t -> networkId:ResourceIdString.t -> memberId:ResourceIdString.t -> actions:ProposalActions.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ClientRequestTokenString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of PrincipalString.t ]) list ] 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