Struct aws_sdk_sns::error::SetTopicAttributesError [−][src]
#[non_exhaustive]pub struct SetTopicAttributesError {
pub kind: SetTopicAttributesErrorKind,
// some fields omitted
}
Expand description
Error type for the SetTopicAttributes
operation.
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.kind: SetTopicAttributesErrorKind
Kind of error that occurred.
Implementations
Creates a new SetTopicAttributesError
.
Creates the SetTopicAttributesError::Unhandled
variant from any error type.
Creates the SetTopicAttributesError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is SetTopicAttributesErrorKind::AuthorizationErrorException
.
Returns true
if the error kind is SetTopicAttributesErrorKind::InternalErrorException
.
Returns true
if the error kind is SetTopicAttributesErrorKind::InvalidParameterException
.
Returns true
if the error kind is SetTopicAttributesErrorKind::InvalidSecurityException
.
Returns true
if the error kind is SetTopicAttributesErrorKind::NotFoundException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SetTopicAttributesError
impl Send for SetTopicAttributesError
impl Sync for SetTopicAttributesError
impl Unpin for SetTopicAttributesError
impl !UnwindSafe for SetTopicAttributesError
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