| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.WorkDocs.DeleteLabels
Description
Deletes the specified list of labels from a resource.
Synopsis
- deleteLabels :: Text -> DeleteLabels
- data DeleteLabels
- dlDeleteAll :: Lens' DeleteLabels (Maybe Bool)
- dlAuthenticationToken :: Lens' DeleteLabels (Maybe Text)
- dlLabels :: Lens' DeleteLabels [Text]
- dlResourceId :: Lens' DeleteLabels Text
- deleteLabelsResponse :: Int -> DeleteLabelsResponse
- data DeleteLabelsResponse
- dlrsResponseStatus :: Lens' DeleteLabelsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeleteLabels |
Creates a value of DeleteLabels with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlDeleteAll- Flag to request removal of all labels from the specified resource.dlAuthenticationToken- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.dlLabels- List of labels to delete from the resource.dlResourceId- The ID of the resource.
data DeleteLabels Source #
See: deleteLabels smart constructor.
Instances
Request Lenses
dlDeleteAll :: Lens' DeleteLabels (Maybe Bool) Source #
Flag to request removal of all labels from the specified resource.
dlAuthenticationToken :: Lens' DeleteLabels (Maybe Text) Source #
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
dlResourceId :: Lens' DeleteLabels Text Source #
The ID of the resource.
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteLabelsResponse |
Creates a value of DeleteLabelsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlrsResponseStatus- -- | The response status code.
data DeleteLabelsResponse Source #
See: deleteLabelsResponse smart constructor.
Instances
Response Lenses
dlrsResponseStatus :: Lens' DeleteLabelsResponse Int Source #
- - | The response status code.