Smaws_Client_Inspector.CreateResourceGroupCreates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_resource_group_request ->
(Types.create_resource_group_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_resource_group_request ->
(Types.create_resource_group_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalException of Types.internal_exception
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ServiceTemporarilyUnavailableException of
Types.service_temporarily_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result