Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Disassociates an RAM permission from a resource share. Permission changes take effect immediately. You can remove a RAM permission from a resource share only if there are currently no resources of the relevant resource type currently attached to the 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:
DisassociateResourceSharePermission
, disassociateResourceSharePermission_clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure
the idempotency of the request. This lets you safely retry the request
without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you
also pass the same value for all other parameters. We recommend that you
use a
UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
DisassociateResourceSharePermission
, disassociateResourceSharePermission_resourceShareArn
- The
Amazon Resoure Name (ARN)
of the resource share from which you want to disassociate a permission.
$sel:permissionArn:DisassociateResourceSharePermission'
, disassociateResourceSharePermission_permissionArn
- The
Amazon Resoure Name (ARN)
of the permission to disassociate from the resource share. Changes to
permissions take effect immediately.
Request Lenses
disassociateResourceSharePermission_clientToken :: Lens' DisassociateResourceSharePermission (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
disassociateResourceSharePermission_resourceShareArn :: Lens' DisassociateResourceSharePermission Text Source #
The Amazon Resoure Name (ARN) of the resource share from which you want to disassociate a permission.
disassociateResourceSharePermission_permissionArn :: Lens' DisassociateResourceSharePermission Text Source #
The Amazon Resoure Name (ARN) of the permission to disassociate from the resource share. Changes to permissions take effect immediately.
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:
DisassociateResourceSharePermission
, disassociateResourceSharePermissionResponse_clientToken
- The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
$sel:returnValue:DisassociateResourceSharePermissionResponse'
, disassociateResourceSharePermissionResponse_returnValue
- A return value of true
indicates that the request succeeded. A value
of false
indicates that the request failed.
$sel:httpStatus:DisassociateResourceSharePermissionResponse'
, disassociateResourceSharePermissionResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateResourceSharePermissionResponse_clientToken :: Lens' DisassociateResourceSharePermissionResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
disassociateResourceSharePermissionResponse_returnValue :: Lens' DisassociateResourceSharePermissionResponse (Maybe Bool) Source #
A return value of true
indicates that the request succeeded. A value
of false
indicates that the request failed.
disassociateResourceSharePermissionResponse_httpStatus :: Lens' DisassociateResourceSharePermissionResponse Int Source #
The response's http status code.