amazonka-apigateway-1.4.1: Amazon API Gateway 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.APIGateway.UpdateAccount

Contents

Description

Changes information about the current Account resource.

Synopsis

Creating a Request

updateAccount :: UpdateAccount Source #

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

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

data UpdateAccount Source #

Requests Amazon API Gateway to change information about the current Account resource.

See: updateAccount smart constructor.

Instances

Eq UpdateAccount Source # 
Data UpdateAccount Source # 

Methods

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

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

toConstr :: UpdateAccount -> Constr #

dataTypeOf :: UpdateAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateAccount Source # 
Show UpdateAccount Source # 
Generic UpdateAccount Source # 

Associated Types

type Rep UpdateAccount :: * -> * #

Hashable UpdateAccount Source # 
ToJSON UpdateAccount Source # 
NFData UpdateAccount Source # 

Methods

rnf :: UpdateAccount -> () #

AWSRequest UpdateAccount Source # 
ToQuery UpdateAccount Source # 
ToPath UpdateAccount Source # 
ToHeaders UpdateAccount Source # 
type Rep UpdateAccount Source # 
type Rep UpdateAccount = D1 (MetaData "UpdateAccount" "Network.AWS.APIGateway.UpdateAccount" "amazonka-apigateway-1.4.1-9LwN6bvDRGjBL5d3wQjvoh" True) (C1 (MetaCons "UpdateAccount'" PrefixI True) (S1 (MetaSel (Just Symbol "_uaPatchOperations") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [PatchOperation]))))
type Rs UpdateAccount Source # 

Request Lenses

uaPatchOperations :: Lens' UpdateAccount [PatchOperation] Source #

A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.

Destructuring the Response

account :: Account Source #

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

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

data Account Source #

Represents an AWS account that is associated with Amazon API Gateway.

See: account smart constructor.

Instances

Eq Account Source # 

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Data Account Source # 

Methods

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

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

toConstr :: Account -> Constr #

dataTypeOf :: Account -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Account Source # 
Show Account Source # 
Generic Account Source # 

Associated Types

type Rep Account :: * -> * #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

Hashable Account Source # 

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

FromJSON Account Source # 
NFData Account Source # 

Methods

rnf :: Account -> () #

type Rep Account Source # 
type Rep Account = D1 (MetaData "Account" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.1-9LwN6bvDRGjBL5d3wQjvoh" False) (C1 (MetaCons "Account'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aCloudwatchRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aThrottleSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThrottleSettings)))))

Response Lenses

aCloudwatchRoleARN :: Lens' Account (Maybe Text) Source #

Specifies the Amazon resource name (ARN) of an Amazon CloudWatch role for the current Account resource.

aThrottleSettings :: Lens' Account (Maybe ThrottleSettings) Source #

Specifies the application programming interface (API) throttle settings for the current Account resource.