Skip to content

Commit 64852ec

Browse files
author
awstools
committed
feat(client-datazone): Added support for Project Resource Tags
1 parent a6a3e29 commit 64852ec

14 files changed

+734
-215
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
4646
* domainIdentifier: "STRING_VALUE", // required
4747
* name: "STRING_VALUE", // required
4848
* description: "STRING_VALUE",
49+
* resourceTags: { // Tags
50+
* "<keys>": "STRING_VALUE",
51+
* },
4952
* glossaryTerms: [ // GlossaryTerms
5053
* "STRING_VALUE",
5154
* ],
@@ -86,6 +89,13 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
8689
* // createdBy: "STRING_VALUE", // required
8790
* // createdAt: new Date("TIMESTAMP"),
8891
* // lastUpdatedAt: new Date("TIMESTAMP"),
92+
* // resourceTags: [ // ResourceTags
93+
* // { // ResourceTag
94+
* // key: "STRING_VALUE", // required
95+
* // value: "STRING_VALUE", // required
96+
* // source: "PROJECT" || "PROJECT_PROFILE", // required
97+
* // },
98+
* // ],
8999
* // glossaryTerms: [ // GlossaryTerms
90100
* // "STRING_VALUE",
91101
* // ],

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { CreateProjectMembershipInput, CreateProjectMembershipOutput } from "../models/models_0";
9+
import { CreateProjectMembershipInput, CreateProjectMembershipOutput } from "../models/models_1";
1010
import { de_CreateProjectMembershipCommand, se_CreateProjectMembershipCommand } from "../protocols/Aws_restJson1";
1111

1212
/**

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ export interface CreateProjectProfileCommandOutput extends CreateProjectProfileO
4747
* name: "STRING_VALUE", // required
4848
* description: "STRING_VALUE",
4949
* status: "ENABLED" || "DISABLED",
50+
* projectResourceTags: [ // ProjectResourceTagParameters
51+
* { // ResourceTagParameter
52+
* key: "STRING_VALUE", // required
53+
* value: "STRING_VALUE", // required
54+
* isValueEditable: true || false, // required
55+
* },
56+
* ],
57+
* allowCustomProjectResourceTags: true || false,
58+
* projectResourceTagsDescription: "STRING_VALUE",
5059
* environmentConfigurations: [ // EnvironmentConfigurationsList
5160
* { // EnvironmentConfiguration
5261
* name: "STRING_VALUE", // required
@@ -95,6 +104,15 @@ export interface CreateProjectProfileCommandOutput extends CreateProjectProfileO
95104
* // name: "STRING_VALUE", // required
96105
* // description: "STRING_VALUE",
97106
* // status: "ENABLED" || "DISABLED",
107+
* // projectResourceTags: [ // ProjectResourceTagParameters
108+
* // { // ResourceTagParameter
109+
* // key: "STRING_VALUE", // required
110+
* // value: "STRING_VALUE", // required
111+
* // isValueEditable: true || false, // required
112+
* // },
113+
* // ],
114+
* // allowCustomProjectResourceTags: true || false,
115+
* // projectResourceTagsDescription: "STRING_VALUE",
98116
* // environmentConfigurations: [ // EnvironmentConfigurationsList
99117
* // { // EnvironmentConfiguration
100118
* // name: "STRING_VALUE", // required

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ export interface GetProjectCommandOutput extends GetProjectOutput, __MetadataBea
5858
* // createdBy: "STRING_VALUE", // required
5959
* // createdAt: new Date("TIMESTAMP"),
6060
* // lastUpdatedAt: new Date("TIMESTAMP"),
61+
* // resourceTags: [ // ResourceTags
62+
* // { // ResourceTag
63+
* // key: "STRING_VALUE", // required
64+
* // value: "STRING_VALUE", // required
65+
* // source: "PROJECT" || "PROJECT_PROFILE", // required
66+
* // },
67+
* // ],
6168
* // glossaryTerms: [ // GlossaryTerms
6269
* // "STRING_VALUE",
6370
* // ],

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@ export interface GetProjectProfileCommandOutput extends GetProjectProfileOutput,
5353
* // name: "STRING_VALUE", // required
5454
* // description: "STRING_VALUE",
5555
* // status: "ENABLED" || "DISABLED",
56+
* // projectResourceTags: [ // ProjectResourceTagParameters
57+
* // { // ResourceTagParameter
58+
* // key: "STRING_VALUE", // required
59+
* // value: "STRING_VALUE", // required
60+
* // isValueEditable: true || false, // required
61+
* // },
62+
* // ],
63+
* // allowCustomProjectResourceTags: true || false,
64+
* // projectResourceTagsDescription: "STRING_VALUE",
5665
* // environmentConfigurations: [ // EnvironmentConfigurationsList
5766
* // { // EnvironmentConfiguration
5867
* // name: "STRING_VALUE", // required

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { ListSubscriptionTargetsInput } from "../models/models_1";
10-
import { ListSubscriptionTargetsOutput, ListSubscriptionTargetsOutputFilterSensitiveLog } from "../models/models_2";
9+
import {
10+
ListSubscriptionTargetsInput,
11+
ListSubscriptionTargetsOutput,
12+
ListSubscriptionTargetsOutputFilterSensitiveLog,
13+
} from "../models/models_2";
1114
import { de_ListSubscriptionTargetsCommand, se_ListSubscriptionTargetsCommand } from "../protocols/Aws_restJson1";
1215

1316
/**

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import {
10-
ListSubscriptionsInput,
11-
ListSubscriptionsOutput,
12-
ListSubscriptionsOutputFilterSensitiveLog,
13-
} from "../models/models_1";
9+
import { ListSubscriptionsInput } from "../models/models_1";
10+
import { ListSubscriptionsOutput, ListSubscriptionsOutputFilterSensitiveLog } from "../models/models_2";
1411
import { de_ListSubscriptionsCommand, se_ListSubscriptionsCommand } from "../protocols/Aws_restJson1";
1512

1613
/**

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
4747
* identifier: "STRING_VALUE", // required
4848
* name: "STRING_VALUE",
4949
* description: "STRING_VALUE",
50+
* resourceTags: { // Tags
51+
* "<keys>": "STRING_VALUE",
52+
* },
5053
* glossaryTerms: [ // GlossaryTerms
5154
* "STRING_VALUE",
5255
* ],
@@ -98,6 +101,13 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
98101
* // createdBy: "STRING_VALUE", // required
99102
* // createdAt: new Date("TIMESTAMP"),
100103
* // lastUpdatedAt: new Date("TIMESTAMP"),
104+
* // resourceTags: [ // ResourceTags
105+
* // { // ResourceTag
106+
* // key: "STRING_VALUE", // required
107+
* // value: "STRING_VALUE", // required
108+
* // source: "PROJECT" || "PROJECT_PROFILE", // required
109+
* // },
110+
* // ],
101111
* // glossaryTerms: [ // GlossaryTerms
102112
* // "STRING_VALUE",
103113
* // ],

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ export interface UpdateProjectProfileCommandOutput extends UpdateProjectProfileO
4848
* name: "STRING_VALUE",
4949
* description: "STRING_VALUE",
5050
* status: "ENABLED" || "DISABLED",
51+
* projectResourceTags: [ // ProjectResourceTagParameters
52+
* { // ResourceTagParameter
53+
* key: "STRING_VALUE", // required
54+
* value: "STRING_VALUE", // required
55+
* isValueEditable: true || false, // required
56+
* },
57+
* ],
58+
* allowCustomProjectResourceTags: true || false,
59+
* projectResourceTagsDescription: "STRING_VALUE",
5160
* environmentConfigurations: [ // EnvironmentConfigurationsList
5261
* { // EnvironmentConfiguration
5362
* name: "STRING_VALUE", // required
@@ -96,6 +105,15 @@ export interface UpdateProjectProfileCommandOutput extends UpdateProjectProfileO
96105
* // name: "STRING_VALUE", // required
97106
* // description: "STRING_VALUE",
98107
* // status: "ENABLED" || "DISABLED",
108+
* // projectResourceTags: [ // ProjectResourceTagParameters
109+
* // { // ResourceTagParameter
110+
* // key: "STRING_VALUE", // required
111+
* // value: "STRING_VALUE", // required
112+
* // isValueEditable: true || false, // required
113+
* // },
114+
* // ],
115+
* // allowCustomProjectResourceTags: true || false,
116+
* // projectResourceTagsDescription: "STRING_VALUE",
99117
* // environmentConfigurations: [ // EnvironmentConfigurationsList
100118
* // { // EnvironmentConfiguration
101119
* // name: "STRING_VALUE", // required

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

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10435,6 +10435,12 @@ export interface CreateProjectInput {
1043510435
*/
1043610436
description?: string | undefined;
1043710437

10438+
/**
10439+
* <p>The resource tags of the project.</p>
10440+
* @public
10441+
*/
10442+
resourceTags?: Record<string, string> | undefined;
10443+
1043810444
/**
1043910445
* <p>The glossary terms that can be used in this Amazon DataZone project.</p>
1044010446
* @public
@@ -10531,6 +10537,44 @@ export const ProjectStatus = {
1053110537
*/
1053210538
export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
1053310539

10540+
/**
10541+
* @public
10542+
* @enum
10543+
*/
10544+
export const ResourceTagSource = {
10545+
PROJECT: "PROJECT",
10546+
PROJECT_PROFILE: "PROJECT_PROFILE",
10547+
} as const;
10548+
10549+
/**
10550+
* @public
10551+
*/
10552+
export type ResourceTagSource = (typeof ResourceTagSource)[keyof typeof ResourceTagSource];
10553+
10554+
/**
10555+
* <p>The resource tag of the project.</p>
10556+
* @public
10557+
*/
10558+
export interface ResourceTag {
10559+
/**
10560+
* <p>The key of the resource tag of the project.</p>
10561+
* @public
10562+
*/
10563+
key: string | undefined;
10564+
10565+
/**
10566+
* <p>The value of the resource tag of the project.</p>
10567+
* @public
10568+
*/
10569+
value: string | undefined;
10570+
10571+
/**
10572+
* <p>The source of the resource tag of the project.</p>
10573+
* @public
10574+
*/
10575+
source: ResourceTagSource | undefined;
10576+
}
10577+
1053410578
/**
1053510579
* @public
1053610580
*/
@@ -10589,6 +10633,12 @@ export interface CreateProjectOutput {
1058910633
*/
1059010634
lastUpdatedAt?: Date | undefined;
1059110635

10636+
/**
10637+
* <p>The resource tags of the project.</p>
10638+
* @public
10639+
*/
10640+
resourceTags?: ResourceTag[] | undefined;
10641+
1059210642
/**
1059310643
* <p>The glossary terms that can be used in the project.</p>
1059410644
* @public
@@ -10689,40 +10739,6 @@ export namespace Member {
1068910739
};
1069010740
}
1069110741

10692-
/**
10693-
* @public
10694-
*/
10695-
export interface CreateProjectMembershipInput {
10696-
/**
10697-
* <p>The ID of the Amazon DataZone domain in which project membership is created.</p>
10698-
* @public
10699-
*/
10700-
domainIdentifier: string | undefined;
10701-
10702-
/**
10703-
* <p>The ID of the project for which this project membership was created.</p>
10704-
* @public
10705-
*/
10706-
projectIdentifier: string | undefined;
10707-
10708-
/**
10709-
* <p>The project member whose project membership was created.</p>
10710-
* @public
10711-
*/
10712-
member: Member | undefined;
10713-
10714-
/**
10715-
* <p>The designation of the project membership.</p>
10716-
* @public
10717-
*/
10718-
designation: UserDesignation | undefined;
10719-
}
10720-
10721-
/**
10722-
* @public
10723-
*/
10724-
export interface CreateProjectMembershipOutput {}
10725-
1072610742
/**
1072710743
* @internal
1072810744
*/

0 commit comments

Comments
 (0)