amazonka-apigateway-2.0: Amazon API Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.APIGateway.UpdateAccount

Description

Changes information about the current Account resource.

Synopsis

Creating a Request

data UpdateAccount Source #

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

See: newUpdateAccount smart constructor.

Constructors

UpdateAccount' 

Fields

Instances

Instances details
ToJSON UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

ToHeaders UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

ToPath UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

ToQuery UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

AWSRequest UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Associated Types

type AWSResponse UpdateAccount #

Generic UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Associated Types

type Rep UpdateAccount :: Type -> Type #

Read UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Show UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

NFData UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Methods

rnf :: UpdateAccount -> () #

Eq UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Hashable UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

type AWSResponse UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

type Rep UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

type Rep UpdateAccount = D1 ('MetaData "UpdateAccount" "Amazonka.APIGateway.UpdateAccount" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "UpdateAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation]))))

newUpdateAccount :: UpdateAccount Source #

Create a value of UpdateAccount with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:patchOperations:UpdateAccount', updateAccount_patchOperations - For more information about supported patch operations, see Patch Operations.

Request Lenses

updateAccount_patchOperations :: Lens' UpdateAccount (Maybe [PatchOperation]) Source #

For more information about supported patch operations, see Patch Operations.

Destructuring the Response

data Account Source #

Represents an AWS account that is associated with API Gateway.

See: newAccount smart constructor.

Constructors

Account' 

Fields

Instances

Instances details
FromJSON Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Generic Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

Read Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

NFData Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

rnf :: Account -> () #

Eq Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

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

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

Hashable Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

type Rep Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account = D1 ('MetaData "Account" "Amazonka.APIGateway.Types.Account" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Account'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiKeyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudwatchRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "throttleSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThrottleSettings)))))

newAccount :: Account Source #

Create a value of Account with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:apiKeyVersion:Account', account_apiKeyVersion - The version of the API keys used for the account.

$sel:cloudwatchRoleArn:Account', account_cloudwatchRoleArn - The ARN of an Amazon CloudWatch role for the current Account.

$sel:features:Account', account_features - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

$sel:throttleSettings:Account', account_throttleSettings - Specifies the API request limits configured for the current Account.

Response Lenses

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

The version of the API keys used for the account.

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

The ARN of an Amazon CloudWatch role for the current Account.

account_features :: Lens' Account (Maybe [Text]) Source #

A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

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

Specifies the API request limits configured for the current Account.