Smaws_Client_GameLift.CreateLocationThis API works with the following fleet types: Anywhere
Creates a custom location for use in an Anywhere fleet.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TaggingFailedException of Types.tagging_failed_exception
| `UnauthorizedException of Types.unauthorized_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_location_input ->
(Types.create_location_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TaggingFailedException of Types.tagging_failed_exception
| `UnauthorizedException of Types.unauthorized_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_location_input ->
(Types.create_location_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TaggingFailedException of Types.tagging_failed_exception
| `UnauthorizedException of Types.unauthorized_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result