import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const migrationSource = await client.storage.migrationSources.retrieve('');
console.log(migrationSource.data);{
"data": {
"provider": "aws",
"provider_auth": {
"access_key": "<string>",
"secret_access_key": "<string>"
},
"bucket_name": "<string>",
"id": "<string>",
"source_region": "<string>"
}
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const migrationSource = await client.storage.migrationSources.retrieve('');
console.log(migrationSource.data);{
"data": {
"provider": "aws",
"provider_auth": {
"access_key": "<string>",
"secret_access_key": "<string>"
},
"bucket_name": "<string>",
"id": "<string>",
"source_region": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier for the data migration source.
Create Migration Source Response
Show child attributes
Cloud provider from which to migrate data. Use 'telnyx' if you want to migrate data from one Telnyx bucket to another.
aws, telnyx Bucket name to migrate the data from.
Unique identifier for the data migration source.
For intra-Telnyx buckets migration, specify the source bucket region in this field.
Was this page helpful?