amazonka-alexa-business-1.6.1: Amazon Alexa For Business 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.AlexaBusiness.ListDeviceEvents

Contents

Description

Lists the Device Event history for up to 30 days. If EventType isn't specified in the request, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.

Synopsis

Creating a Request

listDeviceEvents Source #

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

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

  • ldeNextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.
  • ldeEventType - The event type to filter device events.
  • ldeMaxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. Required.
  • ldeDeviceARN - The ARN of a device.

data ListDeviceEvents Source #

See: listDeviceEvents smart constructor.

Instances
Eq ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Data ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Methods

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

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

toConstr :: ListDeviceEvents -> Constr #

dataTypeOf :: ListDeviceEvents -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Show ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Generic ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Associated Types

type Rep ListDeviceEvents :: Type -> Type #

Hashable ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

ToJSON ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

AWSRequest ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Associated Types

type Rs ListDeviceEvents :: Type #

ToHeaders ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

ToPath ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

ToQuery ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

NFData ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Methods

rnf :: ListDeviceEvents -> () #

type Rep ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

type Rep ListDeviceEvents = D1 (MetaData "ListDeviceEvents" "Network.AWS.AlexaBusiness.ListDeviceEvents" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "ListDeviceEvents'" PrefixI True) ((S1 (MetaSel (Just "_ldeNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldeEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceEventType))) :*: (S1 (MetaSel (Just "_ldeMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ldeDeviceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListDeviceEvents Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Request Lenses

ldeNextToken :: Lens' ListDeviceEvents (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.

ldeEventType :: Lens' ListDeviceEvents (Maybe DeviceEventType) Source #

The event type to filter device events.

ldeMaxResults :: Lens' ListDeviceEvents (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. Required.

Destructuring the Response

listDeviceEventsResponse Source #

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

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

data ListDeviceEventsResponse Source #

See: listDeviceEventsResponse smart constructor.

Instances
Eq ListDeviceEventsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Data ListDeviceEventsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Methods

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

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

toConstr :: ListDeviceEventsResponse -> Constr #

dataTypeOf :: ListDeviceEventsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeviceEventsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Show ListDeviceEventsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Generic ListDeviceEventsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

Associated Types

type Rep ListDeviceEventsResponse :: Type -> Type #

NFData ListDeviceEventsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

type Rep ListDeviceEventsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListDeviceEvents

type Rep ListDeviceEventsResponse = D1 (MetaData "ListDeviceEventsResponse" "Network.AWS.AlexaBusiness.ListDeviceEvents" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "ListDeviceEventsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ldersDeviceEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeviceEvent])) :*: S1 (MetaSel (Just "_ldersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses