amazonka-gamelift-1.4.5: Amazon GameLift SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.GameLift.UpdateFleetPortSettings

Contents

Description

Updates port settings for a fleet. To update settings, specify the fleet ID to be updated and list the permissions you want to update. 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.

Synopsis

Creating a Request

updateFleetPortSettings Source #

Creates a value of UpdateFleetPortSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateFleetPortSettings Source #

Represents the input for a request action.

See: updateFleetPortSettings smart constructor.

Instances

Eq UpdateFleetPortSettings Source # 
Data UpdateFleetPortSettings Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateFleetPortSettings -> c UpdateFleetPortSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateFleetPortSettings #

toConstr :: UpdateFleetPortSettings -> Constr #

dataTypeOf :: UpdateFleetPortSettings -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateFleetPortSettings) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateFleetPortSettings) #

gmapT :: (forall b. Data b => b -> b) -> UpdateFleetPortSettings -> UpdateFleetPortSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetPortSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetPortSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateFleetPortSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateFleetPortSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateFleetPortSettings -> m UpdateFleetPortSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetPortSettings -> m UpdateFleetPortSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetPortSettings -> m UpdateFleetPortSettings #

Read UpdateFleetPortSettings Source # 
Show UpdateFleetPortSettings Source # 
Generic UpdateFleetPortSettings Source # 
Hashable UpdateFleetPortSettings Source # 
ToJSON UpdateFleetPortSettings Source # 
NFData UpdateFleetPortSettings Source # 

Methods

rnf :: UpdateFleetPortSettings -> () #

AWSRequest UpdateFleetPortSettings Source # 
ToPath UpdateFleetPortSettings Source # 
ToHeaders UpdateFleetPortSettings Source # 
ToQuery UpdateFleetPortSettings Source # 
type Rep UpdateFleetPortSettings Source # 
type Rep UpdateFleetPortSettings = D1 (MetaData "UpdateFleetPortSettings" "Network.AWS.GameLift.UpdateFleetPortSettings" "amazonka-gamelift-1.4.5-2krZbzEaIqtLV8ATX8AZ52" False) (C1 (MetaCons "UpdateFleetPortSettings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ufpsInboundPermissionRevocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IPPermission]))) ((:*:) (S1 (MetaSel (Just Symbol "_ufpsInboundPermissionAuthorizations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IPPermission]))) (S1 (MetaSel (Just Symbol "_ufpsFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateFleetPortSettings Source # 

Request Lenses

ufpsInboundPermissionRevocations :: Lens' UpdateFleetPortSettings [IPPermission] Source #

Collection of port settings to be removed from the fleet record.

ufpsInboundPermissionAuthorizations :: Lens' UpdateFleetPortSettings [IPPermission] Source #

Collection of port settings to be added to the fleet record.

ufpsFleetId :: Lens' UpdateFleetPortSettings Text Source #

Unique identifier for the fleet you want to update port settings for.

Destructuring the Response

updateFleetPortSettingsResponse Source #

Creates a value of UpdateFleetPortSettingsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateFleetPortSettingsResponse Source #

Represents the returned data in response to a request action.

See: updateFleetPortSettingsResponse smart constructor.

Instances

Eq UpdateFleetPortSettingsResponse Source # 
Data UpdateFleetPortSettingsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateFleetPortSettingsResponse -> c UpdateFleetPortSettingsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateFleetPortSettingsResponse #

toConstr :: UpdateFleetPortSettingsResponse -> Constr #

dataTypeOf :: UpdateFleetPortSettingsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateFleetPortSettingsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateFleetPortSettingsResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateFleetPortSettingsResponse -> UpdateFleetPortSettingsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetPortSettingsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetPortSettingsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateFleetPortSettingsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateFleetPortSettingsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateFleetPortSettingsResponse -> m UpdateFleetPortSettingsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetPortSettingsResponse -> m UpdateFleetPortSettingsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetPortSettingsResponse -> m UpdateFleetPortSettingsResponse #

Read UpdateFleetPortSettingsResponse Source # 
Show UpdateFleetPortSettingsResponse Source # 
Generic UpdateFleetPortSettingsResponse Source # 
NFData UpdateFleetPortSettingsResponse Source # 
type Rep UpdateFleetPortSettingsResponse Source # 
type Rep UpdateFleetPortSettingsResponse = D1 (MetaData "UpdateFleetPortSettingsResponse" "Network.AWS.GameLift.UpdateFleetPortSettings" "amazonka-gamelift-1.4.5-2krZbzEaIqtLV8ATX8AZ52" False) (C1 (MetaCons "UpdateFleetPortSettingsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ufpsrsFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ufpsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ufpsrsFleetId :: Lens' UpdateFleetPortSettingsResponse (Maybe Text) Source #

Unique identifier for the updated fleet.