amazonka-alexa-business-1.6.0: 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.ListSkills

Contents

Description

Lists all enabled skills in a specific skill group.

This operation returns paginated results.

Synopsis

Creating a Request

listSkills :: ListSkills Source #

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

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

  • lsSkillGroupARN - The ARN of the skill group for which to list enabled skills. Required.
  • lsNextToken - 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 includes only results beyond the token, up to the value specified by MaxResults . Required.
  • lsMaxResults - 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.

data ListSkills Source #

See: listSkills smart constructor.

Instances

Eq ListSkills Source # 
Data ListSkills Source # 

Methods

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

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

toConstr :: ListSkills -> Constr #

dataTypeOf :: ListSkills -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListSkills Source # 
Show ListSkills Source # 
Generic ListSkills Source # 

Associated Types

type Rep ListSkills :: * -> * #

Hashable ListSkills Source # 
ToJSON ListSkills Source # 
NFData ListSkills Source # 

Methods

rnf :: ListSkills -> () #

AWSPager ListSkills Source # 
AWSRequest ListSkills Source # 
ToHeaders ListSkills Source # 

Methods

toHeaders :: ListSkills -> [Header] #

ToPath ListSkills Source # 
ToQuery ListSkills Source # 
type Rep ListSkills Source # 
type Rep ListSkills = D1 * (MetaData "ListSkills" "Network.AWS.AlexaBusiness.ListSkills" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "ListSkills'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsSkillGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListSkills Source # 

Request Lenses

lsSkillGroupARN :: Lens' ListSkills (Maybe Text) Source #

The ARN of the skill group for which to list enabled skills. Required.

lsNextToken :: Lens' ListSkills (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 includes only results beyond the token, up to the value specified by MaxResults . Required.

lsMaxResults :: Lens' ListSkills (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

listSkillsResponse Source #

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

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

data ListSkillsResponse Source #

See: listSkillsResponse smart constructor.

Instances

Eq ListSkillsResponse Source # 
Data ListSkillsResponse Source # 

Methods

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

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

toConstr :: ListSkillsResponse -> Constr #

dataTypeOf :: ListSkillsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListSkillsResponse Source # 
Show ListSkillsResponse Source # 
Generic ListSkillsResponse Source # 
NFData ListSkillsResponse Source # 

Methods

rnf :: ListSkillsResponse -> () #

type Rep ListSkillsResponse Source # 
type Rep ListSkillsResponse = D1 * (MetaData "ListSkillsResponse" "Network.AWS.AlexaBusiness.ListSkills" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "ListSkillsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsrsSkillSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [SkillSummary]))) (S1 * (MetaSel (Just Symbol "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lsrsNextToken :: Lens' ListSkillsResponse (Maybe Text) Source #

The token returned to indicate that there is more data available.

lsrsSkillSummaries :: Lens' ListSkillsResponse [SkillSummary] Source #

The list of enabled skills requested. Required.

lsrsResponseStatus :: Lens' ListSkillsResponse Int Source #

  • - | The response status code.