Update ExportDestination
Update an Export Destination for the given UUID.
Currently, two options for setting up Data Export Destinations are available:
- S3 buckets on your AWS account.
- Buckets in your Google Cloud Storage account.
Request and Response schema:
- Use the selector under the
destinationTypeparameter to expose the relevant request and response schema for the type of Destination.
Request and Response samples:
- Use the Example selector to show the relevant request and response samples for the type of Destination.
Authorizations
Path Parameters
Body
- ExportDestinationS3Request
- ExportDestinationGoogleCloudStorageRequest
To enable m3ter to upload a Data Exports to your S3 bucket, the service has to assume an IAM role with PutObject permission for the specified bucketName. Create a suitable IAM role in your AWS account and enter ARN:
Formatting Constraints:
- The IAM role ARN must begin with "arn:aws:iam".
- The general format required is: "arn:aws:iam:::role/". For example: "arn:aws:iam::922609978421:role/IAMRole636".
- If the
iamRoleArnused doesn't comply with this format, then an error message will be returned.
More Details: For more details and examples of the Permission and Trust Policies you can use to create the required IAM Role ARN, see Creating Data Export Destinations in our main User documentation.
1^arn:aws:iam::\d+:role/.*$The version number of the entity:
- Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
- Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
Response
Returns the updated Export Destination
- ExportDestinationS3Response
- ExportDestinationGoogleCloudStorageResponse