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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

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 #

See: updateDocument smart constructor.

Instances

Eq UpdateDocument # 
Data UpdateDocument # 

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 # 
Show UpdateDocument # 
Generic UpdateDocument # 

Associated Types

type Rep UpdateDocument :: * -> * #

Hashable UpdateDocument # 
ToJSON UpdateDocument # 
NFData UpdateDocument # 

Methods

rnf :: UpdateDocument -> () #

AWSRequest UpdateDocument # 
ToQuery UpdateDocument # 
ToPath UpdateDocument # 
ToHeaders UpdateDocument # 
type Rep UpdateDocument # 
type Rep UpdateDocument = D1 (MetaData "UpdateDocument" "Network.AWS.SSM.UpdateDocument" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" 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 # 

Request Lenses

udDocumentVersion :: Lens' UpdateDocument (Maybe Text) #

The version of the document that you want to update.

udContent :: Lens' UpdateDocument Text #

The content in a document that you want to update.

udName :: Lens' UpdateDocument Text #

The name of the document that you want to update.

Destructuring the Response

updateDocumentResponse #

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 #

See: updateDocumentResponse smart constructor.

Instances

Eq UpdateDocumentResponse # 
Data UpdateDocumentResponse # 

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 # 
Show UpdateDocumentResponse # 
Generic UpdateDocumentResponse # 
NFData UpdateDocumentResponse # 

Methods

rnf :: UpdateDocumentResponse -> () #

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

Response Lenses

udrsDocumentDescription :: Lens' UpdateDocumentResponse (Maybe DocumentDescription) #

A description of the document that was updated.

udrsResponseStatus :: Lens' UpdateDocumentResponse Int #

  • - | The response status code.