amazonka-chime-2.0: Amazon Chime 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.Chime.UpdateAccount

Description

Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.

Synopsis

Creating a Request

data UpdateAccount Source #

See: newUpdateAccount smart constructor.

Constructors

UpdateAccount' 

Fields

Instances

Instances details
ToJSON UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

ToHeaders UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

ToPath UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

ToQuery UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

AWSRequest UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Associated Types

type AWSResponse UpdateAccount #

Generic UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Associated Types

type Rep UpdateAccount :: Type -> Type #

Read UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Show UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

NFData UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Methods

rnf :: UpdateAccount -> () #

Eq UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Hashable UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

type AWSResponse UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

type Rep UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

type Rep UpdateAccount = D1 ('MetaData "UpdateAccount" "Amazonka.Chime.UpdateAccount" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "UpdateAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultLicense") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe License)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateAccount 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:

UpdateAccount, updateAccount_defaultLicense - The default license applied when you add users to an Amazon Chime account.

UpdateAccount, updateAccount_name - The new name for the specified Amazon Chime account.

UpdateAccount, updateAccount_accountId - The Amazon Chime account ID.

Request Lenses

updateAccount_defaultLicense :: Lens' UpdateAccount (Maybe License) Source #

The default license applied when you add users to an Amazon Chime account.

updateAccount_name :: Lens' UpdateAccount (Maybe Text) Source #

The new name for the specified Amazon Chime account.

updateAccount_accountId :: Lens' UpdateAccount Text Source #

The Amazon Chime account ID.

Destructuring the Response

data UpdateAccountResponse Source #

See: newUpdateAccountResponse smart constructor.

Constructors

UpdateAccountResponse' 

Fields

Instances

Instances details
Generic UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Associated Types

type Rep UpdateAccountResponse :: Type -> Type #

Read UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Show UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

NFData UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Methods

rnf :: UpdateAccountResponse -> () #

Eq UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

type Rep UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

type Rep UpdateAccountResponse = D1 ('MetaData "UpdateAccountResponse" "Amazonka.Chime.UpdateAccount" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "UpdateAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Account)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateAccountResponse Source #

Create a value of UpdateAccountResponse 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:account:UpdateAccountResponse', updateAccountResponse_account - The updated Amazon Chime account details.

$sel:httpStatus:UpdateAccountResponse', updateAccountResponse_httpStatus - The response's http status code.

Response Lenses

updateAccountResponse_account :: Lens' UpdateAccountResponse (Maybe Account) Source #

The updated Amazon Chime account details.