Enum aws_sdk_kinesisvideosignaling::operation::get_ice_server_config::GetIceServerConfigError
source · #[non_exhaustive]pub enum GetIceServerConfigError {
ClientLimitExceededException(ClientLimitExceededException),
InvalidArgumentException(InvalidArgumentException),
InvalidClientException(InvalidClientException),
NotAuthorizedException(NotAuthorizedException),
ResourceNotFoundException(ResourceNotFoundException),
SessionExpiredException(SessionExpiredException),
Unhandled(Unhandled),
}
Expand description
Error type for the GetIceServerConfigError
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ClientLimitExceededException(ClientLimitExceededException)
Your request was throttled because you have exceeded the limit of allowed client calls. Try making the call later.
InvalidArgumentException(InvalidArgumentException)
The value for this input parameter is invalid.
InvalidClientException(InvalidClientException)
The specified client is invalid.
NotAuthorizedException(NotAuthorizedException)
The caller is not authorized to perform this operation.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource is not found.
SessionExpiredException(SessionExpiredException)
If the client session is expired. Once the client is connected, the session is valid for 45 minutes. Client should reconnect to the channel to continue sending/receiving messages.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Implementations§
source§impl GetIceServerConfigError
impl GetIceServerConfigError
sourcepub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
pub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
Creates the GetIceServerConfigError::Unhandled
variant from any error type.
sourcepub fn generic(err: ErrorMetadata) -> Self
pub fn generic(err: ErrorMetadata) -> Self
Creates the GetIceServerConfigError::Unhandled
variant from a ::aws_smithy_types::error::ErrorMetadata
.
sourcepub fn meta(&self) -> &ErrorMetadata
pub fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
sourcepub fn is_client_limit_exceeded_exception(&self) -> bool
pub fn is_client_limit_exceeded_exception(&self) -> bool
Returns true
if the error kind is GetIceServerConfigError::ClientLimitExceededException
.
sourcepub fn is_invalid_argument_exception(&self) -> bool
pub fn is_invalid_argument_exception(&self) -> bool
Returns true
if the error kind is GetIceServerConfigError::InvalidArgumentException
.
sourcepub fn is_invalid_client_exception(&self) -> bool
pub fn is_invalid_client_exception(&self) -> bool
Returns true
if the error kind is GetIceServerConfigError::InvalidClientException
.
Returns true
if the error kind is GetIceServerConfigError::NotAuthorizedException
.
sourcepub fn is_resource_not_found_exception(&self) -> bool
pub fn is_resource_not_found_exception(&self) -> bool
Returns true
if the error kind is GetIceServerConfigError::ResourceNotFoundException
.
sourcepub fn is_session_expired_exception(&self) -> bool
pub fn is_session_expired_exception(&self) -> bool
Returns true
if the error kind is GetIceServerConfigError::SessionExpiredException
.
Trait Implementations§
source§impl CreateUnhandledError for GetIceServerConfigError
impl CreateUnhandledError for GetIceServerConfigError
source§fn create_unhandled_error(
source: Box<dyn Error + Send + Sync + 'static>,
meta: Option<ErrorMetadata>
) -> Self
fn create_unhandled_error( source: Box<dyn Error + Send + Sync + 'static>, meta: Option<ErrorMetadata> ) -> Self
source
and error metadata.source§impl Debug for GetIceServerConfigError
impl Debug for GetIceServerConfigError
source§impl Display for GetIceServerConfigError
impl Display for GetIceServerConfigError
source§impl Error for GetIceServerConfigError
impl Error for GetIceServerConfigError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<GetIceServerConfigError> for Error
impl From<GetIceServerConfigError> for Error
source§fn from(err: GetIceServerConfigError) -> Self
fn from(err: GetIceServerConfigError) -> Self
source§impl ProvideErrorMetadata for GetIceServerConfigError
impl ProvideErrorMetadata for GetIceServerConfigError
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
source§impl RequestId for GetIceServerConfigError
impl RequestId for GetIceServerConfigError
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.