[][src]Enum rusoto_clouddirectory::AttachObjectError

pub enum AttachObjectError {
    AccessDenied(String),
    DirectoryNotEnabled(String),
    FacetValidation(String),
    InternalService(String),
    InvalidArn(String),
    InvalidAttachment(String),
    LimitExceeded(String),
    LinkNameAlreadyInUse(String),
    ResourceNotFound(String),
    RetryableConflict(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Errors returned by AttachObject

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.

InvalidAttachment(String)

Indicates that an attempt to attach an object with the same link name or to apply a schema with the same name has occurred. Rename the link or the schema and then try again.

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.

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.

ParseError(String)

An error occurred parsing the response payload.

Unknown(BufferedHttpResponse)

An unknown error occurred. The raw HTTP response is provided.

Methods

impl AttachObjectError[src]

Trait Implementations

impl PartialEq<AttachObjectError> for AttachObjectError[src]

impl From<Error> for AttachObjectError[src]

impl From<CredentialsError> for AttachObjectError[src]

impl From<HttpDispatchError> for AttachObjectError[src]

impl From<Error> for AttachObjectError[src]

impl Display for AttachObjectError[src]

impl Debug for AttachObjectError[src]

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

Blanket Implementations

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

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

impl<T> From for T[src]

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

type Error = Infallible

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

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