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 |
Removes an asset, such as a dashboard, analysis, or dataset, from a folder.
Synopsis
- data DeleteFolderMembership = DeleteFolderMembership' {
- awsAccountId :: Text
- folderId :: Text
- memberId :: Text
- memberType :: MemberType
- newDeleteFolderMembership :: Text -> Text -> Text -> MemberType -> DeleteFolderMembership
- deleteFolderMembership_awsAccountId :: Lens' DeleteFolderMembership Text
- deleteFolderMembership_folderId :: Lens' DeleteFolderMembership Text
- deleteFolderMembership_memberId :: Lens' DeleteFolderMembership Text
- deleteFolderMembership_memberType :: Lens' DeleteFolderMembership MemberType
- data DeleteFolderMembershipResponse = DeleteFolderMembershipResponse' {}
- newDeleteFolderMembershipResponse :: Int -> DeleteFolderMembershipResponse
- deleteFolderMembershipResponse_requestId :: Lens' DeleteFolderMembershipResponse (Maybe Text)
- deleteFolderMembershipResponse_status :: Lens' DeleteFolderMembershipResponse (Maybe Int)
- deleteFolderMembershipResponse_httpStatus :: Lens' DeleteFolderMembershipResponse Int
Creating a Request
data DeleteFolderMembership Source #
See: newDeleteFolderMembership
smart constructor.
DeleteFolderMembership' | |
|
Instances
newDeleteFolderMembership Source #
:: Text | |
-> Text | |
-> Text | |
-> MemberType | |
-> DeleteFolderMembership |
Create a value of DeleteFolderMembership
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:awsAccountId:DeleteFolderMembership'
, deleteFolderMembership_awsAccountId
- The AWS Account ID.
$sel:folderId:DeleteFolderMembership'
, deleteFolderMembership_folderId
- The Folder ID.
$sel:memberId:DeleteFolderMembership'
, deleteFolderMembership_memberId
- The ID of the asset (the dashboard, analysis, or dataset) that you want
to delete.
$sel:memberType:DeleteFolderMembership'
, deleteFolderMembership_memberType
- The type of the member, including DASHBOARD
, ANALYSIS
, and DATASET
Request Lenses
deleteFolderMembership_awsAccountId :: Lens' DeleteFolderMembership Text Source #
The AWS Account ID.
deleteFolderMembership_folderId :: Lens' DeleteFolderMembership Text Source #
The Folder ID.
deleteFolderMembership_memberId :: Lens' DeleteFolderMembership Text Source #
The ID of the asset (the dashboard, analysis, or dataset) that you want to delete.
deleteFolderMembership_memberType :: Lens' DeleteFolderMembership MemberType Source #
The type of the member, including DASHBOARD
, ANALYSIS
, and DATASET
Destructuring the Response
data DeleteFolderMembershipResponse Source #
See: newDeleteFolderMembershipResponse
smart constructor.
Instances
newDeleteFolderMembershipResponse Source #
Create a value of DeleteFolderMembershipResponse
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:requestId:DeleteFolderMembershipResponse'
, deleteFolderMembershipResponse_requestId
- The request ID.
$sel:status:DeleteFolderMembershipResponse'
, deleteFolderMembershipResponse_status
- The status of deleting the asset. If succeeded, the status is
SC_OK (200)
.
$sel:httpStatus:DeleteFolderMembershipResponse'
, deleteFolderMembershipResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFolderMembershipResponse_requestId :: Lens' DeleteFolderMembershipResponse (Maybe Text) Source #
The request ID.
deleteFolderMembershipResponse_status :: Lens' DeleteFolderMembershipResponse (Maybe Int) Source #
The status of deleting the asset. If succeeded, the status is
SC_OK (200)
.
deleteFolderMembershipResponse_httpStatus :: Lens' DeleteFolderMembershipResponse Int Source #
The response's http status code.