Enum aws_sdk_cloudtrail::Error
source · #[non_exhaustive]pub enum Error {
Show 84 variants
AccessDeniedException(AccessDeniedException),
AccountHasOngoingImportException(AccountHasOngoingImportException),
AccountNotFoundException(AccountNotFoundException),
AccountNotRegisteredException(AccountNotRegisteredException),
AccountRegisteredException(AccountRegisteredException),
CannotDelegateManagementAccountException(CannotDelegateManagementAccountException),
ChannelArnInvalidException(ChannelArnInvalidException),
ChannelAlreadyExistsException(ChannelAlreadyExistsException),
ChannelExistsForEdsException(ChannelExistsForEdsException),
ChannelMaxLimitExceededException(ChannelMaxLimitExceededException),
ChannelNotFoundException(ChannelNotFoundException),
CloudTrailArnInvalidException(CloudTrailArnInvalidException),
CloudTrailAccessNotEnabledException(CloudTrailAccessNotEnabledException),
CloudTrailInvalidClientTokenIdException(CloudTrailInvalidClientTokenIdException),
CloudWatchLogsDeliveryUnavailableException(CloudWatchLogsDeliveryUnavailableException),
ConcurrentModificationException(ConcurrentModificationException),
ConflictException(ConflictException),
DelegatedAdminAccountLimitExceededException(DelegatedAdminAccountLimitExceededException),
EventDataStoreArnInvalidException(EventDataStoreArnInvalidException),
EventDataStoreAlreadyExistsException(EventDataStoreAlreadyExistsException),
EventDataStoreFederationEnabledException(EventDataStoreFederationEnabledException),
EventDataStoreHasOngoingImportException(EventDataStoreHasOngoingImportException),
EventDataStoreMaxLimitExceededException(EventDataStoreMaxLimitExceededException),
EventDataStoreNotFoundException(EventDataStoreNotFoundException),
EventDataStoreTerminationProtectedException(EventDataStoreTerminationProtectedException),
ImportNotFoundException(ImportNotFoundException),
InactiveEventDataStoreException(InactiveEventDataStoreException),
InactiveQueryException(InactiveQueryException),
InsightNotEnabledException(InsightNotEnabledException),
InsufficientDependencyServiceAccessPermissionException(InsufficientDependencyServiceAccessPermissionException),
InsufficientEncryptionPolicyException(InsufficientEncryptionPolicyException),
InsufficientS3BucketPolicyException(InsufficientS3BucketPolicyException),
InsufficientSnsTopicPolicyException(InsufficientSnsTopicPolicyException),
InvalidCloudWatchLogsLogGroupArnException(InvalidCloudWatchLogsLogGroupArnException),
InvalidCloudWatchLogsRoleArnException(InvalidCloudWatchLogsRoleArnException),
InvalidDateRangeException(InvalidDateRangeException),
InvalidEventCategoryException(InvalidEventCategoryException),
InvalidEventDataStoreCategoryException(InvalidEventDataStoreCategoryException),
InvalidEventDataStoreStatusException(InvalidEventDataStoreStatusException),
InvalidEventSelectorsException(InvalidEventSelectorsException),
InvalidHomeRegionException(InvalidHomeRegionException),
InvalidImportSourceException(InvalidImportSourceException),
InvalidInsightSelectorsException(InvalidInsightSelectorsException),
InvalidKmsKeyIdException(InvalidKmsKeyIdException),
InvalidLookupAttributesException(InvalidLookupAttributesException),
InvalidMaxResultsException(InvalidMaxResultsException),
InvalidNextTokenException(InvalidNextTokenException),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterException(InvalidParameterException),
InvalidQueryStatementException(InvalidQueryStatementException),
InvalidQueryStatusException(InvalidQueryStatusException),
InvalidS3BucketNameException(InvalidS3BucketNameException),
InvalidS3PrefixException(InvalidS3PrefixException),
InvalidSnsTopicNameException(InvalidSnsTopicNameException),
InvalidSourceException(InvalidSourceException),
InvalidTagParameterException(InvalidTagParameterException),
InvalidTimeRangeException(InvalidTimeRangeException),
InvalidTokenException(InvalidTokenException),
InvalidTrailNameException(InvalidTrailNameException),
KmsException(KmsException),
KmsKeyDisabledException(KmsKeyDisabledException),
KmsKeyNotFoundException(KmsKeyNotFoundException),
MaxConcurrentQueriesException(MaxConcurrentQueriesException),
MaximumNumberOfTrailsExceededException(MaximumNumberOfTrailsExceededException),
NoManagementAccountSlrExistsException(NoManagementAccountSlrExistsException),
NotOrganizationManagementAccountException(NotOrganizationManagementAccountException),
NotOrganizationMasterAccountException(NotOrganizationMasterAccountException),
OperationNotPermittedException(OperationNotPermittedException),
OrganizationNotInAllFeaturesModeException(OrganizationNotInAllFeaturesModeException),
OrganizationsNotInUseException(OrganizationsNotInUseException),
QueryIdNotFoundException(QueryIdNotFoundException),
ResourceArnNotValidException(ResourceArnNotValidException),
ResourceNotFoundException(ResourceNotFoundException),
ResourcePolicyNotFoundException(ResourcePolicyNotFoundException),
ResourcePolicyNotValidException(ResourcePolicyNotValidException),
ResourceTypeNotSupportedException(ResourceTypeNotSupportedException),
S3BucketDoesNotExistException(S3BucketDoesNotExistException),
TagsLimitExceededException(TagsLimitExceededException),
ThrottlingException(ThrottlingException),
TrailAlreadyExistsException(TrailAlreadyExistsException),
TrailNotFoundException(TrailNotFoundException),
TrailNotProvidedException(TrailNotProvidedException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You do not have sufficient access to perform this action.
AccountHasOngoingImportException(AccountHasOngoingImportException)
This exception is thrown when you start a new import and a previous import is still in progress.
AccountNotFoundException(AccountNotFoundException)
This exception is thrown when the specified account is not found or not part of an organization.
AccountNotRegisteredException(AccountNotRegisteredException)
This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.
AccountRegisteredException(AccountRegisteredException)
This exception is thrown when the account is already registered as the CloudTrail delegated administrator.
CannotDelegateManagementAccountException(CannotDelegateManagementAccountException)
This exception is thrown when the management account of an organization is registered as the CloudTrail delegated administrator.
ChannelArnInvalidException(ChannelArnInvalidException)
This exception is thrown when the specified value of ChannelARN
is not valid.
ChannelAlreadyExistsException(ChannelAlreadyExistsException)
This exception is thrown when the provided channel already exists.
ChannelExistsForEdsException(ChannelExistsForEdsException)
This exception is thrown when the specified event data store cannot yet be deleted because it is in use by a channel.
ChannelMaxLimitExceededException(ChannelMaxLimitExceededException)
This exception is thrown when the maximum number of channels limit is exceeded.
ChannelNotFoundException(ChannelNotFoundException)
This exception is thrown when CloudTrail cannot find the specified channel.
CloudTrailArnInvalidException(CloudTrailArnInvalidException)
This exception is thrown when an operation is called with an ARN that is not valid.
The following is the format of a trail ARN: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
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.
CloudTrailInvalidClientTokenIdException(CloudTrailInvalidClientTokenIdException)
This exception is thrown when a call results in the InvalidClientTokenId
error code. This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that is in a suspended Amazon Web Services account.
Cannot set a CloudWatch Logs delivery for this Region.
ConcurrentModificationException(ConcurrentModificationException)
You are trying to update a resource when another request is in progress. Allow sufficient wait time for the previous request to complete, then retry your request.
ConflictException(ConflictException)
This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
DelegatedAdminAccountLimitExceededException(DelegatedAdminAccountLimitExceededException)
This exception is thrown when the maximum number of CloudTrail delegated administrators is reached.
EventDataStoreArnInvalidException(EventDataStoreArnInvalidException)
The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreAlreadyExistsException(EventDataStoreAlreadyExistsException)
An event data store with that name already exists.
EventDataStoreFederationEnabledException(EventDataStoreFederationEnabledException)
You cannot delete the event data store because Lake query federation is enabled. To delete the event data store, run the DisableFederation
operation to disable Lake query federation on the event data store.
EventDataStoreHasOngoingImportException(EventDataStoreHasOngoingImportException)
This exception is thrown when you try to update or delete an event data store that currently has an import in progress.
EventDataStoreMaxLimitExceededException(EventDataStoreMaxLimitExceededException)
Your account has used the maximum number of event data stores.
EventDataStoreNotFoundException(EventDataStoreNotFoundException)
The specified event data store was not found.
EventDataStoreTerminationProtectedException(EventDataStoreTerminationProtectedException)
The event data store cannot be deleted because termination protection is enabled for it.
ImportNotFoundException(ImportNotFoundException)
The specified import was not found.
InactiveEventDataStoreException(InactiveEventDataStoreException)
The event data store is inactive.
InactiveQueryException(InactiveQueryException)
The specified query cannot be canceled because it is in the FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
state.
InsightNotEnabledException(InsightNotEnabledException)
If you run GetInsightSelectors
on a trail or event data store that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException
.
InsufficientDependencyServiceAccessPermissionException(InsufficientDependencyServiceAccessPermissionException)
This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
InsufficientEncryptionPolicyException(InsufficientEncryptionPolicyException)
This exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation.
InsufficientS3BucketPolicyException(InsufficientS3BucketPolicyException)
This exception is thrown when the policy on the S3 bucket is not sufficient.
InsufficientSnsTopicPolicyException(InsufficientSnsTopicPolicyException)
This exception is thrown when the policy on the Amazon SNS topic is not sufficient.
InvalidCloudWatchLogsLogGroupArnException(InvalidCloudWatchLogsLogGroupArnException)
This exception is thrown when the provided CloudWatch Logs log group is not valid.
InvalidCloudWatchLogsRoleArnException(InvalidCloudWatchLogsRoleArnException)
This exception is thrown when the provided role is not valid.
InvalidDateRangeException(InvalidDateRangeException)
A date range for the query was specified that is not valid. Be sure that the start time is chronologically before the end time. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.
InvalidEventCategoryException(InvalidEventCategoryException)
Occurs if an event category that is not valid is specified as a value of EventCategory
.
InvalidEventDataStoreCategoryException(InvalidEventDataStoreCategoryException)
This exception is thrown when event categories of specified event data stores are not valid.
InvalidEventDataStoreStatusException(InvalidEventDataStoreStatusException)
The event data store is not in a status that supports the operation.
InvalidEventSelectorsException(InvalidEventSelectorsException)
This exception is thrown when the PutEventSelectors
operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250.
You can:
-
Specify a valid number of event selectors (1 to 5) for a trail.
-
Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail.
-
Specify up to 500 values for all conditions in all advanced event selectors for a trail.
-
Specify a valid value for a parameter. For example, specifying the
ReadWriteType
parameter with a value ofread-only
is not valid.
InvalidHomeRegionException(InvalidHomeRegionException)
This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
InvalidImportSourceException(InvalidImportSourceException)
This exception is thrown when the provided source S3 bucket is not valid for import.
InvalidInsightSelectorsException(InvalidInsightSelectorsException)
For PutInsightSelectors
, this exception is thrown when the formatting or syntax of the InsightSelectors
JSON statement is not valid, or the specified InsightType
in the InsightSelectors
statement is not valid. Valid values for InsightType
are ApiCallRateInsight
and ApiErrorRateInsight
. To enable Insights on an event data store, the destination event data store specified by the InsightsDestination
parameter must log Insights events and the source event data store specified by the EventDataStore
parameter must log management events.
For UpdateEventDataStore
, this exception is thrown if Insights are enabled on the event data store and the updated advanced event selectors are not compatible with the configured InsightSelectors
. If the InsightSelectors
includes an InsightType
of ApiCallRateInsight
, the source event data store must log write
management events. If the InsightSelectors
includes an InsightType
of ApiErrorRateInsight
, the source event data store must log management events.
InvalidKmsKeyIdException(InvalidKmsKeyIdException)
This exception is thrown when the KMS key ARN is not valid.
InvalidLookupAttributesException(InvalidLookupAttributesException)
Occurs when a lookup attribute is specified that is not valid.
InvalidMaxResultsException(InvalidMaxResultsException)
This exception is thrown if the limit specified is not valid.
InvalidNextTokenException(InvalidNextTokenException)
A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
InvalidParameterCombinationException(InvalidParameterCombinationException)
This exception is thrown when the combination of parameters provided is not valid.
InvalidParameterException(InvalidParameterException)
The request includes a parameter that is not valid.
InvalidQueryStatementException(InvalidQueryStatementException)
The query that was submitted has validation errors, or uses incorrect syntax or unsupported keywords. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.
InvalidQueryStatusException(InvalidQueryStatusException)
The query status is not valid for the operation.
InvalidS3BucketNameException(InvalidS3BucketNameException)
This exception is thrown when the provided S3 bucket name is not valid.
InvalidS3PrefixException(InvalidS3PrefixException)
This exception is thrown when the provided S3 prefix is not valid.
InvalidSnsTopicNameException(InvalidSnsTopicNameException)
This exception is thrown when the provided SNS topic name is not valid.
InvalidSourceException(InvalidSourceException)
This exception is thrown when the specified value of Source
is not valid.
InvalidTagParameterException(InvalidTagParameterException)
This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
InvalidTimeRangeException(InvalidTimeRangeException)
Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.
InvalidTokenException(InvalidTokenException)
Reserved for future use.
InvalidTrailNameException(InvalidTrailNameException)
This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
-
Start with a letter or number, and end with a letter or number
-
Be between 3 and 128 characters
-
Have no adjacent periods, underscores or dashes. Names like
my-_namespace
andmy--namespace
are not valid. -
Not be in IP address format (for example, 192.168.5.4)
KmsException(KmsException)
This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
KmsKeyDisabledException(KmsKeyDisabledException)
This exception is no longer in use.
KmsKeyNotFoundException(KmsKeyNotFoundException)
This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same Region.
MaxConcurrentQueriesException(MaxConcurrentQueriesException)
You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some queries to finish, and then run the query again.
MaximumNumberOfTrailsExceededException(MaximumNumberOfTrailsExceededException)
This exception is thrown when the maximum number of trails is reached.
NoManagementAccountSlrExistsException(NoManagementAccountSlrExistsException)
This exception is thrown when the management account does not have a service-linked role.
NotOrganizationManagementAccountException(NotOrganizationManagementAccountException)
This exception is thrown when the account making the request is not the organization's management account.
NotOrganizationMasterAccountException(NotOrganizationMasterAccountException)
This exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization or Create an event data store.
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 or event data store.
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.
QueryIdNotFoundException(QueryIdNotFoundException)
The query ID does not exist or does not map to a query.
ResourceArnNotValidException(ResourceArnNotValidException)
This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the valid format for a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel
.
ResourceNotFoundException(ResourceNotFoundException)
This exception is thrown when the specified resource is not found.
ResourcePolicyNotFoundException(ResourcePolicyNotFoundException)
This exception is thrown when the specified resource policy is not found.
ResourcePolicyNotValidException(ResourcePolicyNotValidException)
This exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
The following are requirements for the resource policy:
-
Contains only one action: cloudtrail-data:PutAuditEvents
-
Contains at least one statement. The policy can have a maximum of 20 statements.
-
Each statement contains at least one principal. A statement can have a maximum of 50 principals.
ResourceTypeNotSupportedException(ResourceTypeNotSupportedException)
This exception is thrown when the specified resource type is not supported by CloudTrail.
S3BucketDoesNotExistException(S3BucketDoesNotExistException)
This exception is thrown when the specified S3 bucket does not exist.
TagsLimitExceededException(TagsLimitExceededException)
The number of tags per trail, event data store, or channel has exceeded the permitted amount. Currently, the limit is 50.
ThrottlingException(ThrottlingException)
This exception is thrown when the request rate exceeds the limit.
TrailAlreadyExistsException(TrailAlreadyExistsException)
This exception is thrown when the specified trail already exists.
TrailNotFoundException(TrailNotFoundException)
This exception is thrown when the trail with the given name is not found.
TrailNotProvidedException(TrailNotProvidedException)
This exception is no longer in use.
UnsupportedOperationException(UnsupportedOperationException)
This exception is thrown when the requested operation is not supported.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<AddTagsError> for Error
impl From<AddTagsError> for Error
source§fn from(err: AddTagsError) -> Self
fn from(err: AddTagsError) -> Self
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CancelQueryError> for Error
impl From<CancelQueryError> for Error
source§fn from(err: CancelQueryError) -> Self
fn from(err: CancelQueryError) -> Self
source§impl From<CreateChannelError> for Error
impl From<CreateChannelError> for Error
source§fn from(err: CreateChannelError) -> Self
fn from(err: CreateChannelError) -> Self
source§impl From<CreateEventDataStoreError> for Error
impl From<CreateEventDataStoreError> for Error
source§fn from(err: CreateEventDataStoreError) -> Self
fn from(err: CreateEventDataStoreError) -> Self
source§impl From<CreateTrailError> for Error
impl From<CreateTrailError> for Error
source§fn from(err: CreateTrailError) -> Self
fn from(err: CreateTrailError) -> Self
source§impl From<DeleteChannelError> for Error
impl From<DeleteChannelError> for Error
source§fn from(err: DeleteChannelError) -> Self
fn from(err: DeleteChannelError) -> Self
source§impl From<DeleteEventDataStoreError> for Error
impl From<DeleteEventDataStoreError> for Error
source§fn from(err: DeleteEventDataStoreError) -> Self
fn from(err: DeleteEventDataStoreError) -> Self
source§impl From<DeleteResourcePolicyError> for Error
impl From<DeleteResourcePolicyError> for Error
source§fn from(err: DeleteResourcePolicyError) -> Self
fn from(err: DeleteResourcePolicyError) -> Self
source§impl From<DeleteTrailError> for Error
impl From<DeleteTrailError> for Error
source§fn from(err: DeleteTrailError) -> Self
fn from(err: DeleteTrailError) -> Self
source§impl From<DeregisterOrganizationDelegatedAdminError> for Error
impl From<DeregisterOrganizationDelegatedAdminError> for Error
source§fn from(err: DeregisterOrganizationDelegatedAdminError) -> Self
fn from(err: DeregisterOrganizationDelegatedAdminError) -> Self
source§impl From<DescribeQueryError> for Error
impl From<DescribeQueryError> for Error
source§fn from(err: DescribeQueryError) -> Self
fn from(err: DescribeQueryError) -> Self
source§impl From<DescribeTrailsError> for Error
impl From<DescribeTrailsError> for Error
source§fn from(err: DescribeTrailsError) -> Self
fn from(err: DescribeTrailsError) -> Self
source§impl From<DisableFederationError> for Error
impl From<DisableFederationError> for Error
source§fn from(err: DisableFederationError) -> Self
fn from(err: DisableFederationError) -> Self
source§impl From<EnableFederationError> for Error
impl From<EnableFederationError> for Error
source§fn from(err: EnableFederationError) -> Self
fn from(err: EnableFederationError) -> Self
source§impl From<GetChannelError> for Error
impl From<GetChannelError> for Error
source§fn from(err: GetChannelError) -> Self
fn from(err: GetChannelError) -> Self
source§impl From<GetEventDataStoreError> for Error
impl From<GetEventDataStoreError> for Error
source§fn from(err: GetEventDataStoreError) -> Self
fn from(err: GetEventDataStoreError) -> Self
source§impl From<GetEventSelectorsError> for Error
impl From<GetEventSelectorsError> for Error
source§fn from(err: GetEventSelectorsError) -> Self
fn from(err: GetEventSelectorsError) -> Self
source§impl From<GetImportError> for Error
impl From<GetImportError> for Error
source§fn from(err: GetImportError) -> Self
fn from(err: GetImportError) -> Self
source§impl From<GetInsightSelectorsError> for Error
impl From<GetInsightSelectorsError> for Error
source§fn from(err: GetInsightSelectorsError) -> Self
fn from(err: GetInsightSelectorsError) -> Self
source§impl From<GetQueryResultsError> for Error
impl From<GetQueryResultsError> for Error
source§fn from(err: GetQueryResultsError) -> Self
fn from(err: GetQueryResultsError) -> Self
source§impl From<GetResourcePolicyError> for Error
impl From<GetResourcePolicyError> for Error
source§fn from(err: GetResourcePolicyError) -> Self
fn from(err: GetResourcePolicyError) -> Self
source§impl From<GetTrailError> for Error
impl From<GetTrailError> for Error
source§fn from(err: GetTrailError) -> Self
fn from(err: GetTrailError) -> Self
source§impl From<GetTrailStatusError> for Error
impl From<GetTrailStatusError> for Error
source§fn from(err: GetTrailStatusError) -> Self
fn from(err: GetTrailStatusError) -> Self
source§impl From<ListChannelsError> for Error
impl From<ListChannelsError> for Error
source§fn from(err: ListChannelsError) -> Self
fn from(err: ListChannelsError) -> Self
source§impl From<ListEventDataStoresError> for Error
impl From<ListEventDataStoresError> for Error
source§fn from(err: ListEventDataStoresError) -> Self
fn from(err: ListEventDataStoresError) -> Self
source§impl From<ListImportFailuresError> for Error
impl From<ListImportFailuresError> for Error
source§fn from(err: ListImportFailuresError) -> Self
fn from(err: ListImportFailuresError) -> Self
source§impl From<ListImportsError> for Error
impl From<ListImportsError> for Error
source§fn from(err: ListImportsError) -> Self
fn from(err: ListImportsError) -> Self
source§impl From<ListInsightsMetricDataError> for Error
impl From<ListInsightsMetricDataError> for Error
source§fn from(err: ListInsightsMetricDataError) -> Self
fn from(err: ListInsightsMetricDataError) -> Self
source§impl From<ListPublicKeysError> for Error
impl From<ListPublicKeysError> for Error
source§fn from(err: ListPublicKeysError) -> Self
fn from(err: ListPublicKeysError) -> Self
source§impl From<ListQueriesError> for Error
impl From<ListQueriesError> for Error
source§fn from(err: ListQueriesError) -> Self
fn from(err: ListQueriesError) -> Self
source§impl From<ListTagsError> for Error
impl From<ListTagsError> for Error
source§fn from(err: ListTagsError) -> Self
fn from(err: ListTagsError) -> Self
source§impl From<ListTrailsError> for Error
impl From<ListTrailsError> for Error
source§fn from(err: ListTrailsError) -> Self
fn from(err: ListTrailsError) -> Self
source§impl From<LookupEventsError> for Error
impl From<LookupEventsError> for Error
source§fn from(err: LookupEventsError) -> Self
fn from(err: LookupEventsError) -> Self
source§impl From<PutEventSelectorsError> for Error
impl From<PutEventSelectorsError> for Error
source§fn from(err: PutEventSelectorsError) -> Self
fn from(err: PutEventSelectorsError) -> Self
source§impl From<PutInsightSelectorsError> for Error
impl From<PutInsightSelectorsError> for Error
source§fn from(err: PutInsightSelectorsError) -> Self
fn from(err: PutInsightSelectorsError) -> Self
source§impl From<PutResourcePolicyError> for Error
impl From<PutResourcePolicyError> for Error
source§fn from(err: PutResourcePolicyError) -> Self
fn from(err: PutResourcePolicyError) -> Self
source§impl From<RegisterOrganizationDelegatedAdminError> for Error
impl From<RegisterOrganizationDelegatedAdminError> for Error
source§fn from(err: RegisterOrganizationDelegatedAdminError) -> Self
fn from(err: RegisterOrganizationDelegatedAdminError) -> Self
source§impl From<RemoveTagsError> for Error
impl From<RemoveTagsError> for Error
source§fn from(err: RemoveTagsError) -> Self
fn from(err: RemoveTagsError) -> Self
source§impl From<RestoreEventDataStoreError> for Error
impl From<RestoreEventDataStoreError> for Error
source§fn from(err: RestoreEventDataStoreError) -> Self
fn from(err: RestoreEventDataStoreError) -> Self
source§impl<R> From<SdkError<AddTagsError, R>> for Error
impl<R> From<SdkError<AddTagsError, R>> for Error
source§fn from(err: SdkError<AddTagsError, R>) -> Self
fn from(err: SdkError<AddTagsError, R>) -> Self
source§impl<R> From<SdkError<CancelQueryError, R>> for Error
impl<R> From<SdkError<CancelQueryError, R>> for Error
source§fn from(err: SdkError<CancelQueryError, R>) -> Self
fn from(err: SdkError<CancelQueryError, R>) -> Self
source§impl<R> From<SdkError<CreateChannelError, R>> for Error
impl<R> From<SdkError<CreateChannelError, R>> for Error
source§fn from(err: SdkError<CreateChannelError, R>) -> Self
fn from(err: SdkError<CreateChannelError, R>) -> Self
source§impl<R> From<SdkError<CreateEventDataStoreError, R>> for Error
impl<R> From<SdkError<CreateEventDataStoreError, R>> for Error
source§fn from(err: SdkError<CreateEventDataStoreError, R>) -> Self
fn from(err: SdkError<CreateEventDataStoreError, R>) -> Self
source§impl<R> From<SdkError<CreateTrailError, R>> for Error
impl<R> From<SdkError<CreateTrailError, R>> for Error
source§fn from(err: SdkError<CreateTrailError, R>) -> Self
fn from(err: SdkError<CreateTrailError, R>) -> Self
source§impl<R> From<SdkError<DeleteChannelError, R>> for Error
impl<R> From<SdkError<DeleteChannelError, R>> for Error
source§fn from(err: SdkError<DeleteChannelError, R>) -> Self
fn from(err: SdkError<DeleteChannelError, R>) -> Self
source§impl<R> From<SdkError<DeleteEventDataStoreError, R>> for Error
impl<R> From<SdkError<DeleteEventDataStoreError, R>> for Error
source§fn from(err: SdkError<DeleteEventDataStoreError, R>) -> Self
fn from(err: SdkError<DeleteEventDataStoreError, R>) -> Self
source§impl<R> From<SdkError<DeleteResourcePolicyError, R>> for Error
impl<R> From<SdkError<DeleteResourcePolicyError, R>> for Error
source§fn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self
fn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self
source§impl<R> From<SdkError<DeleteTrailError, R>> for Error
impl<R> From<SdkError<DeleteTrailError, R>> for Error
source§fn from(err: SdkError<DeleteTrailError, R>) -> Self
fn from(err: SdkError<DeleteTrailError, R>) -> Self
source§impl<R> From<SdkError<DeregisterOrganizationDelegatedAdminError, R>> for Error
impl<R> From<SdkError<DeregisterOrganizationDelegatedAdminError, R>> for Error
source§fn from(err: SdkError<DeregisterOrganizationDelegatedAdminError, R>) -> Self
fn from(err: SdkError<DeregisterOrganizationDelegatedAdminError, R>) -> Self
source§impl<R> From<SdkError<DescribeQueryError, R>> for Error
impl<R> From<SdkError<DescribeQueryError, R>> for Error
source§fn from(err: SdkError<DescribeQueryError, R>) -> Self
fn from(err: SdkError<DescribeQueryError, R>) -> Self
source§impl<R> From<SdkError<DescribeTrailsError, R>> for Error
impl<R> From<SdkError<DescribeTrailsError, R>> for Error
source§fn from(err: SdkError<DescribeTrailsError, R>) -> Self
fn from(err: SdkError<DescribeTrailsError, R>) -> Self
source§impl<R> From<SdkError<DisableFederationError, R>> for Error
impl<R> From<SdkError<DisableFederationError, R>> for Error
source§fn from(err: SdkError<DisableFederationError, R>) -> Self
fn from(err: SdkError<DisableFederationError, R>) -> Self
source§impl<R> From<SdkError<EnableFederationError, R>> for Error
impl<R> From<SdkError<EnableFederationError, R>> for Error
source§fn from(err: SdkError<EnableFederationError, R>) -> Self
fn from(err: SdkError<EnableFederationError, R>) -> Self
source§impl<R> From<SdkError<GetChannelError, R>> for Error
impl<R> From<SdkError<GetChannelError, R>> for Error
source§fn from(err: SdkError<GetChannelError, R>) -> Self
fn from(err: SdkError<GetChannelError, R>) -> Self
source§impl<R> From<SdkError<GetEventDataStoreError, R>> for Error
impl<R> From<SdkError<GetEventDataStoreError, R>> for Error
source§fn from(err: SdkError<GetEventDataStoreError, R>) -> Self
fn from(err: SdkError<GetEventDataStoreError, R>) -> Self
source§impl<R> From<SdkError<GetEventSelectorsError, R>> for Error
impl<R> From<SdkError<GetEventSelectorsError, R>> for Error
source§fn from(err: SdkError<GetEventSelectorsError, R>) -> Self
fn from(err: SdkError<GetEventSelectorsError, R>) -> Self
source§impl<R> From<SdkError<GetImportError, R>> for Error
impl<R> From<SdkError<GetImportError, R>> for Error
source§fn from(err: SdkError<GetImportError, R>) -> Self
fn from(err: SdkError<GetImportError, R>) -> Self
source§impl<R> From<SdkError<GetInsightSelectorsError, R>> for Error
impl<R> From<SdkError<GetInsightSelectorsError, R>> for Error
source§fn from(err: SdkError<GetInsightSelectorsError, R>) -> Self
fn from(err: SdkError<GetInsightSelectorsError, R>) -> Self
source§impl<R> From<SdkError<GetQueryResultsError, R>> for Error
impl<R> From<SdkError<GetQueryResultsError, R>> for Error
source§fn from(err: SdkError<GetQueryResultsError, R>) -> Self
fn from(err: SdkError<GetQueryResultsError, R>) -> Self
source§impl<R> From<SdkError<GetResourcePolicyError, R>> for Error
impl<R> From<SdkError<GetResourcePolicyError, R>> for Error
source§fn from(err: SdkError<GetResourcePolicyError, R>) -> Self
fn from(err: SdkError<GetResourcePolicyError, R>) -> Self
source§impl<R> From<SdkError<GetTrailError, R>> for Error
impl<R> From<SdkError<GetTrailError, R>> for Error
source§fn from(err: SdkError<GetTrailError, R>) -> Self
fn from(err: SdkError<GetTrailError, R>) -> Self
source§impl<R> From<SdkError<GetTrailStatusError, R>> for Error
impl<R> From<SdkError<GetTrailStatusError, R>> for Error
source§fn from(err: SdkError<GetTrailStatusError, R>) -> Self
fn from(err: SdkError<GetTrailStatusError, R>) -> Self
source§impl<R> From<SdkError<ListChannelsError, R>> for Error
impl<R> From<SdkError<ListChannelsError, R>> for Error
source§fn from(err: SdkError<ListChannelsError, R>) -> Self
fn from(err: SdkError<ListChannelsError, R>) -> Self
source§impl<R> From<SdkError<ListEventDataStoresError, R>> for Error
impl<R> From<SdkError<ListEventDataStoresError, R>> for Error
source§fn from(err: SdkError<ListEventDataStoresError, R>) -> Self
fn from(err: SdkError<ListEventDataStoresError, R>) -> Self
source§impl<R> From<SdkError<ListImportFailuresError, R>> for Error
impl<R> From<SdkError<ListImportFailuresError, R>> for Error
source§fn from(err: SdkError<ListImportFailuresError, R>) -> Self
fn from(err: SdkError<ListImportFailuresError, R>) -> Self
source§impl<R> From<SdkError<ListImportsError, R>> for Error
impl<R> From<SdkError<ListImportsError, R>> for Error
source§fn from(err: SdkError<ListImportsError, R>) -> Self
fn from(err: SdkError<ListImportsError, R>) -> Self
source§impl<R> From<SdkError<ListInsightsMetricDataError, R>> for Error
impl<R> From<SdkError<ListInsightsMetricDataError, R>> for Error
source§fn from(err: SdkError<ListInsightsMetricDataError, R>) -> Self
fn from(err: SdkError<ListInsightsMetricDataError, R>) -> Self
source§impl<R> From<SdkError<ListPublicKeysError, R>> for Error
impl<R> From<SdkError<ListPublicKeysError, R>> for Error
source§fn from(err: SdkError<ListPublicKeysError, R>) -> Self
fn from(err: SdkError<ListPublicKeysError, R>) -> Self
source§impl<R> From<SdkError<ListQueriesError, R>> for Error
impl<R> From<SdkError<ListQueriesError, R>> for Error
source§fn from(err: SdkError<ListQueriesError, R>) -> Self
fn from(err: SdkError<ListQueriesError, R>) -> Self
source§impl<R> From<SdkError<ListTagsError, R>> for Error
impl<R> From<SdkError<ListTagsError, R>> for Error
source§fn from(err: SdkError<ListTagsError, R>) -> Self
fn from(err: SdkError<ListTagsError, R>) -> Self
source§impl<R> From<SdkError<ListTrailsError, R>> for Error
impl<R> From<SdkError<ListTrailsError, R>> for Error
source§fn from(err: SdkError<ListTrailsError, R>) -> Self
fn from(err: SdkError<ListTrailsError, R>) -> Self
source§impl<R> From<SdkError<LookupEventsError, R>> for Error
impl<R> From<SdkError<LookupEventsError, R>> for Error
source§fn from(err: SdkError<LookupEventsError, R>) -> Self
fn from(err: SdkError<LookupEventsError, R>) -> Self
source§impl<R> From<SdkError<PutEventSelectorsError, R>> for Error
impl<R> From<SdkError<PutEventSelectorsError, R>> for Error
source§fn from(err: SdkError<PutEventSelectorsError, R>) -> Self
fn from(err: SdkError<PutEventSelectorsError, R>) -> Self
source§impl<R> From<SdkError<PutInsightSelectorsError, R>> for Error
impl<R> From<SdkError<PutInsightSelectorsError, R>> for Error
source§fn from(err: SdkError<PutInsightSelectorsError, R>) -> Self
fn from(err: SdkError<PutInsightSelectorsError, R>) -> Self
source§impl<R> From<SdkError<PutResourcePolicyError, R>> for Error
impl<R> From<SdkError<PutResourcePolicyError, R>> for Error
source§fn from(err: SdkError<PutResourcePolicyError, R>) -> Self
fn from(err: SdkError<PutResourcePolicyError, R>) -> Self
source§impl<R> From<SdkError<RegisterOrganizationDelegatedAdminError, R>> for Error
impl<R> From<SdkError<RegisterOrganizationDelegatedAdminError, R>> for Error
source§fn from(err: SdkError<RegisterOrganizationDelegatedAdminError, R>) -> Self
fn from(err: SdkError<RegisterOrganizationDelegatedAdminError, R>) -> Self
source§impl<R> From<SdkError<RemoveTagsError, R>> for Error
impl<R> From<SdkError<RemoveTagsError, R>> for Error
source§fn from(err: SdkError<RemoveTagsError, R>) -> Self
fn from(err: SdkError<RemoveTagsError, R>) -> Self
source§impl<R> From<SdkError<RestoreEventDataStoreError, R>> for Error
impl<R> From<SdkError<RestoreEventDataStoreError, R>> for Error
source§fn from(err: SdkError<RestoreEventDataStoreError, R>) -> Self
fn from(err: SdkError<RestoreEventDataStoreError, R>) -> Self
source§impl<R> From<SdkError<StartEventDataStoreIngestionError, R>> for Error
impl<R> From<SdkError<StartEventDataStoreIngestionError, R>> for Error
source§fn from(err: SdkError<StartEventDataStoreIngestionError, R>) -> Self
fn from(err: SdkError<StartEventDataStoreIngestionError, R>) -> Self
source§impl<R> From<SdkError<StartImportError, R>> for Error
impl<R> From<SdkError<StartImportError, R>> for Error
source§fn from(err: SdkError<StartImportError, R>) -> Self
fn from(err: SdkError<StartImportError, R>) -> Self
source§impl<R> From<SdkError<StartLoggingError, R>> for Error
impl<R> From<SdkError<StartLoggingError, R>> for Error
source§fn from(err: SdkError<StartLoggingError, R>) -> Self
fn from(err: SdkError<StartLoggingError, R>) -> Self
source§impl<R> From<SdkError<StartQueryError, R>> for Error
impl<R> From<SdkError<StartQueryError, R>> for Error
source§fn from(err: SdkError<StartQueryError, R>) -> Self
fn from(err: SdkError<StartQueryError, R>) -> Self
source§impl<R> From<SdkError<StopEventDataStoreIngestionError, R>> for Error
impl<R> From<SdkError<StopEventDataStoreIngestionError, R>> for Error
source§fn from(err: SdkError<StopEventDataStoreIngestionError, R>) -> Self
fn from(err: SdkError<StopEventDataStoreIngestionError, R>) -> Self
source§impl<R> From<SdkError<StopImportError, R>> for Error
impl<R> From<SdkError<StopImportError, R>> for Error
source§fn from(err: SdkError<StopImportError, R>) -> Self
fn from(err: SdkError<StopImportError, R>) -> Self
source§impl<R> From<SdkError<StopLoggingError, R>> for Error
impl<R> From<SdkError<StopLoggingError, R>> for Error
source§fn from(err: SdkError<StopLoggingError, R>) -> Self
fn from(err: SdkError<StopLoggingError, R>) -> Self
source§impl<R> From<SdkError<UpdateChannelError, R>> for Error
impl<R> From<SdkError<UpdateChannelError, R>> for Error
source§fn from(err: SdkError<UpdateChannelError, R>) -> Self
fn from(err: SdkError<UpdateChannelError, R>) -> Self
source§impl<R> From<SdkError<UpdateEventDataStoreError, R>> for Error
impl<R> From<SdkError<UpdateEventDataStoreError, R>> for Error
source§fn from(err: SdkError<UpdateEventDataStoreError, R>) -> Self
fn from(err: SdkError<UpdateEventDataStoreError, R>) -> Self
source§impl<R> From<SdkError<UpdateTrailError, R>> for Error
impl<R> From<SdkError<UpdateTrailError, R>> for Error
source§fn from(err: SdkError<UpdateTrailError, R>) -> Self
fn from(err: SdkError<UpdateTrailError, R>) -> Self
source§impl From<StartEventDataStoreIngestionError> for Error
impl From<StartEventDataStoreIngestionError> for Error
source§fn from(err: StartEventDataStoreIngestionError) -> Self
fn from(err: StartEventDataStoreIngestionError) -> Self
source§impl From<StartImportError> for Error
impl From<StartImportError> for Error
source§fn from(err: StartImportError) -> Self
fn from(err: StartImportError) -> Self
source§impl From<StartLoggingError> for Error
impl From<StartLoggingError> for Error
source§fn from(err: StartLoggingError) -> Self
fn from(err: StartLoggingError) -> Self
source§impl From<StartQueryError> for Error
impl From<StartQueryError> for Error
source§fn from(err: StartQueryError) -> Self
fn from(err: StartQueryError) -> Self
source§impl From<StopEventDataStoreIngestionError> for Error
impl From<StopEventDataStoreIngestionError> for Error
source§fn from(err: StopEventDataStoreIngestionError) -> Self
fn from(err: StopEventDataStoreIngestionError) -> Self
source§impl From<StopImportError> for Error
impl From<StopImportError> for Error
source§fn from(err: StopImportError) -> Self
fn from(err: StopImportError) -> Self
source§impl From<StopLoggingError> for Error
impl From<StopLoggingError> for Error
source§fn from(err: StopLoggingError) -> Self
fn from(err: StopLoggingError) -> Self
source§impl From<UpdateChannelError> for Error
impl From<UpdateChannelError> for Error
source§fn from(err: UpdateChannelError) -> Self
fn from(err: UpdateChannelError) -> Self
source§impl From<UpdateEventDataStoreError> for Error
impl From<UpdateEventDataStoreError> for Error
source§fn from(err: UpdateEventDataStoreError) -> Self
fn from(err: UpdateEventDataStoreError) -> Self
source§impl From<UpdateTrailError> for Error
impl From<UpdateTrailError> for Error
source§fn from(err: UpdateTrailError) -> Self
fn from(err: UpdateTrailError) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more