amazonka-workdocs-1.6.1: 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 # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Data DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

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 # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Generic DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Associated Types

type Rep DeleteCustomMetadata :: Type -> Type #

Hashable DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

AWSRequest DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Associated Types

type Rs DeleteCustomMetadata :: Type #

ToHeaders DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

ToPath DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

ToQuery DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

NFData DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Methods

rnf :: DeleteCustomMetadata -> () #

type Rep DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

type Rep DeleteCustomMetadata = D1 (MetaData "DeleteCustomMetadata" "Network.AWS.WorkDocs.DeleteCustomMetadata" "amazonka-workdocs-1.6.1-7lORy3cdAvvAKwhZON5nxY" False) (C1 (MetaCons "DeleteCustomMetadata'" PrefixI True) ((S1 (MetaSel (Just "_dcmVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dcmDeleteAll") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_dcmAuthenticationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 (MetaSel (Just "_dcmKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_dcmResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DeleteCustomMetadata Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

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 # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Data DeleteCustomMetadataResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

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 # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Show DeleteCustomMetadataResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Generic DeleteCustomMetadataResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

Associated Types

type Rep DeleteCustomMetadataResponse :: Type -> Type #

NFData DeleteCustomMetadataResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

type Rep DeleteCustomMetadataResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DeleteCustomMetadata

type Rep DeleteCustomMetadataResponse = D1 (MetaData "DeleteCustomMetadataResponse" "Network.AWS.WorkDocs.DeleteCustomMetadata" "amazonka-workdocs-1.6.1-7lORy3cdAvvAKwhZON5nxY" True) (C1 (MetaCons "DeleteCustomMetadataResponse'" PrefixI True) (S1 (MetaSel (Just "_dcmrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses