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

Description

Disassociates the specified principals or resources from the specified resource share.

Synopsis

Creating a Request

data DisassociateResourceShare Source #

See: newDisassociateResourceShare smart constructor.

Constructors

DisassociateResourceShare' 

Fields

Instances

Instances details
Eq DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Read DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Show DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Generic DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Associated Types

type Rep DisassociateResourceShare :: Type -> Type #

NFData DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Hashable DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

ToJSON DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

AWSRequest DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

ToHeaders DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

ToPath DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

ToQuery DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

type Rep DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

type Rep DisassociateResourceShare = D1 ('MetaData "DisassociateResourceShare" "Amazonka.RAM.DisassociateResourceShare" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "DisassociateResourceShare'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "resourceShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DisassociateResourceShare Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

newDisassociateResourceShare Source #

Create a value of DisassociateResourceShare 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:clientToken:DisassociateResourceShare', disassociateResourceShare_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:principals:DisassociateResourceShare', disassociateResourceShare_principals - The principals.

$sel:resourceArns:DisassociateResourceShare', disassociateResourceShare_resourceArns - The Amazon Resource Names (ARNs) of the resources.

$sel:resourceShareArn:DisassociateResourceShare', disassociateResourceShare_resourceShareArn - The Amazon Resource Name (ARN) of the resource share.

Request Lenses

disassociateResourceShare_clientToken :: Lens' DisassociateResourceShare (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

disassociateResourceShare_resourceArns :: Lens' DisassociateResourceShare (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of the resources.

disassociateResourceShare_resourceShareArn :: Lens' DisassociateResourceShare Text Source #

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

Destructuring the Response

data DisassociateResourceShareResponse Source #

See: newDisassociateResourceShareResponse smart constructor.

Constructors

DisassociateResourceShareResponse' 

Fields

Instances

Instances details
Eq DisassociateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Read DisassociateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Show DisassociateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Generic DisassociateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

Associated Types

type Rep DisassociateResourceShareResponse :: Type -> Type #

NFData DisassociateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

type Rep DisassociateResourceShareResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceShare

type Rep DisassociateResourceShareResponse = D1 ('MetaData "DisassociateResourceShareResponse" "Amazonka.RAM.DisassociateResourceShare" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "DisassociateResourceShareResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceShareAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceShareAssociation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDisassociateResourceShareResponse Source #

Create a value of DisassociateResourceShareResponse 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:clientToken:DisassociateResourceShare', disassociateResourceShareResponse_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:resourceShareAssociations:DisassociateResourceShareResponse', disassociateResourceShareResponse_resourceShareAssociations - Information about the associations.

$sel:httpStatus:DisassociateResourceShareResponse', disassociateResourceShareResponse_httpStatus - The response's http status code.

Response Lenses

disassociateResourceShareResponse_clientToken :: Lens' DisassociateResourceShareResponse (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.