pub enum AttachTypedLinkError {
AccessDenied(String),
DirectoryNotEnabled(String),
FacetValidation(String),
InternalService(String),
InvalidArn(String),
InvalidAttachment(String),
LimitExceeded(String),
ResourceNotFound(String),
RetryableConflict(String),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
ParseError(String),
Unknown(BufferedHttpResponse),
}
Errors returned by AttachTypedLink
Access denied. Check your permissions.
Operations are only permitted on enabled directories.
The Facet that you provided was not well formed or could not be validated with the schema.
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.
Indicates that the provided ARN value is not valid.
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.
Indicates that limits are exceeded. See Limits for more information.
The specified resource could not be found.
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.
An error occurred dispatching the HTTP request
An error was encountered with AWS credentials.
A validation error occurred. Details from AWS are provided.
An error occurred parsing the response payload.
An unknown error occurred. The raw HTTP response is provided.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Deprecating in 1.33.0
: replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
The lower-level source of this error, if any. Read more
Converts the given value to a String
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static