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

Description

Retrieves details for the specified phone number ID, such as associations, capabilities, and product type.

Synopsis

Creating a Request

data GetPhoneNumber Source #

See: newGetPhoneNumber smart constructor.

Constructors

GetPhoneNumber' 

Fields

Instances

Instances details
Eq GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

Read GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

Show GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

Generic GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

Associated Types

type Rep GetPhoneNumber :: Type -> Type #

NFData GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

Methods

rnf :: GetPhoneNumber -> () #

Hashable GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

AWSRequest GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

Associated Types

type AWSResponse GetPhoneNumber #

ToHeaders GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

ToPath GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

ToQuery GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

type Rep GetPhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.GetPhoneNumber

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

Defined in Amazonka.Chime.GetPhoneNumber

newGetPhoneNumber Source #

Create a value of GetPhoneNumber 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:phoneNumberId:GetPhoneNumber', getPhoneNumber_phoneNumberId - The phone number ID.

Request Lenses

Destructuring the Response

data GetPhoneNumberResponse Source #

See: newGetPhoneNumberResponse smart constructor.

Constructors

GetPhoneNumberResponse' 

Fields

newGetPhoneNumberResponse Source #

Create a value of GetPhoneNumberResponse 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:phoneNumber:GetPhoneNumberResponse', getPhoneNumberResponse_phoneNumber - The phone number details.

$sel:httpStatus:GetPhoneNumberResponse', getPhoneNumberResponse_httpStatus - The response's http status code.

Response Lenses