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

Contents

Description

Add one or more parameters to the system.

Synopsis

Creating a Request

putParameter Source #

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

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

  • ppKeyId - The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your AWS account.
  • ppAllowedPattern - A regular expression used to validate the parameter value. For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^d+$
  • ppOverwrite - Overwrite an existing parameter. If not specified, will default to "false".
  • ppDescription - Information about the parameter that you want to add to the system
  • ppName - The name of the parameter that you want to add to the system.
  • ppValue - The parameter value that you want to add to the system.
  • ppType - The type of parameter that you want to add to the system.

data PutParameter Source #

See: putParameter smart constructor.

Instances

Eq PutParameter Source # 
Data PutParameter Source # 

Methods

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

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

toConstr :: PutParameter -> Constr #

dataTypeOf :: PutParameter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutParameter Source # 
Show PutParameter Source # 
Generic PutParameter Source # 

Associated Types

type Rep PutParameter :: * -> * #

Hashable PutParameter Source # 
ToJSON PutParameter Source # 
NFData PutParameter Source # 

Methods

rnf :: PutParameter -> () #

AWSRequest PutParameter Source # 
ToQuery PutParameter Source # 
ToPath PutParameter Source # 
ToHeaders PutParameter Source # 
type Rep PutParameter Source # 
type Rs PutParameter Source # 

Request Lenses

ppKeyId :: Lens' PutParameter (Maybe Text) Source #

The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your AWS account.

ppAllowedPattern :: Lens' PutParameter (Maybe Text) Source #

A regular expression used to validate the parameter value. For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^d+$

ppOverwrite :: Lens' PutParameter (Maybe Bool) Source #

Overwrite an existing parameter. If not specified, will default to "false".

ppDescription :: Lens' PutParameter (Maybe Text) Source #

Information about the parameter that you want to add to the system

ppName :: Lens' PutParameter Text Source #

The name of the parameter that you want to add to the system.

ppValue :: Lens' PutParameter Text Source #

The parameter value that you want to add to the system.

ppType :: Lens' PutParameter ParameterType Source #

The type of parameter that you want to add to the system.

Destructuring the Response

putParameterResponse Source #

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

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

  • pprsVersion - The new version number of a parameter. If you edit a parameter value, Parameter Store automatically creates a new version and assigns this new version a unique ID. You can reference a parameter version ID in API actions or in Systems Manager documents (SSM documents). By default, if you don't specify a specific version, the system returns the latest parameter value when a parameter is called.
  • pprsResponseStatus - -- | The response status code.

data PutParameterResponse Source #

See: putParameterResponse smart constructor.

Instances

Eq PutParameterResponse Source # 
Data PutParameterResponse Source # 

Methods

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

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

toConstr :: PutParameterResponse -> Constr #

dataTypeOf :: PutParameterResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutParameterResponse Source # 
Show PutParameterResponse Source # 
Generic PutParameterResponse Source # 
NFData PutParameterResponse Source # 

Methods

rnf :: PutParameterResponse -> () #

type Rep PutParameterResponse Source # 
type Rep PutParameterResponse = D1 (MetaData "PutParameterResponse" "Network.AWS.SSM.PutParameter" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" False) (C1 (MetaCons "PutParameterResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pprsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_pprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

pprsVersion :: Lens' PutParameterResponse (Maybe Integer) Source #

The new version number of a parameter. If you edit a parameter value, Parameter Store automatically creates a new version and assigns this new version a unique ID. You can reference a parameter version ID in API actions or in Systems Manager documents (SSM documents). By default, if you don't specify a specific version, the system returns the latest parameter value when a parameter is called.

pprsResponseStatus :: Lens' PutParameterResponse Int Source #

  • - | The response status code.