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.CreateWorkloadShare

Description

Create a workload share.

The owner of a workload can share it with other AWS accounts and IAM users in the same AWS Region. Shared access to a workload is not removed until the workload invitation is deleted.

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

Synopsis

Creating a Request

data CreateWorkloadShare Source #

Input for Create Workload Share

See: newCreateWorkloadShare smart constructor.

Instances

Instances details
Eq CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Read CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Show CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Generic CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Associated Types

type Rep CreateWorkloadShare :: Type -> Type #

NFData CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Methods

rnf :: CreateWorkloadShare -> () #

Hashable CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

ToJSON CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

AWSRequest CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Associated Types

type AWSResponse CreateWorkloadShare #

ToHeaders CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

ToPath CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

ToQuery CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

type Rep CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

type Rep CreateWorkloadShare = D1 ('MetaData "CreateWorkloadShare" "Amazonka.WellArchitected.CreateWorkloadShare" "libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected" 'False) (C1 ('MetaCons "CreateWorkloadShare'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "workloadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sharedWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "permissionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PermissionType) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateWorkloadShare Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Request Lenses

Destructuring the Response

data CreateWorkloadShareResponse Source #

Input for Create Workload Share

See: newCreateWorkloadShareResponse smart constructor.

Constructors

CreateWorkloadShareResponse' 

Fields

Instances

Instances details
Eq CreateWorkloadShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Read CreateWorkloadShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Show CreateWorkloadShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Generic CreateWorkloadShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

Associated Types

type Rep CreateWorkloadShareResponse :: Type -> Type #

NFData CreateWorkloadShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

type Rep CreateWorkloadShareResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.CreateWorkloadShare

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

newCreateWorkloadShareResponse Source #

Create a value of CreateWorkloadShareResponse 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:workloadId:CreateWorkloadShare', createWorkloadShareResponse_workloadId - Undocumented member.

$sel:shareId:CreateWorkloadShareResponse', createWorkloadShareResponse_shareId - Undocumented member.

$sel:httpStatus:CreateWorkloadShareResponse', createWorkloadShareResponse_httpStatus - The response's http status code.

Response Lenses