Cloud
Edit AWS Data Source
Edit the metadata of an AWS data source. Metadata refers to any property of the data source that is not related to the data source's cloud data itself.
patch/v1/dataSources/aws/{awsDataSourceId}
Path parameters
awsDataSourceIdstring required
AWS data source ID
Example:awsds_12345
The ID of the AWS data source to edit
Request body
Example request
{
"name": "Example AWS Data Source - Updated"
}Response
OK. Returns the edited AWS data source.
Example response
{
"dataSourceId": "awsds_12345",
"params": {
"name": "Example AWS Data Source",
"importType": "crossAccount",
"awsAccountId": "123456789012",
"regions": [
"us-east-1",
"us-west-2"
],
"resourceSelection": [
"AWS::EC2::Instance",
"AWS::S3::Bucket"
]
}
}