Module Values.CreateGroupResponseSource

Creates a new group in the specified user pool. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints

Sourcetype nonrec t = {
  1. group : GroupType.t option;
    (*

    The response object for a created group.

    *)
}
Sourcetype nonrec error = [
  1. | `GroupExistsException of GroupExistsException.t
  2. | `InternalErrorException of InternalErrorException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `NotAuthorizedException of NotAuthorizedException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `TooManyRequestsException of TooManyRequestsException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?group:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `GroupExistsException of GroupExistsException.t | `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `LimitExceededException of LimitExceededException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `GroupExistsException of GroupExistsException.t | `InternalErrorException of InternalErrorException.t | `InvalidParameterException of InvalidParameterException.t | `LimitExceededException of LimitExceededException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `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 * [> `Integer of PrecedenceType.t | `String of GroupNameType.t | `Timestamp of DateType.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