update_findings_filter
¶
update_findings_filter(
id: __string,
*,
config_overrides: Optional[Macie2ClientConfig] = None,
action: Optional[FindingsFilterAction] = None,
client_token: Optional[__string] = None,
description: Optional[__string] = None,
finding_criteria: Optional[FindingCriteria] = None,
name: Optional[__string] = None,
position: Optional[__integer] = None,
) -> UpdateFindingsFilterResponse
Updates the criteria and other settings for a findings filter.
Parameters:
-
action(Optional[FindingsFilterAction], default:None) –The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
-
client_token(Optional[__string], default:None) –A unique, case-sensitive token that you provide to ensure the idempotency of the request.
-
description(Optional[__string], default:None) –A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
-
finding_criteria(Optional[FindingCriteria], default:None) –The criteria to use to filter findings.
-
id(__string) –The unique identifier for the Amazon Macie resource that the request applies to.
-
name(Optional[__string], default:None) –A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
-
position(Optional[__integer], default:None) –The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
Raises:
-
AccessDeniedException–Provides information about an error that occurred due to insufficient access to a specified resource.
-
ConflictException–Provides information about an error that occurred due to a versioning conflict for a specified resource.
-
InternalServerException–Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
-
ResourceNotFoundException–Provides information about an error that occurred because a specified resource wasn't found.
-
ServiceQuotaExceededException–Provides information about an error that occurred due to one or more service quotas for an account.
-
ThrottlingException–Provides information about an error that occurred because too many requests were sent during a certain amount of time.
-
ValidationException–Provides information about an error that occurred due to a syntax error in a request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_macie2/_services/macie2.py
4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 | |