Module Values.CreateGroupOutputSource

Creates a resource group with the specified name and description. You can optionally include either a resource query or a service configuration. For more information about constructing a resource query, see Build queries and groups in Resource Groups in the Resource Groups User Guide. For more information about service-linked groups and service configurations, see Service configurations for Resource Groups. Minimum permissions To run this command, you must have the following permissions: resource-groups:CreateGroup

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

    The description of the resource group.

    *)
  2. resourceQuery : ResourceQuery.t option;
    (*

    The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.

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

    The tags associated with the group.

    *)
  4. groupConfiguration : GroupConfiguration.t option;
    (*

    The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for Resource Groups.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ForbiddenException of ForbiddenException.t
  3. | `InternalServerErrorException of InternalServerErrorException.t
  4. | `MethodNotAllowedException of MethodNotAllowedException.t
  5. | `TooManyRequestsException of TooManyRequestsException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?group:??? -> ?resourceQuery:??? -> ?tags:??? -> ?groupConfiguration:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `MethodNotAllowedException of MethodNotAllowedException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `MethodNotAllowedException of MethodNotAllowedException.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 * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `Structure of (string * [> `Enum of string | `Integer of Criticality.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of GroupConfigurationParameterValue.t ] list | `String of GroupConfigurationParameterName.t ]) list ] list | `String of GroupConfigurationType.t ]) list ] list | `Map of ([> `String of ApplicationTagKey.t ] * [> `String of ApplicationArn.t ]) list | `String of GroupArnV2.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