update_sensitivity_inspection_template
¶
update_sensitivity_inspection_template(
id: __string,
*,
config_overrides: Optional[Macie2ClientConfig] = None,
description: Optional[__string] = None,
excludes: Optional[SensitivityInspectionTemplateExcludes] = None,
includes: Optional[SensitivityInspectionTemplateIncludes] = None,
) -> UpdateSensitivityInspectionTemplateResponse
Updates the settings for the sensitivity inspection template for an account.
Parameters:
-
description(Optional[__string], default:None) –A custom description of the template. The description can contain as many as 200 characters.
-
excludes(Optional[SensitivityInspectionTemplateExcludes], default:None) –The managed data identifiers to explicitly exclude (not use) when performing automated sensitive data discovery.
To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.
-
id(__string) –The unique identifier for the Amazon Macie resource that the request applies to.
-
includes(Optional[SensitivityInspectionTemplateIncludes], default:None) –The allow lists, custom data identifiers, and managed data identifiers to explicitly include (use) when performing automated sensitive data discovery.
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
5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 | |