Enum rusoto_ssm::CreateDocumentError
[−]
[src]
pub enum CreateDocumentError { DocumentAlreadyExists(String), DocumentLimitExceeded(String), InternalServerError(String), InvalidDocumentContent(String), InvalidDocumentSchemaVersion(String), MaxDocumentSizeExceeded(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateDocument
Variants
DocumentAlreadyExists(String)
The specified document already exists.
DocumentLimitExceeded(String)
You can have at most 200 active SSM documents.
InternalServerError(String)
An error occurred on the server side.
InvalidDocumentContent(String)
The content for the document is not valid.
InvalidDocumentSchemaVersion(String)
The version of the document schema is not supported.
MaxDocumentSizeExceeded(String)
The size limit of a document is 64 KB.
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 CreateDocumentError
[src]
fn from_body(body: &str) -> CreateDocumentError
[src]
Trait Implementations
impl Debug for CreateDocumentError
[src]
impl PartialEq for CreateDocumentError
[src]
fn eq(&self, __arg_0: &CreateDocumentError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateDocumentError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreateDocumentError
[src]
fn from(err: Error) -> CreateDocumentError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateDocumentError
[src]
fn from(err: CredentialsError) -> CreateDocumentError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateDocumentError
[src]
fn from(err: HttpDispatchError) -> CreateDocumentError
[src]
Performs the conversion.
impl From<Error> for CreateDocumentError
[src]
fn from(err: Error) -> CreateDocumentError
[src]
Performs the conversion.
impl Display for CreateDocumentError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more