update_findings_filter
async
¶
update_findings_filter(
id: __string,
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = 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/async_macie2.py
4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 | |