Enum aws_sdk_athena::Error
source · #[non_exhaustive]pub enum Error {
InternalServerException(InternalServerException),
InvalidRequestException(InvalidRequestException),
MetadataException(MetadataException),
ResourceNotFoundException(ResourceNotFoundException),
SessionAlreadyExistsException(SessionAlreadyExistsException),
TooManyRequestsException(TooManyRequestsException),
Unhandled(Unhandled),
}Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServerException(InternalServerException)
Indicates a platform issue, which may be due to a transient condition or outage.
InvalidRequestException(InvalidRequestException)
Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.
MetadataException(MetadataException)
An exception that Athena received when it called a custom metastore. Occurs if the error is not caused by user input (InvalidRequestException) or from the Athena platform (InternalServerException). For example, if a user-created Lambda function is missing permissions, the Lambda 4XX exception is returned in a MetadataException.
ResourceNotFoundException(ResourceNotFoundException)
A resource, such as a workgroup, was not found.
SessionAlreadyExistsException(SessionAlreadyExistsException)
The specified session already exists.
TooManyRequestsException(TooManyRequestsException)
Indicates that the request was throttled.
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<BatchGetNamedQueryError> for Error
impl From<BatchGetNamedQueryError> for Error
source§fn from(err: BatchGetNamedQueryError) -> Self
fn from(err: BatchGetNamedQueryError) -> Self
source§impl From<BatchGetPreparedStatementError> for Error
impl From<BatchGetPreparedStatementError> for Error
source§fn from(err: BatchGetPreparedStatementError) -> Self
fn from(err: BatchGetPreparedStatementError) -> Self
source§impl From<BatchGetQueryExecutionError> for Error
impl From<BatchGetQueryExecutionError> for Error
source§fn from(err: BatchGetQueryExecutionError) -> Self
fn from(err: BatchGetQueryExecutionError) -> 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<CancelCapacityReservationError> for Error
impl From<CancelCapacityReservationError> for Error
source§fn from(err: CancelCapacityReservationError) -> Self
fn from(err: CancelCapacityReservationError) -> Self
source§impl From<CreateCapacityReservationError> for Error
impl From<CreateCapacityReservationError> for Error
source§fn from(err: CreateCapacityReservationError) -> Self
fn from(err: CreateCapacityReservationError) -> Self
source§impl From<CreateDataCatalogError> for Error
impl From<CreateDataCatalogError> for Error
source§fn from(err: CreateDataCatalogError) -> Self
fn from(err: CreateDataCatalogError) -> Self
source§impl From<CreateNamedQueryError> for Error
impl From<CreateNamedQueryError> for Error
source§fn from(err: CreateNamedQueryError) -> Self
fn from(err: CreateNamedQueryError) -> Self
source§impl From<CreateNotebookError> for Error
impl From<CreateNotebookError> for Error
source§fn from(err: CreateNotebookError) -> Self
fn from(err: CreateNotebookError) -> Self
source§impl From<CreatePreparedStatementError> for Error
impl From<CreatePreparedStatementError> for Error
source§fn from(err: CreatePreparedStatementError) -> Self
fn from(err: CreatePreparedStatementError) -> Self
source§impl From<CreatePresignedNotebookUrlError> for Error
impl From<CreatePresignedNotebookUrlError> for Error
source§fn from(err: CreatePresignedNotebookUrlError) -> Self
fn from(err: CreatePresignedNotebookUrlError) -> Self
source§impl From<CreateWorkGroupError> for Error
impl From<CreateWorkGroupError> for Error
source§fn from(err: CreateWorkGroupError) -> Self
fn from(err: CreateWorkGroupError) -> Self
source§impl From<DeleteCapacityReservationError> for Error
impl From<DeleteCapacityReservationError> for Error
source§fn from(err: DeleteCapacityReservationError) -> Self
fn from(err: DeleteCapacityReservationError) -> Self
source§impl From<DeleteDataCatalogError> for Error
impl From<DeleteDataCatalogError> for Error
source§fn from(err: DeleteDataCatalogError) -> Self
fn from(err: DeleteDataCatalogError) -> Self
source§impl From<DeleteNamedQueryError> for Error
impl From<DeleteNamedQueryError> for Error
source§fn from(err: DeleteNamedQueryError) -> Self
fn from(err: DeleteNamedQueryError) -> Self
source§impl From<DeleteNotebookError> for Error
impl From<DeleteNotebookError> for Error
source§fn from(err: DeleteNotebookError) -> Self
fn from(err: DeleteNotebookError) -> Self
source§impl From<DeletePreparedStatementError> for Error
impl From<DeletePreparedStatementError> for Error
source§fn from(err: DeletePreparedStatementError) -> Self
fn from(err: DeletePreparedStatementError) -> Self
source§impl From<DeleteWorkGroupError> for Error
impl From<DeleteWorkGroupError> for Error
source§fn from(err: DeleteWorkGroupError) -> Self
fn from(err: DeleteWorkGroupError) -> Self
source§impl From<ExportNotebookError> for Error
impl From<ExportNotebookError> for Error
source§fn from(err: ExportNotebookError) -> Self
fn from(err: ExportNotebookError) -> Self
source§impl From<GetCalculationExecutionCodeError> for Error
impl From<GetCalculationExecutionCodeError> for Error
source§fn from(err: GetCalculationExecutionCodeError) -> Self
fn from(err: GetCalculationExecutionCodeError) -> Self
source§impl From<GetCalculationExecutionError> for Error
impl From<GetCalculationExecutionError> for Error
source§fn from(err: GetCalculationExecutionError) -> Self
fn from(err: GetCalculationExecutionError) -> Self
source§impl From<GetCalculationExecutionStatusError> for Error
impl From<GetCalculationExecutionStatusError> for Error
source§fn from(err: GetCalculationExecutionStatusError) -> Self
fn from(err: GetCalculationExecutionStatusError) -> Self
source§impl From<GetCapacityAssignmentConfigurationError> for Error
impl From<GetCapacityAssignmentConfigurationError> for Error
source§fn from(err: GetCapacityAssignmentConfigurationError) -> Self
fn from(err: GetCapacityAssignmentConfigurationError) -> Self
source§impl From<GetCapacityReservationError> for Error
impl From<GetCapacityReservationError> for Error
source§fn from(err: GetCapacityReservationError) -> Self
fn from(err: GetCapacityReservationError) -> Self
source§impl From<GetDataCatalogError> for Error
impl From<GetDataCatalogError> for Error
source§fn from(err: GetDataCatalogError) -> Self
fn from(err: GetDataCatalogError) -> Self
source§impl From<GetDatabaseError> for Error
impl From<GetDatabaseError> for Error
source§fn from(err: GetDatabaseError) -> Self
fn from(err: GetDatabaseError) -> Self
source§impl From<GetNamedQueryError> for Error
impl From<GetNamedQueryError> for Error
source§fn from(err: GetNamedQueryError) -> Self
fn from(err: GetNamedQueryError) -> Self
source§impl From<GetNotebookMetadataError> for Error
impl From<GetNotebookMetadataError> for Error
source§fn from(err: GetNotebookMetadataError) -> Self
fn from(err: GetNotebookMetadataError) -> Self
source§impl From<GetPreparedStatementError> for Error
impl From<GetPreparedStatementError> for Error
source§fn from(err: GetPreparedStatementError) -> Self
fn from(err: GetPreparedStatementError) -> Self
source§impl From<GetQueryExecutionError> for Error
impl From<GetQueryExecutionError> for Error
source§fn from(err: GetQueryExecutionError) -> Self
fn from(err: GetQueryExecutionError) -> 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<GetQueryRuntimeStatisticsError> for Error
impl From<GetQueryRuntimeStatisticsError> for Error
source§fn from(err: GetQueryRuntimeStatisticsError) -> Self
fn from(err: GetQueryRuntimeStatisticsError) -> Self
source§impl From<GetSessionError> for Error
impl From<GetSessionError> for Error
source§fn from(err: GetSessionError) -> Self
fn from(err: GetSessionError) -> Self
source§impl From<GetSessionStatusError> for Error
impl From<GetSessionStatusError> for Error
source§fn from(err: GetSessionStatusError) -> Self
fn from(err: GetSessionStatusError) -> Self
source§impl From<GetTableMetadataError> for Error
impl From<GetTableMetadataError> for Error
source§fn from(err: GetTableMetadataError) -> Self
fn from(err: GetTableMetadataError) -> Self
source§impl From<GetWorkGroupError> for Error
impl From<GetWorkGroupError> for Error
source§fn from(err: GetWorkGroupError) -> Self
fn from(err: GetWorkGroupError) -> Self
source§impl From<ImportNotebookError> for Error
impl From<ImportNotebookError> for Error
source§fn from(err: ImportNotebookError) -> Self
fn from(err: ImportNotebookError) -> Self
source§impl From<ListApplicationDPUSizesError> for Error
impl From<ListApplicationDPUSizesError> for Error
source§fn from(err: ListApplicationDPUSizesError) -> Self
fn from(err: ListApplicationDPUSizesError) -> Self
source§impl From<ListCalculationExecutionsError> for Error
impl From<ListCalculationExecutionsError> for Error
source§fn from(err: ListCalculationExecutionsError) -> Self
fn from(err: ListCalculationExecutionsError) -> Self
source§impl From<ListCapacityReservationsError> for Error
impl From<ListCapacityReservationsError> for Error
source§fn from(err: ListCapacityReservationsError) -> Self
fn from(err: ListCapacityReservationsError) -> Self
source§impl From<ListDataCatalogsError> for Error
impl From<ListDataCatalogsError> for Error
source§fn from(err: ListDataCatalogsError) -> Self
fn from(err: ListDataCatalogsError) -> Self
source§impl From<ListDatabasesError> for Error
impl From<ListDatabasesError> for Error
source§fn from(err: ListDatabasesError) -> Self
fn from(err: ListDatabasesError) -> Self
source§impl From<ListEngineVersionsError> for Error
impl From<ListEngineVersionsError> for Error
source§fn from(err: ListEngineVersionsError) -> Self
fn from(err: ListEngineVersionsError) -> Self
source§impl From<ListExecutorsError> for Error
impl From<ListExecutorsError> for Error
source§fn from(err: ListExecutorsError) -> Self
fn from(err: ListExecutorsError) -> Self
source§impl From<ListNamedQueriesError> for Error
impl From<ListNamedQueriesError> for Error
source§fn from(err: ListNamedQueriesError) -> Self
fn from(err: ListNamedQueriesError) -> Self
source§impl From<ListNotebookMetadataError> for Error
impl From<ListNotebookMetadataError> for Error
source§fn from(err: ListNotebookMetadataError) -> Self
fn from(err: ListNotebookMetadataError) -> Self
source§impl From<ListNotebookSessionsError> for Error
impl From<ListNotebookSessionsError> for Error
source§fn from(err: ListNotebookSessionsError) -> Self
fn from(err: ListNotebookSessionsError) -> Self
source§impl From<ListPreparedStatementsError> for Error
impl From<ListPreparedStatementsError> for Error
source§fn from(err: ListPreparedStatementsError) -> Self
fn from(err: ListPreparedStatementsError) -> Self
source§impl From<ListQueryExecutionsError> for Error
impl From<ListQueryExecutionsError> for Error
source§fn from(err: ListQueryExecutionsError) -> Self
fn from(err: ListQueryExecutionsError) -> Self
source§impl From<ListSessionsError> for Error
impl From<ListSessionsError> for Error
source§fn from(err: ListSessionsError) -> Self
fn from(err: ListSessionsError) -> Self
source§impl From<ListTableMetadataError> for Error
impl From<ListTableMetadataError> for Error
source§fn from(err: ListTableMetadataError) -> Self
fn from(err: ListTableMetadataError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<ListWorkGroupsError> for Error
impl From<ListWorkGroupsError> for Error
source§fn from(err: ListWorkGroupsError) -> Self
fn from(err: ListWorkGroupsError) -> Self
source§impl From<PutCapacityAssignmentConfigurationError> for Error
impl From<PutCapacityAssignmentConfigurationError> for Error
source§fn from(err: PutCapacityAssignmentConfigurationError) -> Self
fn from(err: PutCapacityAssignmentConfigurationError) -> Self
source§impl<R> From<SdkError<BatchGetNamedQueryError, R>> for Error
impl<R> From<SdkError<BatchGetNamedQueryError, R>> for Error
source§fn from(err: SdkError<BatchGetNamedQueryError, R>) -> Self
fn from(err: SdkError<BatchGetNamedQueryError, R>) -> Self
source§impl<R> From<SdkError<BatchGetPreparedStatementError, R>> for Error
impl<R> From<SdkError<BatchGetPreparedStatementError, R>> for Error
source§fn from(err: SdkError<BatchGetPreparedStatementError, R>) -> Self
fn from(err: SdkError<BatchGetPreparedStatementError, R>) -> Self
source§impl<R> From<SdkError<BatchGetQueryExecutionError, R>> for Error
impl<R> From<SdkError<BatchGetQueryExecutionError, R>> for Error
source§fn from(err: SdkError<BatchGetQueryExecutionError, R>) -> Self
fn from(err: SdkError<BatchGetQueryExecutionError, R>) -> Self
source§impl<R> From<SdkError<CancelCapacityReservationError, R>> for Error
impl<R> From<SdkError<CancelCapacityReservationError, R>> for Error
source§fn from(err: SdkError<CancelCapacityReservationError, R>) -> Self
fn from(err: SdkError<CancelCapacityReservationError, R>) -> Self
source§impl<R> From<SdkError<CreateCapacityReservationError, R>> for Error
impl<R> From<SdkError<CreateCapacityReservationError, R>> for Error
source§fn from(err: SdkError<CreateCapacityReservationError, R>) -> Self
fn from(err: SdkError<CreateCapacityReservationError, R>) -> Self
source§impl<R> From<SdkError<CreateDataCatalogError, R>> for Error
impl<R> From<SdkError<CreateDataCatalogError, R>> for Error
source§fn from(err: SdkError<CreateDataCatalogError, R>) -> Self
fn from(err: SdkError<CreateDataCatalogError, R>) -> Self
source§impl<R> From<SdkError<CreateNamedQueryError, R>> for Error
impl<R> From<SdkError<CreateNamedQueryError, R>> for Error
source§fn from(err: SdkError<CreateNamedQueryError, R>) -> Self
fn from(err: SdkError<CreateNamedQueryError, R>) -> Self
source§impl<R> From<SdkError<CreateNotebookError, R>> for Error
impl<R> From<SdkError<CreateNotebookError, R>> for Error
source§fn from(err: SdkError<CreateNotebookError, R>) -> Self
fn from(err: SdkError<CreateNotebookError, R>) -> Self
source§impl<R> From<SdkError<CreatePreparedStatementError, R>> for Error
impl<R> From<SdkError<CreatePreparedStatementError, R>> for Error
source§fn from(err: SdkError<CreatePreparedStatementError, R>) -> Self
fn from(err: SdkError<CreatePreparedStatementError, R>) -> Self
source§impl<R> From<SdkError<CreatePresignedNotebookUrlError, R>> for Error
impl<R> From<SdkError<CreatePresignedNotebookUrlError, R>> for Error
source§fn from(err: SdkError<CreatePresignedNotebookUrlError, R>) -> Self
fn from(err: SdkError<CreatePresignedNotebookUrlError, R>) -> Self
source§impl<R> From<SdkError<CreateWorkGroupError, R>> for Error
impl<R> From<SdkError<CreateWorkGroupError, R>> for Error
source§fn from(err: SdkError<CreateWorkGroupError, R>) -> Self
fn from(err: SdkError<CreateWorkGroupError, R>) -> Self
source§impl<R> From<SdkError<DeleteCapacityReservationError, R>> for Error
impl<R> From<SdkError<DeleteCapacityReservationError, R>> for Error
source§fn from(err: SdkError<DeleteCapacityReservationError, R>) -> Self
fn from(err: SdkError<DeleteCapacityReservationError, R>) -> Self
source§impl<R> From<SdkError<DeleteDataCatalogError, R>> for Error
impl<R> From<SdkError<DeleteDataCatalogError, R>> for Error
source§fn from(err: SdkError<DeleteDataCatalogError, R>) -> Self
fn from(err: SdkError<DeleteDataCatalogError, R>) -> Self
source§impl<R> From<SdkError<DeleteNamedQueryError, R>> for Error
impl<R> From<SdkError<DeleteNamedQueryError, R>> for Error
source§fn from(err: SdkError<DeleteNamedQueryError, R>) -> Self
fn from(err: SdkError<DeleteNamedQueryError, R>) -> Self
source§impl<R> From<SdkError<DeleteNotebookError, R>> for Error
impl<R> From<SdkError<DeleteNotebookError, R>> for Error
source§fn from(err: SdkError<DeleteNotebookError, R>) -> Self
fn from(err: SdkError<DeleteNotebookError, R>) -> Self
source§impl<R> From<SdkError<DeletePreparedStatementError, R>> for Error
impl<R> From<SdkError<DeletePreparedStatementError, R>> for Error
source§fn from(err: SdkError<DeletePreparedStatementError, R>) -> Self
fn from(err: SdkError<DeletePreparedStatementError, R>) -> Self
source§impl<R> From<SdkError<DeleteWorkGroupError, R>> for Error
impl<R> From<SdkError<DeleteWorkGroupError, R>> for Error
source§fn from(err: SdkError<DeleteWorkGroupError, R>) -> Self
fn from(err: SdkError<DeleteWorkGroupError, R>) -> Self
source§impl<R> From<SdkError<ExportNotebookError, R>> for Error
impl<R> From<SdkError<ExportNotebookError, R>> for Error
source§fn from(err: SdkError<ExportNotebookError, R>) -> Self
fn from(err: SdkError<ExportNotebookError, R>) -> Self
source§impl<R> From<SdkError<GetCalculationExecutionCodeError, R>> for Error
impl<R> From<SdkError<GetCalculationExecutionCodeError, R>> for Error
source§fn from(err: SdkError<GetCalculationExecutionCodeError, R>) -> Self
fn from(err: SdkError<GetCalculationExecutionCodeError, R>) -> Self
source§impl<R> From<SdkError<GetCalculationExecutionError, R>> for Error
impl<R> From<SdkError<GetCalculationExecutionError, R>> for Error
source§fn from(err: SdkError<GetCalculationExecutionError, R>) -> Self
fn from(err: SdkError<GetCalculationExecutionError, R>) -> Self
source§impl<R> From<SdkError<GetCalculationExecutionStatusError, R>> for Error
impl<R> From<SdkError<GetCalculationExecutionStatusError, R>> for Error
source§fn from(err: SdkError<GetCalculationExecutionStatusError, R>) -> Self
fn from(err: SdkError<GetCalculationExecutionStatusError, R>) -> Self
source§impl<R> From<SdkError<GetCapacityAssignmentConfigurationError, R>> for Error
impl<R> From<SdkError<GetCapacityAssignmentConfigurationError, R>> for Error
source§fn from(err: SdkError<GetCapacityAssignmentConfigurationError, R>) -> Self
fn from(err: SdkError<GetCapacityAssignmentConfigurationError, R>) -> Self
source§impl<R> From<SdkError<GetCapacityReservationError, R>> for Error
impl<R> From<SdkError<GetCapacityReservationError, R>> for Error
source§fn from(err: SdkError<GetCapacityReservationError, R>) -> Self
fn from(err: SdkError<GetCapacityReservationError, R>) -> Self
source§impl<R> From<SdkError<GetDataCatalogError, R>> for Error
impl<R> From<SdkError<GetDataCatalogError, R>> for Error
source§fn from(err: SdkError<GetDataCatalogError, R>) -> Self
fn from(err: SdkError<GetDataCatalogError, R>) -> Self
source§impl<R> From<SdkError<GetDatabaseError, R>> for Error
impl<R> From<SdkError<GetDatabaseError, R>> for Error
source§fn from(err: SdkError<GetDatabaseError, R>) -> Self
fn from(err: SdkError<GetDatabaseError, R>) -> Self
source§impl<R> From<SdkError<GetNamedQueryError, R>> for Error
impl<R> From<SdkError<GetNamedQueryError, R>> for Error
source§fn from(err: SdkError<GetNamedQueryError, R>) -> Self
fn from(err: SdkError<GetNamedQueryError, R>) -> Self
source§impl<R> From<SdkError<GetNotebookMetadataError, R>> for Error
impl<R> From<SdkError<GetNotebookMetadataError, R>> for Error
source§fn from(err: SdkError<GetNotebookMetadataError, R>) -> Self
fn from(err: SdkError<GetNotebookMetadataError, R>) -> Self
source§impl<R> From<SdkError<GetPreparedStatementError, R>> for Error
impl<R> From<SdkError<GetPreparedStatementError, R>> for Error
source§fn from(err: SdkError<GetPreparedStatementError, R>) -> Self
fn from(err: SdkError<GetPreparedStatementError, R>) -> Self
source§impl<R> From<SdkError<GetQueryExecutionError, R>> for Error
impl<R> From<SdkError<GetQueryExecutionError, R>> for Error
source§fn from(err: SdkError<GetQueryExecutionError, R>) -> Self
fn from(err: SdkError<GetQueryExecutionError, 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<GetQueryRuntimeStatisticsError, R>> for Error
impl<R> From<SdkError<GetQueryRuntimeStatisticsError, R>> for Error
source§fn from(err: SdkError<GetQueryRuntimeStatisticsError, R>) -> Self
fn from(err: SdkError<GetQueryRuntimeStatisticsError, R>) -> Self
source§impl<R> From<SdkError<GetSessionError, R>> for Error
impl<R> From<SdkError<GetSessionError, R>> for Error
source§fn from(err: SdkError<GetSessionError, R>) -> Self
fn from(err: SdkError<GetSessionError, R>) -> Self
source§impl<R> From<SdkError<GetSessionStatusError, R>> for Error
impl<R> From<SdkError<GetSessionStatusError, R>> for Error
source§fn from(err: SdkError<GetSessionStatusError, R>) -> Self
fn from(err: SdkError<GetSessionStatusError, R>) -> Self
source§impl<R> From<SdkError<GetTableMetadataError, R>> for Error
impl<R> From<SdkError<GetTableMetadataError, R>> for Error
source§fn from(err: SdkError<GetTableMetadataError, R>) -> Self
fn from(err: SdkError<GetTableMetadataError, R>) -> Self
source§impl<R> From<SdkError<GetWorkGroupError, R>> for Error
impl<R> From<SdkError<GetWorkGroupError, R>> for Error
source§fn from(err: SdkError<GetWorkGroupError, R>) -> Self
fn from(err: SdkError<GetWorkGroupError, R>) -> Self
source§impl<R> From<SdkError<ImportNotebookError, R>> for Error
impl<R> From<SdkError<ImportNotebookError, R>> for Error
source§fn from(err: SdkError<ImportNotebookError, R>) -> Self
fn from(err: SdkError<ImportNotebookError, R>) -> Self
source§impl<R> From<SdkError<ListApplicationDPUSizesError, R>> for Error
impl<R> From<SdkError<ListApplicationDPUSizesError, R>> for Error
source§fn from(err: SdkError<ListApplicationDPUSizesError, R>) -> Self
fn from(err: SdkError<ListApplicationDPUSizesError, R>) -> Self
source§impl<R> From<SdkError<ListCalculationExecutionsError, R>> for Error
impl<R> From<SdkError<ListCalculationExecutionsError, R>> for Error
source§fn from(err: SdkError<ListCalculationExecutionsError, R>) -> Self
fn from(err: SdkError<ListCalculationExecutionsError, R>) -> Self
source§impl<R> From<SdkError<ListCapacityReservationsError, R>> for Error
impl<R> From<SdkError<ListCapacityReservationsError, R>> for Error
source§fn from(err: SdkError<ListCapacityReservationsError, R>) -> Self
fn from(err: SdkError<ListCapacityReservationsError, R>) -> Self
source§impl<R> From<SdkError<ListDataCatalogsError, R>> for Error
impl<R> From<SdkError<ListDataCatalogsError, R>> for Error
source§fn from(err: SdkError<ListDataCatalogsError, R>) -> Self
fn from(err: SdkError<ListDataCatalogsError, R>) -> Self
source§impl<R> From<SdkError<ListDatabasesError, R>> for Error
impl<R> From<SdkError<ListDatabasesError, R>> for Error
source§fn from(err: SdkError<ListDatabasesError, R>) -> Self
fn from(err: SdkError<ListDatabasesError, R>) -> Self
source§impl<R> From<SdkError<ListEngineVersionsError, R>> for Error
impl<R> From<SdkError<ListEngineVersionsError, R>> for Error
source§fn from(err: SdkError<ListEngineVersionsError, R>) -> Self
fn from(err: SdkError<ListEngineVersionsError, R>) -> Self
source§impl<R> From<SdkError<ListExecutorsError, R>> for Error
impl<R> From<SdkError<ListExecutorsError, R>> for Error
source§fn from(err: SdkError<ListExecutorsError, R>) -> Self
fn from(err: SdkError<ListExecutorsError, R>) -> Self
source§impl<R> From<SdkError<ListNamedQueriesError, R>> for Error
impl<R> From<SdkError<ListNamedQueriesError, R>> for Error
source§fn from(err: SdkError<ListNamedQueriesError, R>) -> Self
fn from(err: SdkError<ListNamedQueriesError, R>) -> Self
source§impl<R> From<SdkError<ListNotebookMetadataError, R>> for Error
impl<R> From<SdkError<ListNotebookMetadataError, R>> for Error
source§fn from(err: SdkError<ListNotebookMetadataError, R>) -> Self
fn from(err: SdkError<ListNotebookMetadataError, R>) -> Self
source§impl<R> From<SdkError<ListNotebookSessionsError, R>> for Error
impl<R> From<SdkError<ListNotebookSessionsError, R>> for Error
source§fn from(err: SdkError<ListNotebookSessionsError, R>) -> Self
fn from(err: SdkError<ListNotebookSessionsError, R>) -> Self
source§impl<R> From<SdkError<ListPreparedStatementsError, R>> for Error
impl<R> From<SdkError<ListPreparedStatementsError, R>> for Error
source§fn from(err: SdkError<ListPreparedStatementsError, R>) -> Self
fn from(err: SdkError<ListPreparedStatementsError, R>) -> Self
source§impl<R> From<SdkError<ListQueryExecutionsError, R>> for Error
impl<R> From<SdkError<ListQueryExecutionsError, R>> for Error
source§fn from(err: SdkError<ListQueryExecutionsError, R>) -> Self
fn from(err: SdkError<ListQueryExecutionsError, R>) -> Self
source§impl<R> From<SdkError<ListSessionsError, R>> for Error
impl<R> From<SdkError<ListSessionsError, R>> for Error
source§fn from(err: SdkError<ListSessionsError, R>) -> Self
fn from(err: SdkError<ListSessionsError, R>) -> Self
source§impl<R> From<SdkError<ListTableMetadataError, R>> for Error
impl<R> From<SdkError<ListTableMetadataError, R>> for Error
source§fn from(err: SdkError<ListTableMetadataError, R>) -> Self
fn from(err: SdkError<ListTableMetadataError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<ListWorkGroupsError, R>> for Error
impl<R> From<SdkError<ListWorkGroupsError, R>> for Error
source§fn from(err: SdkError<ListWorkGroupsError, R>) -> Self
fn from(err: SdkError<ListWorkGroupsError, R>) -> Self
source§impl<R> From<SdkError<PutCapacityAssignmentConfigurationError, R>> for Error
impl<R> From<SdkError<PutCapacityAssignmentConfigurationError, R>> for Error
source§fn from(err: SdkError<PutCapacityAssignmentConfigurationError, R>) -> Self
fn from(err: SdkError<PutCapacityAssignmentConfigurationError, R>) -> Self
source§impl<R> From<SdkError<StartCalculationExecutionError, R>> for Error
impl<R> From<SdkError<StartCalculationExecutionError, R>> for Error
source§fn from(err: SdkError<StartCalculationExecutionError, R>) -> Self
fn from(err: SdkError<StartCalculationExecutionError, R>) -> Self
source§impl<R> From<SdkError<StartQueryExecutionError, R>> for Error
impl<R> From<SdkError<StartQueryExecutionError, R>> for Error
source§fn from(err: SdkError<StartQueryExecutionError, R>) -> Self
fn from(err: SdkError<StartQueryExecutionError, R>) -> Self
source§impl<R> From<SdkError<StartSessionError, R>> for Error
impl<R> From<SdkError<StartSessionError, R>> for Error
source§fn from(err: SdkError<StartSessionError, R>) -> Self
fn from(err: SdkError<StartSessionError, R>) -> Self
source§impl<R> From<SdkError<StopCalculationExecutionError, R>> for Error
impl<R> From<SdkError<StopCalculationExecutionError, R>> for Error
source§fn from(err: SdkError<StopCalculationExecutionError, R>) -> Self
fn from(err: SdkError<StopCalculationExecutionError, R>) -> Self
source§impl<R> From<SdkError<StopQueryExecutionError, R>> for Error
impl<R> From<SdkError<StopQueryExecutionError, R>> for Error
source§fn from(err: SdkError<StopQueryExecutionError, R>) -> Self
fn from(err: SdkError<StopQueryExecutionError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<TerminateSessionError, R>> for Error
impl<R> From<SdkError<TerminateSessionError, R>> for Error
source§fn from(err: SdkError<TerminateSessionError, R>) -> Self
fn from(err: SdkError<TerminateSessionError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl<R> From<SdkError<UpdateCapacityReservationError, R>> for Error
impl<R> From<SdkError<UpdateCapacityReservationError, R>> for Error
source§fn from(err: SdkError<UpdateCapacityReservationError, R>) -> Self
fn from(err: SdkError<UpdateCapacityReservationError, R>) -> Self
source§impl<R> From<SdkError<UpdateDataCatalogError, R>> for Error
impl<R> From<SdkError<UpdateDataCatalogError, R>> for Error
source§fn from(err: SdkError<UpdateDataCatalogError, R>) -> Self
fn from(err: SdkError<UpdateDataCatalogError, R>) -> Self
source§impl<R> From<SdkError<UpdateNamedQueryError, R>> for Error
impl<R> From<SdkError<UpdateNamedQueryError, R>> for Error
source§fn from(err: SdkError<UpdateNamedQueryError, R>) -> Self
fn from(err: SdkError<UpdateNamedQueryError, R>) -> Self
source§impl<R> From<SdkError<UpdateNotebookError, R>> for Error
impl<R> From<SdkError<UpdateNotebookError, R>> for Error
source§fn from(err: SdkError<UpdateNotebookError, R>) -> Self
fn from(err: SdkError<UpdateNotebookError, R>) -> Self
source§impl<R> From<SdkError<UpdateNotebookMetadataError, R>> for Error
impl<R> From<SdkError<UpdateNotebookMetadataError, R>> for Error
source§fn from(err: SdkError<UpdateNotebookMetadataError, R>) -> Self
fn from(err: SdkError<UpdateNotebookMetadataError, R>) -> Self
source§impl<R> From<SdkError<UpdatePreparedStatementError, R>> for Error
impl<R> From<SdkError<UpdatePreparedStatementError, R>> for Error
source§fn from(err: SdkError<UpdatePreparedStatementError, R>) -> Self
fn from(err: SdkError<UpdatePreparedStatementError, R>) -> Self
source§impl<R> From<SdkError<UpdateWorkGroupError, R>> for Error
impl<R> From<SdkError<UpdateWorkGroupError, R>> for Error
source§fn from(err: SdkError<UpdateWorkGroupError, R>) -> Self
fn from(err: SdkError<UpdateWorkGroupError, R>) -> Self
source§impl From<StartCalculationExecutionError> for Error
impl From<StartCalculationExecutionError> for Error
source§fn from(err: StartCalculationExecutionError) -> Self
fn from(err: StartCalculationExecutionError) -> Self
source§impl From<StartQueryExecutionError> for Error
impl From<StartQueryExecutionError> for Error
source§fn from(err: StartQueryExecutionError) -> Self
fn from(err: StartQueryExecutionError) -> Self
source§impl From<StartSessionError> for Error
impl From<StartSessionError> for Error
source§fn from(err: StartSessionError) -> Self
fn from(err: StartSessionError) -> Self
source§impl From<StopCalculationExecutionError> for Error
impl From<StopCalculationExecutionError> for Error
source§fn from(err: StopCalculationExecutionError) -> Self
fn from(err: StopCalculationExecutionError) -> Self
source§impl From<StopQueryExecutionError> for Error
impl From<StopQueryExecutionError> for Error
source§fn from(err: StopQueryExecutionError) -> Self
fn from(err: StopQueryExecutionError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<TerminateSessionError> for Error
impl From<TerminateSessionError> for Error
source§fn from(err: TerminateSessionError) -> Self
fn from(err: TerminateSessionError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateCapacityReservationError> for Error
impl From<UpdateCapacityReservationError> for Error
source§fn from(err: UpdateCapacityReservationError) -> Self
fn from(err: UpdateCapacityReservationError) -> Self
source§impl From<UpdateDataCatalogError> for Error
impl From<UpdateDataCatalogError> for Error
source§fn from(err: UpdateDataCatalogError) -> Self
fn from(err: UpdateDataCatalogError) -> Self
source§impl From<UpdateNamedQueryError> for Error
impl From<UpdateNamedQueryError> for Error
source§fn from(err: UpdateNamedQueryError) -> Self
fn from(err: UpdateNamedQueryError) -> Self
source§impl From<UpdateNotebookError> for Error
impl From<UpdateNotebookError> for Error
source§fn from(err: UpdateNotebookError) -> Self
fn from(err: UpdateNotebookError) -> Self
source§impl From<UpdateNotebookMetadataError> for Error
impl From<UpdateNotebookMetadataError> for Error
source§fn from(err: UpdateNotebookMetadataError) -> Self
fn from(err: UpdateNotebookMetadataError) -> Self
source§impl From<UpdatePreparedStatementError> for Error
impl From<UpdatePreparedStatementError> for Error
source§fn from(err: UpdatePreparedStatementError) -> Self
fn from(err: UpdatePreparedStatementError) -> Self
source§impl From<UpdateWorkGroupError> for Error
impl From<UpdateWorkGroupError> for Error
source§fn from(err: UpdateWorkGroupError) -> Self
fn from(err: UpdateWorkGroupError) -> 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