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.CreateAccount

Description

Creates an Amazon Chime account under the administrator's AWS account. Only Team account types are currently supported for this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.

Synopsis

Creating a Request

data CreateAccount Source #

See: newCreateAccount smart constructor.

Constructors

CreateAccount' 

Fields

  • name :: Text

    The name of the Amazon Chime account.

Instances

Instances details
ToJSON CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

ToHeaders CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

ToPath CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

ToQuery CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

AWSRequest CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Associated Types

type AWSResponse CreateAccount #

Generic CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Associated Types

type Rep CreateAccount :: Type -> Type #

Read CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Show CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

NFData CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Methods

rnf :: CreateAccount -> () #

Eq CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Hashable CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

type AWSResponse CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

type Rep CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

type Rep CreateAccount = D1 ('MetaData "CreateAccount" "Amazonka.Chime.CreateAccount" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "CreateAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateAccount Source #

Create a value of CreateAccount 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:

CreateAccount, createAccount_name - The name of the Amazon Chime account.

Request Lenses

createAccount_name :: Lens' CreateAccount Text Source #

The name of the Amazon Chime account.

Destructuring the Response

data CreateAccountResponse Source #

See: newCreateAccountResponse smart constructor.

Constructors

CreateAccountResponse' 

Fields

Instances

Instances details
Generic CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Associated Types

type Rep CreateAccountResponse :: Type -> Type #

Read CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Show CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

NFData CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Methods

rnf :: CreateAccountResponse -> () #

Eq CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

type Rep CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

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

newCreateAccountResponse Source #

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

$sel:httpStatus:CreateAccountResponse', createAccountResponse_httpStatus - The response's http status code.

Response Lenses