@@ -4228,6 +4228,39 @@ export interface CreateProjectInput {
4228
4228
glossaryTerms ?: string [ ] ;
4229
4229
}
4230
4230
4231
+ /**
4232
+ * @public
4233
+ * Error that occurred during project deletion
4234
+ */
4235
+ export interface ProjectDeletionError {
4236
+ /**
4237
+ * @public
4238
+ * Project Deletion Error Code
4239
+ */
4240
+ code ?: string ;
4241
+
4242
+ /**
4243
+ * @public
4244
+ * Project Deletion Error Message
4245
+ */
4246
+ message ?: string ;
4247
+ }
4248
+
4249
+ /**
4250
+ * @public
4251
+ * @enum
4252
+ */
4253
+ export const ProjectStatus = {
4254
+ ACTIVE : "ACTIVE" ,
4255
+ DELETE_FAILED : "DELETE_FAILED" ,
4256
+ DELETING : "DELETING" ,
4257
+ } as const ;
4258
+
4259
+ /**
4260
+ * @public
4261
+ */
4262
+ export type ProjectStatus = ( typeof ProjectStatus ) [ keyof typeof ProjectStatus ] ;
4263
+
4231
4264
/**
4232
4265
* @public
4233
4266
*/
@@ -4256,6 +4289,18 @@ export interface CreateProjectOutput {
4256
4289
*/
4257
4290
description ?: string ;
4258
4291
4292
+ /**
4293
+ * @public
4294
+ * Status of the project
4295
+ */
4296
+ projectStatus ?: ProjectStatus ;
4297
+
4298
+ /**
4299
+ * @public
4300
+ * Reasons for failed project deletion
4301
+ */
4302
+ failureReasons ?: ProjectDeletionError [ ] ;
4303
+
4259
4304
/**
4260
4305
* @public
4261
4306
* <p>The Amazon DataZone user who created the project.</p>
@@ -6569,6 +6614,12 @@ export interface DeleteProjectInput {
6569
6614
* <p>The identifier of the project that is to be deleted.</p>
6570
6615
*/
6571
6616
identifier : string | undefined ;
6617
+
6618
+ /**
6619
+ * @public
6620
+ * Optional flag to asynchronously delete child entities within the project
6621
+ */
6622
+ skipDeletionCheck ?: boolean ;
6572
6623
}
6573
6624
6574
6625
/**
@@ -6749,6 +6800,12 @@ export interface DeleteDomainInput {
6749
6800
* request.</p>
6750
6801
*/
6751
6802
clientToken ?: string ;
6803
+
6804
+ /**
6805
+ * @public
6806
+ * Optional flag to delete all child entities within the domain
6807
+ */
6808
+ skipDeletionCheck ?: boolean ;
6752
6809
}
6753
6810
6754
6811
/**
@@ -7934,6 +7991,18 @@ export interface GetProjectOutput {
7934
7991
*/
7935
7992
description ?: string ;
7936
7993
7994
+ /**
7995
+ * @public
7996
+ * Status of the project
7997
+ */
7998
+ projectStatus ?: ProjectStatus ;
7999
+
8000
+ /**
8001
+ * @public
8002
+ * Reasons for failed project deletion
8003
+ */
8004
+ failureReasons ?: ProjectDeletionError [ ] ;
8005
+
7937
8006
/**
7938
8007
* @public
7939
8008
* <p>The Amazon DataZone user who created the project.</p>
@@ -10104,6 +10173,18 @@ export interface ProjectSummary {
10104
10173
*/
10105
10174
description ?: string ;
10106
10175
10176
+ /**
10177
+ * @public
10178
+ * Status of the project
10179
+ */
10180
+ projectStatus ?: ProjectStatus ;
10181
+
10182
+ /**
10183
+ * @public
10184
+ * Reasons for failed project deletion
10185
+ */
10186
+ failureReasons ?: ProjectDeletionError [ ] ;
10187
+
10107
10188
/**
10108
10189
* @public
10109
10190
* <p>The Amazon DataZone user who created the project.</p>
@@ -10950,53 +11031,6 @@ export interface RejectPredictionsInput {
10950
11031
clientToken ?: string ;
10951
11032
}
10952
11033
10953
- /**
10954
- * @public
10955
- */
10956
- export interface RejectPredictionsOutput {
10957
- /**
10958
- * @public
10959
- * <p/>
10960
- */
10961
- domainId : string | undefined ;
10962
-
10963
- /**
10964
- * @public
10965
- * <p/>
10966
- */
10967
- assetId : string | undefined ;
10968
-
10969
- /**
10970
- * @public
10971
- * <p/>
10972
- */
10973
- assetRevision : string | undefined ;
10974
- }
10975
-
10976
- /**
10977
- * @public
10978
- */
10979
- export interface RejectSubscriptionRequestInput {
10980
- /**
10981
- * @public
10982
- * <p>The identifier of the Amazon DataZone domain in which the subscription request was
10983
- * rejected.</p>
10984
- */
10985
- domainIdentifier : string | undefined ;
10986
-
10987
- /**
10988
- * @public
10989
- * <p>The identifier of the subscription request that was rejected.</p>
10990
- */
10991
- identifier : string | undefined ;
10992
-
10993
- /**
10994
- * @public
10995
- * <p>The decision comment of the rejected subscription request.</p>
10996
- */
10997
- decisionComment ?: string ;
10998
- }
10999
-
11000
11034
/**
11001
11035
* @internal
11002
11036
*/
@@ -11980,11 +12014,3 @@ export const ListSubscriptionTargetsOutputFilterSensitiveLog = (obj: ListSubscri
11980
12014
...obj ,
11981
12015
...( obj . items && { items : obj . items . map ( ( item ) => SubscriptionTargetSummaryFilterSensitiveLog ( item ) ) } ) ,
11982
12016
} ) ;
11983
-
11984
- /**
11985
- * @internal
11986
- */
11987
- export const RejectSubscriptionRequestInputFilterSensitiveLog = ( obj : RejectSubscriptionRequestInput ) : any => ( {
11988
- ...obj ,
11989
- ...( obj . decisionComment && { decisionComment : SENSITIVE_STRING } ) ,
11990
- } ) ;
0 commit comments