update_sensitivity_inspection_template
async
¶
update_sensitivity_inspection_template(
id: __string,
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = 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/async_macie2.py
5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 | |