Serializable
, ToCopyableBuilder<InvalidSmsRoleTrustRelationshipException.Builder,InvalidSmsRoleTrustRelationshipException>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
InvalidSmsRoleTrustRelationshipException.Builder |
AmazonServiceException.ErrorType
Modifier and Type | Method | Description |
---|---|---|
static InvalidSmsRoleTrustRelationshipException.Builder |
builder() |
|
static Class<? extends InvalidSmsRoleTrustRelationshipException.Builder> |
serializableBuilderClass() |
|
InvalidSmsRoleTrustRelationshipException.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
isRetryable
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidSmsRoleTrustRelationshipException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InvalidSmsRoleTrustRelationshipException.Builder,InvalidSmsRoleTrustRelationshipException>
public static InvalidSmsRoleTrustRelationshipException.Builder builder()
public static Class<? extends InvalidSmsRoleTrustRelationshipException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.