Class: Aws::ChimeSDKVoice::Types::PhoneNumberError

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:phone_number_id]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error code.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2406

class PhoneNumberError < Struct.new(
  :phone_number_id,
  :error_code,
  :error_message)
  SENSITIVE = [:phone_number_id]
  include Aws::Structure
end

#error_messageString

The error message.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2406

class PhoneNumberError < Struct.new(
  :phone_number_id,
  :error_code,
  :error_message)
  SENSITIVE = [:phone_number_id]
  include Aws::Structure
end

#phone_number_idString

The phone number ID for which the action failed.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2406

class PhoneNumberError < Struct.new(
  :phone_number_id,
  :error_code,
  :error_message)
  SENSITIVE = [:phone_number_id]
  include Aws::Structure
end