Skip to content

Commit 678f17d

Browse files
author
awstools
committed
feat(client-datazone): Adding the following project member designations: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API.
1 parent ca03f0c commit 678f17d

File tree

7 files changed

+33
-5
lines changed

7 files changed

+33
-5
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface AddPolicyGrantCommandOutput extends AddPolicyGrantOutput, __Met
5050
* groupIdentifier: "STRING_VALUE",
5151
* },
5252
* project: { // ProjectPolicyGrantPrincipal
53-
* projectDesignation: "OWNER" || "CONTRIBUTOR", // required
53+
* projectDesignation: "OWNER" || "CONTRIBUTOR" || "PROJECT_CATALOG_STEWARD", // required
5454
* projectIdentifier: "STRING_VALUE",
5555
* projectGrantFilter: { // ProjectGrantFilter Union: only one key present
5656
* domainUnitFilter: { // DomainUnitFilterForProject

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface CreateProjectMembershipCommandOutput extends CreateProjectMembe
4242
* userIdentifier: "STRING_VALUE",
4343
* groupIdentifier: "STRING_VALUE",
4444
* },
45-
* designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR", // required
45+
* designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR" || "PROJECT_CATALOG_VIEWER" || "PROJECT_CATALOG_CONSUMER" || "PROJECT_CATALOG_STEWARD", // required
4646
* };
4747
* const command = new CreateProjectMembershipCommand(input);
4848
* const response = await client.send(command);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface ListPolicyGrantsCommandOutput extends ListPolicyGrantsOutput, _
5757
* // groupIdentifier: "STRING_VALUE",
5858
* // },
5959
* // project: { // ProjectPolicyGrantPrincipal
60-
* // projectDesignation: "OWNER" || "CONTRIBUTOR", // required
60+
* // projectDesignation: "OWNER" || "CONTRIBUTOR" || "PROJECT_CATALOG_STEWARD", // required
6161
* // projectIdentifier: "STRING_VALUE",
6262
* // projectGrantFilter: { // ProjectGrantFilter Union: only one key present
6363
* // domainUnitFilter: { // DomainUnitFilterForProject

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface ListProjectMembershipsCommandOutput extends ListProjectMembersh
5656
* // groupId: "STRING_VALUE", // required
5757
* // },
5858
* // },
59-
* // designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR", // required
59+
* // designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR" || "PROJECT_CATALOG_VIEWER" || "PROJECT_CATALOG_CONSUMER" || "PROJECT_CATALOG_STEWARD", // required
6060
* // },
6161
* // ],
6262
* // nextToken: "STRING_VALUE",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface RemovePolicyGrantCommandOutput extends RemovePolicyGrantOutput,
4949
* groupIdentifier: "STRING_VALUE",
5050
* },
5151
* project: { // ProjectPolicyGrantPrincipal
52-
* projectDesignation: "OWNER" || "CONTRIBUTOR", // required
52+
* projectDesignation: "OWNER" || "CONTRIBUTOR" || "PROJECT_CATALOG_STEWARD", // required
5353
* projectIdentifier: "STRING_VALUE",
5454
* projectGrantFilter: { // ProjectGrantFilter Union: only one key present
5555
* domainUnitFilter: { // DomainUnitFilterForProject

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

+4
Original file line numberDiff line numberDiff line change
@@ -1502,6 +1502,7 @@ export namespace GroupPolicyGrantPrincipal {
15021502
export const ProjectDesignation = {
15031503
CONTRIBUTOR: "CONTRIBUTOR",
15041504
OWNER: "OWNER",
1505+
PROJECT_CATALOG_STEWARD: "PROJECT_CATALOG_STEWARD",
15051506
} as const;
15061507

15071508
/**
@@ -6913,6 +6914,9 @@ export interface CreateProjectOutput {
69136914
* @enum
69146915
*/
69156916
export const UserDesignation = {
6917+
PROJECT_CATALOG_CONSUMER: "PROJECT_CATALOG_CONSUMER",
6918+
PROJECT_CATALOG_STEWARD: "PROJECT_CATALOG_STEWARD",
6919+
PROJECT_CATALOG_VIEWER: "PROJECT_CATALOG_VIEWER",
69166920
PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR",
69176921
PROJECT_OWNER: "PROJECT_OWNER",
69186922
} as const;

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

+24
Original file line numberDiff line numberDiff line change
@@ -21289,6 +21289,12 @@
2128921289
"traits": {
2129021290
"smithy.api#enumValue": "CONTRIBUTOR"
2129121291
}
21292+
},
21293+
"PROJECT_CATALOG_STEWARD": {
21294+
"target": "smithy.api#Unit",
21295+
"traits": {
21296+
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
21297+
}
2129221298
}
2129321299
}
2129421300
},
@@ -28599,6 +28605,24 @@
2859928605
"traits": {
2860028606
"smithy.api#enumValue": "PROJECT_CONTRIBUTOR"
2860128607
}
28608+
},
28609+
"PROJECT_CATALOG_VIEWER": {
28610+
"target": "smithy.api#Unit",
28611+
"traits": {
28612+
"smithy.api#enumValue": "PROJECT_CATALOG_VIEWER"
28613+
}
28614+
},
28615+
"PROJECT_CATALOG_CONSUMER": {
28616+
"target": "smithy.api#Unit",
28617+
"traits": {
28618+
"smithy.api#enumValue": "PROJECT_CATALOG_CONSUMER"
28619+
}
28620+
},
28621+
"PROJECT_CATALOG_STEWARD": {
28622+
"target": "smithy.api#Unit",
28623+
"traits": {
28624+
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
28625+
}
2860228626
}
2860328627
}
2860428628
},

0 commit comments

Comments
 (0)