libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.CreateAccountAlias

Description

Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account alias, see Using an alias for your Amazon Web Services account ID in the IAM User Guide.

Synopsis

Creating a Request

data CreateAccountAlias Source #

See: newCreateAccountAlias smart constructor.

Constructors

CreateAccountAlias' 

Fields

  • accountAlias :: Text

    The account alias to create.

    This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.

Instances

Instances details
Eq CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Read CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Show CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Generic CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Associated Types

type Rep CreateAccountAlias :: Type -> Type #

NFData CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Methods

rnf :: CreateAccountAlias -> () #

Hashable CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

AWSRequest CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Associated Types

type AWSResponse CreateAccountAlias #

ToHeaders CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

ToPath CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

ToQuery CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

type Rep CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

type Rep CreateAccountAlias = D1 ('MetaData "CreateAccountAlias" "Amazonka.IAM.CreateAccountAlias" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "CreateAccountAlias'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateAccountAlias Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

newCreateAccountAlias Source #

Create a value of CreateAccountAlias 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:accountAlias:CreateAccountAlias', createAccountAlias_accountAlias - The account alias to create.

This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.

Request Lenses

createAccountAlias_accountAlias :: Lens' CreateAccountAlias Text Source #

The account alias to create.

This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.

Destructuring the Response

data CreateAccountAliasResponse Source #

See: newCreateAccountAliasResponse smart constructor.

Instances

Instances details
Eq CreateAccountAliasResponse Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Read CreateAccountAliasResponse Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Show CreateAccountAliasResponse Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Generic CreateAccountAliasResponse Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

Associated Types

type Rep CreateAccountAliasResponse :: Type -> Type #

NFData CreateAccountAliasResponse Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

type Rep CreateAccountAliasResponse Source # 
Instance details

Defined in Amazonka.IAM.CreateAccountAlias

type Rep CreateAccountAliasResponse = D1 ('MetaData "CreateAccountAliasResponse" "Amazonka.IAM.CreateAccountAlias" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "CreateAccountAliasResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newCreateAccountAliasResponse :: CreateAccountAliasResponse Source #

Create a value of CreateAccountAliasResponse with all optional fields omitted.

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