Skip to content

Commit af1cdd2

Browse files
author
AWS
committed
Amazon DataZone Update: Added api for deleting data export configuration for a domain
1 parent ed4e2ef commit af1cdd2

2 files changed

Lines changed: 45 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon DataZone",
4+
"contributor": "",
5+
"description": "Added api for deleting data export configuration for a domain"
6+
}

services/datazone/src/main/resources/codegen-resources/service-2.json

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,27 @@
908908
"documentation":"<p>Deletes and connection. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.</p>",
909909
"idempotent":true
910910
},
911+
"DeleteDataExportConfiguration":{
912+
"name":"DeleteDataExportConfiguration",
913+
"http":{
914+
"method":"DELETE",
915+
"requestUri":"/v2/domains/{domainIdentifier}/data-export-configuration",
916+
"responseCode":204
917+
},
918+
"input":{"shape":"DeleteDataExportConfigurationInput"},
919+
"output":{"shape":"DeleteDataExportConfigurationOutput"},
920+
"errors":[
921+
{"shape":"InternalServerException"},
922+
{"shape":"ResourceNotFoundException"},
923+
{"shape":"AccessDeniedException"},
924+
{"shape":"ThrottlingException"},
925+
{"shape":"ConflictException"},
926+
{"shape":"ValidationException"},
927+
{"shape":"UnauthorizedException"}
928+
],
929+
"documentation":"<p>Deletes data export configuration for a domain.</p> <p>This operation does not delete the S3 table created by the PutDataExportConfiguration operation.</p> <p>To temporarily disable export without deleting the configuration, use the PutDataExportConfiguration operation with the <code>--no-enable-export</code> flag instead. This allows you to re-enable export for the same domain using the <code>--enable-export</code> flag without deleting S3 table.</p>",
930+
"idempotent":true
931+
},
911932
"DeleteDataProduct":{
912933
"name":"DeleteDataProduct",
913934
"http":{
@@ -2818,7 +2839,7 @@
28182839
{"shape":"ValidationException"},
28192840
{"shape":"UnauthorizedException"}
28202841
],
2821-
"documentation":"<p>Creates data export configuration details.</p> <p>In the current release, you can enable exporting asset metadata only for one domain per Amazon Web Services account per region. If you disable exporting asset metadata feature for a domain where it's already enabled, you cannot enable this feature for another domain in the same Amazon Web Services account and region.</p>",
2842+
"documentation":"<p>Creates data export configuration details.</p> <p>If you want to temporarily disable export and later re-enable it for the same domain, use the <code>--no-enable-export</code> flag to disable and the <code>--enable-export</code> flag to re-enable. This preserves the configuration and allows you to re-enable export without deleting S3 table.</p> <note> <p>You can enable asset metadata export for only one domain per account per Region. To enable export for a different domain, complete the following steps:</p> <ol> <li> <p>Delete the export configuration for the currently enabled domain using the DeleteDataExportConfiguration operation.</p> </li> <li> <p>Delete the asset S3 table under the aws-sagemaker-catalog S3 table bucket. We recommend backing up the S3 table before deletion.</p> </li> <li> <p>Call the PutDataExportConfiguration API to enable export for the new domain.</p> </li> </ol> </note>",
28222843
"idempotent":true
28232844
},
28242845
"PutEnvironmentBlueprintConfiguration":{
@@ -9609,6 +9630,22 @@
96099630
}
96109631
}
96119632
},
9633+
"DeleteDataExportConfigurationInput":{
9634+
"type":"structure",
9635+
"required":["domainIdentifier"],
9636+
"members":{
9637+
"domainIdentifier":{
9638+
"shape":"DomainId",
9639+
"documentation":"<p>The domain ID for which you want to delete the data export configuration.</p>",
9640+
"location":"uri",
9641+
"locationName":"domainIdentifier"
9642+
}
9643+
}
9644+
},
9645+
"DeleteDataExportConfigurationOutput":{
9646+
"type":"structure",
9647+
"members":{}
9648+
},
96129649
"DeleteDataProductInput":{
96139650
"type":"structure",
96149651
"required":[
@@ -19637,7 +19674,7 @@
1963719674
"members":{
1963819675
"domainIdentifier":{
1963919676
"shape":"DomainId",
19640-
"documentation":"<p>The domain ID where you want to create data export configuration details.</p>",
19677+
"documentation":"<p>The domain ID for which you want to create data export configuration details.</p>",
1964119678
"location":"uri",
1964219679
"locationName":"domainIdentifier"
1964319680
},

0 commit comments

Comments
 (0)