Enum aws_sdk_securityhub::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
InternalException(InternalException),
InvalidAccessException(InvalidAccessException),
InvalidInputException(InvalidInputException),
LimitExceededException(LimitExceededException),
ResourceConflictException(ResourceConflictException),
ResourceInUseException(ResourceInUseException),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You don't have permission to perform the action specified in the request.
InternalException(InternalException)
Internal server error.
InvalidAccessException(InvalidAccessException)
The account doesn't have permission to perform this action.
InvalidInputException(InvalidInputException)
The request was rejected because you supplied an invalid or out-of-range value for an input parameter.
LimitExceededException(LimitExceededException)
The request was rejected because it attempted to create resources beyond the current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
ResourceConflictException(ResourceConflictException)
The resource specified in the request conflicts with an existing resource.
ResourceInUseException(ResourceInUseException)
The request was rejected because it conflicts with the resource's availability. For example, you tried to update a security control that's currently in the UPDATING
state.
ResourceNotFoundException(ResourceNotFoundException)
The request was rejected because we can't find the specified resource.
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<AcceptAdministratorInvitationError> for Error
impl From<AcceptAdministratorInvitationError> for Error
source§fn from(err: AcceptAdministratorInvitationError) -> Self
fn from(err: AcceptAdministratorInvitationError) -> Self
source§impl From<AcceptInvitationError> for Error
impl From<AcceptInvitationError> for Error
source§fn from(err: AcceptInvitationError) -> Self
fn from(err: AcceptInvitationError) -> Self
source§impl From<BatchDeleteAutomationRulesError> for Error
impl From<BatchDeleteAutomationRulesError> for Error
source§fn from(err: BatchDeleteAutomationRulesError) -> Self
fn from(err: BatchDeleteAutomationRulesError) -> Self
source§impl From<BatchDisableStandardsError> for Error
impl From<BatchDisableStandardsError> for Error
source§fn from(err: BatchDisableStandardsError) -> Self
fn from(err: BatchDisableStandardsError) -> Self
source§impl From<BatchEnableStandardsError> for Error
impl From<BatchEnableStandardsError> for Error
source§fn from(err: BatchEnableStandardsError) -> Self
fn from(err: BatchEnableStandardsError) -> Self
source§impl From<BatchGetAutomationRulesError> for Error
impl From<BatchGetAutomationRulesError> for Error
source§fn from(err: BatchGetAutomationRulesError) -> Self
fn from(err: BatchGetAutomationRulesError) -> Self
source§impl From<BatchGetConfigurationPolicyAssociationsError> for Error
impl From<BatchGetConfigurationPolicyAssociationsError> for Error
source§fn from(err: BatchGetConfigurationPolicyAssociationsError) -> Self
fn from(err: BatchGetConfigurationPolicyAssociationsError) -> Self
source§impl From<BatchGetSecurityControlsError> for Error
impl From<BatchGetSecurityControlsError> for Error
source§fn from(err: BatchGetSecurityControlsError) -> Self
fn from(err: BatchGetSecurityControlsError) -> Self
source§impl From<BatchGetStandardsControlAssociationsError> for Error
impl From<BatchGetStandardsControlAssociationsError> for Error
source§fn from(err: BatchGetStandardsControlAssociationsError) -> Self
fn from(err: BatchGetStandardsControlAssociationsError) -> Self
source§impl From<BatchImportFindingsError> for Error
impl From<BatchImportFindingsError> for Error
source§fn from(err: BatchImportFindingsError) -> Self
fn from(err: BatchImportFindingsError) -> Self
source§impl From<BatchUpdateAutomationRulesError> for Error
impl From<BatchUpdateAutomationRulesError> for Error
source§fn from(err: BatchUpdateAutomationRulesError) -> Self
fn from(err: BatchUpdateAutomationRulesError) -> Self
source§impl From<BatchUpdateFindingsError> for Error
impl From<BatchUpdateFindingsError> for Error
source§fn from(err: BatchUpdateFindingsError) -> Self
fn from(err: BatchUpdateFindingsError) -> Self
source§impl From<BatchUpdateStandardsControlAssociationsError> for Error
impl From<BatchUpdateStandardsControlAssociationsError> for Error
source§fn from(err: BatchUpdateStandardsControlAssociationsError) -> Self
fn from(err: BatchUpdateStandardsControlAssociationsError) -> 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<CreateActionTargetError> for Error
impl From<CreateActionTargetError> for Error
source§fn from(err: CreateActionTargetError) -> Self
fn from(err: CreateActionTargetError) -> Self
source§impl From<CreateAutomationRuleError> for Error
impl From<CreateAutomationRuleError> for Error
source§fn from(err: CreateAutomationRuleError) -> Self
fn from(err: CreateAutomationRuleError) -> Self
source§impl From<CreateConfigurationPolicyError> for Error
impl From<CreateConfigurationPolicyError> for Error
source§fn from(err: CreateConfigurationPolicyError) -> Self
fn from(err: CreateConfigurationPolicyError) -> Self
source§impl From<CreateFindingAggregatorError> for Error
impl From<CreateFindingAggregatorError> for Error
source§fn from(err: CreateFindingAggregatorError) -> Self
fn from(err: CreateFindingAggregatorError) -> Self
source§impl From<CreateInsightError> for Error
impl From<CreateInsightError> for Error
source§fn from(err: CreateInsightError) -> Self
fn from(err: CreateInsightError) -> Self
source§impl From<CreateMembersError> for Error
impl From<CreateMembersError> for Error
source§fn from(err: CreateMembersError) -> Self
fn from(err: CreateMembersError) -> Self
source§impl From<DeclineInvitationsError> for Error
impl From<DeclineInvitationsError> for Error
source§fn from(err: DeclineInvitationsError) -> Self
fn from(err: DeclineInvitationsError) -> Self
source§impl From<DeleteActionTargetError> for Error
impl From<DeleteActionTargetError> for Error
source§fn from(err: DeleteActionTargetError) -> Self
fn from(err: DeleteActionTargetError) -> Self
source§impl From<DeleteConfigurationPolicyError> for Error
impl From<DeleteConfigurationPolicyError> for Error
source§fn from(err: DeleteConfigurationPolicyError) -> Self
fn from(err: DeleteConfigurationPolicyError) -> Self
source§impl From<DeleteFindingAggregatorError> for Error
impl From<DeleteFindingAggregatorError> for Error
source§fn from(err: DeleteFindingAggregatorError) -> Self
fn from(err: DeleteFindingAggregatorError) -> Self
source§impl From<DeleteInsightError> for Error
impl From<DeleteInsightError> for Error
source§fn from(err: DeleteInsightError) -> Self
fn from(err: DeleteInsightError) -> Self
source§impl From<DeleteInvitationsError> for Error
impl From<DeleteInvitationsError> for Error
source§fn from(err: DeleteInvitationsError) -> Self
fn from(err: DeleteInvitationsError) -> Self
source§impl From<DeleteMembersError> for Error
impl From<DeleteMembersError> for Error
source§fn from(err: DeleteMembersError) -> Self
fn from(err: DeleteMembersError) -> Self
source§impl From<DescribeActionTargetsError> for Error
impl From<DescribeActionTargetsError> for Error
source§fn from(err: DescribeActionTargetsError) -> Self
fn from(err: DescribeActionTargetsError) -> Self
source§impl From<DescribeHubError> for Error
impl From<DescribeHubError> for Error
source§fn from(err: DescribeHubError) -> Self
fn from(err: DescribeHubError) -> Self
source§impl From<DescribeOrganizationConfigurationError> for Error
impl From<DescribeOrganizationConfigurationError> for Error
source§fn from(err: DescribeOrganizationConfigurationError) -> Self
fn from(err: DescribeOrganizationConfigurationError) -> Self
source§impl From<DescribeProductsError> for Error
impl From<DescribeProductsError> for Error
source§fn from(err: DescribeProductsError) -> Self
fn from(err: DescribeProductsError) -> Self
source§impl From<DescribeStandardsControlsError> for Error
impl From<DescribeStandardsControlsError> for Error
source§fn from(err: DescribeStandardsControlsError) -> Self
fn from(err: DescribeStandardsControlsError) -> Self
source§impl From<DescribeStandardsError> for Error
impl From<DescribeStandardsError> for Error
source§fn from(err: DescribeStandardsError) -> Self
fn from(err: DescribeStandardsError) -> Self
source§impl From<DisableImportFindingsForProductError> for Error
impl From<DisableImportFindingsForProductError> for Error
source§fn from(err: DisableImportFindingsForProductError) -> Self
fn from(err: DisableImportFindingsForProductError) -> Self
source§impl From<DisableOrganizationAdminAccountError> for Error
impl From<DisableOrganizationAdminAccountError> for Error
source§fn from(err: DisableOrganizationAdminAccountError) -> Self
fn from(err: DisableOrganizationAdminAccountError) -> Self
source§impl From<DisableSecurityHubError> for Error
impl From<DisableSecurityHubError> for Error
source§fn from(err: DisableSecurityHubError) -> Self
fn from(err: DisableSecurityHubError) -> Self
source§impl From<DisassociateFromAdministratorAccountError> for Error
impl From<DisassociateFromAdministratorAccountError> for Error
source§fn from(err: DisassociateFromAdministratorAccountError) -> Self
fn from(err: DisassociateFromAdministratorAccountError) -> Self
source§impl From<DisassociateFromMasterAccountError> for Error
impl From<DisassociateFromMasterAccountError> for Error
source§fn from(err: DisassociateFromMasterAccountError) -> Self
fn from(err: DisassociateFromMasterAccountError) -> Self
source§impl From<DisassociateMembersError> for Error
impl From<DisassociateMembersError> for Error
source§fn from(err: DisassociateMembersError) -> Self
fn from(err: DisassociateMembersError) -> Self
source§impl From<EnableImportFindingsForProductError> for Error
impl From<EnableImportFindingsForProductError> for Error
source§fn from(err: EnableImportFindingsForProductError) -> Self
fn from(err: EnableImportFindingsForProductError) -> Self
source§impl From<EnableOrganizationAdminAccountError> for Error
impl From<EnableOrganizationAdminAccountError> for Error
source§fn from(err: EnableOrganizationAdminAccountError) -> Self
fn from(err: EnableOrganizationAdminAccountError) -> Self
source§impl From<EnableSecurityHubError> for Error
impl From<EnableSecurityHubError> for Error
source§fn from(err: EnableSecurityHubError) -> Self
fn from(err: EnableSecurityHubError) -> Self
source§impl From<GetAdministratorAccountError> for Error
impl From<GetAdministratorAccountError> for Error
source§fn from(err: GetAdministratorAccountError) -> Self
fn from(err: GetAdministratorAccountError) -> Self
source§impl From<GetConfigurationPolicyAssociationError> for Error
impl From<GetConfigurationPolicyAssociationError> for Error
source§fn from(err: GetConfigurationPolicyAssociationError) -> Self
fn from(err: GetConfigurationPolicyAssociationError) -> Self
source§impl From<GetConfigurationPolicyError> for Error
impl From<GetConfigurationPolicyError> for Error
source§fn from(err: GetConfigurationPolicyError) -> Self
fn from(err: GetConfigurationPolicyError) -> Self
source§impl From<GetEnabledStandardsError> for Error
impl From<GetEnabledStandardsError> for Error
source§fn from(err: GetEnabledStandardsError) -> Self
fn from(err: GetEnabledStandardsError) -> Self
source§impl From<GetFindingAggregatorError> for Error
impl From<GetFindingAggregatorError> for Error
source§fn from(err: GetFindingAggregatorError) -> Self
fn from(err: GetFindingAggregatorError) -> Self
source§impl From<GetFindingHistoryError> for Error
impl From<GetFindingHistoryError> for Error
source§fn from(err: GetFindingHistoryError) -> Self
fn from(err: GetFindingHistoryError) -> Self
source§impl From<GetFindingsError> for Error
impl From<GetFindingsError> for Error
source§fn from(err: GetFindingsError) -> Self
fn from(err: GetFindingsError) -> Self
source§impl From<GetInsightResultsError> for Error
impl From<GetInsightResultsError> for Error
source§fn from(err: GetInsightResultsError) -> Self
fn from(err: GetInsightResultsError) -> Self
source§impl From<GetInsightsError> for Error
impl From<GetInsightsError> for Error
source§fn from(err: GetInsightsError) -> Self
fn from(err: GetInsightsError) -> Self
source§impl From<GetInvitationsCountError> for Error
impl From<GetInvitationsCountError> for Error
source§fn from(err: GetInvitationsCountError) -> Self
fn from(err: GetInvitationsCountError) -> Self
source§impl From<GetMasterAccountError> for Error
impl From<GetMasterAccountError> for Error
source§fn from(err: GetMasterAccountError) -> Self
fn from(err: GetMasterAccountError) -> Self
source§impl From<GetMembersError> for Error
impl From<GetMembersError> for Error
source§fn from(err: GetMembersError) -> Self
fn from(err: GetMembersError) -> Self
source§impl From<GetSecurityControlDefinitionError> for Error
impl From<GetSecurityControlDefinitionError> for Error
source§fn from(err: GetSecurityControlDefinitionError) -> Self
fn from(err: GetSecurityControlDefinitionError) -> Self
source§impl From<InviteMembersError> for Error
impl From<InviteMembersError> for Error
source§fn from(err: InviteMembersError) -> Self
fn from(err: InviteMembersError) -> Self
source§impl From<ListAutomationRulesError> for Error
impl From<ListAutomationRulesError> for Error
source§fn from(err: ListAutomationRulesError) -> Self
fn from(err: ListAutomationRulesError) -> Self
source§impl From<ListConfigurationPoliciesError> for Error
impl From<ListConfigurationPoliciesError> for Error
source§fn from(err: ListConfigurationPoliciesError) -> Self
fn from(err: ListConfigurationPoliciesError) -> Self
source§impl From<ListConfigurationPolicyAssociationsError> for Error
impl From<ListConfigurationPolicyAssociationsError> for Error
source§fn from(err: ListConfigurationPolicyAssociationsError) -> Self
fn from(err: ListConfigurationPolicyAssociationsError) -> Self
source§impl From<ListEnabledProductsForImportError> for Error
impl From<ListEnabledProductsForImportError> for Error
source§fn from(err: ListEnabledProductsForImportError) -> Self
fn from(err: ListEnabledProductsForImportError) -> Self
source§impl From<ListFindingAggregatorsError> for Error
impl From<ListFindingAggregatorsError> for Error
source§fn from(err: ListFindingAggregatorsError) -> Self
fn from(err: ListFindingAggregatorsError) -> Self
source§impl From<ListInvitationsError> for Error
impl From<ListInvitationsError> for Error
source§fn from(err: ListInvitationsError) -> Self
fn from(err: ListInvitationsError) -> Self
source§impl From<ListMembersError> for Error
impl From<ListMembersError> for Error
source§fn from(err: ListMembersError) -> Self
fn from(err: ListMembersError) -> Self
source§impl From<ListOrganizationAdminAccountsError> for Error
impl From<ListOrganizationAdminAccountsError> for Error
source§fn from(err: ListOrganizationAdminAccountsError) -> Self
fn from(err: ListOrganizationAdminAccountsError) -> Self
source§impl From<ListSecurityControlDefinitionsError> for Error
impl From<ListSecurityControlDefinitionsError> for Error
source§fn from(err: ListSecurityControlDefinitionsError) -> Self
fn from(err: ListSecurityControlDefinitionsError) -> Self
source§impl From<ListStandardsControlAssociationsError> for Error
impl From<ListStandardsControlAssociationsError> for Error
source§fn from(err: ListStandardsControlAssociationsError) -> Self
fn from(err: ListStandardsControlAssociationsError) -> 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<R> From<SdkError<AcceptAdministratorInvitationError, R>> for Error
impl<R> From<SdkError<AcceptAdministratorInvitationError, R>> for Error
source§fn from(err: SdkError<AcceptAdministratorInvitationError, R>) -> Self
fn from(err: SdkError<AcceptAdministratorInvitationError, R>) -> Self
source§impl<R> From<SdkError<AcceptInvitationError, R>> for Error
impl<R> From<SdkError<AcceptInvitationError, R>> for Error
source§fn from(err: SdkError<AcceptInvitationError, R>) -> Self
fn from(err: SdkError<AcceptInvitationError, R>) -> Self
source§impl<R> From<SdkError<BatchDeleteAutomationRulesError, R>> for Error
impl<R> From<SdkError<BatchDeleteAutomationRulesError, R>> for Error
source§fn from(err: SdkError<BatchDeleteAutomationRulesError, R>) -> Self
fn from(err: SdkError<BatchDeleteAutomationRulesError, R>) -> Self
source§impl<R> From<SdkError<BatchDisableStandardsError, R>> for Error
impl<R> From<SdkError<BatchDisableStandardsError, R>> for Error
source§fn from(err: SdkError<BatchDisableStandardsError, R>) -> Self
fn from(err: SdkError<BatchDisableStandardsError, R>) -> Self
source§impl<R> From<SdkError<BatchEnableStandardsError, R>> for Error
impl<R> From<SdkError<BatchEnableStandardsError, R>> for Error
source§fn from(err: SdkError<BatchEnableStandardsError, R>) -> Self
fn from(err: SdkError<BatchEnableStandardsError, R>) -> Self
source§impl<R> From<SdkError<BatchGetAutomationRulesError, R>> for Error
impl<R> From<SdkError<BatchGetAutomationRulesError, R>> for Error
source§fn from(err: SdkError<BatchGetAutomationRulesError, R>) -> Self
fn from(err: SdkError<BatchGetAutomationRulesError, R>) -> Self
source§impl<R> From<SdkError<BatchGetConfigurationPolicyAssociationsError, R>> for Error
impl<R> From<SdkError<BatchGetConfigurationPolicyAssociationsError, R>> for Error
source§fn from(err: SdkError<BatchGetConfigurationPolicyAssociationsError, R>) -> Self
fn from(err: SdkError<BatchGetConfigurationPolicyAssociationsError, R>) -> Self
source§impl<R> From<SdkError<BatchGetSecurityControlsError, R>> for Error
impl<R> From<SdkError<BatchGetSecurityControlsError, R>> for Error
source§fn from(err: SdkError<BatchGetSecurityControlsError, R>) -> Self
fn from(err: SdkError<BatchGetSecurityControlsError, R>) -> Self
source§impl<R> From<SdkError<BatchGetStandardsControlAssociationsError, R>> for Error
impl<R> From<SdkError<BatchGetStandardsControlAssociationsError, R>> for Error
source§fn from(err: SdkError<BatchGetStandardsControlAssociationsError, R>) -> Self
fn from(err: SdkError<BatchGetStandardsControlAssociationsError, R>) -> Self
source§impl<R> From<SdkError<BatchImportFindingsError, R>> for Error
impl<R> From<SdkError<BatchImportFindingsError, R>> for Error
source§fn from(err: SdkError<BatchImportFindingsError, R>) -> Self
fn from(err: SdkError<BatchImportFindingsError, R>) -> Self
source§impl<R> From<SdkError<BatchUpdateAutomationRulesError, R>> for Error
impl<R> From<SdkError<BatchUpdateAutomationRulesError, R>> for Error
source§fn from(err: SdkError<BatchUpdateAutomationRulesError, R>) -> Self
fn from(err: SdkError<BatchUpdateAutomationRulesError, R>) -> Self
source§impl<R> From<SdkError<BatchUpdateFindingsError, R>> for Error
impl<R> From<SdkError<BatchUpdateFindingsError, R>> for Error
source§fn from(err: SdkError<BatchUpdateFindingsError, R>) -> Self
fn from(err: SdkError<BatchUpdateFindingsError, R>) -> Self
source§impl<R> From<SdkError<BatchUpdateStandardsControlAssociationsError, R>> for Error
impl<R> From<SdkError<BatchUpdateStandardsControlAssociationsError, R>> for Error
source§fn from(err: SdkError<BatchUpdateStandardsControlAssociationsError, R>) -> Self
fn from(err: SdkError<BatchUpdateStandardsControlAssociationsError, R>) -> Self
source§impl<R> From<SdkError<CreateActionTargetError, R>> for Error
impl<R> From<SdkError<CreateActionTargetError, R>> for Error
source§fn from(err: SdkError<CreateActionTargetError, R>) -> Self
fn from(err: SdkError<CreateActionTargetError, R>) -> Self
source§impl<R> From<SdkError<CreateAutomationRuleError, R>> for Error
impl<R> From<SdkError<CreateAutomationRuleError, R>> for Error
source§fn from(err: SdkError<CreateAutomationRuleError, R>) -> Self
fn from(err: SdkError<CreateAutomationRuleError, R>) -> Self
source§impl<R> From<SdkError<CreateConfigurationPolicyError, R>> for Error
impl<R> From<SdkError<CreateConfigurationPolicyError, R>> for Error
source§fn from(err: SdkError<CreateConfigurationPolicyError, R>) -> Self
fn from(err: SdkError<CreateConfigurationPolicyError, R>) -> Self
source§impl<R> From<SdkError<CreateFindingAggregatorError, R>> for Error
impl<R> From<SdkError<CreateFindingAggregatorError, R>> for Error
source§fn from(err: SdkError<CreateFindingAggregatorError, R>) -> Self
fn from(err: SdkError<CreateFindingAggregatorError, R>) -> Self
source§impl<R> From<SdkError<CreateInsightError, R>> for Error
impl<R> From<SdkError<CreateInsightError, R>> for Error
source§fn from(err: SdkError<CreateInsightError, R>) -> Self
fn from(err: SdkError<CreateInsightError, R>) -> Self
source§impl<R> From<SdkError<CreateMembersError, R>> for Error
impl<R> From<SdkError<CreateMembersError, R>> for Error
source§fn from(err: SdkError<CreateMembersError, R>) -> Self
fn from(err: SdkError<CreateMembersError, R>) -> Self
source§impl<R> From<SdkError<DeclineInvitationsError, R>> for Error
impl<R> From<SdkError<DeclineInvitationsError, R>> for Error
source§fn from(err: SdkError<DeclineInvitationsError, R>) -> Self
fn from(err: SdkError<DeclineInvitationsError, R>) -> Self
source§impl<R> From<SdkError<DeleteActionTargetError, R>> for Error
impl<R> From<SdkError<DeleteActionTargetError, R>> for Error
source§fn from(err: SdkError<DeleteActionTargetError, R>) -> Self
fn from(err: SdkError<DeleteActionTargetError, R>) -> Self
source§impl<R> From<SdkError<DeleteConfigurationPolicyError, R>> for Error
impl<R> From<SdkError<DeleteConfigurationPolicyError, R>> for Error
source§fn from(err: SdkError<DeleteConfigurationPolicyError, R>) -> Self
fn from(err: SdkError<DeleteConfigurationPolicyError, R>) -> Self
source§impl<R> From<SdkError<DeleteFindingAggregatorError, R>> for Error
impl<R> From<SdkError<DeleteFindingAggregatorError, R>> for Error
source§fn from(err: SdkError<DeleteFindingAggregatorError, R>) -> Self
fn from(err: SdkError<DeleteFindingAggregatorError, R>) -> Self
source§impl<R> From<SdkError<DeleteInsightError, R>> for Error
impl<R> From<SdkError<DeleteInsightError, R>> for Error
source§fn from(err: SdkError<DeleteInsightError, R>) -> Self
fn from(err: SdkError<DeleteInsightError, R>) -> Self
source§impl<R> From<SdkError<DeleteInvitationsError, R>> for Error
impl<R> From<SdkError<DeleteInvitationsError, R>> for Error
source§fn from(err: SdkError<DeleteInvitationsError, R>) -> Self
fn from(err: SdkError<DeleteInvitationsError, R>) -> Self
source§impl<R> From<SdkError<DeleteMembersError, R>> for Error
impl<R> From<SdkError<DeleteMembersError, R>> for Error
source§fn from(err: SdkError<DeleteMembersError, R>) -> Self
fn from(err: SdkError<DeleteMembersError, R>) -> Self
source§impl<R> From<SdkError<DescribeActionTargetsError, R>> for Error
impl<R> From<SdkError<DescribeActionTargetsError, R>> for Error
source§fn from(err: SdkError<DescribeActionTargetsError, R>) -> Self
fn from(err: SdkError<DescribeActionTargetsError, R>) -> Self
source§impl<R> From<SdkError<DescribeHubError, R>> for Error
impl<R> From<SdkError<DescribeHubError, R>> for Error
source§fn from(err: SdkError<DescribeHubError, R>) -> Self
fn from(err: SdkError<DescribeHubError, R>) -> Self
source§impl<R> From<SdkError<DescribeOrganizationConfigurationError, R>> for Error
impl<R> From<SdkError<DescribeOrganizationConfigurationError, R>> for Error
source§fn from(err: SdkError<DescribeOrganizationConfigurationError, R>) -> Self
fn from(err: SdkError<DescribeOrganizationConfigurationError, R>) -> Self
source§impl<R> From<SdkError<DescribeProductsError, R>> for Error
impl<R> From<SdkError<DescribeProductsError, R>> for Error
source§fn from(err: SdkError<DescribeProductsError, R>) -> Self
fn from(err: SdkError<DescribeProductsError, R>) -> Self
source§impl<R> From<SdkError<DescribeStandardsControlsError, R>> for Error
impl<R> From<SdkError<DescribeStandardsControlsError, R>> for Error
source§fn from(err: SdkError<DescribeStandardsControlsError, R>) -> Self
fn from(err: SdkError<DescribeStandardsControlsError, R>) -> Self
source§impl<R> From<SdkError<DescribeStandardsError, R>> for Error
impl<R> From<SdkError<DescribeStandardsError, R>> for Error
source§fn from(err: SdkError<DescribeStandardsError, R>) -> Self
fn from(err: SdkError<DescribeStandardsError, R>) -> Self
source§impl<R> From<SdkError<DisableImportFindingsForProductError, R>> for Error
impl<R> From<SdkError<DisableImportFindingsForProductError, R>> for Error
source§fn from(err: SdkError<DisableImportFindingsForProductError, R>) -> Self
fn from(err: SdkError<DisableImportFindingsForProductError, R>) -> Self
source§impl<R> From<SdkError<DisableOrganizationAdminAccountError, R>> for Error
impl<R> From<SdkError<DisableOrganizationAdminAccountError, R>> for Error
source§fn from(err: SdkError<DisableOrganizationAdminAccountError, R>) -> Self
fn from(err: SdkError<DisableOrganizationAdminAccountError, R>) -> Self
source§impl<R> From<SdkError<DisableSecurityHubError, R>> for Error
impl<R> From<SdkError<DisableSecurityHubError, R>> for Error
source§fn from(err: SdkError<DisableSecurityHubError, R>) -> Self
fn from(err: SdkError<DisableSecurityHubError, R>) -> Self
source§impl<R> From<SdkError<DisassociateFromAdministratorAccountError, R>> for Error
impl<R> From<SdkError<DisassociateFromAdministratorAccountError, R>> for Error
source§fn from(err: SdkError<DisassociateFromAdministratorAccountError, R>) -> Self
fn from(err: SdkError<DisassociateFromAdministratorAccountError, R>) -> Self
source§impl<R> From<SdkError<DisassociateFromMasterAccountError, R>> for Error
impl<R> From<SdkError<DisassociateFromMasterAccountError, R>> for Error
source§fn from(err: SdkError<DisassociateFromMasterAccountError, R>) -> Self
fn from(err: SdkError<DisassociateFromMasterAccountError, R>) -> Self
source§impl<R> From<SdkError<DisassociateMembersError, R>> for Error
impl<R> From<SdkError<DisassociateMembersError, R>> for Error
source§fn from(err: SdkError<DisassociateMembersError, R>) -> Self
fn from(err: SdkError<DisassociateMembersError, R>) -> Self
source§impl<R> From<SdkError<EnableImportFindingsForProductError, R>> for Error
impl<R> From<SdkError<EnableImportFindingsForProductError, R>> for Error
source§fn from(err: SdkError<EnableImportFindingsForProductError, R>) -> Self
fn from(err: SdkError<EnableImportFindingsForProductError, R>) -> Self
source§impl<R> From<SdkError<EnableOrganizationAdminAccountError, R>> for Error
impl<R> From<SdkError<EnableOrganizationAdminAccountError, R>> for Error
source§fn from(err: SdkError<EnableOrganizationAdminAccountError, R>) -> Self
fn from(err: SdkError<EnableOrganizationAdminAccountError, R>) -> Self
source§impl<R> From<SdkError<EnableSecurityHubError, R>> for Error
impl<R> From<SdkError<EnableSecurityHubError, R>> for Error
source§fn from(err: SdkError<EnableSecurityHubError, R>) -> Self
fn from(err: SdkError<EnableSecurityHubError, R>) -> Self
source§impl<R> From<SdkError<GetAdministratorAccountError, R>> for Error
impl<R> From<SdkError<GetAdministratorAccountError, R>> for Error
source§fn from(err: SdkError<GetAdministratorAccountError, R>) -> Self
fn from(err: SdkError<GetAdministratorAccountError, R>) -> Self
source§impl<R> From<SdkError<GetConfigurationPolicyAssociationError, R>> for Error
impl<R> From<SdkError<GetConfigurationPolicyAssociationError, R>> for Error
source§fn from(err: SdkError<GetConfigurationPolicyAssociationError, R>) -> Self
fn from(err: SdkError<GetConfigurationPolicyAssociationError, R>) -> Self
source§impl<R> From<SdkError<GetConfigurationPolicyError, R>> for Error
impl<R> From<SdkError<GetConfigurationPolicyError, R>> for Error
source§fn from(err: SdkError<GetConfigurationPolicyError, R>) -> Self
fn from(err: SdkError<GetConfigurationPolicyError, R>) -> Self
source§impl<R> From<SdkError<GetEnabledStandardsError, R>> for Error
impl<R> From<SdkError<GetEnabledStandardsError, R>> for Error
source§fn from(err: SdkError<GetEnabledStandardsError, R>) -> Self
fn from(err: SdkError<GetEnabledStandardsError, R>) -> Self
source§impl<R> From<SdkError<GetFindingAggregatorError, R>> for Error
impl<R> From<SdkError<GetFindingAggregatorError, R>> for Error
source§fn from(err: SdkError<GetFindingAggregatorError, R>) -> Self
fn from(err: SdkError<GetFindingAggregatorError, R>) -> Self
source§impl<R> From<SdkError<GetFindingHistoryError, R>> for Error
impl<R> From<SdkError<GetFindingHistoryError, R>> for Error
source§fn from(err: SdkError<GetFindingHistoryError, R>) -> Self
fn from(err: SdkError<GetFindingHistoryError, R>) -> Self
source§impl<R> From<SdkError<GetFindingsError, R>> for Error
impl<R> From<SdkError<GetFindingsError, R>> for Error
source§fn from(err: SdkError<GetFindingsError, R>) -> Self
fn from(err: SdkError<GetFindingsError, R>) -> Self
source§impl<R> From<SdkError<GetInsightResultsError, R>> for Error
impl<R> From<SdkError<GetInsightResultsError, R>> for Error
source§fn from(err: SdkError<GetInsightResultsError, R>) -> Self
fn from(err: SdkError<GetInsightResultsError, R>) -> Self
source§impl<R> From<SdkError<GetInsightsError, R>> for Error
impl<R> From<SdkError<GetInsightsError, R>> for Error
source§fn from(err: SdkError<GetInsightsError, R>) -> Self
fn from(err: SdkError<GetInsightsError, R>) -> Self
source§impl<R> From<SdkError<GetInvitationsCountError, R>> for Error
impl<R> From<SdkError<GetInvitationsCountError, R>> for Error
source§fn from(err: SdkError<GetInvitationsCountError, R>) -> Self
fn from(err: SdkError<GetInvitationsCountError, R>) -> Self
source§impl<R> From<SdkError<GetMasterAccountError, R>> for Error
impl<R> From<SdkError<GetMasterAccountError, R>> for Error
source§fn from(err: SdkError<GetMasterAccountError, R>) -> Self
fn from(err: SdkError<GetMasterAccountError, R>) -> Self
source§impl<R> From<SdkError<GetMembersError, R>> for Error
impl<R> From<SdkError<GetMembersError, R>> for Error
source§fn from(err: SdkError<GetMembersError, R>) -> Self
fn from(err: SdkError<GetMembersError, R>) -> Self
source§impl<R> From<SdkError<GetSecurityControlDefinitionError, R>> for Error
impl<R> From<SdkError<GetSecurityControlDefinitionError, R>> for Error
source§fn from(err: SdkError<GetSecurityControlDefinitionError, R>) -> Self
fn from(err: SdkError<GetSecurityControlDefinitionError, R>) -> Self
source§impl<R> From<SdkError<InviteMembersError, R>> for Error
impl<R> From<SdkError<InviteMembersError, R>> for Error
source§fn from(err: SdkError<InviteMembersError, R>) -> Self
fn from(err: SdkError<InviteMembersError, R>) -> Self
source§impl<R> From<SdkError<ListAutomationRulesError, R>> for Error
impl<R> From<SdkError<ListAutomationRulesError, R>> for Error
source§fn from(err: SdkError<ListAutomationRulesError, R>) -> Self
fn from(err: SdkError<ListAutomationRulesError, R>) -> Self
source§impl<R> From<SdkError<ListConfigurationPoliciesError, R>> for Error
impl<R> From<SdkError<ListConfigurationPoliciesError, R>> for Error
source§fn from(err: SdkError<ListConfigurationPoliciesError, R>) -> Self
fn from(err: SdkError<ListConfigurationPoliciesError, R>) -> Self
source§impl<R> From<SdkError<ListConfigurationPolicyAssociationsError, R>> for Error
impl<R> From<SdkError<ListConfigurationPolicyAssociationsError, R>> for Error
source§fn from(err: SdkError<ListConfigurationPolicyAssociationsError, R>) -> Self
fn from(err: SdkError<ListConfigurationPolicyAssociationsError, R>) -> Self
source§impl<R> From<SdkError<ListEnabledProductsForImportError, R>> for Error
impl<R> From<SdkError<ListEnabledProductsForImportError, R>> for Error
source§fn from(err: SdkError<ListEnabledProductsForImportError, R>) -> Self
fn from(err: SdkError<ListEnabledProductsForImportError, R>) -> Self
source§impl<R> From<SdkError<ListFindingAggregatorsError, R>> for Error
impl<R> From<SdkError<ListFindingAggregatorsError, R>> for Error
source§fn from(err: SdkError<ListFindingAggregatorsError, R>) -> Self
fn from(err: SdkError<ListFindingAggregatorsError, R>) -> Self
source§impl<R> From<SdkError<ListInvitationsError, R>> for Error
impl<R> From<SdkError<ListInvitationsError, R>> for Error
source§fn from(err: SdkError<ListInvitationsError, R>) -> Self
fn from(err: SdkError<ListInvitationsError, R>) -> Self
source§impl<R> From<SdkError<ListMembersError, R>> for Error
impl<R> From<SdkError<ListMembersError, R>> for Error
source§fn from(err: SdkError<ListMembersError, R>) -> Self
fn from(err: SdkError<ListMembersError, R>) -> Self
source§impl<R> From<SdkError<ListOrganizationAdminAccountsError, R>> for Error
impl<R> From<SdkError<ListOrganizationAdminAccountsError, R>> for Error
source§fn from(err: SdkError<ListOrganizationAdminAccountsError, R>) -> Self
fn from(err: SdkError<ListOrganizationAdminAccountsError, R>) -> Self
source§impl<R> From<SdkError<ListSecurityControlDefinitionsError, R>> for Error
impl<R> From<SdkError<ListSecurityControlDefinitionsError, R>> for Error
source§fn from(err: SdkError<ListSecurityControlDefinitionsError, R>) -> Self
fn from(err: SdkError<ListSecurityControlDefinitionsError, R>) -> Self
source§impl<R> From<SdkError<ListStandardsControlAssociationsError, R>> for Error
impl<R> From<SdkError<ListStandardsControlAssociationsError, R>> for Error
source§fn from(err: SdkError<ListStandardsControlAssociationsError, R>) -> Self
fn from(err: SdkError<ListStandardsControlAssociationsError, 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<StartConfigurationPolicyAssociationError, R>> for Error
impl<R> From<SdkError<StartConfigurationPolicyAssociationError, R>> for Error
source§fn from(err: SdkError<StartConfigurationPolicyAssociationError, R>) -> Self
fn from(err: SdkError<StartConfigurationPolicyAssociationError, R>) -> Self
source§impl<R> From<SdkError<StartConfigurationPolicyDisassociationError, R>> for Error
impl<R> From<SdkError<StartConfigurationPolicyDisassociationError, R>> for Error
source§fn from(err: SdkError<StartConfigurationPolicyDisassociationError, R>) -> Self
fn from(err: SdkError<StartConfigurationPolicyDisassociationError, 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<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<UpdateActionTargetError, R>> for Error
impl<R> From<SdkError<UpdateActionTargetError, R>> for Error
source§fn from(err: SdkError<UpdateActionTargetError, R>) -> Self
fn from(err: SdkError<UpdateActionTargetError, R>) -> Self
source§impl<R> From<SdkError<UpdateConfigurationPolicyError, R>> for Error
impl<R> From<SdkError<UpdateConfigurationPolicyError, R>> for Error
source§fn from(err: SdkError<UpdateConfigurationPolicyError, R>) -> Self
fn from(err: SdkError<UpdateConfigurationPolicyError, R>) -> Self
source§impl<R> From<SdkError<UpdateFindingAggregatorError, R>> for Error
impl<R> From<SdkError<UpdateFindingAggregatorError, R>> for Error
source§fn from(err: SdkError<UpdateFindingAggregatorError, R>) -> Self
fn from(err: SdkError<UpdateFindingAggregatorError, R>) -> Self
source§impl<R> From<SdkError<UpdateFindingsError, R>> for Error
impl<R> From<SdkError<UpdateFindingsError, R>> for Error
source§fn from(err: SdkError<UpdateFindingsError, R>) -> Self
fn from(err: SdkError<UpdateFindingsError, R>) -> Self
source§impl<R> From<SdkError<UpdateInsightError, R>> for Error
impl<R> From<SdkError<UpdateInsightError, R>> for Error
source§fn from(err: SdkError<UpdateInsightError, R>) -> Self
fn from(err: SdkError<UpdateInsightError, R>) -> Self
source§impl<R> From<SdkError<UpdateOrganizationConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateOrganizationConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateOrganizationConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateOrganizationConfigurationError, R>) -> Self
source§impl<R> From<SdkError<UpdateSecurityControlError, R>> for Error
impl<R> From<SdkError<UpdateSecurityControlError, R>> for Error
source§fn from(err: SdkError<UpdateSecurityControlError, R>) -> Self
fn from(err: SdkError<UpdateSecurityControlError, R>) -> Self
source§impl<R> From<SdkError<UpdateSecurityHubConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateSecurityHubConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateSecurityHubConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateSecurityHubConfigurationError, R>) -> Self
source§impl<R> From<SdkError<UpdateStandardsControlError, R>> for Error
impl<R> From<SdkError<UpdateStandardsControlError, R>> for Error
source§fn from(err: SdkError<UpdateStandardsControlError, R>) -> Self
fn from(err: SdkError<UpdateStandardsControlError, R>) -> Self
source§impl From<StartConfigurationPolicyAssociationError> for Error
impl From<StartConfigurationPolicyAssociationError> for Error
source§fn from(err: StartConfigurationPolicyAssociationError) -> Self
fn from(err: StartConfigurationPolicyAssociationError) -> Self
source§impl From<StartConfigurationPolicyDisassociationError> for Error
impl From<StartConfigurationPolicyDisassociationError> for Error
source§fn from(err: StartConfigurationPolicyDisassociationError) -> Self
fn from(err: StartConfigurationPolicyDisassociationError) -> 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<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateActionTargetError> for Error
impl From<UpdateActionTargetError> for Error
source§fn from(err: UpdateActionTargetError) -> Self
fn from(err: UpdateActionTargetError) -> Self
source§impl From<UpdateConfigurationPolicyError> for Error
impl From<UpdateConfigurationPolicyError> for Error
source§fn from(err: UpdateConfigurationPolicyError) -> Self
fn from(err: UpdateConfigurationPolicyError) -> Self
source§impl From<UpdateFindingAggregatorError> for Error
impl From<UpdateFindingAggregatorError> for Error
source§fn from(err: UpdateFindingAggregatorError) -> Self
fn from(err: UpdateFindingAggregatorError) -> Self
source§impl From<UpdateFindingsError> for Error
impl From<UpdateFindingsError> for Error
source§fn from(err: UpdateFindingsError) -> Self
fn from(err: UpdateFindingsError) -> Self
source§impl From<UpdateInsightError> for Error
impl From<UpdateInsightError> for Error
source§fn from(err: UpdateInsightError) -> Self
fn from(err: UpdateInsightError) -> Self
source§impl From<UpdateOrganizationConfigurationError> for Error
impl From<UpdateOrganizationConfigurationError> for Error
source§fn from(err: UpdateOrganizationConfigurationError) -> Self
fn from(err: UpdateOrganizationConfigurationError) -> Self
source§impl From<UpdateSecurityControlError> for Error
impl From<UpdateSecurityControlError> for Error
source§fn from(err: UpdateSecurityControlError) -> Self
fn from(err: UpdateSecurityControlError) -> Self
source§impl From<UpdateSecurityHubConfigurationError> for Error
impl From<UpdateSecurityHubConfigurationError> for Error
source§fn from(err: UpdateSecurityHubConfigurationError) -> Self
fn from(err: UpdateSecurityHubConfigurationError) -> Self
source§impl From<UpdateStandardsControlError> for Error
impl From<UpdateStandardsControlError> for Error
source§fn from(err: UpdateStandardsControlError) -> Self
fn from(err: UpdateStandardsControlError) -> 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