amazonka-wellarchitected-2.0: Amazon Well-Architected Tool SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WellArchitected.UpdateWorkload

Description

Update an existing workload.

Synopsis

Creating a Request

data UpdateWorkload Source #

Input to update a workload.

See: newUpdateWorkload smart constructor.

Constructors

UpdateWorkload' 

Fields

Instances

Instances details
ToJSON UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

ToHeaders UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

ToPath UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

ToQuery UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

AWSRequest UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Associated Types

type AWSResponse UpdateWorkload #

Generic UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Associated Types

type Rep UpdateWorkload :: Type -> Type #

Read UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Show UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

NFData UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Methods

rnf :: UpdateWorkload -> () #

Eq UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Hashable UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

type AWSResponse UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

type Rep UpdateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

type Rep UpdateWorkload = D1 ('MetaData "UpdateWorkload" "Amazonka.WellArchitected.UpdateWorkload" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "UpdateWorkload'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "applications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "architecturalDesign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "discoveryConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkloadDiscoveryConfig))) :*: (S1 ('MetaSel ('Just "environment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkloadEnvironment)) :*: S1 ('MetaSel ('Just "improvementStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkloadImprovementStatus))))) :*: (((S1 ('MetaSel ('Just "industry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "industryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "isReviewOwnerUpdateAcknowledged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "nonAwsRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "notes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pillarPriorities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "reviewOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workloadName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workloadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

newUpdateWorkload Source #

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:

UpdateWorkload, updateWorkload_accountIds - Undocumented member.

UpdateWorkload, updateWorkload_applications - List of AppRegistry application ARNs to associate to the workload.

UpdateWorkload, updateWorkload_architecturalDesign - Undocumented member.

UpdateWorkload, updateWorkload_awsRegions - Undocumented member.

UpdateWorkload, updateWorkload_description - Undocumented member.

UpdateWorkload, updateWorkload_discoveryConfig - Well-Architected discovery configuration settings to associate to the workload.

UpdateWorkload, updateWorkload_environment - Undocumented member.

UpdateWorkload, updateWorkload_improvementStatus - Undocumented member.

UpdateWorkload, updateWorkload_industry - Undocumented member.

UpdateWorkload, updateWorkload_industryType - Undocumented member.

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.

UpdateWorkload, updateWorkload_nonAwsRegions - Undocumented member.

UpdateWorkload, updateWorkload_notes - Undocumented member.

UpdateWorkload, updateWorkload_pillarPriorities - Undocumented member.

UpdateWorkload, updateWorkload_reviewOwner - Undocumented member.

UpdateWorkload, updateWorkload_workloadName - Undocumented member.

UpdateWorkload, updateWorkload_workloadId - Undocumented member.

Request Lenses

updateWorkload_applications :: Lens' UpdateWorkload (Maybe [Text]) Source #

List of AppRegistry application ARNs to associate to the workload.

updateWorkload_discoveryConfig :: Lens' UpdateWorkload (Maybe WorkloadDiscoveryConfig) Source #

Well-Architected discovery configuration settings to associate to the workload.

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.

Destructuring the Response

data UpdateWorkloadResponse Source #

Output of an update workload call.

See: newUpdateWorkloadResponse smart constructor.

Constructors

UpdateWorkloadResponse' 

Fields

Instances

Instances details
Generic UpdateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Associated Types

type Rep UpdateWorkloadResponse :: Type -> Type #

Read UpdateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Show UpdateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

NFData UpdateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

Methods

rnf :: UpdateWorkloadResponse -> () #

Eq UpdateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

type Rep UpdateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateWorkload

type Rep UpdateWorkloadResponse = D1 ('MetaData "UpdateWorkloadResponse" "Amazonka.WellArchitected.UpdateWorkload" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "UpdateWorkloadResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Workload)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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:

UpdateWorkloadResponse, updateWorkloadResponse_workload - Undocumented member.

$sel:httpStatus:UpdateWorkloadResponse', updateWorkloadResponse_httpStatus - The response's http status code.

Response Lenses