amazonka-ssm-1.5.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2017 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.SSM.UpdateDocument

Contents

Description

The document you want to update.

Synopsis

Creating a Request

updateDocument Source #

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

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

  • udDocumentVersion - The version of the document that you want to update.
  • udContent - The content in a document that you want to update.
  • udName - The name of the document that you want to update.

data UpdateDocument Source #

See: updateDocument smart constructor.

Instances

Eq UpdateDocument Source # 
Data UpdateDocument Source # 

Methods

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

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

toConstr :: UpdateDocument -> Constr #

dataTypeOf :: UpdateDocument -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDocument Source # 
Show UpdateDocument Source # 
Generic UpdateDocument Source # 

Associated Types

type Rep UpdateDocument :: * -> * #

Hashable UpdateDocument Source # 
ToJSON UpdateDocument Source # 
NFData UpdateDocument Source # 

Methods

rnf :: UpdateDocument -> () #

AWSRequest UpdateDocument Source # 
ToQuery UpdateDocument Source # 
ToPath UpdateDocument Source # 
ToHeaders UpdateDocument Source # 
type Rep UpdateDocument Source # 
type Rep UpdateDocument = D1 (MetaData "UpdateDocument" "Network.AWS.SSM.UpdateDocument" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "UpdateDocument'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udDocumentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_udContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_udName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateDocument Source # 

Request Lenses

udDocumentVersion :: Lens' UpdateDocument (Maybe Text) Source #

The version of the document that you want to update.

udContent :: Lens' UpdateDocument Text Source #

The content in a document that you want to update.

udName :: Lens' UpdateDocument Text Source #

The name of the document that you want to update.

Destructuring the Response

updateDocumentResponse Source #

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

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

data UpdateDocumentResponse Source #

See: updateDocumentResponse smart constructor.

Instances

Eq UpdateDocumentResponse Source # 
Data UpdateDocumentResponse Source # 

Methods

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

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

toConstr :: UpdateDocumentResponse -> Constr #

dataTypeOf :: UpdateDocumentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDocumentResponse Source # 
Show UpdateDocumentResponse Source # 
Generic UpdateDocumentResponse Source # 
NFData UpdateDocumentResponse Source # 

Methods

rnf :: UpdateDocumentResponse -> () #

type Rep UpdateDocumentResponse Source # 
type Rep UpdateDocumentResponse = D1 (MetaData "UpdateDocumentResponse" "Network.AWS.SSM.UpdateDocument" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "UpdateDocumentResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udrsDocumentDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DocumentDescription))) (S1 (MetaSel (Just Symbol "_udrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

udrsDocumentDescription :: Lens' UpdateDocumentResponse (Maybe DocumentDescription) Source #

A description of the document that was updated.

udrsResponseStatus :: Lens' UpdateDocumentResponse Int Source #

  • - | The response status code.