amazonka-mq-1.6.0: Amazon MQ 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.MQ.ListConfigurations

Contents

Description

Returns a list of all configurations.

Synopsis

Creating a Request

listConfigurations :: ListConfigurations Source #

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

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

  • lcNextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
  • lcMaxResults - The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

data ListConfigurations Source #

See: listConfigurations smart constructor.

Instances

Eq ListConfigurations Source # 
Data ListConfigurations Source # 

Methods

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

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

toConstr :: ListConfigurations -> Constr #

dataTypeOf :: ListConfigurations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListConfigurations Source # 
Show ListConfigurations Source # 
Generic ListConfigurations Source # 
Hashable ListConfigurations Source # 
NFData ListConfigurations Source # 

Methods

rnf :: ListConfigurations -> () #

AWSRequest ListConfigurations Source # 
ToHeaders ListConfigurations Source # 
ToPath ListConfigurations Source # 
ToQuery ListConfigurations Source # 
type Rep ListConfigurations Source # 
type Rep ListConfigurations = D1 * (MetaData "ListConfigurations" "Network.AWS.MQ.ListConfigurations" "amazonka-mq-1.6.0-2p1A05IoaUzMnRutMRqns" False) (C1 * (MetaCons "ListConfigurations'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListConfigurations Source # 

Request Lenses

lcNextToken :: Lens' ListConfigurations (Maybe Text) Source #

The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

lcMaxResults :: Lens' ListConfigurations (Maybe Natural) Source #

The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

Destructuring the Response

listConfigurationsResponse Source #

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

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

  • lcrsConfigurations - The list of all revisions for the specified configuration.
  • lcrsNextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
  • lcrsMaxResults - The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
  • lcrsResponseStatus - -- | The response status code.

data ListConfigurationsResponse Source #

See: listConfigurationsResponse smart constructor.

Instances

Eq ListConfigurationsResponse Source # 
Data ListConfigurationsResponse Source # 

Methods

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

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

toConstr :: ListConfigurationsResponse -> Constr #

dataTypeOf :: ListConfigurationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListConfigurationsResponse Source # 
Show ListConfigurationsResponse Source # 
Generic ListConfigurationsResponse Source # 
NFData ListConfigurationsResponse Source # 
type Rep ListConfigurationsResponse Source # 
type Rep ListConfigurationsResponse = D1 * (MetaData "ListConfigurationsResponse" "Network.AWS.MQ.ListConfigurations" "amazonka-mq-1.6.0-2p1A05IoaUzMnRutMRqns" False) (C1 * (MetaCons "ListConfigurationsResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lcrsConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Configuration]))) (S1 * (MetaSel (Just Symbol "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcrsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lcrsConfigurations :: Lens' ListConfigurationsResponse [Configuration] Source #

The list of all revisions for the specified configuration.

lcrsNextToken :: Lens' ListConfigurationsResponse (Maybe Text) Source #

The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

lcrsMaxResults :: Lens' ListConfigurationsResponse (Maybe Int) Source #

The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.