libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.DeleteCustomMetadata

Description

Deletes custom metadata from the specified resource.

Synopsis

Creating a Request

data DeleteCustomMetadata Source #

See: newDeleteCustomMetadata smart constructor.

Constructors

DeleteCustomMetadata' 

Fields

Instances

Instances details
Eq DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Show DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Generic DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Associated Types

type Rep DeleteCustomMetadata :: Type -> Type #

NFData DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Methods

rnf :: DeleteCustomMetadata -> () #

Hashable DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

AWSRequest DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Associated Types

type AWSResponse DeleteCustomMetadata #

ToHeaders DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

ToPath DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

ToQuery DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

type Rep DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

type Rep DeleteCustomMetadata = D1 ('MetaData "DeleteCustomMetadata" "Amazonka.WorkDocs.DeleteCustomMetadata" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DeleteCustomMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deleteAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

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_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

Instances details
Eq DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Read DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Show DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Generic DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Associated Types

type Rep DeleteCustomMetadataResponse :: Type -> Type #

NFData DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

type Rep DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

type Rep DeleteCustomMetadataResponse = D1 ('MetaData "DeleteCustomMetadataResponse" "Amazonka.WorkDocs.DeleteCustomMetadata" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DeleteCustomMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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