Class: Aws::CognitoIdentityProvider::Types::InvalidSmsRoleTrustRelationshipException

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

Overview

This exception is thrown when the trust relationship is invalid for the role provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com or the external ID provided in the role does not match what is provided in the SMS configuration for the user pool.

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The message returned when the role trust relationship for the SMS message is invalid.

Returns:

  • (String)


5730
5731
5732
5733
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5730

class InvalidSmsRoleTrustRelationshipException < Struct.new(
  :message)
  include Aws::Structure
end