:doc:`DatabaseMigrationService <../../dms>` / Client / export_metadata_model_assessment

********************************
export_metadata_model_assessment
********************************



.. py:method:: DatabaseMigrationService.Client.export_metadata_model_assessment(**kwargs)

  

  Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ExportMetadataModelAssessment>`_  


  **Request Syntax**
  ::

    response = client.export_metadata_model_assessment(
        MigrationProjectIdentifier='string',
        SelectionRules='string',
        FileName='string',
        AssessmentReportTypes=[
            'pdf'|'csv',
        ]
    )
    
  :type MigrationProjectIdentifier: string
  :param MigrationProjectIdentifier: **[REQUIRED]** 

    The migration project name or Amazon Resource Name (ARN).

    

  
  :type SelectionRules: string
  :param SelectionRules: **[REQUIRED]** 

    A value that specifies the database objects to assess.

    

  
  :type FileName: string
  :param FileName: 

    The name of the assessment file to create in your Amazon S3 bucket.

    

  
  :type AssessmentReportTypes: list
  :param AssessmentReportTypes: 

    The file format of the assessment file.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'PdfReport': {
              'S3ObjectKey': 'string',
              'ObjectURL': 'string'
          },
          'CsvReport': {
              'S3ObjectKey': 'string',
              'ObjectURL': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **PdfReport** *(dict) --* 

        The Amazon S3 details for an assessment exported in PDF format.

        
        

        - **S3ObjectKey** *(string) --* 

          The object key for the object containing the exported metadata model assessment.

          
        

        - **ObjectURL** *(string) --* 

          The URL for the object containing the exported metadata model assessment.

          
    
      

      - **CsvReport** *(dict) --* 

        The Amazon S3 details for an assessment exported in CSV format.

        
        

        - **S3ObjectKey** *(string) --* 

          The object key for the object containing the exported metadata model assessment.

          
        

        - **ObjectURL** *(string) --* 

          The URL for the object containing the exported metadata model assessment.

          
    
  
  **Exceptions**
  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault`

  