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

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)


4889
4890
4891
4892
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4889

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