Enum rusoto_kinesis::ListShardsError [−][src]
pub enum ListShardsError { ExpiredNextToken(String), InvalidArgument(String), LimitExceeded(String), ResourceInUse(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ListShards
Variants
ExpiredNextToken(String)
The pagination token passed to the ListShards
operation is expired. For more information, see ListShardsInput$NextToken.
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 ListShardsError
[src]
impl ListShardsError
pub fn from_body(body: &str) -> ListShardsError
[src]
pub fn from_body(body: &str) -> ListShardsError
Trait Implementations
impl Debug for ListShardsError
[src]
impl Debug for ListShardsError
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 ListShardsError
[src]
impl PartialEq for ListShardsError
fn eq(&self, other: &ListShardsError) -> bool
[src]
fn eq(&self, other: &ListShardsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ListShardsError) -> bool
[src]
fn ne(&self, other: &ListShardsError) -> bool
This method tests for !=
.
impl From<Error> for ListShardsError
[src]
impl From<Error> for ListShardsError
fn from(err: Error) -> ListShardsError
[src]
fn from(err: Error) -> ListShardsError
Performs the conversion.
impl From<CredentialsError> for ListShardsError
[src]
impl From<CredentialsError> for ListShardsError
fn from(err: CredentialsError) -> ListShardsError
[src]
fn from(err: CredentialsError) -> ListShardsError
Performs the conversion.
impl From<HttpDispatchError> for ListShardsError
[src]
impl From<HttpDispatchError> for ListShardsError
fn from(err: HttpDispatchError) -> ListShardsError
[src]
fn from(err: HttpDispatchError) -> ListShardsError
Performs the conversion.
impl From<Error> for ListShardsError
[src]
impl From<Error> for ListShardsError
fn from(err: Error) -> ListShardsError
[src]
fn from(err: Error) -> ListShardsError
Performs the conversion.
impl Display for ListShardsError
[src]
impl Display for ListShardsError
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 ListShardsError
[src]
impl Error for ListShardsError
Auto Trait Implementations
impl Send for ListShardsError
impl Send for ListShardsError
impl Sync for ListShardsError
impl Sync for ListShardsError