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 |
Update an existing workload.
Synopsis
- data UpdateWorkload = UpdateWorkload' {
- isReviewOwnerUpdateAcknowledged :: Maybe Bool
- architecturalDesign :: Maybe Text
- accountIds :: Maybe [Text]
- industry :: Maybe Text
- environment :: Maybe WorkloadEnvironment
- awsRegions :: Maybe [Text]
- improvementStatus :: Maybe WorkloadImprovementStatus
- industryType :: Maybe Text
- workloadName :: Maybe Text
- notes :: Maybe Text
- reviewOwner :: Maybe Text
- description :: Maybe Text
- pillarPriorities :: Maybe [Text]
- nonAwsRegions :: Maybe [Text]
- workloadId :: Text
- newUpdateWorkload :: Text -> UpdateWorkload
- updateWorkload_isReviewOwnerUpdateAcknowledged :: Lens' UpdateWorkload (Maybe Bool)
- updateWorkload_architecturalDesign :: Lens' UpdateWorkload (Maybe Text)
- updateWorkload_accountIds :: Lens' UpdateWorkload (Maybe [Text])
- updateWorkload_industry :: Lens' UpdateWorkload (Maybe Text)
- updateWorkload_environment :: Lens' UpdateWorkload (Maybe WorkloadEnvironment)
- updateWorkload_awsRegions :: Lens' UpdateWorkload (Maybe [Text])
- updateWorkload_improvementStatus :: Lens' UpdateWorkload (Maybe WorkloadImprovementStatus)
- updateWorkload_industryType :: Lens' UpdateWorkload (Maybe Text)
- updateWorkload_workloadName :: Lens' UpdateWorkload (Maybe Text)
- updateWorkload_notes :: Lens' UpdateWorkload (Maybe Text)
- updateWorkload_reviewOwner :: Lens' UpdateWorkload (Maybe Text)
- updateWorkload_description :: Lens' UpdateWorkload (Maybe Text)
- updateWorkload_pillarPriorities :: Lens' UpdateWorkload (Maybe [Text])
- updateWorkload_nonAwsRegions :: Lens' UpdateWorkload (Maybe [Text])
- updateWorkload_workloadId :: Lens' UpdateWorkload Text
- data UpdateWorkloadResponse = UpdateWorkloadResponse' {
- workload :: Maybe Workload
- httpStatus :: Int
- newUpdateWorkloadResponse :: Int -> UpdateWorkloadResponse
- updateWorkloadResponse_workload :: Lens' UpdateWorkloadResponse (Maybe Workload)
- updateWorkloadResponse_httpStatus :: Lens' UpdateWorkloadResponse Int
Creating a Request
data UpdateWorkload Source #
Input to update a workload.
See: newUpdateWorkload
smart constructor.
UpdateWorkload' | |
|
Instances
Create a value of UpdateWorkload
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:isReviewOwnerUpdateAcknowledged:UpdateWorkload'
, updateWorkload_isReviewOwnerUpdateAcknowledged
- Flag indicating whether the workload owner has acknowledged that the
Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
$sel:architecturalDesign:UpdateWorkload'
, updateWorkload_architecturalDesign
- Undocumented member.
$sel:accountIds:UpdateWorkload'
, updateWorkload_accountIds
- Undocumented member.
$sel:industry:UpdateWorkload'
, updateWorkload_industry
- Undocumented member.
$sel:environment:UpdateWorkload'
, updateWorkload_environment
- Undocumented member.
$sel:awsRegions:UpdateWorkload'
, updateWorkload_awsRegions
- Undocumented member.
$sel:improvementStatus:UpdateWorkload'
, updateWorkload_improvementStatus
- Undocumented member.
$sel:industryType:UpdateWorkload'
, updateWorkload_industryType
- Undocumented member.
$sel:workloadName:UpdateWorkload'
, updateWorkload_workloadName
- Undocumented member.
$sel:notes:UpdateWorkload'
, updateWorkload_notes
- Undocumented member.
$sel:reviewOwner:UpdateWorkload'
, updateWorkload_reviewOwner
- Undocumented member.
$sel:description:UpdateWorkload'
, updateWorkload_description
- Undocumented member.
$sel:pillarPriorities:UpdateWorkload'
, updateWorkload_pillarPriorities
- Undocumented member.
$sel:nonAwsRegions:UpdateWorkload'
, updateWorkload_nonAwsRegions
- Undocumented member.
$sel:workloadId:UpdateWorkload'
, updateWorkload_workloadId
- Undocumented member.
Request Lenses
updateWorkload_isReviewOwnerUpdateAcknowledged :: Lens' UpdateWorkload (Maybe Bool) Source #
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
updateWorkload_architecturalDesign :: Lens' UpdateWorkload (Maybe Text) Source #
Undocumented member.
updateWorkload_accountIds :: Lens' UpdateWorkload (Maybe [Text]) Source #
Undocumented member.
updateWorkload_industry :: Lens' UpdateWorkload (Maybe Text) Source #
Undocumented member.
updateWorkload_environment :: Lens' UpdateWorkload (Maybe WorkloadEnvironment) Source #
Undocumented member.
updateWorkload_awsRegions :: Lens' UpdateWorkload (Maybe [Text]) Source #
Undocumented member.
updateWorkload_improvementStatus :: Lens' UpdateWorkload (Maybe WorkloadImprovementStatus) Source #
Undocumented member.
updateWorkload_industryType :: Lens' UpdateWorkload (Maybe Text) Source #
Undocumented member.
updateWorkload_workloadName :: Lens' UpdateWorkload (Maybe Text) Source #
Undocumented member.
updateWorkload_notes :: Lens' UpdateWorkload (Maybe Text) Source #
Undocumented member.
updateWorkload_reviewOwner :: Lens' UpdateWorkload (Maybe Text) Source #
Undocumented member.
updateWorkload_description :: Lens' UpdateWorkload (Maybe Text) Source #
Undocumented member.
updateWorkload_pillarPriorities :: Lens' UpdateWorkload (Maybe [Text]) Source #
Undocumented member.
updateWorkload_nonAwsRegions :: Lens' UpdateWorkload (Maybe [Text]) Source #
Undocumented member.
updateWorkload_workloadId :: Lens' UpdateWorkload Text Source #
Undocumented member.
Destructuring the Response
data UpdateWorkloadResponse Source #
Output of an update workload call.
See: newUpdateWorkloadResponse
smart constructor.
UpdateWorkloadResponse' | |
|
Instances
newUpdateWorkloadResponse Source #
Create a value of UpdateWorkloadResponse
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:workload:UpdateWorkloadResponse'
, updateWorkloadResponse_workload
- Undocumented member.
$sel:httpStatus:UpdateWorkloadResponse'
, updateWorkloadResponse_httpStatus
- The response's http status code.
Response Lenses
updateWorkloadResponse_workload :: Lens' UpdateWorkloadResponse (Maybe Workload) Source #
Undocumented member.
updateWorkloadResponse_httpStatus :: Lens' UpdateWorkloadResponse Int Source #
The response's http status code.