#[non_exhaustive]
pub enum RestoreEventDataStoreErrorKind {
Show 13 variants CloudTrailAccessNotEnabledException(CloudTrailAccessNotEnabledException), EventDataStoreArnInvalidException(EventDataStoreArnInvalidException), EventDataStoreMaxLimitExceededException(EventDataStoreMaxLimitExceededException), EventDataStoreNotFoundException(EventDataStoreNotFoundException), InsufficientDependencyServiceAccessPermissionException(InsufficientDependencyServiceAccessPermissionException), InvalidEventDataStoreStatusException(InvalidEventDataStoreStatusException), InvalidParameterException(InvalidParameterException), NotOrganizationMasterAccountException(NotOrganizationMasterAccountException), OperationNotPermittedException(OperationNotPermittedException), OrganizationNotInAllFeaturesModeException(OrganizationNotInAllFeaturesModeException), OrganizationsNotInUseException(OrganizationsNotInUseException), UnsupportedOperationException(UnsupportedOperationException), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

Types of errors that can occur for the RestoreEventDataStore operation.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

CloudTrailAccessNotEnabledException(CloudTrailAccessNotEnabledException)

This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see Enabling Trusted Access with Other Amazon Web Services Services and Prepare For Creating a Trail For Your Organization.

EventDataStoreArnInvalidException(EventDataStoreArnInvalidException)

The specified event data store ARN is not valid or does not map to an event data store in your account.

EventDataStoreMaxLimitExceededException(EventDataStoreMaxLimitExceededException)

Your account has used the maximum number of event data stores.

EventDataStoreNotFoundException(EventDataStoreNotFoundException)

The specified event data store was not found.

InsufficientDependencyServiceAccessPermissionException(InsufficientDependencyServiceAccessPermissionException)

This exception is thrown when the IAM user or role that is used to create the organization trail is lacking one or more required permissions for creating an organization trail in a required service. For more information, see Prepare For Creating a Trail For Your Organization.

InvalidEventDataStoreStatusException(InvalidEventDataStoreStatusException)

The event data store is not in a status that supports the operation.

InvalidParameterException(InvalidParameterException)

The request includes a parameter that is not valid.

NotOrganizationMasterAccountException(NotOrganizationMasterAccountException)

This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization.

OperationNotPermittedException(OperationNotPermittedException)

This exception is thrown when the requested operation is not permitted.

OrganizationNotInAllFeaturesModeException(OrganizationNotInAllFeaturesModeException)

This exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail. For more information, see Prepare For Creating a Trail For Your Organization.

OrganizationsNotInUseException(OrganizationsNotInUseException)

This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.

UnsupportedOperationException(UnsupportedOperationException)

This exception is thrown when the requested operation is not supported.

Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unexpected error, e.g. invalid JSON returned by the service or an unknown error code

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more