Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Related actions
CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy | DeleteFleet | DeleteFleetLocations | DeleteScalingPolicy | All APIs by task
Synopsis
- data UpdateFleetPortSettings = UpdateFleetPortSettings' {}
- newUpdateFleetPortSettings :: Text -> UpdateFleetPortSettings
- updateFleetPortSettings_inboundPermissionRevocations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission])
- updateFleetPortSettings_inboundPermissionAuthorizations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission])
- updateFleetPortSettings_fleetId :: Lens' UpdateFleetPortSettings Text
- data UpdateFleetPortSettingsResponse = UpdateFleetPortSettingsResponse' {
- fleetId :: Maybe Text
- httpStatus :: Int
- newUpdateFleetPortSettingsResponse :: Int -> UpdateFleetPortSettingsResponse
- updateFleetPortSettingsResponse_fleetId :: Lens' UpdateFleetPortSettingsResponse (Maybe Text)
- updateFleetPortSettingsResponse_httpStatus :: Lens' UpdateFleetPortSettingsResponse Int
Creating a Request
data UpdateFleetPortSettings Source #
Represents the input for a request operation.
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:inboundPermissionRevocations:UpdateFleetPortSettings'
, updateFleetPortSettings_inboundPermissionRevocations
- A collection of port settings to be removed from the fleet resource.
$sel:inboundPermissionAuthorizations:UpdateFleetPortSettings'
, updateFleetPortSettings_inboundPermissionAuthorizations
- A collection of port settings to be added to the fleet resource.
$sel:fleetId: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_inboundPermissionRevocations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission]) Source #
A collection of port settings to be removed from the fleet resource.
updateFleetPortSettings_inboundPermissionAuthorizations :: Lens' UpdateFleetPortSettings (Maybe [IpPermission]) Source #
A collection of port settings to be added to 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 #
Represents the returned data in response to a request operation.
See: newUpdateFleetPortSettingsResponse
smart constructor.
UpdateFleetPortSettingsResponse' | |
|
Instances
Eq UpdateFleetPortSettingsResponse Source # | |
Read UpdateFleetPortSettingsResponse Source # | |
Show UpdateFleetPortSettingsResponse Source # | |
Defined in Amazonka.GameLift.UpdateFleetPortSettings | |
Generic UpdateFleetPortSettingsResponse Source # | |
NFData UpdateFleetPortSettingsResponse Source # | |
Defined in Amazonka.GameLift.UpdateFleetPortSettings rnf :: UpdateFleetPortSettingsResponse -> () # | |
type Rep UpdateFleetPortSettingsResponse Source # | |
Defined in Amazonka.GameLift.UpdateFleetPortSettings type Rep UpdateFleetPortSettingsResponse = D1 ('MetaData "UpdateFleetPortSettingsResponse" "Amazonka.GameLift.UpdateFleetPortSettings" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "UpdateFleetPortSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
$sel:fleetId: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_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.