Skip to content

Commit

Permalink
feat(client-datazone): Adding the following project member designatio…
Browse files Browse the repository at this point in the history
…ns: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API.
  • Loading branch information
awstools committed Oct 18, 2024
1 parent ca03f0c commit 678f17d
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface AddPolicyGrantCommandOutput extends AddPolicyGrantOutput, __Met
* groupIdentifier: "STRING_VALUE",
* },
* project: { // ProjectPolicyGrantPrincipal
* projectDesignation: "OWNER" || "CONTRIBUTOR", // required
* projectDesignation: "OWNER" || "CONTRIBUTOR" || "PROJECT_CATALOG_STEWARD", // required
* projectIdentifier: "STRING_VALUE",
* projectGrantFilter: { // ProjectGrantFilter Union: only one key present
* domainUnitFilter: { // DomainUnitFilterForProject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export interface CreateProjectMembershipCommandOutput extends CreateProjectMembe
* userIdentifier: "STRING_VALUE",
* groupIdentifier: "STRING_VALUE",
* },
* designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR", // required
* designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR" || "PROJECT_CATALOG_VIEWER" || "PROJECT_CATALOG_CONSUMER" || "PROJECT_CATALOG_STEWARD", // required
* };
* const command = new CreateProjectMembershipCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface ListPolicyGrantsCommandOutput extends ListPolicyGrantsOutput, _
* // groupIdentifier: "STRING_VALUE",
* // },
* // project: { // ProjectPolicyGrantPrincipal
* // projectDesignation: "OWNER" || "CONTRIBUTOR", // required
* // projectDesignation: "OWNER" || "CONTRIBUTOR" || "PROJECT_CATALOG_STEWARD", // required
* // projectIdentifier: "STRING_VALUE",
* // projectGrantFilter: { // ProjectGrantFilter Union: only one key present
* // domainUnitFilter: { // DomainUnitFilterForProject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface ListProjectMembershipsCommandOutput extends ListProjectMembersh
* // groupId: "STRING_VALUE", // required
* // },
* // },
* // designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR", // required
* // designation: "PROJECT_OWNER" || "PROJECT_CONTRIBUTOR" || "PROJECT_CATALOG_VIEWER" || "PROJECT_CATALOG_CONSUMER" || "PROJECT_CATALOG_STEWARD", // required
* // },
* // ],
* // nextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface RemovePolicyGrantCommandOutput extends RemovePolicyGrantOutput,
* groupIdentifier: "STRING_VALUE",
* },
* project: { // ProjectPolicyGrantPrincipal
* projectDesignation: "OWNER" || "CONTRIBUTOR", // required
* projectDesignation: "OWNER" || "CONTRIBUTOR" || "PROJECT_CATALOG_STEWARD", // required
* projectIdentifier: "STRING_VALUE",
* projectGrantFilter: { // ProjectGrantFilter Union: only one key present
* domainUnitFilter: { // DomainUnitFilterForProject
Expand Down
4 changes: 4 additions & 0 deletions clients/client-datazone/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1502,6 +1502,7 @@ export namespace GroupPolicyGrantPrincipal {
export const ProjectDesignation = {
CONTRIBUTOR: "CONTRIBUTOR",
OWNER: "OWNER",
PROJECT_CATALOG_STEWARD: "PROJECT_CATALOG_STEWARD",
} as const;

/**
Expand Down Expand Up @@ -6913,6 +6914,9 @@ export interface CreateProjectOutput {
* @enum
*/
export const UserDesignation = {
PROJECT_CATALOG_CONSUMER: "PROJECT_CATALOG_CONSUMER",
PROJECT_CATALOG_STEWARD: "PROJECT_CATALOG_STEWARD",
PROJECT_CATALOG_VIEWER: "PROJECT_CATALOG_VIEWER",
PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR",
PROJECT_OWNER: "PROJECT_OWNER",
} as const;
Expand Down
24 changes: 24 additions & 0 deletions codegen/sdk-codegen/aws-models/datazone.json
Original file line number Diff line number Diff line change
Expand Up @@ -21289,6 +21289,12 @@
"traits": {
"smithy.api#enumValue": "CONTRIBUTOR"
}
},
"PROJECT_CATALOG_STEWARD": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
}
}
}
},
Expand Down Expand Up @@ -28599,6 +28605,24 @@
"traits": {
"smithy.api#enumValue": "PROJECT_CONTRIBUTOR"
}
},
"PROJECT_CATALOG_VIEWER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_VIEWER"
}
},
"PROJECT_CATALOG_CONSUMER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_CONSUMER"
}
},
"PROJECT_CATALOG_STEWARD": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PROJECT_CATALOG_STEWARD"
}
}
}
},
Expand Down

0 comments on commit 678f17d

Please sign in to comment.