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

Contents

Description

Set the default version of a document.

Synopsis

Creating a Request

updateDocumentDefaultVersion Source #

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

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

  • uddvName - The name of a custom document that you want to set as the default version.
  • uddvDocumentVersion - The version of a custom document that you want to set as the default version.

data UpdateDocumentDefaultVersion Source #

See: updateDocumentDefaultVersion smart constructor.

Instances

Eq UpdateDocumentDefaultVersion Source # 
Data UpdateDocumentDefaultVersion Source # 

Methods

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

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

toConstr :: UpdateDocumentDefaultVersion -> Constr #

dataTypeOf :: UpdateDocumentDefaultVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDocumentDefaultVersion Source # 
Show UpdateDocumentDefaultVersion Source # 
Generic UpdateDocumentDefaultVersion Source # 
Hashable UpdateDocumentDefaultVersion Source # 
ToJSON UpdateDocumentDefaultVersion Source # 
NFData UpdateDocumentDefaultVersion Source # 
AWSRequest UpdateDocumentDefaultVersion Source # 
ToQuery UpdateDocumentDefaultVersion Source # 
ToPath UpdateDocumentDefaultVersion Source # 
ToHeaders UpdateDocumentDefaultVersion Source # 
type Rep UpdateDocumentDefaultVersion Source # 
type Rep UpdateDocumentDefaultVersion = D1 (MetaData "UpdateDocumentDefaultVersion" "Network.AWS.SSM.UpdateDocumentDefaultVersion" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "UpdateDocumentDefaultVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uddvName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uddvDocumentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateDocumentDefaultVersion Source # 

Request Lenses

uddvName :: Lens' UpdateDocumentDefaultVersion Text Source #

The name of a custom document that you want to set as the default version.

uddvDocumentVersion :: Lens' UpdateDocumentDefaultVersion Text Source #

The version of a custom document that you want to set as the default version.

Destructuring the Response

updateDocumentDefaultVersionResponse Source #

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

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

data UpdateDocumentDefaultVersionResponse Source #

See: updateDocumentDefaultVersionResponse smart constructor.

Instances

Eq UpdateDocumentDefaultVersionResponse Source # 
Data UpdateDocumentDefaultVersionResponse Source # 

Methods

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

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

toConstr :: UpdateDocumentDefaultVersionResponse -> Constr #

dataTypeOf :: UpdateDocumentDefaultVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDocumentDefaultVersionResponse Source # 
Show UpdateDocumentDefaultVersionResponse Source # 
Generic UpdateDocumentDefaultVersionResponse Source # 
NFData UpdateDocumentDefaultVersionResponse Source # 
type Rep UpdateDocumentDefaultVersionResponse Source # 
type Rep UpdateDocumentDefaultVersionResponse = D1 (MetaData "UpdateDocumentDefaultVersionResponse" "Network.AWS.SSM.UpdateDocumentDefaultVersion" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "UpdateDocumentDefaultVersionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uddvrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DocumentDefaultVersionDescription))) (S1 (MetaSel (Just Symbol "_uddvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

uddvrsDescription :: Lens' UpdateDocumentDefaultVersionResponse (Maybe DocumentDefaultVersionDescription) Source #

The description of a custom document that you want to set as the default version.