libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatch.GetDashboard

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

data GetDashboard Source #

See: newGetDashboard smart constructor.

Constructors

GetDashboard' 

Fields

Instances

Instances details
Eq GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Read GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Show GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Generic GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Associated Types

type Rep GetDashboard :: Type -> Type #

NFData GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Methods

rnf :: GetDashboard -> () #

Hashable GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

AWSRequest GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Associated Types

type AWSResponse GetDashboard #

ToHeaders GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

ToPath GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

ToQuery GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

type Rep GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

type Rep GetDashboard = D1 ('MetaData "GetDashboard" "Amazonka.CloudWatch.GetDashboard" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "GetDashboard'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dashboardName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDashboard Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

newGetDashboard Source #

Create a value of GetDashboard with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dashboardName:GetDashboard', getDashboard_dashboardName - The name of the dashboard to be described.

Request Lenses

getDashboard_dashboardName :: Lens' GetDashboard Text Source #

The name of the dashboard to be described.

Destructuring the Response

data GetDashboardResponse Source #

See: newGetDashboardResponse smart constructor.

Constructors

GetDashboardResponse' 

Fields

Instances

Instances details
Eq GetDashboardResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Read GetDashboardResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Show GetDashboardResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Generic GetDashboardResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Associated Types

type Rep GetDashboardResponse :: Type -> Type #

NFData GetDashboardResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

Methods

rnf :: GetDashboardResponse -> () #

type Rep GetDashboardResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetDashboard

type Rep GetDashboardResponse = D1 ('MetaData "GetDashboardResponse" "Amazonka.CloudWatch.GetDashboard" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "GetDashboardResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dashboardName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dashboardBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dashboardArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDashboardResponse Source #

Create a value of GetDashboardResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dashboardName:GetDashboard', getDashboardResponse_dashboardName - The name of the dashboard.

$sel:dashboardBody:GetDashboardResponse', getDashboardResponse_dashboardBody - 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 Dashboard Body Structure and Syntax.

$sel:dashboardArn:GetDashboardResponse', getDashboardResponse_dashboardArn - The Amazon Resource Name (ARN) of the dashboard.

$sel:httpStatus:GetDashboardResponse', getDashboardResponse_httpStatus - The response's http status code.

Response Lenses

getDashboardResponse_dashboardBody :: 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 Dashboard Body Structure and Syntax.

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

The Amazon Resource Name (ARN) of the dashboard.