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 list of labels from a resource.
Synopsis
- data DeleteLabels = DeleteLabels' {}
- newDeleteLabels :: Text -> DeleteLabels
- deleteLabels_deleteAll :: Lens' DeleteLabels (Maybe Bool)
- deleteLabels_authenticationToken :: Lens' DeleteLabels (Maybe Text)
- deleteLabels_labels :: Lens' DeleteLabels (Maybe [Text])
- deleteLabels_resourceId :: Lens' DeleteLabels Text
- data DeleteLabelsResponse = DeleteLabelsResponse' {
- httpStatus :: Int
- newDeleteLabelsResponse :: Int -> DeleteLabelsResponse
- deleteLabelsResponse_httpStatus :: Lens' DeleteLabelsResponse Int
Creating a Request
data DeleteLabels Source #
See: newDeleteLabels
smart constructor.
DeleteLabels' | |
|
Instances
Create a value of DeleteLabels
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:deleteAll:DeleteLabels'
, deleteLabels_deleteAll
- Flag to request removal of all labels from the specified resource.
$sel:authenticationToken:DeleteLabels'
, deleteLabels_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:labels:DeleteLabels'
, deleteLabels_labels
- List of labels to delete from the resource.
$sel:resourceId:DeleteLabels'
, deleteLabels_resourceId
- The ID of the resource.
Request Lenses
deleteLabels_deleteAll :: Lens' DeleteLabels (Maybe Bool) Source #
Flag to request removal of all labels from the specified resource.
deleteLabels_authenticationToken :: Lens' DeleteLabels (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
deleteLabels_labels :: Lens' DeleteLabels (Maybe [Text]) Source #
List of labels to delete from the resource.
deleteLabels_resourceId :: Lens' DeleteLabels Text Source #
The ID of the resource.
Destructuring the Response
data DeleteLabelsResponse Source #
See: newDeleteLabelsResponse
smart constructor.
DeleteLabelsResponse' | |
|
Instances
newDeleteLabelsResponse Source #
Create a value of DeleteLabelsResponse
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:httpStatus:DeleteLabelsResponse'
, deleteLabelsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLabelsResponse_httpStatus :: Lens' DeleteLabelsResponse Int Source #
The response's http status code.