@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidSmsRoleTrustRelationshipException extends AWSCognitoIdentityProviderException
This exception is thrown when the trust relationship is not valid for the role provided for SMS configuration. This
can happen if you don't 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, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidSmsRoleTrustRelationshipException(String message)
message - Describes the error encountered.