| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkDocs.DeleteCustomMetadata
Description
Deletes custom metadata from the specified resource.
Synopsis
- data DeleteCustomMetadata = DeleteCustomMetadata' {}
- newDeleteCustomMetadata :: Text -> DeleteCustomMetadata
- deleteCustomMetadata_authenticationToken :: Lens' DeleteCustomMetadata (Maybe Text)
- deleteCustomMetadata_deleteAll :: Lens' DeleteCustomMetadata (Maybe Bool)
- deleteCustomMetadata_keys :: Lens' DeleteCustomMetadata (Maybe [Text])
- deleteCustomMetadata_versionId :: 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.
Constructors
| DeleteCustomMetadata' | |
Fields
| |
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:authenticationToken:DeleteCustomMetadata', deleteCustomMetadata_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:deleteAll:DeleteCustomMetadata', deleteCustomMetadata_deleteAll - Flag to indicate removal of all custom metadata properties from the
specified resource.
$sel:keys:DeleteCustomMetadata', deleteCustomMetadata_keys - List of properties to remove.
DeleteCustomMetadata, deleteCustomMetadata_versionId - The ID of the version, if the custom metadata is being deleted from a
document version.
$sel:resourceId:DeleteCustomMetadata', deleteCustomMetadata_resourceId - The ID of the resource, either a document or folder.
Request Lenses
deleteCustomMetadata_authenticationToken :: Lens' DeleteCustomMetadata (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
deleteCustomMetadata_deleteAll :: Lens' DeleteCustomMetadata (Maybe Bool) Source #
Flag to indicate removal of all custom metadata properties from the specified resource.
deleteCustomMetadata_keys :: Lens' DeleteCustomMetadata (Maybe [Text]) Source #
List of properties to remove.
deleteCustomMetadata_versionId :: Lens' DeleteCustomMetadata (Maybe Text) Source #
The ID of the version, if the custom metadata is being deleted from a document version.
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.
Constructors
| DeleteCustomMetadataResponse' | |
Fields
| |
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.