amazonka-servicecatalog-1.4.5: Amazon Service Catalog 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.ServiceCatalog.UpdateConstraint

Contents

Description

Updates an existing constraint.

Synopsis

Creating a Request

updateConstraint #

Arguments

:: Text

ucId

-> UpdateConstraint 

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

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

  • ucAcceptLanguage - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • ucDescription - The updated text description of the constraint.
  • ucId - The identifier of the constraint to update.

data UpdateConstraint #

See: updateConstraint smart constructor.

Instances

Eq UpdateConstraint # 
Data UpdateConstraint # 

Methods

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

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

toConstr :: UpdateConstraint -> Constr #

dataTypeOf :: UpdateConstraint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateConstraint # 
Show UpdateConstraint # 
Generic UpdateConstraint # 
Hashable UpdateConstraint # 
ToJSON UpdateConstraint # 
NFData UpdateConstraint # 

Methods

rnf :: UpdateConstraint -> () #

AWSRequest UpdateConstraint # 
ToQuery UpdateConstraint # 
ToPath UpdateConstraint # 
ToHeaders UpdateConstraint # 
type Rep UpdateConstraint # 
type Rep UpdateConstraint = D1 (MetaData "UpdateConstraint" "Network.AWS.ServiceCatalog.UpdateConstraint" "amazonka-servicecatalog-1.4.5-E18s202pm17KzFGbCQM02M" False) (C1 (MetaCons "UpdateConstraint'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ucAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ucDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ucId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateConstraint # 

Request Lenses

ucAcceptLanguage :: Lens' UpdateConstraint (Maybe Text) #

The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

ucDescription :: Lens' UpdateConstraint (Maybe Text) #

The updated text description of the constraint.

ucId :: Lens' UpdateConstraint Text #

The identifier of the constraint to update.

Destructuring the Response

updateConstraintResponse #

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

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

data UpdateConstraintResponse #

See: updateConstraintResponse smart constructor.

Instances

Eq UpdateConstraintResponse # 
Data UpdateConstraintResponse # 

Methods

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

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

toConstr :: UpdateConstraintResponse -> Constr #

dataTypeOf :: UpdateConstraintResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateConstraintResponse # 
Show UpdateConstraintResponse # 
Generic UpdateConstraintResponse # 
NFData UpdateConstraintResponse # 
type Rep UpdateConstraintResponse # 
type Rep UpdateConstraintResponse = D1 (MetaData "UpdateConstraintResponse" "Network.AWS.ServiceCatalog.UpdateConstraint" "amazonka-servicecatalog-1.4.5-E18s202pm17KzFGbCQM02M" False) (C1 (MetaCons "UpdateConstraintResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ucrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestStatus))) (S1 (MetaSel (Just Symbol "_ucrsConstraintDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConstraintDetail)))) ((:*:) (S1 (MetaSel (Just Symbol "_ucrsConstraintParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ucrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ucrsStatus :: Lens' UpdateConstraintResponse (Maybe RequestStatus) #

The status of the current request.

ucrsConstraintDetail :: Lens' UpdateConstraintResponse (Maybe ConstraintDetail) #

The resulting detailed constraint information.

ucrsConstraintParameters :: Lens' UpdateConstraintResponse (Maybe Text) #

The resulting updated constraint parameters.

ucrsResponseStatus :: Lens' UpdateConstraintResponse Int #

  • - | The response status code.