Enum rusoto_kinesis::SplitShardError [−][src]
pub enum SplitShardError { InvalidArgument(String), LimitExceeded(String), ResourceInUse(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SplitShard
Variants
InvalidArgument(String)
A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.
LimitExceeded(String)
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
ResourceInUse(String)
The resource is not available for this operation. For successful operation, the resource must be in the ACTIVE
state.
ResourceNotFound(String)
The requested resource could not be found. The stream might not be specified correctly.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl SplitShardError
[src]
impl SplitShardError
pub fn from_body(body: &str) -> SplitShardError
[src]
pub fn from_body(body: &str) -> SplitShardError
Trait Implementations
impl Debug for SplitShardError
[src]
impl Debug for SplitShardError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SplitShardError
[src]
impl PartialEq for SplitShardError
fn eq(&self, other: &SplitShardError) -> bool
[src]
fn eq(&self, other: &SplitShardError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SplitShardError) -> bool
[src]
fn ne(&self, other: &SplitShardError) -> bool
This method tests for !=
.
impl From<Error> for SplitShardError
[src]
impl From<Error> for SplitShardError
fn from(err: Error) -> SplitShardError
[src]
fn from(err: Error) -> SplitShardError
Performs the conversion.
impl From<CredentialsError> for SplitShardError
[src]
impl From<CredentialsError> for SplitShardError
fn from(err: CredentialsError) -> SplitShardError
[src]
fn from(err: CredentialsError) -> SplitShardError
Performs the conversion.
impl From<HttpDispatchError> for SplitShardError
[src]
impl From<HttpDispatchError> for SplitShardError
fn from(err: HttpDispatchError) -> SplitShardError
[src]
fn from(err: HttpDispatchError) -> SplitShardError
Performs the conversion.
impl From<Error> for SplitShardError
[src]
impl From<Error> for SplitShardError
fn from(err: Error) -> SplitShardError
[src]
fn from(err: Error) -> SplitShardError
Performs the conversion.
impl Display for SplitShardError
[src]
impl Display for SplitShardError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for SplitShardError
[src]
impl Error for SplitShardError
Auto Trait Implementations
impl Send for SplitShardError
impl Send for SplitShardError
impl Sync for SplitShardError
impl Sync for SplitShardError