amazonka-workdocs-1.6.0: Amazon WorkDocs SDK.

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

Network.AWS.WorkDocs.DeleteCustomMetadata

Contents

Description

Deletes custom metadata from the specified resource.

Synopsis

Creating a Request

deleteCustomMetadata Source #

Creates a value of DeleteCustomMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcmVersionId - The ID of the version, if the custom metadata is being deleted from a document version.
  • dcmDeleteAll - Flag to indicate removal of all custom metadata properties from the specified resource.
  • dcmAuthenticationToken - Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
  • dcmKeys - List of properties to remove.
  • dcmResourceId - The ID of the resource, either a document or folder.

data DeleteCustomMetadata Source #

See: deleteCustomMetadata smart constructor.

Instances

Eq DeleteCustomMetadata Source # 
Data DeleteCustomMetadata Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteCustomMetadata -> c DeleteCustomMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteCustomMetadata #

toConstr :: DeleteCustomMetadata -> Constr #

dataTypeOf :: DeleteCustomMetadata -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteCustomMetadata) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteCustomMetadata) #

gmapT :: (forall b. Data b => b -> b) -> DeleteCustomMetadata -> DeleteCustomMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCustomMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCustomMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteCustomMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteCustomMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteCustomMetadata -> m DeleteCustomMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCustomMetadata -> m DeleteCustomMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCustomMetadata -> m DeleteCustomMetadata #

Show DeleteCustomMetadata Source # 
Generic DeleteCustomMetadata Source # 
Hashable DeleteCustomMetadata Source # 
NFData DeleteCustomMetadata Source # 

Methods

rnf :: DeleteCustomMetadata -> () #

AWSRequest DeleteCustomMetadata Source # 
ToHeaders DeleteCustomMetadata Source # 
ToPath DeleteCustomMetadata Source # 
ToQuery DeleteCustomMetadata Source # 
type Rep DeleteCustomMetadata Source # 
type Rep DeleteCustomMetadata = D1 * (MetaData "DeleteCustomMetadata" "Network.AWS.WorkDocs.DeleteCustomMetadata" "amazonka-workdocs-1.6.0-1U8VphMWtKAbdAmu8y8qj" False) (C1 * (MetaCons "DeleteCustomMetadata'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dcmVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dcmDeleteAll") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcmAuthenticationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Sensitive Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcmKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_dcmResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs DeleteCustomMetadata Source # 

Request Lenses

dcmVersionId :: Lens' DeleteCustomMetadata (Maybe Text) Source #

The ID of the version, if the custom metadata is being deleted from a document version.

dcmDeleteAll :: Lens' DeleteCustomMetadata (Maybe Bool) Source #

Flag to indicate removal of all custom metadata properties from the specified resource.

dcmAuthenticationToken :: Lens' DeleteCustomMetadata (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.

dcmKeys :: Lens' DeleteCustomMetadata [Text] Source #

List of properties to remove.

dcmResourceId :: Lens' DeleteCustomMetadata Text Source #

The ID of the resource, either a document or folder.

Destructuring the Response

deleteCustomMetadataResponse Source #

Creates a value of DeleteCustomMetadataResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteCustomMetadataResponse Source #

See: deleteCustomMetadataResponse smart constructor.

Instances

Eq DeleteCustomMetadataResponse Source # 
Data DeleteCustomMetadataResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteCustomMetadataResponse -> c DeleteCustomMetadataResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteCustomMetadataResponse #

toConstr :: DeleteCustomMetadataResponse -> Constr #

dataTypeOf :: DeleteCustomMetadataResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteCustomMetadataResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteCustomMetadataResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteCustomMetadataResponse -> DeleteCustomMetadataResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCustomMetadataResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCustomMetadataResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteCustomMetadataResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteCustomMetadataResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteCustomMetadataResponse -> m DeleteCustomMetadataResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCustomMetadataResponse -> m DeleteCustomMetadataResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCustomMetadataResponse -> m DeleteCustomMetadataResponse #

Read DeleteCustomMetadataResponse Source # 
Show DeleteCustomMetadataResponse Source # 
Generic DeleteCustomMetadataResponse Source # 
NFData DeleteCustomMetadataResponse Source # 
type Rep DeleteCustomMetadataResponse Source # 
type Rep DeleteCustomMetadataResponse = D1 * (MetaData "DeleteCustomMetadataResponse" "Network.AWS.WorkDocs.DeleteCustomMetadata" "amazonka-workdocs-1.6.0-1U8VphMWtKAbdAmu8y8qj" True) (C1 * (MetaCons "DeleteCustomMetadataResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dcmrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses