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 |
Adds the specified list of labels to the given resource (a document or folder)
- createLabels :: Text -> CreateLabels
- data CreateLabels
- clAuthenticationToken :: Lens' CreateLabels (Maybe Text)
- clResourceId :: Lens' CreateLabels Text
- clLabels :: Lens' CreateLabels [Text]
- createLabelsResponse :: Int -> CreateLabelsResponse
- data CreateLabelsResponse
- clrsResponseStatus :: Lens' CreateLabelsResponse Int
Creating a Request
Creates a value of CreateLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clAuthenticationToken
- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.clResourceId
- The ID of the resource.clLabels
- List of labels to add to the resource.
data CreateLabels Source #
See: createLabels
smart constructor.
Request Lenses
clAuthenticationToken :: Lens' CreateLabels (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.
clResourceId :: Lens' CreateLabels Text Source #
The ID of the resource.
Destructuring the Response
Creates a value of CreateLabelsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clrsResponseStatus
- -- | The response status code.
data CreateLabelsResponse Source #
See: createLabelsResponse
smart constructor.
Response Lenses
clrsResponseStatus :: Lens' CreateLabelsResponse Int Source #
- - | The response status code.