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

Class: Aws::Chime::Types::PhoneNumberError

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

Overview

If the phone number action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error code.

Possible values:

  • BadRequest
  • Conflict
  • Forbidden
  • NotFound
  • PreconditionFailed
  • ResourceLimitExceeded
  • ServiceFailure
  • AccessDenied
  • ServiceUnavailable
  • Throttled
  • Unauthorized
  • Unprocessable
  • VoiceConnectorGroupAssociationsExist
  • PhoneNumberAssociationsExist

Returns:

  • (String)

    The error code.

#error_messageString

The error message.

Returns:

  • (String)

    The error message.

#phone_number_idString

The phone number ID for which the action failed.

Returns:

  • (String)

    The phone number ID for which the action failed.