Smaws_Client_GameLift.DeleteVpcPeeringConnectionThis API works with the following fleet types: EC2
Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete..
Once a valid authorization exists, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift Servers fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.
Related actions
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
| `UnauthorizedException of Types.unauthorized_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_vpc_peering_connection_input ->
(Types.delete_vpc_peering_connection_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NotFoundException of Types.not_found_exception
| `UnauthorizedException of Types.unauthorized_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_vpc_peering_connection_input ->
(Types.delete_vpc_peering_connection_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
| `UnauthorizedException of Types.unauthorized_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result