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 the specified principals or resources from the specified resource share.
Synopsis
- data DisassociateResourceShare = DisassociateResourceShare' {
- clientToken :: Maybe Text
- principals :: Maybe [Text]
- resourceArns :: Maybe [Text]
- resourceShareArn :: Text
- newDisassociateResourceShare :: Text -> DisassociateResourceShare
- disassociateResourceShare_clientToken :: Lens' DisassociateResourceShare (Maybe Text)
- disassociateResourceShare_principals :: Lens' DisassociateResourceShare (Maybe [Text])
- disassociateResourceShare_resourceArns :: Lens' DisassociateResourceShare (Maybe [Text])
- disassociateResourceShare_resourceShareArn :: Lens' DisassociateResourceShare Text
- data DisassociateResourceShareResponse = DisassociateResourceShareResponse' {}
- newDisassociateResourceShareResponse :: Int -> DisassociateResourceShareResponse
- disassociateResourceShareResponse_clientToken :: Lens' DisassociateResourceShareResponse (Maybe Text)
- disassociateResourceShareResponse_resourceShareAssociations :: Lens' DisassociateResourceShareResponse (Maybe [ResourceShareAssociation])
- disassociateResourceShareResponse_httpStatus :: Lens' DisassociateResourceShareResponse Int
Creating a Request
data DisassociateResourceShare Source #
See: newDisassociateResourceShare
smart constructor.
DisassociateResourceShare' | |
|
Instances
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_principals :: Lens' DisassociateResourceShare (Maybe [Text]) Source #
The principals.
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.
DisassociateResourceShareResponse' | |
|
Instances
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.
disassociateResourceShareResponse_resourceShareAssociations :: Lens' DisassociateResourceShareResponse (Maybe [ResourceShareAssociation]) Source #
Information about the associations.
disassociateResourceShareResponse_httpStatus :: Lens' DisassociateResourceShareResponse Int Source #
The response's http status code.