pub enum CreateAssociationBatchError {
AssociationLimitExceeded(String),
DuplicateInstanceId(String),
InternalServerError(String),
InvalidDocument(String),
InvalidDocumentVersion(String),
InvalidInstanceId(String),
InvalidOutputLocation(String),
InvalidParameters(String),
InvalidSchedule(String),
InvalidTarget(String),
UnsupportedPlatformType(String),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
ParseError(String),
Unknown(BufferedHttpResponse),
}
Errors returned by CreateAssociationBatch
You can have at most 2,000 active associations.
You cannot specify an instance ID in more than one association.
An error occurred on the server side.
The specified document does not exist.
The document version is not valid or does not exist.
The following problems can cause this exception:
You do not have permission to access the instance.
SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running.
SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service.
The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
The output location is not valid or does not exist.
You must specify values for all required parameters in the Systems Manager document. You can only supply values to parameters defined in the Systems Manager document.
The schedule is invalid. Verify your cron or rate expression and try again.
The target is not valid or does not exist. It might not be configured for EC2 Systems Manager or you might not have permission to perform the operation.
The document does not support the platform type of the given instance ID(s). For example, you sent an document for a Windows instance to a Linux instance.
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
🔬 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
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static