Enum rusoto_kinesis::CreateStreamError
[−]
[src]
pub enum CreateStreamError { InvalidArgument(String), LimitExceeded(String), ResourceInUse(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateStream
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 (5).
ResourceInUse(String)
The resource is not available for this operation. For successful operation, the resource needs to be in the ACTIVE
state.
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 CreateStreamError
[src]
pub fn from_body(body: &str) -> CreateStreamError
[src]
Trait Implementations
impl Debug for CreateStreamError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CreateStreamError
[src]
fn eq(&self, __arg_0: &CreateStreamError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateStreamError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreateStreamError
[src]
fn from(err: Error) -> CreateStreamError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateStreamError
[src]
fn from(err: CredentialsError) -> CreateStreamError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateStreamError
[src]
fn from(err: HttpDispatchError) -> CreateStreamError
[src]
Performs the conversion.
impl From<Error> for CreateStreamError
[src]
fn from(err: Error) -> CreateStreamError
[src]
Performs the conversion.
impl Display for CreateStreamError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more