amazonka-appstream-1.6.0: Amazon AppStream SDK.

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

Network.AWS.AppStream.DescribeSessions

Contents

Description

Describes the streaming sessions for the specified stack and fleet. If a user ID is provided, only the streaming sessions for only that user are returned. If an authentication type is not provided, the default is to authenticate users using a streaming URL.

Synopsis

Creating a Request

describeSessions Source #

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

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

  • dsUserId - The user ID.
  • dsNextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
  • dsLimit - The size of each page of results. The default value is 20 and the maximum value is 50.
  • dsAuthenticationType - The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.
  • dsStackName - The name of the stack. This value is case-sensitive.
  • dsFleetName - The name of the fleet. This value is case-sensitive.

data DescribeSessions Source #

See: describeSessions smart constructor.

Instances

Eq DescribeSessions Source # 
Data DescribeSessions Source # 

Methods

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

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

toConstr :: DescribeSessions -> Constr #

dataTypeOf :: DescribeSessions -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribeSessions -> () #

AWSRequest DescribeSessions Source # 
ToHeaders DescribeSessions Source # 
ToPath DescribeSessions Source # 
ToQuery DescribeSessions Source # 
type Rep DescribeSessions Source # 
type Rep DescribeSessions = D1 * (MetaData "DescribeSessions" "Network.AWS.AppStream.DescribeSessions" "amazonka-appstream-1.6.0-vQ2XH6MARF50Yn0JPHG0h" False) (C1 * (MetaCons "DescribeSessions'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dsUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsAuthenticationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AuthenticationType))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_dsFleetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs DescribeSessions Source # 

Request Lenses

dsNextToken :: Lens' DescribeSessions (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

dsLimit :: Lens' DescribeSessions (Maybe Int) Source #

The size of each page of results. The default value is 20 and the maximum value is 50.

dsAuthenticationType :: Lens' DescribeSessions (Maybe AuthenticationType) Source #

The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.

dsStackName :: Lens' DescribeSessions Text Source #

The name of the stack. This value is case-sensitive.

dsFleetName :: Lens' DescribeSessions Text Source #

The name of the fleet. This value is case-sensitive.

Destructuring the Response

describeSessionsResponse Source #

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

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

  • dssrsNextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
  • dssrsSessions - Information about the streaming sessions.
  • dssrsResponseStatus - -- | The response status code.

data DescribeSessionsResponse Source #

See: describeSessionsResponse smart constructor.

Instances

Eq DescribeSessionsResponse Source # 
Data DescribeSessionsResponse Source # 

Methods

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

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

toConstr :: DescribeSessionsResponse -> Constr #

dataTypeOf :: DescribeSessionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSessionsResponse Source # 
Show DescribeSessionsResponse Source # 
Generic DescribeSessionsResponse Source # 
NFData DescribeSessionsResponse Source # 
type Rep DescribeSessionsResponse Source # 
type Rep DescribeSessionsResponse = D1 * (MetaData "DescribeSessionsResponse" "Network.AWS.AppStream.DescribeSessions" "amazonka-appstream-1.6.0-vQ2XH6MARF50Yn0JPHG0h" False) (C1 * (MetaCons "DescribeSessionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dssrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dssrsSessions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Session]))) (S1 * (MetaSel (Just Symbol "_dssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dssrsNextToken :: Lens' DescribeSessionsResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

dssrsSessions :: Lens' DescribeSessionsResponse [Session] Source #

Information about the streaming sessions.