Module Smaws_Client_GameLift.DescribeContainerGroupPortMappings

This API works with the following fleet types: Container

Retrieves the port mappings for a container group running on a container fleet. Port mappings show how container ports are mapped to connection ports on the fleet instance. Use this operation to find the connection port for a specific container on a fleet instance.

Request options

Results

This operation returns the fleet ID, fleet ARN, location, container group definition ARN, container group type, compute name (for game server container groups), instance ID, and a list of ContainerGroupPortMapping objects. Each object contains the container name, runtime ID, and a list of port mappings that show how container ports map to connection ports on the instance.

Learn more

Connect to containers

Create a container group definition

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `LimitExceededException of Types.limit_exceeded_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.describe_container_group_port_mappings_input -> (Types.describe_container_group_port_mappings_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `LimitExceededException of Types.limit_exceeded_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.describe_container_group_port_mappings_input -> (Types.describe_container_group_port_mappings_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `LimitExceededException of Types.limit_exceeded_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] * Smaws_Lib.Response.metadata) Stdlib.result