amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.DescribeFleetPortSettings

Description

Retrieves a fleet's inbound connection permissions. Connection permissions specify the range of IP addresses and port settings that incoming traffic can use to access server processes in the fleet. Game sessions that are running on instances in the fleet must use connections that fall in this range.

This operation can be used in the following ways:

  • To retrieve the inbound connection permissions for a fleet, identify the fleet's unique identifier.
  • To check the status of recent updates to a fleet remote location, specify the fleet ID and a location. Port setting updates can take time to propagate across all locations.

If successful, a set of IpPermission objects is returned for the requested fleet ID. When a location is specified, a pending status is included. If the requested fleet has been deleted, the result set is empty.

Learn more

Setting up GameLift fleets

Synopsis

Creating a Request

data DescribeFleetPortSettings Source #

See: newDescribeFleetPortSettings smart constructor.

Constructors

DescribeFleetPortSettings' 

Fields

  • location :: Maybe Text

    A remote location to check for status of port setting updates. Use the Amazon Web Services Region code format, such as us-west-2.

  • fleetId :: Text

    A unique identifier for the fleet to retrieve port settings for. You can use either the fleet ID or ARN value.

Instances

Instances details
ToJSON DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

ToHeaders DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

ToPath DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

ToQuery DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

AWSRequest DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Generic DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Associated Types

type Rep DescribeFleetPortSettings :: Type -> Type #

Read DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Show DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

NFData DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Eq DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Hashable DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

type AWSResponse DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

type Rep DescribeFleetPortSettings Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

type Rep DescribeFleetPortSettings = D1 ('MetaData "DescribeFleetPortSettings" "Amazonka.GameLift.DescribeFleetPortSettings" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DescribeFleetPortSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeFleetPortSettings Source #

Create a value of DescribeFleetPortSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeFleetPortSettings, describeFleetPortSettings_location - A remote location to check for status of port setting updates. Use the Amazon Web Services Region code format, such as us-west-2.

DescribeFleetPortSettings, describeFleetPortSettings_fleetId - A unique identifier for the fleet to retrieve port settings for. You can use either the fleet ID or ARN value.

Request Lenses

describeFleetPortSettings_location :: Lens' DescribeFleetPortSettings (Maybe Text) Source #

A remote location to check for status of port setting updates. Use the Amazon Web Services Region code format, such as us-west-2.

describeFleetPortSettings_fleetId :: Lens' DescribeFleetPortSettings Text Source #

A unique identifier for the fleet to retrieve port settings for. You can use either the fleet ID or ARN value.

Destructuring the Response

data DescribeFleetPortSettingsResponse Source #

See: newDescribeFleetPortSettingsResponse smart constructor.

Constructors

DescribeFleetPortSettingsResponse' 

Fields

  • fleetArn :: Maybe Text

    The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

  • fleetId :: Maybe Text

    A unique identifier for the fleet that was requested.

  • inboundPermissions :: Maybe [IpPermission]

    The port settings for the requested fleet ID.

  • location :: Maybe Text

    The requested fleet location, expressed as an Amazon Web Services Region code, such as us-west-2.

  • updateStatus :: Maybe LocationUpdateStatus

    The current status of updates to the fleet's port settings in the requested fleet location. A status of PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been completed for the location.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeFleetPortSettingsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Associated Types

type Rep DescribeFleetPortSettingsResponse :: Type -> Type #

Read DescribeFleetPortSettingsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Show DescribeFleetPortSettingsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

NFData DescribeFleetPortSettingsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

Eq DescribeFleetPortSettingsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

type Rep DescribeFleetPortSettingsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeFleetPortSettings

type Rep DescribeFleetPortSettingsResponse = D1 ('MetaData "DescribeFleetPortSettingsResponse" "Amazonka.GameLift.DescribeFleetPortSettings" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DescribeFleetPortSettingsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fleetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inboundPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IpPermission])))) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updateStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LocationUpdateStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeFleetPortSettingsResponse Source #

Create a value of DescribeFleetPortSettingsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeFleetPortSettingsResponse, describeFleetPortSettingsResponse_fleetArn - The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

DescribeFleetPortSettings, describeFleetPortSettingsResponse_fleetId - A unique identifier for the fleet that was requested.

$sel:inboundPermissions:DescribeFleetPortSettingsResponse', describeFleetPortSettingsResponse_inboundPermissions - The port settings for the requested fleet ID.

DescribeFleetPortSettings, describeFleetPortSettingsResponse_location - The requested fleet location, expressed as an Amazon Web Services Region code, such as us-west-2.

DescribeFleetPortSettingsResponse, describeFleetPortSettingsResponse_updateStatus - The current status of updates to the fleet's port settings in the requested fleet location. A status of PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been completed for the location.

$sel:httpStatus:DescribeFleetPortSettingsResponse', describeFleetPortSettingsResponse_httpStatus - The response's http status code.

Response Lenses

describeFleetPortSettingsResponse_fleetArn :: Lens' DescribeFleetPortSettingsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

describeFleetPortSettingsResponse_fleetId :: Lens' DescribeFleetPortSettingsResponse (Maybe Text) Source #

A unique identifier for the fleet that was requested.

describeFleetPortSettingsResponse_location :: Lens' DescribeFleetPortSettingsResponse (Maybe Text) Source #

The requested fleet location, expressed as an Amazon Web Services Region code, such as us-west-2.

describeFleetPortSettingsResponse_updateStatus :: Lens' DescribeFleetPortSettingsResponse (Maybe LocationUpdateStatus) Source #

The current status of updates to the fleet's port settings in the requested fleet location. A status of PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been completed for the location.