Skip to content

Commit 859a807

Browse files
author
awstools
committed
feat(client-datazone): Add support for the new optional domain-unit-id parameter in the UpdateProject API.
1 parent 8df0fe0 commit 859a807

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

clients/client-datazone/src/commands/UpdateProjectCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
4848
* glossaryTerms: [ // GlossaryTerms
4949
* "STRING_VALUE",
5050
* ],
51+
* domainUnitId: "STRING_VALUE",
5152
* environmentDeploymentDetails: { // EnvironmentDeploymentDetails
5253
* overallDeploymentStatus: "PENDING_DEPLOYMENT" || "IN_PROGRESS" || "SUCCESSFUL" || "FAILED_VALIDATION" || "FAILED_DEPLOYMENT",
5354
* environmentFailureReasons: { // EnvironmentFailureReasons

clients/client-datazone/src/models/models_0.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,8 @@ export interface OverrideProjectOwnersPolicyGrantDetail {
11121112
}
11131113

11141114
/**
1115-
* <p>Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.</p>
1115+
* <p>Specifies the domain unit(s) whose projects can use this asset type while creating asset
1116+
* or asset revisions.</p>
11161117
* @public
11171118
*/
11181119
export interface UseAssetTypePolicyGrantDetail {
@@ -1435,7 +1436,8 @@ export namespace PolicyGrantDetail {
14351436
}
14361437

14371438
/**
1438-
* <p> Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.</p>
1439+
* <p> Specifies the domain unit(s) whose projects can use this asset type while creating
1440+
* asset or asset revisions.</p>
14391441
* @public
14401442
*/
14411443
export interface UseAssetTypeMember {

clients/client-datazone/src/models/models_2.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,6 +1613,12 @@ export interface UpdateProjectInput {
16131613
*/
16141614
glossaryTerms?: string[] | undefined;
16151615

1616+
/**
1617+
* <p>The ID of the domain unit.</p>
1618+
* @public
1619+
*/
1620+
domainUnitId?: string | undefined;
1621+
16161622
/**
16171623
* <p>The environment deployment details of the project.</p>
16181624
* @public

clients/client-datazone/src/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4035,6 +4035,7 @@ export const se_UpdateProjectCommand = async (
40354035
body = JSON.stringify(
40364036
take(input, {
40374037
description: [],
4038+
domainUnitId: [],
40384039
environmentDeploymentDetails: (_) => _json(_),
40394040
glossaryTerms: (_) => _json(_),
40404041
name: [],

codegen/sdk-codegen/aws-models/datazone.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25950,7 +25950,7 @@
2595025950
"useAssetType": {
2595125951
"target": "com.amazonaws.datazone#UseAssetTypePolicyGrantDetail",
2595225952
"traits": {
25953-
"smithy.api#documentation": "<p> Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.</p>"
25953+
"smithy.api#documentation": "<p> Specifies the domain unit(s) whose projects can use this asset type while creating\n asset or asset revisions.</p>"
2595425954
}
2595525955
}
2595625956
},
@@ -34396,6 +34396,12 @@
3439634396
"smithy.api#documentation": "<p>The glossary terms to be updated as part of the <code>UpdateProject</code>\n action.</p>"
3439734397
}
3439834398
},
34399+
"domainUnitId": {
34400+
"target": "com.amazonaws.datazone#DomainUnitId",
34401+
"traits": {
34402+
"smithy.api#documentation": "<p>The ID of the domain unit.</p>"
34403+
}
34404+
},
3439934405
"environmentDeploymentDetails": {
3440034406
"target": "com.amazonaws.datazone#EnvironmentDeploymentDetails",
3440134407
"traits": {
@@ -35569,7 +35575,7 @@
3556935575
}
3557035576
},
3557135577
"traits": {
35572-
"smithy.api#documentation": "<p>Specifies the domain unit(s) whose projects can use this asset type while creating asset or asset revisions.</p>"
35578+
"smithy.api#documentation": "<p>Specifies the domain unit(s) whose projects can use this asset type while creating asset\n or asset revisions.</p>"
3557335579
}
3557435580
},
3557535581
"com.amazonaws.datazone#UserAssignment": {

0 commit comments

Comments
 (0)