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

Description

Disassociates an RAM permission from a resource share.

Synopsis

Creating a Request

data DisassociateResourceSharePermission Source #

Constructors

DisassociateResourceSharePermission' 

Fields

  • clientToken :: Maybe Text

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

  • resourceShareArn :: Text

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

  • permissionArn :: Text

    The Amazon Resource Name (ARN) of the permission to disassociate from the resource share.

Instances

Instances details
Eq DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

Read DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

Show DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

Generic DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

NFData DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

Hashable DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

ToJSON DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

AWSRequest DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

ToHeaders DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

ToPath DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

ToQuery DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

type Rep DisassociateResourceSharePermission Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

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

Defined in Amazonka.RAM.DisassociateResourceSharePermission

newDisassociateResourceSharePermission Source #

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

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

$sel:permissionArn:DisassociateResourceSharePermission', disassociateResourceSharePermission_permissionArn - The Amazon Resource Name (ARN) of the permission to disassociate from the resource share.

Request Lenses

disassociateResourceSharePermission_clientToken :: Lens' DisassociateResourceSharePermission (Maybe Text) Source #

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

disassociateResourceSharePermission_permissionArn :: Lens' DisassociateResourceSharePermission Text Source #

The Amazon Resource Name (ARN) of the permission to disassociate from the resource share.

Destructuring the Response

data DisassociateResourceSharePermissionResponse Source #

Constructors

DisassociateResourceSharePermissionResponse' 

Fields

Instances

Instances details
Eq DisassociateResourceSharePermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

Read DisassociateResourceSharePermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

Show DisassociateResourceSharePermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

Generic DisassociateResourceSharePermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

NFData DisassociateResourceSharePermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

type Rep DisassociateResourceSharePermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.DisassociateResourceSharePermission

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

newDisassociateResourceSharePermissionResponse Source #

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

$sel:returnValue:DisassociateResourceSharePermissionResponse', disassociateResourceSharePermissionResponse_returnValue - Indicates whether the request succeeded.

$sel:httpStatus:DisassociateResourceSharePermissionResponse', disassociateResourceSharePermissionResponse_httpStatus - The response's http status code.

Response Lenses

disassociateResourceSharePermissionResponse_clientToken :: Lens' DisassociateResourceSharePermissionResponse (Maybe Text) Source #

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