| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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_requestId :: Lens' RestoreAnalysisResponse (Maybe Text)
- restoreAnalysisResponse_analysisId :: Lens' RestoreAnalysisResponse (Maybe Text)
- restoreAnalysisResponse_arn :: 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:
$sel:awsAccountId:RestoreAnalysis', restoreAnalysis_awsAccountId - The ID of the Amazon Web Services account that contains the analysis.
$sel:analysisId: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 #
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:
$sel:requestId:RestoreAnalysisResponse', restoreAnalysisResponse_requestId - The Amazon Web Services request ID for this operation.
$sel:analysisId:RestoreAnalysis', restoreAnalysisResponse_analysisId - The ID of the analysis that you're restoring.
$sel:arn:RestoreAnalysisResponse', restoreAnalysisResponse_arn - The Amazon Resource Name (ARN) of the analysis that you're restoring.
$sel:status:RestoreAnalysisResponse', restoreAnalysisResponse_status - The HTTP status of the request.
Response Lenses
restoreAnalysisResponse_requestId :: Lens' RestoreAnalysisResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
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_status :: Lens' RestoreAnalysisResponse Int Source #
The HTTP status of the request.