libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WellArchitected.CreateWorkload

Description

Create a new workload.

The owner of a workload can share the workload with other AWS accounts and IAM users in the same AWS Region. Only the owner of a workload can delete it.

For more information, see Defining a Workload in the AWS Well-Architected Tool User Guide.

Synopsis

Creating a Request

data CreateWorkload Source #

Input for workload creation.

See: newCreateWorkload smart constructor.

Instances

Instances details
Eq CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Read CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Show CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Generic CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Associated Types

type Rep CreateWorkload :: Type -> Type #

NFData CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Methods

rnf :: CreateWorkload -> () #

Hashable CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

ToJSON CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

AWSRequest CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Associated Types

type AWSResponse CreateWorkload #

ToHeaders CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

ToPath CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

ToQuery CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

type Rep CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

type Rep CreateWorkload = D1 ('MetaData "CreateWorkload" "Amazonka.WellArchitected.CreateWorkload" "libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected" 'False) (C1 ('MetaCons "CreateWorkload'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "architecturalDesign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "industry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "awsRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "industryType") '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 "nonAwsRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "workloadName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "environment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkloadEnvironment) :*: S1 ('MetaSel ('Just "reviewOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lenses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateWorkload Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

newCreateWorkload Source #

Create a value of CreateWorkload 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:architecturalDesign:CreateWorkload', createWorkload_architecturalDesign - Undocumented member.

$sel:accountIds:CreateWorkload', createWorkload_accountIds - Undocumented member.

$sel:industry:CreateWorkload', createWorkload_industry - Undocumented member.

$sel:awsRegions:CreateWorkload', createWorkload_awsRegions - Undocumented member.

$sel:industryType:CreateWorkload', createWorkload_industryType - Undocumented member.

$sel:notes:CreateWorkload', createWorkload_notes - Undocumented member.

$sel:pillarPriorities:CreateWorkload', createWorkload_pillarPriorities - Undocumented member.

$sel:nonAwsRegions:CreateWorkload', createWorkload_nonAwsRegions - Undocumented member.

$sel:tags:CreateWorkload', createWorkload_tags - The tags to be associated with the workload.

$sel:workloadName:CreateWorkload', createWorkload_workloadName - Undocumented member.

$sel:description:CreateWorkload', createWorkload_description - Undocumented member.

$sel:environment:CreateWorkload', createWorkload_environment - Undocumented member.

$sel:reviewOwner:CreateWorkload', createWorkload_reviewOwner - Undocumented member.

$sel:lenses:CreateWorkload', createWorkload_lenses - Undocumented member.

$sel:clientRequestToken:CreateWorkload', createWorkload_clientRequestToken - Undocumented member.

Request Lenses

createWorkload_tags :: Lens' CreateWorkload (Maybe (HashMap Text Text)) Source #

The tags to be associated with the workload.

Destructuring the Response

data CreateWorkloadResponse Source #

Output of a create workload call.

See: newCreateWorkloadResponse smart constructor.

Constructors

CreateWorkloadResponse' 

Fields

Instances

Instances details
Eq CreateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Read CreateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Show CreateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Generic CreateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Associated Types

type Rep CreateWorkloadResponse :: Type -> Type #

NFData CreateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

Methods

rnf :: CreateWorkloadResponse -> () #

type Rep CreateWorkloadResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkload

type Rep CreateWorkloadResponse = D1 ('MetaData "CreateWorkloadResponse" "Amazonka.WellArchitected.CreateWorkload" "libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected" 'False) (C1 ('MetaCons "CreateWorkloadResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workloadArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workloadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateWorkloadResponse Source #

Create a value of CreateWorkloadResponse 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:workloadArn:CreateWorkloadResponse', createWorkloadResponse_workloadArn - Undocumented member.

$sel:workloadId:CreateWorkloadResponse', createWorkloadResponse_workloadId - Undocumented member.

$sel:httpStatus:CreateWorkloadResponse', createWorkloadResponse_httpStatus - The response's http status code.

Response Lenses