update_allow_list
¶
update_allow_list(
id: __string,
*,
config_overrides: Optional[Macie2ClientConfig] = None,
criteria: Optional[AllowListCriteria] = None,
description: Optional[__stringMin1Max512PatternSS] = None,
name: Optional[__stringMin1Max128Pattern] = None,
) -> UpdateAllowListResponse
Updates the settings for an allow list.
Parameters:
-
criteria(Optional[AllowListCriteria], default:None) –The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
-
description(Optional[__stringMin1Max512PatternSS], default:None) –A custom description of the allow list. The description can contain as many as 512 characters.
-
id(__string) –The unique identifier for the Amazon Macie resource that the request applies to.
-
name(Optional[__stringMin1Max128Pattern], default:None) –A custom name for the allow list. The name can contain as many as 128 characters.
Raises:
-
AccessDeniedException–Provides information about an error that occurred due to insufficient access to 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.
-
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
4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 | |