@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidSmsRoleTrustRelationshipException extends AWSCognitoIdentityProviderException
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.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidSmsRoleTrustRelationshipException(String message)
Constructs a new InvalidSmsRoleTrustRelationshipException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidSmsRoleTrustRelationshipException(String message)
message - Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.