Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Disassociates an RAM permission from a resource share.
Synopsis
- data DisassociateResourceSharePermission = DisassociateResourceSharePermission' {}
- newDisassociateResourceSharePermission :: Text -> Text -> DisassociateResourceSharePermission
- disassociateResourceSharePermission_clientToken :: Lens' DisassociateResourceSharePermission (Maybe Text)
- disassociateResourceSharePermission_resourceShareArn :: Lens' DisassociateResourceSharePermission Text
- disassociateResourceSharePermission_permissionArn :: Lens' DisassociateResourceSharePermission Text
- data DisassociateResourceSharePermissionResponse = DisassociateResourceSharePermissionResponse' {
- clientToken :: Maybe Text
- returnValue :: Maybe Bool
- httpStatus :: Int
- newDisassociateResourceSharePermissionResponse :: Int -> DisassociateResourceSharePermissionResponse
- disassociateResourceSharePermissionResponse_clientToken :: Lens' DisassociateResourceSharePermissionResponse (Maybe Text)
- disassociateResourceSharePermissionResponse_returnValue :: Lens' DisassociateResourceSharePermissionResponse (Maybe Bool)
- disassociateResourceSharePermissionResponse_httpStatus :: Lens' DisassociateResourceSharePermissionResponse Int
Creating a Request
data DisassociateResourceSharePermission Source #
See: newDisassociateResourceSharePermission
smart constructor.
DisassociateResourceSharePermission' | |
|
Instances
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_resourceShareArn :: Lens' DisassociateResourceSharePermission Text Source #
The Amazon Resource Name (ARN) of the resource share.
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 #
See: newDisassociateResourceSharePermissionResponse
smart constructor.
DisassociateResourceSharePermissionResponse' | |
|
Instances
newDisassociateResourceSharePermissionResponse Source #
:: Int |
|
-> DisassociateResourceSharePermissionResponse |
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.
disassociateResourceSharePermissionResponse_returnValue :: Lens' DisassociateResourceSharePermissionResponse (Maybe Bool) Source #
Indicates whether the request succeeded.
disassociateResourceSharePermissionResponse_httpStatus :: Lens' DisassociateResourceSharePermissionResponse Int Source #
The response's http status code.