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 |
Updates an analysis in Amazon QuickSight
Synopsis
- data UpdateAnalysis = UpdateAnalysis' {}
- newUpdateAnalysis :: Text -> Text -> Text -> AnalysisSourceEntity -> UpdateAnalysis
- updateAnalysis_themeArn :: Lens' UpdateAnalysis (Maybe Text)
- updateAnalysis_parameters :: Lens' UpdateAnalysis (Maybe Parameters)
- updateAnalysis_awsAccountId :: Lens' UpdateAnalysis Text
- updateAnalysis_analysisId :: Lens' UpdateAnalysis Text
- updateAnalysis_name :: Lens' UpdateAnalysis Text
- updateAnalysis_sourceEntity :: Lens' UpdateAnalysis AnalysisSourceEntity
- data UpdateAnalysisResponse = UpdateAnalysisResponse' {
- requestId :: Maybe Text
- analysisId :: Maybe Text
- arn :: Maybe Text
- updateStatus :: Maybe ResourceStatus
- status :: Int
- newUpdateAnalysisResponse :: Int -> UpdateAnalysisResponse
- updateAnalysisResponse_requestId :: Lens' UpdateAnalysisResponse (Maybe Text)
- updateAnalysisResponse_analysisId :: Lens' UpdateAnalysisResponse (Maybe Text)
- updateAnalysisResponse_arn :: Lens' UpdateAnalysisResponse (Maybe Text)
- updateAnalysisResponse_updateStatus :: Lens' UpdateAnalysisResponse (Maybe ResourceStatus)
- updateAnalysisResponse_status :: Lens' UpdateAnalysisResponse Int
Creating a Request
data UpdateAnalysis Source #
See: newUpdateAnalysis
smart constructor.
UpdateAnalysis' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> AnalysisSourceEntity | |
-> UpdateAnalysis |
Create a value of UpdateAnalysis
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:themeArn:UpdateAnalysis'
, updateAnalysis_themeArn
- The Amazon Resource Name (ARN) for the theme to apply to the analysis
that you're creating. To see the theme in the Amazon QuickSight
console, make sure that you have access to it.
$sel:parameters:UpdateAnalysis'
, updateAnalysis_parameters
- The parameter names and override values that you want to use. An
analysis can have any parameter type, and some parameters might accept
multiple values.
$sel:awsAccountId:UpdateAnalysis'
, updateAnalysis_awsAccountId
- The ID of the Amazon Web Services account that contains the analysis
that you're updating.
$sel:analysisId:UpdateAnalysis'
, updateAnalysis_analysisId
- The ID for the analysis that you're updating. This ID displays in the
URL of the analysis.
$sel:name:UpdateAnalysis'
, updateAnalysis_name
- A descriptive name for the analysis that you're updating. This name
displays for the analysis in the Amazon QuickSight console.
$sel:sourceEntity:UpdateAnalysis'
, updateAnalysis_sourceEntity
- A source entity to use for the analysis that you're updating. This
metadata structure contains details that describe a source template and
one or more datasets.
Request Lenses
updateAnalysis_themeArn :: Lens' UpdateAnalysis (Maybe Text) Source #
The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.
updateAnalysis_parameters :: Lens' UpdateAnalysis (Maybe Parameters) Source #
The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.
updateAnalysis_awsAccountId :: Lens' UpdateAnalysis Text Source #
The ID of the Amazon Web Services account that contains the analysis that you're updating.
updateAnalysis_analysisId :: Lens' UpdateAnalysis Text Source #
The ID for the analysis that you're updating. This ID displays in the URL of the analysis.
updateAnalysis_name :: Lens' UpdateAnalysis Text Source #
A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon QuickSight console.
updateAnalysis_sourceEntity :: Lens' UpdateAnalysis AnalysisSourceEntity Source #
A source entity to use for the analysis that you're updating. This metadata structure contains details that describe a source template and one or more datasets.
Destructuring the Response
data UpdateAnalysisResponse Source #
See: newUpdateAnalysisResponse
smart constructor.
UpdateAnalysisResponse' | |
|
Instances
newUpdateAnalysisResponse Source #
Create a value of UpdateAnalysisResponse
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:UpdateAnalysisResponse'
, updateAnalysisResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:analysisId:UpdateAnalysis'
, updateAnalysisResponse_analysisId
- The ID of the analysis.
$sel:arn:UpdateAnalysisResponse'
, updateAnalysisResponse_arn
- The ARN of the analysis that you're updating.
$sel:updateStatus:UpdateAnalysisResponse'
, updateAnalysisResponse_updateStatus
- The update status of the last update that was made to the analysis.
$sel:status:UpdateAnalysisResponse'
, updateAnalysisResponse_status
- The HTTP status of the request.
Response Lenses
updateAnalysisResponse_requestId :: Lens' UpdateAnalysisResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateAnalysisResponse_analysisId :: Lens' UpdateAnalysisResponse (Maybe Text) Source #
The ID of the analysis.
updateAnalysisResponse_arn :: Lens' UpdateAnalysisResponse (Maybe Text) Source #
The ARN of the analysis that you're updating.
updateAnalysisResponse_updateStatus :: Lens' UpdateAnalysisResponse (Maybe ResourceStatus) Source #
The update status of the last update that was made to the analysis.
updateAnalysisResponse_status :: Lens' UpdateAnalysisResponse Int Source #
The HTTP status of the request.