get_sensitive_data_occurrences_availability
(**kwargs)¶Checks whether occurrences of sensitive data can be retrieved for a finding.
See also: AWS API Documentation
Request Syntax
response = client.get_sensitive_data_occurrences_availability(
findingId='string'
)
[REQUIRED]
The unique identifier for the finding.
{
'code': 'AVAILABLE'|'UNAVAILABLE',
'reasons': [
'OBJECT_EXCEEDS_SIZE_QUOTA'|'UNSUPPORTED_OBJECT_TYPE'|'UNSUPPORTED_FINDING_TYPE'|'INVALID_CLASSIFICATION_RESULT'|'OBJECT_UNAVAILABLE',
]
}
Response Structure
The request succeeded.
Specifies whether occurrences of sensitive data can be retrieved for the finding. Possible values are: AVAILABLE, the sensitive data can be retrieved; and, UNAVAILABLE, the sensitive data can't be retrieved. If this value is UNAVAILABLE, the reasons array indicates why the data can't be retrieved.
Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:
This value is null if sensitive data can be retrieved for the finding.
Specifies why occurrences of sensitive data can't be retrieved for a finding. Possible values are:
Exceptions
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.AccessDeniedException