Macie2 / Client / update_sensitivity_inspection_template
update_sensitivity_inspection_template#
- Macie2.Client.update_sensitivity_inspection_template(**kwargs)#
- Updates the settings for the sensitivity inspection template for an account. - See also: AWS API Documentation - Request Syntax- response = client.update_sensitivity_inspection_template( description='string', excludes={ 'managedDataIdentifierIds': [ 'string', ] }, id='string', includes={ 'allowListIds': [ 'string', ], 'customDataIdentifierIds': [ 'string', ], 'managedDataIdentifierIds': [ 'string', ] } ) - Parameters:
- description (string) – A custom description of the template. The description can contain as many as 200 characters. 
- excludes (dict) – - The managed data identifiers to explicitly exclude (not use) when analyzing data. - 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. - managedDataIdentifierIds (list) – - An array of unique identifiers, one for each managed data identifier to exclude. To retrieve a list of valid values, use the ListManagedDataIdentifiers operation. - (string) – 
 
 
- id (string) – - [REQUIRED] - The unique identifier for the Amazon Macie resource that the request applies to. 
- includes (dict) – - The allow lists, custom data identifiers, and managed data identifiers to explicitly include (use) when analyzing data. - allowListIds (list) – - An array of unique identifiers, one for each allow list to include. - (string) – 
 
- customDataIdentifierIds (list) – - An array of unique identifiers, one for each custom data identifier to include. - (string) – 
 
- managedDataIdentifierIds (list) – - An array of unique identifiers, one for each managed data identifier to include. - Amazon Macie uses these managed data identifiers in addition to managed data identifiers that are subsequently released and recommended for automated sensitive data discovery. To retrieve a list of valid values for the managed data identifiers that are currently available, use the ListManagedDataIdentifiers operation. - (string) – 
 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – - The request succeeded. The template’s settings were updated and there isn’t any content to include in the body of the response (No Content). 
 
 - Exceptions- Macie2.Client.exceptions.ResourceNotFoundException
- Macie2.Client.exceptions.ThrottlingException
- Macie2.Client.exceptions.ValidationException
- Macie2.Client.exceptions.InternalServerException
- Macie2.Client.exceptions.AccessDeniedException