:doc:`Macie2 <../../macie2>` / Client / create_sample_findings

**********************
create_sample_findings
**********************



.. py:method:: Macie2.Client.create_sample_findings(**kwargs)

  

  Creates sample findings.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings>`_  


  **Request Syntax**
  ::

    response = client.create_sample_findings(
        findingTypes=[
            'SensitiveData:S3Object/Multiple'|'SensitiveData:S3Object/Financial'|'SensitiveData:S3Object/Personal'|'SensitiveData:S3Object/Credentials'|'SensitiveData:S3Object/CustomIdentifier'|'Policy:IAMUser/S3BucketPublic'|'Policy:IAMUser/S3BucketSharedExternally'|'Policy:IAMUser/S3BucketReplicatedExternally'|'Policy:IAMUser/S3BucketEncryptionDisabled'|'Policy:IAMUser/S3BlockPublicAccessDisabled'|'Policy:IAMUser/S3BucketSharedWithCloudFront',
        ]
    )
    
  :type findingTypes: list
  :param findingTypes: 

    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.

    

  
    - *(string) --* 

      The type of finding. For details about each type, see `Types of findings <https://docs.aws.amazon.com/macie/latest/user/findings-types.html>`__ in the *Amazon Macie User Guide*. Possible values are:

      

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      The request succeeded and there isn't any content to include in the body of the response (No Content).

      
  
  **Exceptions**
  
  *   :py:class:`Macie2.Client.exceptions.ValidationException`

  
  *   :py:class:`Macie2.Client.exceptions.InternalServerException`

  
  *   :py:class:`Macie2.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Macie2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Macie2.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Macie2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Macie2.Client.exceptions.ConflictException`

  