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

Defined in Amazonka.Chime.CreateAccount

Read CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Show CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Generic CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Associated Types

type Rep CreateAccount :: Type -> Type #

NFData CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Methods

rnf :: CreateAccount -> () #

Hashable CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

ToJSON CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

AWSRequest CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Associated Types

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

type Rep CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

type Rep CreateAccount = D1 ('MetaData "CreateAccount" "Amazonka.Chime.CreateAccount" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreateAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateAccount Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

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:

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

Defined in Amazonka.Chime.CreateAccount

Read CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Show CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Generic CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Associated Types

type Rep CreateAccountResponse :: Type -> Type #

NFData CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

Methods

rnf :: CreateAccountResponse -> () #

type Rep CreateAccountResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAccount

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