@Generated(value="software.amazon.awssdk:codegen") public final class InvalidSmsRoleTrustRelationshipException extends CognitoIdentityProviderException implements ToCopyableBuilder<InvalidSmsRoleTrustRelationshipException.Builder,InvalidSmsRoleTrustRelationshipException>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidSmsRoleTrustRelationshipException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidSmsRoleTrustRelationshipException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidSmsRoleTrustRelationshipException.Builder> |
serializableBuilderClass() |
InvalidSmsRoleTrustRelationshipException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public InvalidSmsRoleTrustRelationshipException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InvalidSmsRoleTrustRelationshipException.Builder,InvalidSmsRoleTrustRelationshipException>
toBuilder
in class CognitoIdentityProviderException
public static InvalidSmsRoleTrustRelationshipException.Builder builder()
public static Class<? extends InvalidSmsRoleTrustRelationshipException.Builder> serializableBuilderClass()
Copyright © 2019. All rights reserved.