Download the Exported Data

You can download the exported data using the AWS Command Line Interface (AWS CLI).

Prerequisites

The following are the prerequisites to export the data using the AWS CLI:
  1. Download the AWS CLI at the following URL: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#getting-started-install-instructionsInformation published on non-SAP site.

  2. Open the terminal or command prompt and navigate to the folder where you want the exported content to be downloaded.

  3. Configure the following using the service key generated from an object store:

    1. Configure the access key ID:

      aws configure set aws_access_key_id <enter_object_store_access_id>
    2. Configure the secret access key:

      aws configure set aws_secret_access_key <enter_object_store_secret_access_key>

Download the Data Exported

Run the following commands to download the exported data:
  • Copy the path from the $export-status endpoint response. For more information, see Get the Status of an Export Data Operation.

  • Get the list of .tar.gz files containing the exported data:
    aws s3 ls s3://<bucket-from-object-store-service-key>/<path-from-export-status-response>/
  • Copy the files to the local system:

    aws s3 cp s3://<bucket-from-object-store-service-key>/<path-from-export-status-response>/ . --recursive

Exported Data Structure

The exported data structure in the object store is as follows:
  • The authorization-timestamp.tar.gz file contains all the authorization resources.

  • The conformance-timestamp.tar.gz file contains all the conformance resources.

  • The terminology-timestamp.tar.gz file contains all the terminology resources.

  • The configuration-timestamp.tar.gz file contains all the configuration resources.

  • The transaction-timestamp.tar.gz file contains all other transaction resources.

Example

The authorization-timestamp.tar.gz file structure:

AuthorizationMap-1.ndjson
historical-RolePermission-1.ndjson
deleted-RolePermission-1.ndjson