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 |
Deletes the specified resource share.
Synopsis
- data DeleteResourceShare = DeleteResourceShare' {}
- newDeleteResourceShare :: Text -> DeleteResourceShare
- deleteResourceShare_clientToken :: Lens' DeleteResourceShare (Maybe Text)
- deleteResourceShare_resourceShareArn :: Lens' DeleteResourceShare Text
- data DeleteResourceShareResponse = DeleteResourceShareResponse' {
- clientToken :: Maybe Text
- returnValue :: Maybe Bool
- httpStatus :: Int
- newDeleteResourceShareResponse :: Int -> DeleteResourceShareResponse
- deleteResourceShareResponse_clientToken :: Lens' DeleteResourceShareResponse (Maybe Text)
- deleteResourceShareResponse_returnValue :: Lens' DeleteResourceShareResponse (Maybe Bool)
- deleteResourceShareResponse_httpStatus :: Lens' DeleteResourceShareResponse Int
Creating a Request
data DeleteResourceShare Source #
See: newDeleteResourceShare
smart constructor.
DeleteResourceShare' | |
|
Instances
newDeleteResourceShare Source #
Create a value of DeleteResourceShare
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:DeleteResourceShare'
, deleteResourceShare_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:resourceShareArn:DeleteResourceShare'
, deleteResourceShare_resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.
Request Lenses
deleteResourceShare_clientToken :: Lens' DeleteResourceShare (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
deleteResourceShare_resourceShareArn :: Lens' DeleteResourceShare Text Source #
The Amazon Resource Name (ARN) of the resource share.
Destructuring the Response
data DeleteResourceShareResponse Source #
See: newDeleteResourceShareResponse
smart constructor.
DeleteResourceShareResponse' | |
|
Instances
newDeleteResourceShareResponse Source #
Create a value of DeleteResourceShareResponse
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:DeleteResourceShare'
, deleteResourceShareResponse_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:returnValue:DeleteResourceShareResponse'
, deleteResourceShareResponse_returnValue
- Indicates whether the request succeeded.
$sel:httpStatus:DeleteResourceShareResponse'
, deleteResourceShareResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResourceShareResponse_clientToken :: Lens' DeleteResourceShareResponse (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
deleteResourceShareResponse_returnValue :: Lens' DeleteResourceShareResponse (Maybe Bool) Source #
Indicates whether the request succeeded.
deleteResourceShareResponse_httpStatus :: Lens' DeleteResourceShareResponse Int Source #
The response's http status code.