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

Description

Moves a phone number from the Deletion queue back into the phone number Inventory.

Synopsis

Creating a Request

data RestorePhoneNumber Source #

See: newRestorePhoneNumber smart constructor.

Constructors

RestorePhoneNumber' 

Fields

Instances

Instances details
Eq RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Read RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Show RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Generic RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Associated Types

type Rep RestorePhoneNumber :: Type -> Type #

NFData RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Methods

rnf :: RestorePhoneNumber -> () #

Hashable RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

ToJSON RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

AWSRequest RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Associated Types

type AWSResponse RestorePhoneNumber #

ToHeaders RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

ToPath RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

ToQuery RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

type Rep RestorePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

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

Defined in Amazonka.Chime.RestorePhoneNumber

newRestorePhoneNumber Source #

Create a value of RestorePhoneNumber 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:RestorePhoneNumber', restorePhoneNumber_phoneNumberId - The phone number.

Request Lenses

Destructuring the Response

data RestorePhoneNumberResponse Source #

See: newRestorePhoneNumberResponse smart constructor.

Constructors

RestorePhoneNumberResponse' 

Fields

Instances

Instances details
Eq RestorePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Show RestorePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Generic RestorePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

Associated Types

type Rep RestorePhoneNumberResponse :: Type -> Type #

NFData RestorePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

type Rep RestorePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.RestorePhoneNumber

type Rep RestorePhoneNumberResponse = D1 ('MetaData "RestorePhoneNumberResponse" "Amazonka.Chime.RestorePhoneNumber" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "RestorePhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumber)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRestorePhoneNumberResponse Source #

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

$sel:httpStatus:RestorePhoneNumberResponse', restorePhoneNumberResponse_httpStatus - The response's http status code.

Response Lenses