amazonka-appstream-1.4.5: Amazon AppStream 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.AppStream.UpdateFleet

Contents

Description

Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state. Only ComputeCapacity and ImageName can be updated in any other state.

Synopsis

Creating a Request

updateFleet #

Arguments

:: Text

ufName

-> UpdateFleet 

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

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

  • ufDisconnectTimeoutInSeconds - The time after disconnection when a session is considered to have ended. When the user reconnects after a disconnection, the user is connected to the same instance within this time interval.
  • ufMaxUserDurationInSeconds - The maximum time during which a streaming session can run.
  • ufDeleteVPCConfig - Delete the VPC association for the specified fleet.
  • ufInstanceType - The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.
  • ufVPCConfig - The VPC configuration for the fleet.
  • ufDisplayName - The name displayed to end users on the AppStream 2.0 portal.
  • ufImageName - The image name from which a fleet is created.
  • ufDescription - The description displayed to end users on the AppStream 2.0 portal.
  • ufComputeCapacity - The parameters for the capacity allocated to the fleet.
  • ufName - The name of the fleet.

data UpdateFleet #

See: updateFleet smart constructor.

Instances

Eq UpdateFleet # 
Data UpdateFleet # 

Methods

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

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

toConstr :: UpdateFleet -> Constr #

dataTypeOf :: UpdateFleet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateFleet # 
Show UpdateFleet # 
Generic UpdateFleet # 

Associated Types

type Rep UpdateFleet :: * -> * #

Hashable UpdateFleet # 
ToJSON UpdateFleet # 
NFData UpdateFleet # 

Methods

rnf :: UpdateFleet -> () #

AWSRequest UpdateFleet # 
ToQuery UpdateFleet # 
ToPath UpdateFleet # 
ToHeaders UpdateFleet # 

Methods

toHeaders :: UpdateFleet -> [Header] #

type Rep UpdateFleet # 
type Rs UpdateFleet # 

Request Lenses

ufDisconnectTimeoutInSeconds :: Lens' UpdateFleet (Maybe Int) #

The time after disconnection when a session is considered to have ended. When the user reconnects after a disconnection, the user is connected to the same instance within this time interval.

ufMaxUserDurationInSeconds :: Lens' UpdateFleet (Maybe Int) #

The maximum time during which a streaming session can run.

ufDeleteVPCConfig :: Lens' UpdateFleet (Maybe Bool) #

Delete the VPC association for the specified fleet.

ufInstanceType :: Lens' UpdateFleet (Maybe Text) #

The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.

ufVPCConfig :: Lens' UpdateFleet (Maybe VPCConfig) #

The VPC configuration for the fleet.

ufDisplayName :: Lens' UpdateFleet (Maybe Text) #

The name displayed to end users on the AppStream 2.0 portal.

ufImageName :: Lens' UpdateFleet (Maybe Text) #

The image name from which a fleet is created.

ufDescription :: Lens' UpdateFleet (Maybe Text) #

The description displayed to end users on the AppStream 2.0 portal.

ufComputeCapacity :: Lens' UpdateFleet (Maybe ComputeCapacity) #

The parameters for the capacity allocated to the fleet.

ufName :: Lens' UpdateFleet Text #

The name of the fleet.

Destructuring the Response

updateFleetResponse #

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

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

data UpdateFleetResponse #

See: updateFleetResponse smart constructor.

Instances

Eq UpdateFleetResponse # 
Data UpdateFleetResponse # 

Methods

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

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

toConstr :: UpdateFleetResponse -> Constr #

dataTypeOf :: UpdateFleetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateFleetResponse # 
Show UpdateFleetResponse # 
Generic UpdateFleetResponse # 
NFData UpdateFleetResponse # 

Methods

rnf :: UpdateFleetResponse -> () #

type Rep UpdateFleetResponse # 
type Rep UpdateFleetResponse = D1 (MetaData "UpdateFleetResponse" "Network.AWS.AppStream.UpdateFleet" "amazonka-appstream-1.4.5-BaRUZeCy6GcLl2bSO4bKZ2" False) (C1 (MetaCons "UpdateFleetResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ufrsFleet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Fleet))) (S1 (MetaSel (Just Symbol "_ufrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ufrsFleet :: Lens' UpdateFleetResponse (Maybe Fleet) #

A list of fleet details.

ufrsResponseStatus :: Lens' UpdateFleetResponse Int #

  • - | The response status code.