libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.CreateDashboard

Description

Creates a dashboard in an IoT SiteWise Monitor project.

Synopsis

Creating a Request

data CreateDashboard Source #

See: newCreateDashboard smart constructor.

Constructors

CreateDashboard' 

Fields

Instances

Instances details
Eq CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Read CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Show CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Generic CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Associated Types

type Rep CreateDashboard :: Type -> Type #

NFData CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Methods

rnf :: CreateDashboard -> () #

Hashable CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

ToJSON CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

AWSRequest CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Associated Types

type AWSResponse CreateDashboard #

ToHeaders CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

ToPath CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

ToQuery CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

type Rep CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

type Rep CreateDashboard = D1 ('MetaData "CreateDashboard" "Amazonka.IoTSiteWise.CreateDashboard" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "CreateDashboard'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dashboardDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dashboardName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dashboardDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateDashboard Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

newCreateDashboard Source #

Create a value of CreateDashboard 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:clientToken:CreateDashboard', createDashboard_clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

$sel:dashboardDescription:CreateDashboard', createDashboard_dashboardDescription - A description for the dashboard.

$sel:tags:CreateDashboard', createDashboard_tags - A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

$sel:projectId:CreateDashboard', createDashboard_projectId - The ID of the project in which to create the dashboard.

$sel:dashboardName:CreateDashboard', createDashboard_dashboardName - A friendly name for the dashboard.

$sel:dashboardDefinition:CreateDashboard', createDashboard_dashboardDefinition - The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.

Request Lenses

createDashboard_clientToken :: Lens' CreateDashboard (Maybe Text) Source #

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

createDashboard_tags :: Lens' CreateDashboard (Maybe (HashMap Text Text)) Source #

A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

createDashboard_projectId :: Lens' CreateDashboard Text Source #

The ID of the project in which to create the dashboard.

createDashboard_dashboardName :: Lens' CreateDashboard Text Source #

A friendly name for the dashboard.

createDashboard_dashboardDefinition :: Lens' CreateDashboard Text Source #

The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.

Destructuring the Response

data CreateDashboardResponse Source #

See: newCreateDashboardResponse smart constructor.

Constructors

CreateDashboardResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • dashboardId :: Text

    The ID of the dashboard.

  • dashboardArn :: Text

    The ARN of the dashboard, which has the following format.

    arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}

Instances

Instances details
Eq CreateDashboardResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Read CreateDashboardResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Show CreateDashboardResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Generic CreateDashboardResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Associated Types

type Rep CreateDashboardResponse :: Type -> Type #

NFData CreateDashboardResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

Methods

rnf :: CreateDashboardResponse -> () #

type Rep CreateDashboardResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateDashboard

type Rep CreateDashboardResponse = D1 ('MetaData "CreateDashboardResponse" "Amazonka.IoTSiteWise.CreateDashboard" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "CreateDashboardResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "dashboardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dashboardArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateDashboardResponse Source #

Create a value of CreateDashboardResponse 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:httpStatus:CreateDashboardResponse', createDashboardResponse_httpStatus - The response's http status code.

$sel:dashboardId:CreateDashboardResponse', createDashboardResponse_dashboardId - The ID of the dashboard.

$sel:dashboardArn:CreateDashboardResponse', createDashboardResponse_dashboardArn - The ARN of the dashboard, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}

Response Lenses

createDashboardResponse_dashboardArn :: Lens' CreateDashboardResponse Text Source #

The ARN of the dashboard, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}