amazonka-workdocs-2.0: Amazon WorkDocs SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Associated Types

type AWSResponse DeleteCustomMetadata #

Generic DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Associated Types

type Rep DeleteCustomMetadata :: Type -> Type #

Show DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

NFData DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Methods

rnf :: DeleteCustomMetadata -> () #

Eq DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Hashable DeleteCustomMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

type AWSResponse 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" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" 'False) (C1 ('MetaCons "DeleteCustomMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "deleteAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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

Instances details
Generic DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Associated Types

type Rep DeleteCustomMetadataResponse :: Type -> Type #

Read DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Show DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

NFData DeleteCustomMetadataResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteCustomMetadata

Eq 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" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" '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