Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Provides a detailed description of the definition of a dashboard.
If you do not need to know details about the content of a dashboard, for instance if you are trying to check the status of a recently created or updated dashboard, use the DescribeDashboard instead.
Synopsis
- data DescribeDashboardDefinition = DescribeDashboardDefinition' {}
- newDescribeDashboardDefinition :: Text -> Text -> DescribeDashboardDefinition
- describeDashboardDefinition_aliasName :: Lens' DescribeDashboardDefinition (Maybe Text)
- describeDashboardDefinition_versionNumber :: Lens' DescribeDashboardDefinition (Maybe Natural)
- describeDashboardDefinition_awsAccountId :: Lens' DescribeDashboardDefinition Text
- describeDashboardDefinition_dashboardId :: Lens' DescribeDashboardDefinition Text
- data DescribeDashboardDefinitionResponse = DescribeDashboardDefinitionResponse' {}
- newDescribeDashboardDefinitionResponse :: Int -> DescribeDashboardDefinitionResponse
- describeDashboardDefinitionResponse_dashboardId :: Lens' DescribeDashboardDefinitionResponse (Maybe Text)
- describeDashboardDefinitionResponse_definition :: Lens' DescribeDashboardDefinitionResponse (Maybe DashboardVersionDefinition)
- describeDashboardDefinitionResponse_errors :: Lens' DescribeDashboardDefinitionResponse (Maybe (NonEmpty DashboardError))
- describeDashboardDefinitionResponse_name :: Lens' DescribeDashboardDefinitionResponse (Maybe Text)
- describeDashboardDefinitionResponse_requestId :: Lens' DescribeDashboardDefinitionResponse (Maybe Text)
- describeDashboardDefinitionResponse_resourceStatus :: Lens' DescribeDashboardDefinitionResponse (Maybe ResourceStatus)
- describeDashboardDefinitionResponse_themeArn :: Lens' DescribeDashboardDefinitionResponse (Maybe Text)
- describeDashboardDefinitionResponse_status :: Lens' DescribeDashboardDefinitionResponse Int
Creating a Request
data DescribeDashboardDefinition Source #
See: newDescribeDashboardDefinition
smart constructor.
DescribeDashboardDefinition' | |
|
Instances
newDescribeDashboardDefinition Source #
Create a value of DescribeDashboardDefinition
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:
DescribeDashboardDefinition
, describeDashboardDefinition_aliasName
- The alias name.
DescribeDashboardDefinition
, describeDashboardDefinition_versionNumber
- The version number for the dashboard. If a version number isn't passed,
the latest published dashboard version is described.
DescribeDashboardDefinition
, describeDashboardDefinition_awsAccountId
- The ID of the Amazon Web Services account that contains the dashboard
that you're describing.
DescribeDashboardDefinition
, describeDashboardDefinition_dashboardId
- The ID for the dashboard.
Request Lenses
describeDashboardDefinition_aliasName :: Lens' DescribeDashboardDefinition (Maybe Text) Source #
The alias name.
describeDashboardDefinition_versionNumber :: Lens' DescribeDashboardDefinition (Maybe Natural) Source #
The version number for the dashboard. If a version number isn't passed, the latest published dashboard version is described.
describeDashboardDefinition_awsAccountId :: Lens' DescribeDashboardDefinition Text Source #
The ID of the Amazon Web Services account that contains the dashboard that you're describing.
describeDashboardDefinition_dashboardId :: Lens' DescribeDashboardDefinition Text Source #
The ID for the dashboard.
Destructuring the Response
data DescribeDashboardDefinitionResponse Source #
See: newDescribeDashboardDefinitionResponse
smart constructor.
DescribeDashboardDefinitionResponse' | |
|
Instances
newDescribeDashboardDefinitionResponse Source #
Create a value of DescribeDashboardDefinitionResponse
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:
DescribeDashboardDefinition
, describeDashboardDefinitionResponse_dashboardId
- The ID of the dashboard described.
$sel:definition:DescribeDashboardDefinitionResponse'
, describeDashboardDefinitionResponse_definition
- The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
DescribeDashboardDefinitionResponse
, describeDashboardDefinitionResponse_errors
- Errors associated with this dashboard version.
DescribeDashboardDefinitionResponse
, describeDashboardDefinitionResponse_name
- The display name of the dashboard.
$sel:requestId:DescribeDashboardDefinitionResponse'
, describeDashboardDefinitionResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:resourceStatus:DescribeDashboardDefinitionResponse'
, describeDashboardDefinitionResponse_resourceStatus
- Status associated with the dashboard version.
CREATION_IN_PROGRESS
CREATION_SUCCESSFUL
CREATION_FAILED
UPDATE_IN_PROGRESS
UPDATE_SUCCESSFUL
UPDATE_FAILED
DELETED
DescribeDashboardDefinitionResponse
, describeDashboardDefinitionResponse_themeArn
- The ARN of the theme of the dashboard.
DescribeDashboardDefinitionResponse
, describeDashboardDefinitionResponse_status
- The HTTP status of the request.
Response Lenses
describeDashboardDefinitionResponse_dashboardId :: Lens' DescribeDashboardDefinitionResponse (Maybe Text) Source #
The ID of the dashboard described.
describeDashboardDefinitionResponse_definition :: Lens' DescribeDashboardDefinitionResponse (Maybe DashboardVersionDefinition) Source #
The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
describeDashboardDefinitionResponse_errors :: Lens' DescribeDashboardDefinitionResponse (Maybe (NonEmpty DashboardError)) Source #
Errors associated with this dashboard version.
describeDashboardDefinitionResponse_name :: Lens' DescribeDashboardDefinitionResponse (Maybe Text) Source #
The display name of the dashboard.
describeDashboardDefinitionResponse_requestId :: Lens' DescribeDashboardDefinitionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDashboardDefinitionResponse_resourceStatus :: Lens' DescribeDashboardDefinitionResponse (Maybe ResourceStatus) Source #
Status associated with the dashboard version.
CREATION_IN_PROGRESS
CREATION_SUCCESSFUL
CREATION_FAILED
UPDATE_IN_PROGRESS
UPDATE_SUCCESSFUL
UPDATE_FAILED
DELETED
describeDashboardDefinitionResponse_themeArn :: Lens' DescribeDashboardDefinitionResponse (Maybe Text) Source #
The ARN of the theme of the dashboard.
describeDashboardDefinitionResponse_status :: Lens' DescribeDashboardDefinitionResponse Int Source #
The HTTP status of the request.