[][src]Enum rusoto_clouddirectory::CreateObjectError

pub enum CreateObjectError {
    AccessDenied(String),
    DirectoryNotEnabled(String),
    FacetValidation(String),
    InternalService(String),
    InvalidArn(String),
    LimitExceeded(String),
    LinkNameAlreadyInUse(String),
    ResourceNotFound(String),
    RetryableConflict(String),
    UnsupportedIndexType(String),
}

Errors returned by CreateObject

Variants

AccessDenied(String)

Access denied. Check your permissions.

DirectoryNotEnabled(String)

Operations are only permitted on enabled directories.

FacetValidation(String)

The Facet that you provided was not well formed or could not be validated with the schema.

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.

LinkNameAlreadyInUse(String)

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

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.

UnsupportedIndexType(String)

Indicates that the requested index type is not supported.

Methods

impl CreateObjectError[src]

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

Trait Implementations

impl PartialEq<CreateObjectError> for CreateObjectError[src]

impl Debug for CreateObjectError[src]

impl Display for CreateObjectError[src]

impl Error for CreateObjectError[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 CreateObjectError

impl Sync for CreateObjectError

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