libZSservicesZSamazonka-ramZSamazonka-ram
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.RAM.PromoteResourceShareCreatedFromPolicy

Description

Resource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in RAM.

Use this API action to promote the resource share. When you promote the resource share, it becomes:

  • Visible to all principals that it is shared with.
  • Modifiable in RAM.
Synopsis

Creating a Request

data PromoteResourceShareCreatedFromPolicy Source #

Constructors

PromoteResourceShareCreatedFromPolicy' 

Fields

Instances

Instances details
Eq PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

Read PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

Show PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

Generic PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

NFData PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

Hashable PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

ToJSON PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

AWSRequest PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

ToHeaders PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

ToPath PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

ToQuery PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

type Rep PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

type Rep PromoteResourceShareCreatedFromPolicy = D1 ('MetaData "PromoteResourceShareCreatedFromPolicy" "Amazonka.RAM.PromoteResourceShareCreatedFromPolicy" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "PromoteResourceShareCreatedFromPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PromoteResourceShareCreatedFromPolicy Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

newPromoteResourceShareCreatedFromPolicy Source #

Create a value of PromoteResourceShareCreatedFromPolicy 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:resourceShareArn:PromoteResourceShareCreatedFromPolicy', promoteResourceShareCreatedFromPolicy_resourceShareArn - The Amazon Resource Name (ARN) of the resource share to promote.

Request Lenses

promoteResourceShareCreatedFromPolicy_resourceShareArn :: Lens' PromoteResourceShareCreatedFromPolicy Text Source #

The Amazon Resource Name (ARN) of the resource share to promote.

Destructuring the Response

data PromoteResourceShareCreatedFromPolicyResponse Source #

Constructors

PromoteResourceShareCreatedFromPolicyResponse' 

Fields

Instances

Instances details
Eq PromoteResourceShareCreatedFromPolicyResponse Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

Read PromoteResourceShareCreatedFromPolicyResponse Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

Show PromoteResourceShareCreatedFromPolicyResponse Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

Generic PromoteResourceShareCreatedFromPolicyResponse Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

NFData PromoteResourceShareCreatedFromPolicyResponse Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

type Rep PromoteResourceShareCreatedFromPolicyResponse Source # 
Instance details

Defined in Amazonka.RAM.PromoteResourceShareCreatedFromPolicy

type Rep PromoteResourceShareCreatedFromPolicyResponse = D1 ('MetaData "PromoteResourceShareCreatedFromPolicyResponse" "Amazonka.RAM.PromoteResourceShareCreatedFromPolicy" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "PromoteResourceShareCreatedFromPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "returnValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses