[][src]Enum rusoto_ssm::PutInventoryError

pub enum PutInventoryError {
    CustomSchemaCountLimitExceeded(String),
    InternalServerError(String),
    InvalidInstanceId(String),
    InvalidInventoryItemContext(String),
    InvalidItemContent(String),
    InvalidTypeName(String),
    ItemContentMismatch(String),
    ItemSizeLimitExceeded(String),
    SubTypeCountLimitExceeded(String),
    TotalSizeLimitExceeded(String),
    UnsupportedInventoryItemContext(String),
    UnsupportedInventorySchemaVersion(String),
}

Errors returned by PutInventory

Variants

CustomSchemaCountLimitExceeded(String)

You have exceeded the limit for custom schemas. Delete one or more custom schemas and try again.

InternalServerError(String)

An error occurred on the server side.

InvalidInstanceId(String)

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.

InvalidInventoryItemContext(String)

You specified invalid keys or values in the Context attribute for InventoryItem. Verify the keys and values, and try again.

InvalidItemContent(String)

One or more content items is not valid.

InvalidTypeName(String)

The parameter type name is not valid.

ItemContentMismatch(String)

The inventory item has invalid content.

ItemSizeLimitExceeded(String)

The inventory item size has exceeded the size limit.

SubTypeCountLimitExceeded(String)

The sub-type count exceeded the limit for the inventory type.

TotalSizeLimitExceeded(String)

The size of inventory data has exceeded the total size limit for the resource.

UnsupportedInventoryItemContext(String)

The Context attribute that you specified for the InventoryItem is not allowed for this inventory type. You can only use the Context attribute with inventory types like AWS:ComplianceItem.

UnsupportedInventorySchemaVersion(String)

Inventory item type schema version has to match supported versions in the service. Check output of GetInventorySchema to see the available schema version for each type.

Methods

impl PutInventoryError[src]

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

Trait Implementations

impl PartialEq<PutInventoryError> for PutInventoryError[src]

impl Debug for PutInventoryError[src]

impl Display for PutInventoryError[src]

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

impl Sync for PutInventoryError

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