[][src]Enum rusoto_ecs::UpdateContainerAgentError

pub enum UpdateContainerAgentError {
    Client(String),
    ClusterNotFound(String),
    InvalidParameter(String),
    MissingVersion(String),
    NoUpdateAvailable(String),
    Server(String),
    UpdateInProgress(String),
}

Errors returned by UpdateContainerAgent

Variants

Client(String)

These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.

ClusterNotFound(String)

The specified cluster could not be found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region-specific.

InvalidParameter(String)

The specified parameter is invalid. Review the available parameters for the API request.

MissingVersion(String)

Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the container instance and does not have enough information to proceed with an update. This could be because the agent running on the container instance is an older or custom version that does not use our version information.

NoUpdateAvailable(String)

There is no update available for this Amazon ECS container agent. This could be because the agent is already running the latest version, or it is so old that there is no update path to the current version.

Server(String)

These errors are usually caused by a server issue.

UpdateInProgress(String)

There is already a current Amazon ECS container agent update in progress on the specified container instance. If the container agent becomes disconnected while it is in a transitional stage, such as PENDING or STAGING, the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.

Methods

impl UpdateContainerAgentError[src]

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

Trait Implementations

impl PartialEq<UpdateContainerAgentError> for UpdateContainerAgentError[src]

impl Debug for UpdateContainerAgentError[src]

impl Display for UpdateContainerAgentError[src]

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

impl Sync for UpdateContainerAgentError

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