Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates permissions that allow inbound traffic to connect to game sessions that are being hosted on instances in the fleet.
To update settings, specify the fleet ID to be updated and specify the
changes to be made. List the permissions you want to add in
InboundPermissionAuthorizations
, and permissions you want to remove in
InboundPermissionRevocations
. Permissions to be removed must match
existing fleet permissions.
If successful, the fleet ID for the updated fleet is returned. For
fleets with remote locations, port setting updates can take time to
propagate across all locations. You can check the status of updates in
each location by calling DescribeFleetPortSettings
with a location
name.
Learn more
Synopsis
- data UpdateFleetPortSettings = UpdateFleetPortSettings' {}
- newUpdateFleetPortSettings :: Text -> UpdateFleetPortSettings
- updateFleetPortSettings_inboundPermissionAuthorizations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission])
- updateFleetPortSettings_inboundPermissionRevocations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission])
- updateFleetPortSettings_fleetId :: Lens' UpdateFleetPortSettings Text
- data UpdateFleetPortSettingsResponse = UpdateFleetPortSettingsResponse' {}
- newUpdateFleetPortSettingsResponse :: Int -> UpdateFleetPortSettingsResponse
- updateFleetPortSettingsResponse_fleetArn :: Lens' UpdateFleetPortSettingsResponse (Maybe Text)
- updateFleetPortSettingsResponse_fleetId :: Lens' UpdateFleetPortSettingsResponse (Maybe Text)
- updateFleetPortSettingsResponse_httpStatus :: Lens' UpdateFleetPortSettingsResponse Int
Creating a Request
data UpdateFleetPortSettings Source #
See: newUpdateFleetPortSettings
smart constructor.
UpdateFleetPortSettings' | |
|
Instances
newUpdateFleetPortSettings Source #
Create a value of UpdateFleetPortSettings
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:
$sel:inboundPermissionAuthorizations:UpdateFleetPortSettings'
, updateFleetPortSettings_inboundPermissionAuthorizations
- A collection of port settings to be added to the fleet resource.
$sel:inboundPermissionRevocations:UpdateFleetPortSettings'
, updateFleetPortSettings_inboundPermissionRevocations
- A collection of port settings to be removed from the fleet resource.
UpdateFleetPortSettings
, updateFleetPortSettings_fleetId
- A unique identifier for the fleet to update port settings for. You can
use either the fleet ID or ARN value.
Request Lenses
updateFleetPortSettings_inboundPermissionAuthorizations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission]) Source #
A collection of port settings to be added to the fleet resource.
updateFleetPortSettings_inboundPermissionRevocations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission]) Source #
A collection of port settings to be removed from the fleet resource.
updateFleetPortSettings_fleetId :: Lens' UpdateFleetPortSettings Text Source #
A unique identifier for the fleet to update port settings for. You can use either the fleet ID or ARN value.
Destructuring the Response
data UpdateFleetPortSettingsResponse Source #
See: newUpdateFleetPortSettingsResponse
smart constructor.
UpdateFleetPortSettingsResponse' | |
|
Instances
newUpdateFleetPortSettingsResponse Source #
Create a value of UpdateFleetPortSettingsResponse
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:
UpdateFleetPortSettingsResponse
, updateFleetPortSettingsResponse_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
.
UpdateFleetPortSettings
, updateFleetPortSettingsResponse_fleetId
- A unique identifier for the fleet that was updated.
$sel:httpStatus:UpdateFleetPortSettingsResponse'
, updateFleetPortSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
updateFleetPortSettingsResponse_fleetArn :: Lens' UpdateFleetPortSettingsResponse (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
.
updateFleetPortSettingsResponse_fleetId :: Lens' UpdateFleetPortSettingsResponse (Maybe Text) Source #
A unique identifier for the fleet that was updated.
updateFleetPortSettingsResponse_httpStatus :: Lens' UpdateFleetPortSettingsResponse Int Source #
The response's http status code.