You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Chime::Types::PhoneNumber

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice Connector.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#associations ⇒ Array<Types::PhoneNumberAssociation>

The phone number associations.

Returns:

#calling_name ⇒ String

The outbound calling name associated with the phone number.

Returns:

  • (String) —

    The outbound calling name associated with the phone number.

#calling_name_status ⇒ String

The outbound calling name status.

Possible values:

  • Unassigned
  • UpdateInProgress
  • UpdateSucceeded
  • UpdateFailed

Returns:

  • (String) —

    The outbound calling name status.

#capabilities ⇒ Types::PhoneNumberCapabilities

The phone number capabilities.

Returns:

#created_timestamp ⇒ Time

The phone number creation timestamp, in ISO 8601 format.

Returns:

  • (Time) —

    The phone number creation timestamp, in ISO 8601 format.

#deletion_timestamp ⇒ Time

The deleted phone number timestamp, in ISO 8601 format.

Returns:

  • (Time) —

    The deleted phone number timestamp, in ISO 8601 format.

#e164_phone_number ⇒ String

The phone number, in E.164 format.

Returns:

  • (String) —

    The phone number, in E.164 format.

#phone_number_id ⇒ String

The phone number ID.

Returns:

  • (String) —

    The phone number ID.

#product_type ⇒ String

The phone number product type.

Possible values:

  • BusinessCalling
  • VoiceConnector

Returns:

  • (String) —

    The phone number product type.

#status ⇒ String

The phone number status.

Possible values:

  • AcquireInProgress
  • AcquireFailed
  • Unassigned
  • Assigned
  • ReleaseInProgress
  • DeleteInProgress
  • ReleaseFailed
  • DeleteFailed

Returns:

  • (String) —

    The phone number status.

#type ⇒ String

The phone number type.

Possible values:

  • Local
  • TollFree

Returns:

  • (String) —

    The phone number type.

#updated_timestamp ⇒ Time

The updated phone number timestamp, in ISO 8601 format.

Returns:

  • (Time) —

    The updated phone number timestamp, in ISO 8601 format.