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 Source #

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 Source #

See: updateFleet smart constructor.

Instances

Eq UpdateFleet Source # 
Data UpdateFleet Source # 

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 Source # 
Show UpdateFleet Source # 
Generic UpdateFleet Source # 

Associated Types

type Rep UpdateFleet :: * -> * #

Hashable UpdateFleet Source # 
ToJSON UpdateFleet Source # 
NFData UpdateFleet Source # 

Methods

rnf :: UpdateFleet -> () #

AWSRequest UpdateFleet Source # 
ToPath UpdateFleet Source # 
ToHeaders UpdateFleet Source # 

Methods

toHeaders :: UpdateFleet -> [Header] #

ToQuery UpdateFleet Source # 
type Rep UpdateFleet Source # 
type Rs UpdateFleet Source # 

Request Lenses

ufDisconnectTimeoutInSeconds :: Lens' UpdateFleet (Maybe Int) Source #

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) Source #

The maximum time during which a streaming session can run.

ufDeleteVPCConfig :: Lens' UpdateFleet (Maybe Bool) Source #

Delete the VPC association for the specified fleet.

ufInstanceType :: Lens' UpdateFleet (Maybe Text) Source #

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

ufVPCConfig :: Lens' UpdateFleet (Maybe VPCConfig) Source #

The VPC configuration for the fleet.

ufDisplayName :: Lens' UpdateFleet (Maybe Text) Source #

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

ufImageName :: Lens' UpdateFleet (Maybe Text) Source #

The image name from which a fleet is created.

ufDescription :: Lens' UpdateFleet (Maybe Text) Source #

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

ufComputeCapacity :: Lens' UpdateFleet (Maybe ComputeCapacity) Source #

The parameters for the capacity allocated to the fleet.

ufName :: Lens' UpdateFleet Text Source #

The name of the fleet.

Destructuring the Response

updateFleetResponse Source #

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 Source #

See: updateFleetResponse smart constructor.

Instances

Eq UpdateFleetResponse Source # 
Data UpdateFleetResponse Source # 

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 Source # 
Show UpdateFleetResponse Source # 
Generic UpdateFleetResponse Source # 
NFData UpdateFleetResponse Source # 

Methods

rnf :: UpdateFleetResponse -> () #

type Rep UpdateFleetResponse Source # 
type Rep UpdateFleetResponse = D1 (MetaData "UpdateFleetResponse" "Network.AWS.AppStream.UpdateFleet" "amazonka-appstream-1.4.5-IRmm46UHAni5KvE4mK7PN1" 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) Source #

A list of fleet details.

ufrsResponseStatus :: Lens' UpdateFleetResponse Int Source #

  • - | The response status code.