Module Values.CreateApprovalTeamRequestSource

Creates a new approval team. For more information, see Approval team in the Multi-party approval User Guide.

Sourcetype nonrec t = {
  1. clientToken : Token.t option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services populates this field. What is idempotency? When you make a mutating API request, the request typically returns a result before the operation's asynchronous workflows have completed. Operations might also time out or encounter other server issues before they complete, even though the request has already returned a result. This could make it difficult to determine whether the request succeeded or not, and could lead to multiple retries to ensure that the operation completes successfully. However, if the original request and the subsequent retries are successful, the operation is completed multiple times. This means that you might create more resources than you intended. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

    *)
  2. approvalStrategy : ApprovalStrategy.t;
    (*

    An ApprovalStrategy object. Contains details for how the team grants approval.

    *)
  3. approvers : ApprovalTeamRequestApprovers.t;
    (*

    An array of ApprovalTeamRequesterApprovers objects. Contains details for the approvers in the team.

    *)
  4. description : Description.t;
    (*

    Description for the team.

    *)
  5. policies : PoliciesReferences.t;
    (*

    An array of PolicyReference objects. Contains a list of policies that define the permissions for team resources.

    *)
  6. name : ApprovalTeamName.t;
    (*

    Name of the team.

    *)
  7. tags : Tags.t option;
    (*

    Tags you want to attach to the team.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?tags:??? -> approvalStrategy:ApprovalStrategy.t -> approvers:ApprovalTeamRequestApprovers.t -> description:Description.t -> policies:PoliciesReferences.t -> name:ApprovalTeamName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of IdentityId.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Token.t | `Structure of (string * [> `Structure of (string * [> `Integer of MofNApprovalStrategyMinApprovalsRequiredInteger.t ]) 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