[][src]Enum rusoto_clouddirectory::CreateDirectoryError

pub enum CreateDirectoryError {
    AccessDenied(String),
    DirectoryAlreadyExists(String),
    InternalService(String),
    InvalidArn(String),
    LimitExceeded(String),
    ResourceNotFound(String),
    RetryableConflict(String),
}

Errors returned by CreateDirectory

Variants

AccessDenied(String)

Access denied. Check your permissions.

DirectoryAlreadyExists(String)

Indicates that a Directory could not be created due to a naming conflict. Choose a different name and try again.

InternalService(String)

Indicates a problem that must be resolved by Amazon Web Services. This might be a transient error in which case you can retry your request until it succeeds. Otherwise, go to the AWS Service Health Dashboard site to see if there are any operational issues with the service.

InvalidArn(String)

Indicates that the provided ARN value is not valid.

LimitExceeded(String)

Indicates that limits are exceeded. See Limits for more information.

ResourceNotFound(String)

The specified resource could not be found.

RetryableConflict(String)

Occurs when a conflict with a previous successful write is detected. For example, if a write operation occurs on an object and then an attempt is made to read the object using “SERIALIZABLE” consistency, this exception may result. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

Methods

impl CreateDirectoryError[src]

pub fn from_response(
    res: BufferedHttpResponse
) -> RusotoError<CreateDirectoryError>
[src]

Trait Implementations

impl PartialEq<CreateDirectoryError> for CreateDirectoryError[src]

impl Debug for CreateDirectoryError[src]

impl Display for CreateDirectoryError[src]

impl Error for CreateDirectoryError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for CreateDirectoryError

impl Sync for CreateDirectoryError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self