libZSservicesZSamazonka-chimeZSamazonka-chime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Read UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Show UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Generic UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Associated Types

type Rep UpdateAccount :: Type -> Type #

NFData UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Methods

rnf :: UpdateAccount -> () #

Hashable UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

ToJSON UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

AWSRequest UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Associated Types

type AWSResponse 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

type Rep UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

type Rep UpdateAccount = D1 ('MetaData "UpdateAccount" "Amazonka.Chime.UpdateAccount" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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))))
type AWSResponse UpdateAccount Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

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:

$sel:defaultLicense:UpdateAccount', updateAccount_defaultLicense - The default license applied when you add users to an Amazon Chime account.

$sel:name:UpdateAccount', updateAccount_name - The new name for the specified Amazon Chime account.

$sel:accountId: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
Eq UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Read UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Show UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Generic UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Associated Types

type Rep UpdateAccountResponse :: Type -> Type #

NFData UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

Methods

rnf :: UpdateAccountResponse -> () #

type Rep UpdateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateAccount

type Rep UpdateAccountResponse = D1 ('MetaData "UpdateAccountResponse" "Amazonka.Chime.UpdateAccount" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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.