| 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 |
Amazonka.QuickSight.RestoreAnalysis
Description
Restores an analysis.
Synopsis
- data RestoreAnalysis = RestoreAnalysis' {
- awsAccountId :: Text
- analysisId :: Text
- newRestoreAnalysis :: Text -> Text -> RestoreAnalysis
- restoreAnalysis_awsAccountId :: Lens' RestoreAnalysis Text
- restoreAnalysis_analysisId :: Lens' RestoreAnalysis Text
- data RestoreAnalysisResponse = RestoreAnalysisResponse' {}
- newRestoreAnalysisResponse :: Int -> RestoreAnalysisResponse
- restoreAnalysisResponse_analysisId :: Lens' RestoreAnalysisResponse (Maybe Text)
- restoreAnalysisResponse_arn :: Lens' RestoreAnalysisResponse (Maybe Text)
- restoreAnalysisResponse_requestId :: Lens' RestoreAnalysisResponse (Maybe Text)
- restoreAnalysisResponse_status :: Lens' RestoreAnalysisResponse Int
Creating a Request
data RestoreAnalysis Source #
See: newRestoreAnalysis smart constructor.
Constructors
| RestoreAnalysis' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> RestoreAnalysis |
Create a value of RestoreAnalysis 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:
RestoreAnalysis, restoreAnalysis_awsAccountId - The ID of the Amazon Web Services account that contains the analysis.
RestoreAnalysis, restoreAnalysis_analysisId - The ID of the analysis that you're restoring.
Request Lenses
restoreAnalysis_awsAccountId :: Lens' RestoreAnalysis Text Source #
The ID of the Amazon Web Services account that contains the analysis.
restoreAnalysis_analysisId :: Lens' RestoreAnalysis Text Source #
The ID of the analysis that you're restoring.
Destructuring the Response
data RestoreAnalysisResponse Source #
See: newRestoreAnalysisResponse smart constructor.
Constructors
| RestoreAnalysisResponse' | |
Instances
newRestoreAnalysisResponse Source #
Arguments
| :: Int | |
| -> RestoreAnalysisResponse |
Create a value of RestoreAnalysisResponse 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:
RestoreAnalysis, restoreAnalysisResponse_analysisId - The ID of the analysis that you're restoring.
RestoreAnalysisResponse, restoreAnalysisResponse_arn - The Amazon Resource Name (ARN) of the analysis that you're restoring.
$sel:requestId:RestoreAnalysisResponse', restoreAnalysisResponse_requestId - The Amazon Web Services request ID for this operation.
RestoreAnalysisResponse, restoreAnalysisResponse_status - The HTTP status of the request.
Response Lenses
restoreAnalysisResponse_analysisId :: Lens' RestoreAnalysisResponse (Maybe Text) Source #
The ID of the analysis that you're restoring.
restoreAnalysisResponse_arn :: Lens' RestoreAnalysisResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the analysis that you're restoring.
restoreAnalysisResponse_requestId :: Lens' RestoreAnalysisResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
restoreAnalysisResponse_status :: Lens' RestoreAnalysisResponse Int Source #
The HTTP status of the request.