create_sample_findings
async
¶
create_sample_findings(
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = None,
finding_types: Optional[__listOfFindingType] = None,
) -> CreateSampleFindingsResponse
Creates sample findings.
Parameters:
-
finding_types(Optional[__listOfFindingType], default:None) –An array of finding types, one for each type of sample finding to create. To create a sample of every type of finding that Amazon Macie supports, don't include this array in your request.
Raises:
-
AccessDeniedException–Provides information about an error that occurred due to insufficient access to a specified resource.
-
ConflictException–Provides information about an error that occurred due to a versioning conflict for 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.
-
ServiceQuotaExceededException–Provides information about an error that occurred due to one or more service quotas for an account.
-
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.