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)


2314
2315
2316
2317
2318
2319
2320
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2314

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)


2314
2315
2316
2317
2318
2319
2320
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2314

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)


2314
2315
2316
2317
2318
2319
2320
# File 'gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/types.rb', line 2314

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