Skip to content

Commit ed38017

Browse files
author
awstools
committed
feat(client-datazone): This release adds support to update projects and environments
1 parent 0712dd4 commit ed38017

13 files changed

+211
-30
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
132132
* // endTimeoutMinutes: Number("int"),
133133
* // },
134134
* // environmentBlueprintId: "STRING_VALUE",
135+
* // environmentConfigurationId: "STRING_VALUE",
135136
* // };
136137
*
137138
* ```

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
5151
* projectProfileId: "STRING_VALUE",
5252
* userParameters: [ // EnvironmentConfigurationUserParametersList
5353
* { // EnvironmentConfigurationUserParameter
54+
* environmentId: "STRING_VALUE",
5455
* environmentConfigurationName: "STRING_VALUE",
5556
* environmentParameters: [ // EnvironmentParametersList
5657
* { // EnvironmentParameter
@@ -68,7 +69,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
6869
* // id: "STRING_VALUE", // required
6970
* // name: "STRING_VALUE", // required
7071
* // description: "STRING_VALUE",
71-
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
72+
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED",
7273
* // failureReasons: [ // FailureReasons
7374
* // { // ProjectDeletionError
7475
* // code: "STRING_VALUE",
@@ -85,6 +86,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
8586
* // projectProfileId: "STRING_VALUE",
8687
* // userParameters: [ // EnvironmentConfigurationUserParametersList
8788
* // { // EnvironmentConfigurationUserParameter
89+
* // environmentId: "STRING_VALUE",
8890
* // environmentConfigurationName: "STRING_VALUE",
8991
* // environmentParameters: [ // EnvironmentParametersList
9092
* // { // EnvironmentParameter

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

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __Met
111111
* // endTimeoutMinutes: Number("int"),
112112
* // },
113113
* // environmentBlueprintId: "STRING_VALUE",
114+
* // environmentConfigurationId: "STRING_VALUE",
114115
* // };
115116
*
116117
* ```

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface GetProjectCommandOutput extends GetProjectOutput, __MetadataBea
4646
* // id: "STRING_VALUE", // required
4747
* // name: "STRING_VALUE", // required
4848
* // description: "STRING_VALUE",
49-
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
49+
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED",
5050
* // failureReasons: [ // FailureReasons
5151
* // { // ProjectDeletionError
5252
* // code: "STRING_VALUE",
@@ -63,6 +63,7 @@ export interface GetProjectCommandOutput extends GetProjectOutput, __MetadataBea
6363
* // projectProfileId: "STRING_VALUE",
6464
* // userParameters: [ // EnvironmentConfigurationUserParametersList
6565
* // { // EnvironmentConfigurationUserParameter
66+
* // environmentId: "STRING_VALUE",
6667
* // environmentConfigurationName: "STRING_VALUE",
6768
* // environmentParameters: [ // EnvironmentParametersList
6869
* // { // EnvironmentParameter

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

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsOutput, _
7070
* // awsAccountRegion: "STRING_VALUE",
7171
* // provider: "STRING_VALUE", // required
7272
* // status: "ACTIVE" || "CREATING" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED" || "VALIDATION_FAILED" || "SUSPENDED" || "DISABLED" || "EXPIRED" || "DELETED" || "INACCESSIBLE",
73+
* // environmentConfigurationId: "STRING_VALUE",
7374
* // },
7475
* // ],
7576
* // nextToken: "STRING_VALUE",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface ListProjectsCommandOutput extends ListProjectsOutput, __Metadat
5757
* // id: "STRING_VALUE", // required
5858
* // name: "STRING_VALUE", // required
5959
* // description: "STRING_VALUE",
60-
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
60+
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED",
6161
* // failureReasons: [ // FailureReasons
6262
* // { // ProjectDeletionError
6363
* // code: "STRING_VALUE",

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

+8
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput,
4747
* glossaryTerms: [ // GlossaryTerms
4848
* "STRING_VALUE",
4949
* ],
50+
* blueprintVersion: "STRING_VALUE",
51+
* userParameters: [ // EnvironmentParametersList
52+
* { // EnvironmentParameter
53+
* name: "STRING_VALUE",
54+
* value: "STRING_VALUE",
55+
* },
56+
* ],
5057
* };
5158
* const command = new UpdateEnvironmentCommand(input);
5259
* const response = await client.send(command);
@@ -120,6 +127,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput,
120127
* // endTimeoutMinutes: Number("int"),
121128
* // },
122129
* // environmentBlueprintId: "STRING_VALUE",
130+
* // environmentConfigurationId: "STRING_VALUE",
123131
* // };
124132
*
125133
* ```

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

+15-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
5959
* ],
6060
* },
6161
* },
62+
* userParameters: [ // EnvironmentConfigurationUserParametersList
63+
* { // EnvironmentConfigurationUserParameter
64+
* environmentId: "STRING_VALUE",
65+
* environmentConfigurationName: "STRING_VALUE",
66+
* environmentParameters: [ // EnvironmentParametersList
67+
* { // EnvironmentParameter
68+
* name: "STRING_VALUE",
69+
* value: "STRING_VALUE",
70+
* },
71+
* ],
72+
* },
73+
* ],
74+
* projectProfileVersion: "STRING_VALUE",
6275
* };
6376
* const command = new UpdateProjectCommand(input);
6477
* const response = await client.send(command);
@@ -67,7 +80,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
6780
* // id: "STRING_VALUE", // required
6881
* // name: "STRING_VALUE", // required
6982
* // description: "STRING_VALUE",
70-
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
83+
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED",
7184
* // failureReasons: [ // FailureReasons
7285
* // { // ProjectDeletionError
7386
* // code: "STRING_VALUE",
@@ -84,6 +97,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
8497
* // projectProfileId: "STRING_VALUE",
8598
* // userParameters: [ // EnvironmentConfigurationUserParametersList
8699
* // { // EnvironmentConfigurationUserParameter
100+
* // environmentId: "STRING_VALUE",
87101
* // environmentConfigurationName: "STRING_VALUE",
88102
* // environmentParameters: [ // EnvironmentParametersList
89103
* // { // EnvironmentParameter

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

+39-11
Original file line numberDiff line numberDiff line change
@@ -4037,7 +4037,8 @@ export interface OAuth2ClientApplication {
40374037
userManagedClientApplicationClientId?: string | undefined;
40384038

40394039
/**
4040-
* <p>The Amazon Web Services managed client application reference in the OAuth2Client application.</p>
4040+
* <p>The Amazon Web Services managed client application reference in the OAuth2Client
4041+
* application.</p>
40414042
* @public
40424043
*/
40434044
aWSManagedClientApplicationReference?: string | undefined;
@@ -4686,13 +4687,15 @@ export interface GlueConnectionInput {
46864687
matchCriteria?: string | undefined;
46874688

46884689
/**
4689-
* <p>Speciefies whether to validate credentials of the Amazon Web Services Glue connection.</p>
4690+
* <p>Speciefies whether to validate credentials of the Amazon Web Services Glue
4691+
* connection.</p>
46904692
* @public
46914693
*/
46924694
validateCredentials?: boolean | undefined;
46934695

46944696
/**
4695-
* <p>Speciefies whether to validate for compute environments of the Amazon Web Services Glue connection.</p>
4697+
* <p>Speciefies whether to validate for compute environments of the Amazon Web Services Glue
4698+
* connection.</p>
46964699
* @public
46974700
*/
46984701
validateForComputeEnvironments?: ComputeEnvironments[] | undefined;
@@ -4752,7 +4755,8 @@ export interface HyperPodPropertiesInput {
47524755
*/
47534756
export interface IamPropertiesInput {
47544757
/**
4755-
* <p>Specifies whether Amazon Web Services Glue lineage sync is enabled for a connection.</p>
4758+
* <p>Specifies whether Amazon Web Services Glue lineage sync is enabled for a
4759+
* connection.</p>
47564760
* @public
47574761
*/
47584762
glueLineageSyncEnabled?: boolean | undefined;
@@ -5030,13 +5034,15 @@ export interface SparkGluePropertiesInput {
50305034
additionalArgs?: SparkGlueArgs | undefined;
50315035

50325036
/**
5033-
* <p>The Amazon Web Services Glue connection name in the Spark Amazon Web Services Glue properties.</p>
5037+
* <p>The Amazon Web Services Glue connection name in the Spark Amazon Web Services Glue
5038+
* properties.</p>
50345039
* @public
50355040
*/
50365041
glueConnectionName?: string | undefined;
50375042

50385043
/**
5039-
* <p>The Amazon Web Services Glue version in the Spark Amazon Web Services Glue properties.</p>
5044+
* <p>The Amazon Web Services Glue version in the Spark Amazon Web Services Glue
5045+
* properties.</p>
50405046
* @public
50415047
*/
50425048
glueVersion?: string | undefined;
@@ -5320,7 +5326,8 @@ export interface IamPropertiesOutput {
53205326
environmentId?: string | undefined;
53215327

53225328
/**
5323-
* <p>Specifies whether Amazon Web Services Glue lineage sync is enabled for a connection.</p>
5329+
* <p>Specifies whether Amazon Web Services Glue lineage sync is enabled for a
5330+
* connection.</p>
53245331
* @public
53255332
*/
53265333
glueLineageSyncEnabled?: boolean | undefined;
@@ -5508,13 +5515,15 @@ export interface SparkGluePropertiesOutput {
55085515
additionalArgs?: SparkGlueArgs | undefined;
55095516

55105517
/**
5511-
* <p>The Amazon Web Services Glue connection name in the Spark Amazon Web Services Glue properties. </p>
5518+
* <p>The Amazon Web Services Glue connection name in the Spark Amazon Web Services Glue
5519+
* properties. </p>
55125520
* @public
55135521
*/
55145522
glueConnectionName?: string | undefined;
55155523

55165524
/**
5517-
* <p>The Amazon Web Services Glue version in the Spark Amazon Web Services Glue properties. </p>
5525+
* <p>The Amazon Web Services Glue version in the Spark Amazon Web Services Glue properties.
5526+
* </p>
55185527
* @public
55195528
*/
55205529
glueVersion?: string | undefined;
@@ -5752,7 +5761,8 @@ export interface GluePropertiesPatch {
57525761
*/
57535762
export interface IamPropertiesPatch {
57545763
/**
5755-
* <p>Specifies whether Amazon Web Services Glue lineage sync is enabled for a connection.</p>
5764+
* <p>Specifies whether Amazon Web Services Glue lineage sync is enabled for a
5765+
* connection.</p>
57565766
* @public
57575767
*/
57585768
glueLineageSyncEnabled?: boolean | undefined;
@@ -7158,7 +7168,10 @@ export interface CreateDataSourceInput {
71587168
connectionIdentifier?: string | undefined;
71597169

71607170
/**
7161-
* <p>The type of the data source.</p>
7171+
* <p>The type of the data source. In Amazon DataZone, you can use data sources to import
7172+
* technical metadata of assets (data) from the source databases or data warehouses into
7173+
* Amazon DataZone. In the current release of Amazon DataZone, you can create and run data
7174+
* sources for Amazon Web Services Glue and Amazon Redshift.</p>
71627175
* @public
71637176
*/
71647177
type: string | undefined;
@@ -8477,6 +8490,12 @@ export interface CreateEnvironmentOutput {
84778490
* @public
84788491
*/
84798492
environmentBlueprintId?: string | undefined;
8493+
8494+
/**
8495+
* <p>The configuration ID of the environment.</p>
8496+
* @public
8497+
*/
8498+
environmentConfigurationId?: string | undefined;
84808499
}
84818500

84828501
/**
@@ -9217,6 +9236,12 @@ export interface CreateListingChangeSetOutput {
92179236
* @public
92189237
*/
92199238
export interface EnvironmentConfigurationUserParameter {
9239+
/**
9240+
* <p>The ID of the environment.</p>
9241+
* @public
9242+
*/
9243+
environmentId?: string | undefined;
9244+
92209245
/**
92219246
* <p>The environment configuration name.</p>
92229247
* @public
@@ -9340,6 +9365,8 @@ export const ProjectStatus = {
93409365
ACTIVE: "ACTIVE",
93419366
DELETE_FAILED: "DELETE_FAILED",
93429367
DELETING: "DELETING",
9368+
UPDATE_FAILED: "UPDATE_FAILED",
9369+
UPDATING: "UPDATING",
93439370
} as const;
93449371

93459372
/**
@@ -11190,6 +11217,7 @@ export const CreateEnvironmentOutputFilterSensitiveLog = (obj: CreateEnvironment
1119011217
userParameters: obj.userParameters.map((item) => CustomParameterFilterSensitiveLog(item)),
1119111218
}),
1119211219
...(obj.provisioningProperties && { provisioningProperties: obj.provisioningProperties }),
11220+
...(obj.environmentConfigurationId && { environmentConfigurationId: SENSITIVE_STRING }),
1119311221
});
1119411222

1119511223
/**

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

+17-2
Original file line numberDiff line numberDiff line change
@@ -3614,7 +3614,7 @@ export interface GetEnvironmentBlueprintConfigurationInput {
36143614
export interface LakeFormationConfiguration {
36153615
/**
36163616
* <p>The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for
3617-
* Data Lake using AWS Lake Formation hybrid access mode.</p>
3617+
* Data Lake using Amazon Web Services Lake Formation hybrid access mode.</p>
36183618
* @public
36193619
*/
36203620
locationRegistrationRole?: string | undefined;
@@ -4386,6 +4386,12 @@ export interface GetEnvironmentOutput {
43864386
* @public
43874387
*/
43884388
environmentBlueprintId?: string | undefined;
4389+
4390+
/**
4391+
* <p>The configuration ID that is used to create the environment.</p>
4392+
* @public
4393+
*/
4394+
environmentConfigurationId?: string | undefined;
43894395
}
43904396

43914397
/**
@@ -4791,7 +4797,8 @@ export interface LineageSqlQueryRunDetails {
47914797
totalQueriesProcessed?: number | undefined;
47924798

47934799
/**
4794-
* <p>The number of queries that failed in the SQL query run details of a data lineage run.</p>
4800+
* <p>The number of queries that failed in the SQL query run details of a data lineage
4801+
* run.</p>
47954802
* @public
47964803
*/
47974804
numQueriesFailed?: number | undefined;
@@ -7434,6 +7441,12 @@ export interface EnvironmentSummary {
74347441
* @public
74357442
*/
74367443
status?: EnvironmentStatus | undefined;
7444+
7445+
/**
7446+
* <p>The configuration ID with which the environment is created.</p>
7447+
* @public
7448+
*/
7449+
environmentConfigurationId?: string | undefined;
74377450
}
74387451

74397452
/**
@@ -11523,6 +11536,7 @@ export const GetEnvironmentOutputFilterSensitiveLog = (obj: GetEnvironmentOutput
1152311536
userParameters: obj.userParameters.map((item) => CustomParameterFilterSensitiveLog(item)),
1152411537
}),
1152511538
...(obj.provisioningProperties && { provisioningProperties: obj.provisioningProperties }),
11539+
...(obj.environmentConfigurationId && { environmentConfigurationId: SENSITIVE_STRING }),
1152611540
});
1152711541

1152811542
/**
@@ -11781,6 +11795,7 @@ export const EnvironmentSummaryFilterSensitiveLog = (obj: EnvironmentSummary): a
1178111795
...obj,
1178211796
...(obj.name && { name: SENSITIVE_STRING }),
1178311797
...(obj.description && { description: SENSITIVE_STRING }),
11798+
...(obj.environmentConfigurationId && { environmentConfigurationId: SENSITIVE_STRING }),
1178411799
});
1178511800

1178611801
/**

0 commit comments

Comments
 (0)