aws_sdk_config::error

Trait ProvideErrorMetadata

Source
pub trait ProvideErrorMetadata {
    // Required method
    fn meta(&self) -> &ErrorMetadata;

    // Provided methods
    fn code(&self) -> Option<&str> { ... }
    fn message(&self) -> Option<&str> { ... }
}
Expand description

Trait to retrieve error metadata from a result

Required Methods§

Source

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.

Provided Methods§

Source

fn code(&self) -> Option<&str>

Returns the error code if it’s available.

Source

fn message(&self) -> Option<&str>

Returns the error message, if there is one.

Implementations on Foreign Types§

Source§

impl<E, R> ProvideErrorMetadata for SdkError<E, R>

Source§

impl<O, E> ProvideErrorMetadata for WaiterError<O, E>

Implementors§

Source§

impl ProvideErrorMetadata for Error

Source§

impl ProvideErrorMetadata for AssociateResourceTypesError

Source§

impl ProvideErrorMetadata for BatchGetAggregateResourceConfigError

Source§

impl ProvideErrorMetadata for BatchGetResourceConfigError

Source§

impl ProvideErrorMetadata for DeleteAggregationAuthorizationError

Source§

impl ProvideErrorMetadata for DeleteConfigRuleError

Source§

impl ProvideErrorMetadata for DeleteConfigurationAggregatorError

Source§

impl ProvideErrorMetadata for DeleteConfigurationRecorderError

Source§

impl ProvideErrorMetadata for DeleteConformancePackError

Source§

impl ProvideErrorMetadata for DeleteDeliveryChannelError

Source§

impl ProvideErrorMetadata for DeleteEvaluationResultsError

Source§

impl ProvideErrorMetadata for DeleteOrganizationConfigRuleError

Source§

impl ProvideErrorMetadata for DeleteOrganizationConformancePackError

Source§

impl ProvideErrorMetadata for DeletePendingAggregationRequestError

Source§

impl ProvideErrorMetadata for DeleteRemediationConfigurationError

Source§

impl ProvideErrorMetadata for DeleteRemediationExceptionsError

Source§

impl ProvideErrorMetadata for DeleteResourceConfigError

Source§

impl ProvideErrorMetadata for DeleteRetentionConfigurationError

Source§

impl ProvideErrorMetadata for DeleteServiceLinkedConfigurationRecorderError

Source§

impl ProvideErrorMetadata for DeleteStoredQueryError

Source§

impl ProvideErrorMetadata for DeliverConfigSnapshotError

Source§

impl ProvideErrorMetadata for DescribeAggregateComplianceByConfigRulesError

Source§

impl ProvideErrorMetadata for DescribeAggregateComplianceByConformancePacksError

Source§

impl ProvideErrorMetadata for DescribeAggregationAuthorizationsError

Source§

impl ProvideErrorMetadata for DescribeComplianceByConfigRuleError

Source§

impl ProvideErrorMetadata for DescribeComplianceByResourceError

Source§

impl ProvideErrorMetadata for DescribeConfigRuleEvaluationStatusError

Source§

impl ProvideErrorMetadata for DescribeConfigRulesError

Source§

impl ProvideErrorMetadata for DescribeConfigurationAggregatorSourcesStatusError

Source§

impl ProvideErrorMetadata for DescribeConfigurationAggregatorsError

Source§

impl ProvideErrorMetadata for DescribeConfigurationRecorderStatusError

Source§

impl ProvideErrorMetadata for DescribeConfigurationRecordersError

Source§

impl ProvideErrorMetadata for DescribeConformancePackComplianceError

Source§

impl ProvideErrorMetadata for DescribeConformancePackStatusError

Source§

impl ProvideErrorMetadata for DescribeConformancePacksError

Source§

impl ProvideErrorMetadata for DescribeDeliveryChannelStatusError

Source§

impl ProvideErrorMetadata for DescribeDeliveryChannelsError

Source§

impl ProvideErrorMetadata for DescribeOrganizationConfigRuleStatusesError

Source§

impl ProvideErrorMetadata for DescribeOrganizationConfigRulesError

Source§

impl ProvideErrorMetadata for DescribeOrganizationConformancePackStatusesError

Source§

impl ProvideErrorMetadata for DescribeOrganizationConformancePacksError

Source§

impl ProvideErrorMetadata for DescribePendingAggregationRequestsError

Source§

impl ProvideErrorMetadata for DescribeRemediationConfigurationsError

Source§

impl ProvideErrorMetadata for DescribeRemediationExceptionsError

Source§

impl ProvideErrorMetadata for DescribeRemediationExecutionStatusError

Source§

impl ProvideErrorMetadata for DescribeRetentionConfigurationsError

Source§

impl ProvideErrorMetadata for DisassociateResourceTypesError

Source§

impl ProvideErrorMetadata for GetAggregateComplianceDetailsByConfigRuleError

Source§

impl ProvideErrorMetadata for GetAggregateConfigRuleComplianceSummaryError

Source§

impl ProvideErrorMetadata for GetAggregateConformancePackComplianceSummaryError

Source§

impl ProvideErrorMetadata for GetAggregateDiscoveredResourceCountsError

Source§

impl ProvideErrorMetadata for GetAggregateResourceConfigError

Source§

impl ProvideErrorMetadata for GetComplianceDetailsByConfigRuleError

Source§

impl ProvideErrorMetadata for GetComplianceDetailsByResourceError

Source§

impl ProvideErrorMetadata for GetComplianceSummaryByConfigRuleError

Source§

impl ProvideErrorMetadata for GetComplianceSummaryByResourceTypeError

Source§

impl ProvideErrorMetadata for GetConformancePackComplianceDetailsError

Source§

impl ProvideErrorMetadata for GetConformancePackComplianceSummaryError

Source§

impl ProvideErrorMetadata for GetCustomRulePolicyError

Source§

impl ProvideErrorMetadata for GetDiscoveredResourceCountsError

Source§

impl ProvideErrorMetadata for GetOrganizationConfigRuleDetailedStatusError

Source§

impl ProvideErrorMetadata for GetOrganizationConformancePackDetailedStatusError

Source§

impl ProvideErrorMetadata for GetOrganizationCustomRulePolicyError

Source§

impl ProvideErrorMetadata for GetResourceConfigHistoryError

Source§

impl ProvideErrorMetadata for GetResourceEvaluationSummaryError

Source§

impl ProvideErrorMetadata for GetStoredQueryError

Source§

impl ProvideErrorMetadata for ListAggregateDiscoveredResourcesError

Source§

impl ProvideErrorMetadata for ListConfigurationRecordersError

Source§

impl ProvideErrorMetadata for ListConformancePackComplianceScoresError

Source§

impl ProvideErrorMetadata for ListDiscoveredResourcesError

Source§

impl ProvideErrorMetadata for ListResourceEvaluationsError

Source§

impl ProvideErrorMetadata for ListStoredQueriesError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for PutAggregationAuthorizationError

Source§

impl ProvideErrorMetadata for PutConfigRuleError

Source§

impl ProvideErrorMetadata for PutConfigurationAggregatorError

Source§

impl ProvideErrorMetadata for PutConfigurationRecorderError

Source§

impl ProvideErrorMetadata for PutConformancePackError

Source§

impl ProvideErrorMetadata for PutDeliveryChannelError

Source§

impl ProvideErrorMetadata for PutEvaluationsError

Source§

impl ProvideErrorMetadata for PutExternalEvaluationError

Source§

impl ProvideErrorMetadata for PutOrganizationConfigRuleError

Source§

impl ProvideErrorMetadata for PutOrganizationConformancePackError

Source§

impl ProvideErrorMetadata for PutRemediationConfigurationsError

Source§

impl ProvideErrorMetadata for PutRemediationExceptionsError

Source§

impl ProvideErrorMetadata for PutResourceConfigError

Source§

impl ProvideErrorMetadata for PutRetentionConfigurationError

Source§

impl ProvideErrorMetadata for PutServiceLinkedConfigurationRecorderError

Source§

impl ProvideErrorMetadata for PutStoredQueryError

Source§

impl ProvideErrorMetadata for SelectAggregateResourceConfigError

Source§

impl ProvideErrorMetadata for SelectResourceConfigError

Source§

impl ProvideErrorMetadata for StartConfigRulesEvaluationError

Source§

impl ProvideErrorMetadata for StartConfigurationRecorderError

Source§

impl ProvideErrorMetadata for StartRemediationExecutionError

Source§

impl ProvideErrorMetadata for StartResourceEvaluationError

Source§

impl ProvideErrorMetadata for StopConfigurationRecorderError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for ConformancePackTemplateValidationException

Source§

impl ProvideErrorMetadata for IdempotentParameterMismatch

Source§

impl ProvideErrorMetadata for InsufficientDeliveryPolicyException

Source§

impl ProvideErrorMetadata for InsufficientPermissionsException

Source§

impl ProvideErrorMetadata for InvalidConfigurationRecorderNameException

Source§

impl ProvideErrorMetadata for InvalidDeliveryChannelNameException

Source§

impl ProvideErrorMetadata for InvalidExpressionException

Source§

impl ProvideErrorMetadata for InvalidLimitException

Source§

impl ProvideErrorMetadata for InvalidNextTokenException

Source§

impl ProvideErrorMetadata for InvalidParameterValueException

Source§

impl ProvideErrorMetadata for InvalidRecordingGroupException

Source§

impl ProvideErrorMetadata for InvalidResultTokenException

Source§

impl ProvideErrorMetadata for InvalidRoleException

Source§

impl ProvideErrorMetadata for InvalidS3KeyPrefixException

Source§

impl ProvideErrorMetadata for InvalidS3KmsKeyArnException

Source§

impl ProvideErrorMetadata for InvalidSnsTopicArnException

Source§

impl ProvideErrorMetadata for InvalidTimeRangeException

Source§

impl ProvideErrorMetadata for LastDeliveryChannelDeleteFailedException

Source§

impl ProvideErrorMetadata for LimitExceededException

Source§

impl ProvideErrorMetadata for MaxActiveResourcesExceededException

Source§

impl ProvideErrorMetadata for MaxNumberOfConfigRulesExceededException

Source§

impl ProvideErrorMetadata for MaxNumberOfConfigurationRecordersExceededException

Source§

impl ProvideErrorMetadata for MaxNumberOfConformancePacksExceededException

Source§

impl ProvideErrorMetadata for MaxNumberOfDeliveryChannelsExceededException

Source§

impl ProvideErrorMetadata for MaxNumberOfOrganizationConfigRulesExceededException

Source§

impl ProvideErrorMetadata for MaxNumberOfOrganizationConformancePacksExceededException

Source§

impl ProvideErrorMetadata for MaxNumberOfRetentionConfigurationsExceededException

Source§

impl ProvideErrorMetadata for NoAvailableConfigurationRecorderException

Source§

impl ProvideErrorMetadata for NoAvailableDeliveryChannelException

Source§

impl ProvideErrorMetadata for NoAvailableOrganizationException

Source§

impl ProvideErrorMetadata for NoRunningConfigurationRecorderException

Source§

impl ProvideErrorMetadata for NoSuchBucketException

Source§

impl ProvideErrorMetadata for NoSuchConfigRuleException

Source§

impl ProvideErrorMetadata for NoSuchConfigRuleInConformancePackException

Source§

impl ProvideErrorMetadata for NoSuchConfigurationAggregatorException

Source§

impl ProvideErrorMetadata for NoSuchConfigurationRecorderException

Source§

impl ProvideErrorMetadata for NoSuchConformancePackException

Source§

impl ProvideErrorMetadata for NoSuchDeliveryChannelException

Source§

impl ProvideErrorMetadata for NoSuchOrganizationConfigRuleException

Source§

impl ProvideErrorMetadata for NoSuchOrganizationConformancePackException

Source§

impl ProvideErrorMetadata for NoSuchRemediationConfigurationException

Source§

impl ProvideErrorMetadata for NoSuchRemediationExceptionException

Source§

impl ProvideErrorMetadata for NoSuchRetentionConfigurationException

Source§

impl ProvideErrorMetadata for OrganizationAccessDeniedException

Source§

impl ProvideErrorMetadata for OrganizationAllFeaturesNotEnabledException

Source§

impl ProvideErrorMetadata for OrganizationConformancePackTemplateValidationException

Source§

impl ProvideErrorMetadata for OversizedConfigurationItemException

Source§

impl ProvideErrorMetadata for RemediationInProgressException

Source§

impl ProvideErrorMetadata for ResourceConcurrentModificationException

Source§

impl ProvideErrorMetadata for ResourceInUseException

Source§

impl ProvideErrorMetadata for ResourceNotDiscoveredException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for TooManyTagsException

Source§

impl ProvideErrorMetadata for UnmodifiableEntityException

Source§

impl ProvideErrorMetadata for ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata