Skip to content

Commit 991584d

Browse files
This release adds support to update projects and environments
1 parent 6f609c2 commit 991584d

22 files changed

+357
-11
lines changed

generator/ServiceModels/datazone/datazone-2018-05-10.api.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4647,6 +4647,7 @@
46474647
"domainId":{"shape":"DomainId"},
46484648
"environmentActions":{"shape":"EnvironmentActionList"},
46494649
"environmentBlueprintId":{"shape":"EnvironmentBlueprintId"},
4650+
"environmentConfigurationId":{"shape":"EnvironmentConfigurationId"},
46504651
"environmentProfileId":{"shape":"EnvironmentProfileId"},
46514652
"glossaryTerms":{"shape":"GlossaryTerms"},
46524653
"id":{"shape":"EnvironmentId"},
@@ -6805,6 +6806,7 @@
68056806
"type":"structure",
68066807
"members":{
68076808
"environmentConfigurationName":{"shape":"EnvironmentConfigurationName"},
6809+
"environmentId":{"shape":"EnvironmentId"},
68086810
"environmentParameters":{"shape":"EnvironmentParametersList"}
68096811
}
68106812
},
@@ -6938,6 +6940,7 @@
69386940
"createdBy":{"shape":"String"},
69396941
"description":{"shape":"Description"},
69406942
"domainId":{"shape":"DomainId"},
6943+
"environmentConfigurationId":{"shape":"EnvironmentConfigurationId"},
69416944
"environmentProfileId":{"shape":"EnvironmentProfileId"},
69426945
"id":{"shape":"EnvironmentId"},
69436946
"name":{"shape":"EnvironmentName"},
@@ -7819,6 +7822,7 @@
78197822
"domainId":{"shape":"DomainId"},
78207823
"environmentActions":{"shape":"EnvironmentActionList"},
78217824
"environmentBlueprintId":{"shape":"EnvironmentBlueprintId"},
7825+
"environmentConfigurationId":{"shape":"EnvironmentConfigurationId"},
78227826
"environmentProfileId":{"shape":"EnvironmentProfileId"},
78237827
"glossaryTerms":{"shape":"GlossaryTerms"},
78247828
"id":{"shape":"EnvironmentId"},
@@ -11747,7 +11751,9 @@
1174711751
"enum":[
1174811752
"ACTIVE",
1174911753
"DELETING",
11750-
"DELETE_FAILED"
11754+
"DELETE_FAILED",
11755+
"UPDATING",
11756+
"UPDATE_FAILED"
1175111757
]
1175211758
},
1175311759
"ProjectSummaries":{
@@ -14232,6 +14238,7 @@
1423214238
"identifier"
1423314239
],
1423414240
"members":{
14241+
"blueprintVersion":{"shape":"String"},
1423514242
"description":{"shape":"String"},
1423614243
"domainIdentifier":{
1423714244
"shape":"DomainId",
@@ -14244,7 +14251,8 @@
1424414251
"location":"uri",
1424514252
"locationName":"identifier"
1424614253
},
14247-
"name":{"shape":"String"}
14254+
"name":{"shape":"String"},
14255+
"userParameters":{"shape":"EnvironmentParametersList"}
1424814256
}
1424914257
},
1425014258
"UpdateEnvironmentOutput":{
@@ -14266,6 +14274,7 @@
1426614274
"domainId":{"shape":"DomainId"},
1426714275
"environmentActions":{"shape":"EnvironmentActionList"},
1426814276
"environmentBlueprintId":{"shape":"EnvironmentBlueprintId"},
14277+
"environmentConfigurationId":{"shape":"EnvironmentConfigurationId"},
1426914278
"environmentProfileId":{"shape":"EnvironmentProfileId"},
1427014279
"glossaryTerms":{"shape":"GlossaryTerms"},
1427114280
"id":{"shape":"EnvironmentId"},
@@ -14466,7 +14475,9 @@
1446614475
"location":"uri",
1446714476
"locationName":"identifier"
1446814477
},
14469-
"name":{"shape":"ProjectName"}
14478+
"name":{"shape":"ProjectName"},
14479+
"projectProfileVersion":{"shape":"String"},
14480+
"userParameters":{"shape":"EnvironmentConfigurationUserParametersList"}
1447014481
}
1447114482
},
1447214483
"UpdateProjectOutput":{

generator/ServiceModels/datazone/datazone-2018-05-10.docs.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@
17971797
"DataSourceType": {
17981798
"base": null,
17991799
"refs": {
1800-
"CreateDataSourceInput$type": "<p>The type of the data source.</p>",
1800+
"CreateDataSourceInput$type": "<p>The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for Amazon Web Services Glue and Amazon Redshift.</p>",
18011801
"CreateDataSourceOutput$type": "<p>The type of the data source.</p>",
18021802
"DeleteDataSourceOutput$type": "<p>The type of this data source.</p>",
18031803
"GetDataSourceOutput$type": "<p>The type of the data source.</p>",
@@ -2840,7 +2840,11 @@
28402840
"EnvironmentConfigurationId": {
28412841
"base": null,
28422842
"refs": {
2843-
"EnvironmentConfiguration$id": "<p>The environment ID.</p>"
2843+
"CreateEnvironmentOutput$environmentConfigurationId": "<p>The configuration ID of the environment.</p>",
2844+
"EnvironmentConfiguration$id": "<p>The environment ID.</p>",
2845+
"EnvironmentSummary$environmentConfigurationId": "<p>The configuration ID with which the environment is created.</p>",
2846+
"GetEnvironmentOutput$environmentConfigurationId": "<p>The configuration ID that is used to create the environment.</p>",
2847+
"UpdateEnvironmentOutput$environmentConfigurationId": "<p>The configuration ID of the environment.</p>"
28442848
}
28452849
},
28462850
"EnvironmentConfigurationName": {
@@ -2887,6 +2891,7 @@
28872891
"CreateProjectInput$userParameters": "<p>The user parameters of the project.</p>",
28882892
"CreateProjectOutput$userParameters": "<p>The user parameters of the project.</p>",
28892893
"GetProjectOutput$userParameters": "<p>The user parameters of a project.</p>",
2894+
"UpdateProjectInput$userParameters": "<p>The user parameters of the project.</p>",
28902895
"UpdateProjectOutput$userParameters": "<p>The user parameters of the project.</p>"
28912896
}
28922897
},
@@ -2948,6 +2953,7 @@
29482953
"DeleteSubscriptionTargetInput$environmentIdentifier": "<p>The ID of the Amazon DataZone environment in which the subscription target is deleted.</p>",
29492954
"DisassociateEnvironmentRoleInput$environmentIdentifier": "<p>The ID of the environment.</p>",
29502955
"EnvironmentActionSummary$environmentId": "<p>The environment ID of the environment action.</p>",
2956+
"EnvironmentConfigurationUserParameter$environmentId": "<p>The ID of the environment.</p>",
29512957
"EnvironmentSummary$id": "<p>The identifier of the environment.</p>",
29522958
"GetConnectionOutput$environmentId": "<p>The ID of the environment.</p>",
29532959
"GetDataSourceOutput$environmentId": "<p>The ID of the environment where this data source creates and publishes assets,</p>",
@@ -2994,6 +3000,7 @@
29943000
"CreateEnvironmentInput$userParameters": "<p>The user parameters of this Amazon DataZone environment.</p>",
29953001
"CreateEnvironmentProfileInput$userParameters": "<p>The user parameters of this Amazon DataZone environment profile.</p>",
29963002
"EnvironmentConfigurationUserParameter$environmentParameters": "<p>The environment parameters.</p>",
3003+
"UpdateEnvironmentInput$userParameters": "<p>The user parameters of the environment.</p>",
29973004
"UpdateEnvironmentProfileInput$userParameters": "<p>The user parameters to be updated as part of the <code>UpdateEnvironmentProfile</code> action.</p>"
29983005
}
29993006
},
@@ -6177,7 +6184,7 @@
61776184
"GetDomainOutput$serviceRole": "<p>The service role of the domain.</p>",
61786185
"GetEnvironmentBlueprintConfigurationOutput$manageAccessRoleArn": "<p>The ARN of the manage access role with which this blueprint is created.</p>",
61796186
"GetEnvironmentBlueprintConfigurationOutput$provisioningRoleArn": "<p>The ARN of the provisioning role with which this blueprint is created.</p>",
6180-
"LakeFormationConfiguration$locationRegistrationRole": "<p>The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using AWS Lake Formation hybrid access mode.</p>",
6187+
"LakeFormationConfiguration$locationRegistrationRole": "<p>The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using Amazon Web Services Lake Formation hybrid access mode.</p>",
61816188
"PutEnvironmentBlueprintConfigurationInput$manageAccessRoleArn": "<p>The ARN of the manage access role.</p>",
61826189
"PutEnvironmentBlueprintConfigurationInput$provisioningRoleArn": "<p>The ARN of the provisioning role.</p>",
61836190
"PutEnvironmentBlueprintConfigurationOutput$manageAccessRoleArn": "<p>The ARN of the manage access role.</p>",
@@ -7100,12 +7107,14 @@
71007107
"UpdateEnvironmentActionInput$name": "<p>The name of the environment action.</p>",
71017108
"UpdateEnvironmentActionOutput$description": "<p>The description of the environment action.</p>",
71027109
"UpdateEnvironmentActionOutput$name": "<p>The name of the environment action.</p>",
7110+
"UpdateEnvironmentInput$blueprintVersion": "<p>The blueprint version to which the environment should be updated. You can only specify the following string for this parameter: <code>latest</code>.</p>",
71037111
"UpdateEnvironmentInput$description": "<p>The description to be updated as part of the <code>UpdateEnvironment</code> action.</p>",
71047112
"UpdateEnvironmentInput$name": "<p>The name to be updated as part of the <code>UpdateEnvironment</code> action.</p>",
71057113
"UpdateEnvironmentOutput$createdBy": "<p>The Amazon DataZone user who created the environment.</p>",
71067114
"UpdateEnvironmentOutput$provider": "<p>The provider identifier of the environment.</p>",
71077115
"UpdateEnvironmentProfileInput$description": "<p>The description to be updated as part of the <code>UpdateEnvironmentProfile</code> action.</p>",
71087116
"UpdateEnvironmentProfileOutput$createdBy": "<p>The Amazon DataZone user who created the environment profile.</p>",
7117+
"UpdateProjectInput$projectProfileVersion": "<p>The project profile version to which the project should be updated. You can only specify the following string for this parameter: <code>latest</code>.</p>",
71097118
"UpdateSubscriptionGrantStatusInput$targetName": "<p>The target name to be updated as part of the <code>UpdateSubscriptionGrantStatus</code> action.</p>",
71107119
"UpdateSubscriptionRequestOutput$reviewerId": "<p>The identifier of the Amazon DataZone user who reviews the subscription request.</p>",
71117120
"UpdateSubscriptionTargetInput$provider": "<p>The provider to be updated as part of the <code>UpdateSubscriptionTarget</code> action.</p>",

generator/ServiceModels/datazone/datazone-2018-05-10.normal.json

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5690,7 +5690,7 @@
56905690
},
56915691
"type":{
56925692
"shape":"DataSourceType",
5693-
"documentation":"<p>The type of the data source.</p>"
5693+
"documentation":"<p>The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for Amazon Web Services Glue and Amazon Redshift.</p>"
56945694
}
56955695
}
56965696
},
@@ -6174,6 +6174,10 @@
61746174
"shape":"EnvironmentBlueprintId",
61756175
"documentation":"<p>The ID of the blueprint with which this Amazon DataZone environment was created.</p>"
61766176
},
6177+
"environmentConfigurationId":{
6178+
"shape":"EnvironmentConfigurationId",
6179+
"documentation":"<p>The configuration ID of the environment.</p>"
6180+
},
61776181
"environmentProfileId":{
61786182
"shape":"EnvironmentProfileId",
61796183
"documentation":"<p>The ID of the environment profile with which this Amazon DataZone environment was created.</p>"
@@ -9643,6 +9647,10 @@
96439647
"shape":"EnvironmentConfigurationName",
96449648
"documentation":"<p>The environment configuration name.</p>"
96459649
},
9650+
"environmentId":{
9651+
"shape":"EnvironmentId",
9652+
"documentation":"<p>The ID of the environment.</p>"
9653+
},
96469654
"environmentParameters":{
96479655
"shape":"EnvironmentParametersList",
96489656
"documentation":"<p>The environment parameters.</p>"
@@ -9853,6 +9861,10 @@
98539861
"shape":"DomainId",
98549862
"documentation":"<p>The identifier of the Amazon DataZone domain in which the environment exists.</p>"
98559863
},
9864+
"environmentConfigurationId":{
9865+
"shape":"EnvironmentConfigurationId",
9866+
"documentation":"<p>The configuration ID with which the environment is created.</p>"
9867+
},
98569868
"environmentProfileId":{
98579869
"shape":"EnvironmentProfileId",
98589870
"documentation":"<p>The identifier of the environment profile with which the environment was created.</p>"
@@ -11415,6 +11427,10 @@
1141511427
"shape":"EnvironmentBlueprintId",
1141611428
"documentation":"<p>The blueprint with which the environment is created.</p>"
1141711429
},
11430+
"environmentConfigurationId":{
11431+
"shape":"EnvironmentConfigurationId",
11432+
"documentation":"<p>The configuration ID that is used to create the environment.</p>"
11433+
},
1141811434
"environmentProfileId":{
1141911435
"shape":"EnvironmentProfileId",
1142011436
"documentation":"<p>The ID of the environment profile with which the environment is created.</p>"
@@ -13966,7 +13982,7 @@
1396613982
},
1396713983
"locationRegistrationRole":{
1396813984
"shape":"RoleArn",
13969-
"documentation":"<p>The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using AWS Lake Formation hybrid access mode.</p>"
13985+
"documentation":"<p>The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using Amazon Web Services Lake Formation hybrid access mode.</p>"
1397013986
}
1397113987
},
1397213988
"documentation":"<p>The Lake Formation configuration of the Data Lake blueprint.</p>"
@@ -17388,7 +17404,9 @@
1738817404
"enum":[
1738917405
"ACTIVE",
1739017406
"DELETING",
17391-
"DELETE_FAILED"
17407+
"DELETE_FAILED",
17408+
"UPDATING",
17409+
"UPDATE_FAILED"
1739217410
]
1739317411
},
1739417412
"ProjectSummaries":{
@@ -21491,6 +21509,10 @@
2149121509
"identifier"
2149221510
],
2149321511
"members":{
21512+
"blueprintVersion":{
21513+
"shape":"String",
21514+
"documentation":"<p>The blueprint version to which the environment should be updated. You can only specify the following string for this parameter: <code>latest</code>.</p>"
21515+
},
2149421516
"description":{
2149521517
"shape":"String",
2149621518
"documentation":"<p>The description to be updated as part of the <code>UpdateEnvironment</code> action.</p>"
@@ -21514,6 +21536,10 @@
2151421536
"name":{
2151521537
"shape":"String",
2151621538
"documentation":"<p>The name to be updated as part of the <code>UpdateEnvironment</code> action.</p>"
21539+
},
21540+
"userParameters":{
21541+
"shape":"EnvironmentParametersList",
21542+
"documentation":"<p>The user parameters of the environment.</p>"
2151721543
}
2151821544
}
2151921545
},
@@ -21563,6 +21589,10 @@
2156321589
"shape":"EnvironmentBlueprintId",
2156421590
"documentation":"<p>The blueprint identifier of the environment.</p>"
2156521591
},
21592+
"environmentConfigurationId":{
21593+
"shape":"EnvironmentConfigurationId",
21594+
"documentation":"<p>The configuration ID of the environment.</p>"
21595+
},
2156621596
"environmentProfileId":{
2156721597
"shape":"EnvironmentProfileId",
2156821598
"documentation":"<p>The profile identifier of the environment.</p>"
@@ -21957,6 +21987,14 @@
2195721987
"name":{
2195821988
"shape":"ProjectName",
2195921989
"documentation":"<p>The name to be updated as part of the <code>UpdateProject</code> action.</p>"
21990+
},
21991+
"projectProfileVersion":{
21992+
"shape":"String",
21993+
"documentation":"<p>The project profile version to which the project should be updated. You can only specify the following string for this parameter: <code>latest</code>.</p>"
21994+
},
21995+
"userParameters":{
21996+
"shape":"EnvironmentConfigurationUserParametersList",
21997+
"documentation":"<p>The user parameters of the project.</p>"
2196021998
}
2196121999
}
2196222000
},

sdk/code-analysis/ServiceAnalysis/DataZone/Generated/PropertyValueRules.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,10 @@
711711
<property>Amazon.DataZone.Model.CreateEnvironmentResponse.EnvironmentBlueprintId</property>
712712
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
713713
</property-value-rule>
714+
<property-value-rule>
715+
<property>Amazon.DataZone.Model.CreateEnvironmentResponse.EnvironmentConfigurationId</property>
716+
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
717+
</property-value-rule>
714718
<property-value-rule>
715719
<property>Amazon.DataZone.Model.CreateEnvironmentResponse.EnvironmentProfileId</property>
716720
<pattern>^[a-zA-Z0-9_-]{0,36}$</pattern>
@@ -1925,6 +1929,10 @@
19251929
<property>Amazon.DataZone.Model.GetEnvironmentResponse.EnvironmentBlueprintId</property>
19261930
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
19271931
</property-value-rule>
1932+
<property-value-rule>
1933+
<property>Amazon.DataZone.Model.GetEnvironmentResponse.EnvironmentConfigurationId</property>
1934+
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
1935+
</property-value-rule>
19281936
<property-value-rule>
19291937
<property>Amazon.DataZone.Model.GetEnvironmentResponse.EnvironmentProfileId</property>
19301938
<pattern>^[a-zA-Z0-9_-]{0,36}$</pattern>
@@ -3931,6 +3939,10 @@
39313939
<property>Amazon.DataZone.Model.UpdateEnvironmentResponse.EnvironmentBlueprintId</property>
39323940
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
39333941
</property-value-rule>
3942+
<property-value-rule>
3943+
<property>Amazon.DataZone.Model.UpdateEnvironmentResponse.EnvironmentConfigurationId</property>
3944+
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
3945+
</property-value-rule>
39343946
<property-value-rule>
39353947
<property>Amazon.DataZone.Model.UpdateEnvironmentResponse.EnvironmentProfileId</property>
39363948
<pattern>^[a-zA-Z0-9_-]{0,36}$</pattern>
@@ -4992,6 +5004,10 @@
49925004
<max>64</max>
49935005
<pattern>^[\w -]+$</pattern>
49945006
</property-value-rule>
5007+
<property-value-rule>
5008+
<property>Amazon.DataZone.Model.EnvironmentConfigurationUserParameter.EnvironmentId</property>
5009+
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
5010+
</property-value-rule>
49955011
<property-value-rule>
49965012
<property>Amazon.DataZone.Model.EnvironmentProfileSummary.AwsAccountId</property>
49975013
<pattern>^\d{12}$</pattern>
@@ -5044,6 +5060,10 @@
50445060
<property>Amazon.DataZone.Model.EnvironmentSummary.DomainId</property>
50455061
<pattern>^dzd[-_][a-zA-Z0-9_-]{1,36}$</pattern>
50465062
</property-value-rule>
5063+
<property-value-rule>
5064+
<property>Amazon.DataZone.Model.EnvironmentSummary.EnvironmentConfigurationId</property>
5065+
<pattern>^[a-zA-Z0-9_-]{1,36}$</pattern>
5066+
</property-value-rule>
50475067
<property-value-rule>
50485068
<property>Amazon.DataZone.Model.EnvironmentSummary.EnvironmentProfileId</property>
50495069
<pattern>^[a-zA-Z0-9_-]{0,36}$</pattern>

sdk/src/Services/DataZone/Generated/Model/CreateDataSourceRequest.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,10 @@ internal bool IsSetSchedule()
298298
/// <summary>
299299
/// Gets and sets the property Type.
300300
/// <para>
301-
/// The type of the data source.
301+
/// The type of the data source. In Amazon DataZone, you can use data sources to import
302+
/// technical metadata of assets (data) from the source databases or data warehouses into
303+
/// Amazon DataZone. In the current release of Amazon DataZone, you can create and run
304+
/// data sources for Amazon Web Services Glue and Amazon Redshift.
302305
/// </para>
303306
/// </summary>
304307
[AWSProperty(Required=true, Min=1, Max=256)]

sdk/src/Services/DataZone/Generated/Model/CreateEnvironmentResponse.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public partial class CreateEnvironmentResponse : AmazonWebServiceResponse
4343
private string _domainId;
4444
private List<ConfigurableEnvironmentAction> _environmentActions = AWSConfigs.InitializeCollections ? new List<ConfigurableEnvironmentAction>() : null;
4545
private string _environmentBlueprintId;
46+
private string _environmentConfigurationId;
4647
private string _environmentProfileId;
4748
private List<string> _glossaryTerms = AWSConfigs.InitializeCollections ? new List<string>() : null;
4849
private string _id;
@@ -221,6 +222,25 @@ internal bool IsSetEnvironmentBlueprintId()
221222
return this._environmentBlueprintId != null;
222223
}
223224

225+
/// <summary>
226+
/// Gets and sets the property EnvironmentConfigurationId.
227+
/// <para>
228+
/// The configuration ID of the environment.
229+
/// </para>
230+
/// </summary>
231+
[AWSProperty(Sensitive=true)]
232+
public string EnvironmentConfigurationId
233+
{
234+
get { return this._environmentConfigurationId; }
235+
set { this._environmentConfigurationId = value; }
236+
}
237+
238+
// Check to see if EnvironmentConfigurationId property is set
239+
internal bool IsSetEnvironmentConfigurationId()
240+
{
241+
return this._environmentConfigurationId != null;
242+
}
243+
224244
/// <summary>
225245
/// Gets and sets the property EnvironmentProfileId.
226246
/// <para>

0 commit comments

Comments
 (0)