Struct aws_sdk_cognitoidentityprovider::error::InvalidSmsRoleTrustRelationshipException [−][src]
#[non_exhaustive]pub struct InvalidSmsRoleTrustRelationshipException {
pub message: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.message: Option<String>
The message returned when the role trust relationship for the SMS message is invalid.
Implementations
Creates a new builder-style object to manufacture InvalidSmsRoleTrustRelationshipException
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more