Smaws_Client_GameLift.DeleteContainerGroupDefinitionThis API works with the following fleet types: Container
Request options:
Deletes a container group definition.
VersionCountToRetain to 5 to delete all but the five most recent versions.Result
If successful, Amazon GameLift Servers removes the container group definition versions that you request deletion for. This request will fail for any requested versions if the following is true:
Learn more
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NotFoundException of Types.not_found_exception
| `TaggingFailedException of Types.tagging_failed_exception
| `UnauthorizedException of Types.unauthorized_exception
| `UnsupportedRegionException of Types.unsupported_region_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_container_group_definition_input ->
(Types.delete_container_group_definition_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NotFoundException of Types.not_found_exception
| `TaggingFailedException of Types.tagging_failed_exception
| `UnauthorizedException of Types.unauthorized_exception
| `UnsupportedRegionException of Types.unsupported_region_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_container_group_definition_input ->
(Types.delete_container_group_definition_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NotFoundException of Types.not_found_exception
| `TaggingFailedException of Types.tagging_failed_exception
| `UnauthorizedException of Types.unauthorized_exception
| `UnsupportedRegionException of Types.unsupported_region_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result