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

Description

Associates a phone number with the specified Amazon Chime user.

Synopsis

Creating a Request

data AssociatePhoneNumberWithUser Source #

See: newAssociatePhoneNumberWithUser smart constructor.

Constructors

AssociatePhoneNumberWithUser' 

Fields

Instances

Instances details
ToJSON AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

ToHeaders AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

ToPath AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

ToQuery AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

AWSRequest AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

Generic AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

Associated Types

type Rep AssociatePhoneNumberWithUser :: Type -> Type #

Show AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

NFData AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

Eq AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

Hashable AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

type AWSResponse AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

type Rep AssociatePhoneNumberWithUser Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

type Rep AssociatePhoneNumberWithUser = D1 ('MetaData "AssociatePhoneNumberWithUser" "Amazonka.Chime.AssociatePhoneNumberWithUser" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "AssociatePhoneNumberWithUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "e164PhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))

newAssociatePhoneNumberWithUser Source #

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

AssociatePhoneNumberWithUser, associatePhoneNumberWithUser_accountId - The Amazon Chime account ID.

AssociatePhoneNumberWithUser, associatePhoneNumberWithUser_userId - The user ID.

AssociatePhoneNumberWithUser, associatePhoneNumberWithUser_e164PhoneNumber - The phone number, in E.164 format.

Request Lenses

Destructuring the Response

data AssociatePhoneNumberWithUserResponse Source #

Constructors

AssociatePhoneNumberWithUserResponse' 

Fields

Instances

Instances details
Generic AssociatePhoneNumberWithUserResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

Read AssociatePhoneNumberWithUserResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

Show AssociatePhoneNumberWithUserResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

NFData AssociatePhoneNumberWithUserResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

Eq AssociatePhoneNumberWithUserResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

type Rep AssociatePhoneNumberWithUserResponse Source # 
Instance details

Defined in Amazonka.Chime.AssociatePhoneNumberWithUser

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

newAssociatePhoneNumberWithUserResponse Source #

Create a value of AssociatePhoneNumberWithUserResponse 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:httpStatus:AssociatePhoneNumberWithUserResponse', associatePhoneNumberWithUserResponse_httpStatus - The response's http status code.

Response Lenses