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 custom metadata from the specified resource.
Synopsis
- data DeleteCustomMetadata = DeleteCustomMetadata' {}
- newDeleteCustomMetadata :: Text -> DeleteCustomMetadata
- deleteCustomMetadata_versionId :: Lens' DeleteCustomMetadata (Maybe Text)
- deleteCustomMetadata_deleteAll :: Lens' DeleteCustomMetadata (Maybe Bool)
- deleteCustomMetadata_authenticationToken :: Lens' DeleteCustomMetadata (Maybe Text)
- deleteCustomMetadata_keys :: Lens' DeleteCustomMetadata (Maybe [Text])
- deleteCustomMetadata_resourceId :: Lens' DeleteCustomMetadata Text
- data DeleteCustomMetadataResponse = DeleteCustomMetadataResponse' {
- httpStatus :: Int
- newDeleteCustomMetadataResponse :: Int -> DeleteCustomMetadataResponse
- deleteCustomMetadataResponse_httpStatus :: Lens' DeleteCustomMetadataResponse Int
Creating a Request
data DeleteCustomMetadata Source #
See: newDeleteCustomMetadata
smart constructor.
DeleteCustomMetadata' | |
|
Instances
newDeleteCustomMetadata Source #
Create a value of DeleteCustomMetadata
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:versionId:DeleteCustomMetadata'
, deleteCustomMetadata_versionId
- The ID of the version, if the custom metadata is being deleted from a
document version.
$sel:deleteAll:DeleteCustomMetadata'
, deleteCustomMetadata_deleteAll
- Flag to indicate removal of all custom metadata properties from the
specified resource.
$sel:authenticationToken:DeleteCustomMetadata'
, deleteCustomMetadata_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:keys:DeleteCustomMetadata'
, deleteCustomMetadata_keys
- List of properties to remove.
$sel:resourceId:DeleteCustomMetadata'
, deleteCustomMetadata_resourceId
- The ID of the resource, either a document or folder.
Request Lenses
deleteCustomMetadata_versionId :: Lens' DeleteCustomMetadata (Maybe Text) Source #
The ID of the version, if the custom metadata is being deleted from a document version.
deleteCustomMetadata_deleteAll :: Lens' DeleteCustomMetadata (Maybe Bool) Source #
Flag to indicate removal of all custom metadata properties from the specified resource.
deleteCustomMetadata_authenticationToken :: Lens' DeleteCustomMetadata (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
deleteCustomMetadata_keys :: Lens' DeleteCustomMetadata (Maybe [Text]) Source #
List of properties to remove.
deleteCustomMetadata_resourceId :: Lens' DeleteCustomMetadata Text Source #
The ID of the resource, either a document or folder.
Destructuring the Response
data DeleteCustomMetadataResponse Source #
See: newDeleteCustomMetadataResponse
smart constructor.
DeleteCustomMetadataResponse' | |
|
Instances
newDeleteCustomMetadataResponse Source #
Create a value of DeleteCustomMetadataResponse
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:DeleteCustomMetadataResponse'
, deleteCustomMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
deleteCustomMetadataResponse_httpStatus :: Lens' DeleteCustomMetadataResponse Int Source #
The response's http status code.