amazonka-cloudwatch-1.6.0: Amazon CloudWatch 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.CloudWatch.ListDashboards

Contents

Description

Returns a list of the dashboards for your account. If you include DashboardNamePrefix , only those dashboards with names starting with the prefix are listed. Otherwise, all dashboards in your account are listed.

This operation returns paginated results.

Synopsis

Creating a Request

listDashboards :: ListDashboards Source #

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

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

  • ldDashboardNamePrefix - If you specify this parameter, only the dashboards with names starting with the specified string are listed. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, ".", "-", and "_".
  • ldNextToken - The token returned by a previous call to indicate that there is more data available.

data ListDashboards Source #

See: listDashboards smart constructor.

Instances

Eq ListDashboards Source # 
Data ListDashboards Source # 

Methods

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

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

toConstr :: ListDashboards -> Constr #

dataTypeOf :: ListDashboards -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDashboards Source # 
Show ListDashboards Source # 
Generic ListDashboards Source # 

Associated Types

type Rep ListDashboards :: * -> * #

Hashable ListDashboards Source # 
NFData ListDashboards Source # 

Methods

rnf :: ListDashboards -> () #

AWSPager ListDashboards Source # 
AWSRequest ListDashboards Source # 
ToHeaders ListDashboards Source # 
ToPath ListDashboards Source # 
ToQuery ListDashboards Source # 
type Rep ListDashboards Source # 
type Rep ListDashboards = D1 * (MetaData "ListDashboards" "Network.AWS.CloudWatch.ListDashboards" "amazonka-cloudwatch-1.6.0-9Bblpq0vnZd2Ryjsugueuz" False) (C1 * (MetaCons "ListDashboards'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldDashboardNamePrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs ListDashboards Source # 

Request Lenses

ldDashboardNamePrefix :: Lens' ListDashboards (Maybe Text) Source #

If you specify this parameter, only the dashboards with names starting with the specified string are listed. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, ".", "-", and "_".

ldNextToken :: Lens' ListDashboards (Maybe Text) Source #

The token returned by a previous call to indicate that there is more data available.

Destructuring the Response

listDashboardsResponse Source #

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

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

data ListDashboardsResponse Source #

See: listDashboardsResponse smart constructor.

Instances

Eq ListDashboardsResponse Source # 
Data ListDashboardsResponse Source # 

Methods

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

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

toConstr :: ListDashboardsResponse -> Constr #

dataTypeOf :: ListDashboardsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDashboardsResponse Source # 
Show ListDashboardsResponse Source # 
Generic ListDashboardsResponse Source # 
NFData ListDashboardsResponse Source # 

Methods

rnf :: ListDashboardsResponse -> () #

type Rep ListDashboardsResponse Source # 
type Rep ListDashboardsResponse = D1 * (MetaData "ListDashboardsResponse" "Network.AWS.CloudWatch.ListDashboards" "amazonka-cloudwatch-1.6.0-9Bblpq0vnZd2Ryjsugueuz" False) (C1 * (MetaCons "ListDashboardsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsDashboardEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DashboardEntry]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldrsNextToken :: Lens' ListDashboardsResponse (Maybe Text) Source #

The token that marks the start of the next batch of returned results.

ldrsResponseStatus :: Lens' ListDashboardsResponse Int Source #

  • - | The response status code.