amazonka-cloudwatch-1.5.0: Amazon CloudWatch SDK.

Copyright(c) 2013-2017 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.GetDashboard

Contents

Description

Displays the details of the dashboard that you specify.

To copy an existing dashboard, use GetDashboard , and then use the data returned within DashboardBody as the template for the new dashboard when you call PutDashboard to create the copy.

Synopsis

Creating a Request

getDashboard :: GetDashboard Source #

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

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

data GetDashboard Source #

See: getDashboard smart constructor.

Instances

Eq GetDashboard Source # 
Data GetDashboard Source # 

Methods

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

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

toConstr :: GetDashboard -> Constr #

dataTypeOf :: GetDashboard -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDashboard Source # 
Show GetDashboard Source # 
Generic GetDashboard Source # 

Associated Types

type Rep GetDashboard :: * -> * #

Hashable GetDashboard Source # 
NFData GetDashboard Source # 

Methods

rnf :: GetDashboard -> () #

AWSRequest GetDashboard Source # 
ToQuery GetDashboard Source # 
ToPath GetDashboard Source # 
ToHeaders GetDashboard Source # 
type Rep GetDashboard Source # 
type Rep GetDashboard = D1 (MetaData "GetDashboard" "Network.AWS.CloudWatch.GetDashboard" "amazonka-cloudwatch-1.5.0-FjkZLyKIzTk16i93NMFY5e" True) (C1 (MetaCons "GetDashboard'" PrefixI True) (S1 (MetaSel (Just Symbol "_gdDashboardName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetDashboard Source # 

Request Lenses

gdDashboardName :: Lens' GetDashboard (Maybe Text) Source #

The name of the dashboard to be described.

Destructuring the Response

getDashboardResponse Source #

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

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

  • gdrsDashboardName - The name of the dashboard.
  • gdrsDashboardBody - The detailed information about the dashboard, including what widgets are included and their location on the dashboard. For more information about the DashboardBody syntax, see 'CloudWatch-Dashboard-Body-Structure' .
  • gdrsDashboardARN - The Amazon Resource Name (ARN) of the dashboard.
  • gdrsResponseStatus - -- | The response status code.

data GetDashboardResponse Source #

See: getDashboardResponse smart constructor.

Instances

Eq GetDashboardResponse Source # 
Data GetDashboardResponse Source # 

Methods

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

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

toConstr :: GetDashboardResponse -> Constr #

dataTypeOf :: GetDashboardResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDashboardResponse Source # 
Show GetDashboardResponse Source # 
Generic GetDashboardResponse Source # 
NFData GetDashboardResponse Source # 

Methods

rnf :: GetDashboardResponse -> () #

type Rep GetDashboardResponse Source # 
type Rep GetDashboardResponse = D1 (MetaData "GetDashboardResponse" "Network.AWS.CloudWatch.GetDashboard" "amazonka-cloudwatch-1.5.0-FjkZLyKIzTk16i93NMFY5e" False) (C1 (MetaCons "GetDashboardResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gdrsDashboardName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gdrsDashboardBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gdrsDashboardARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gdrsDashboardBody :: Lens' GetDashboardResponse (Maybe Text) Source #

The detailed information about the dashboard, including what widgets are included and their location on the dashboard. For more information about the DashboardBody syntax, see 'CloudWatch-Dashboard-Body-Structure' .

gdrsDashboardARN :: Lens' GetDashboardResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dashboard.

gdrsResponseStatus :: Lens' GetDashboardResponse Int Source #

  • - | The response status code.