Skip to content

Commit fcba40e

Browse files
Removing restriction of environment profile identifier as required field, S3 feature release
1 parent eeb4674 commit fcba40e

18 files changed

+813
-4
lines changed

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

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3909,6 +3909,7 @@
39093909
"hyperPodProperties":{"shape":"HyperPodPropertiesInput"},
39103910
"iamProperties":{"shape":"IamPropertiesInput"},
39113911
"redshiftProperties":{"shape":"RedshiftPropertiesInput"},
3912+
"s3Properties":{"shape":"S3PropertiesInput"},
39123913
"sparkEmrProperties":{"shape":"SparkEmrPropertiesInput"},
39133914
"sparkGlueProperties":{"shape":"SparkGluePropertiesInput"}
39143915
},
@@ -3922,6 +3923,7 @@
39223923
"hyperPodProperties":{"shape":"HyperPodPropertiesOutput"},
39233924
"iamProperties":{"shape":"IamPropertiesOutput"},
39243925
"redshiftProperties":{"shape":"RedshiftPropertiesOutput"},
3926+
"s3Properties":{"shape":"S3PropertiesOutput"},
39253927
"sparkEmrProperties":{"shape":"SparkEmrPropertiesOutput"},
39263928
"sparkGlueProperties":{"shape":"SparkGluePropertiesOutput"}
39273929
},
@@ -3934,6 +3936,7 @@
39343936
"glueProperties":{"shape":"GluePropertiesPatch"},
39353937
"iamProperties":{"shape":"IamPropertiesPatch"},
39363938
"redshiftProperties":{"shape":"RedshiftPropertiesPatch"},
3939+
"s3Properties":{"shape":"S3PropertiesPatch"},
39373940
"sparkEmrProperties":{"shape":"SparkEmrPropertiesPatch"}
39383941
},
39393942
"union":true
@@ -3997,6 +4000,7 @@
39974000
"ORACLE",
39984001
"POSTGRESQL",
39994002
"REDSHIFT",
4003+
"S3",
40004004
"SAPHANA",
40014005
"SNOWFLAKE",
40024006
"SPARK",
@@ -4605,7 +4609,6 @@
46054609
"type":"structure",
46064610
"required":[
46074611
"domainIdentifier",
4608-
"environmentProfileIdentifier",
46094612
"name",
46104613
"projectIdentifier"
46114614
],
@@ -12579,6 +12582,12 @@
1257912582
"updated":{"shape":"Integer"}
1258012583
}
1258112584
},
12585+
"S3AccessGrantLocationId":{
12586+
"type":"string",
12587+
"max":64,
12588+
"min":0,
12589+
"pattern":"^[a-zA-Z0-9\\-]+$"
12590+
},
1258212591
"S3Location":{
1258312592
"type":"string",
1258412593
"max":1024,
@@ -12591,6 +12600,38 @@
1259112600
"max":20,
1259212601
"min":0
1259312602
},
12603+
"S3PropertiesInput":{
12604+
"type":"structure",
12605+
"required":["s3Uri"],
12606+
"members":{
12607+
"s3AccessGrantLocationId":{"shape":"S3AccessGrantLocationId"},
12608+
"s3Uri":{"shape":"S3Uri"}
12609+
}
12610+
},
12611+
"S3PropertiesOutput":{
12612+
"type":"structure",
12613+
"required":["s3Uri"],
12614+
"members":{
12615+
"errorMessage":{"shape":"String"},
12616+
"s3AccessGrantLocationId":{"shape":"S3AccessGrantLocationId"},
12617+
"s3Uri":{"shape":"S3Uri"},
12618+
"status":{"shape":"ConnectionStatus"}
12619+
}
12620+
},
12621+
"S3PropertiesPatch":{
12622+
"type":"structure",
12623+
"required":["s3Uri"],
12624+
"members":{
12625+
"s3AccessGrantLocationId":{"shape":"S3AccessGrantLocationId"},
12626+
"s3Uri":{"shape":"S3Uri"}
12627+
}
12628+
},
12629+
"S3Uri":{
12630+
"type":"string",
12631+
"max":2048,
12632+
"min":0,
12633+
"pattern":"^s3://.+$"
12634+
},
1259412635
"SageMakerAssetType":{
1259512636
"type":"string",
1259612637
"max":64,

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

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,8 @@
964964
"refs": {
965965
"GlueConnection$status": "<p>The status of the Amazon Web Services Glue connection.</p>",
966966
"GluePropertiesOutput$status": "<p>The status of a connection.</p>",
967-
"RedshiftPropertiesOutput$status": "<p>The status in the Amazon Redshift properties.</p>"
967+
"RedshiftPropertiesOutput$status": "<p>The status in the Amazon Redshift properties.</p>",
968+
"S3PropertiesOutput$status": "<p>The status of the Amazon S3 connection.</p>"
968969
}
969970
},
970971
"ConnectionSummaries": {
@@ -6352,6 +6353,14 @@
63526353
"StartDataSourceRunOutput$runStatisticsForAssets": "<p>Specifies run statistics for assets.</p>"
63536354
}
63546355
},
6356+
"S3AccessGrantLocationId": {
6357+
"base": null,
6358+
"refs": {
6359+
"S3PropertiesInput$s3AccessGrantLocationId": "<p>The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties of a connection.</p>",
6360+
"S3PropertiesOutput$s3AccessGrantLocationId": "<p>The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties of a connection.</p>",
6361+
"S3PropertiesPatch$s3AccessGrantLocationId": "<p>The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties patch of a connection.</p>"
6362+
}
6363+
},
63556364
"S3Location": {
63566365
"base": null,
63576366
"refs": {
@@ -6364,6 +6373,32 @@
63646373
"LakeFormationConfiguration$locationRegistrationExcludeS3Locations": "<p>Specifies certain Amazon S3 locations if you do not want Amazon DataZone to automatically register them in hybrid mode. </p>"
63656374
}
63666375
},
6376+
"S3PropertiesInput": {
6377+
"base": "<p>The Amazon S3 properties of a connection.</p>",
6378+
"refs": {
6379+
"ConnectionPropertiesInput$s3Properties": "<p>The Amazon S3 properties of a connection.</p>"
6380+
}
6381+
},
6382+
"S3PropertiesOutput": {
6383+
"base": "<p>The Amazon S3 properties of a connection.</p>",
6384+
"refs": {
6385+
"ConnectionPropertiesOutput$s3Properties": "<p>The Amazon S3 properties of a connection.</p>"
6386+
}
6387+
},
6388+
"S3PropertiesPatch": {
6389+
"base": "<p>The Amazon S3 properties patch of a connection.</p>",
6390+
"refs": {
6391+
"ConnectionPropertiesPatch$s3Properties": "<p>The Amazon S3 properties of a connection properties patch.</p>"
6392+
}
6393+
},
6394+
"S3Uri": {
6395+
"base": null,
6396+
"refs": {
6397+
"S3PropertiesInput$s3Uri": "<p>The Amazon S3 URI that's part of the Amazon S3 properties of a connection.</p>",
6398+
"S3PropertiesOutput$s3Uri": "<p>The Amazon S3 URI that's part of the Amazon S3 properties of a connection.</p>",
6399+
"S3PropertiesPatch$s3Uri": "<p>The Amazon S3 URI that's part of the Amazon S3 properties patch of a connection.</p>"
6400+
}
6401+
},
63676402
"SageMakerAssetType": {
63686403
"base": null,
63696404
"refs": {
@@ -7071,6 +7106,7 @@
70717106
"Resource$provider": "<p>The provider of a provisioned resource of this Amazon DataZone environment.</p>",
70727107
"Resource$type": "<p>The type of a provisioned resource of this Amazon DataZone environment.</p>",
70737108
"Resource$value": "<p>The value of a provisioned resource of this Amazon DataZone environment.</p>",
7109+
"S3PropertiesOutput$errorMessage": "<p>The error message that gets displayed.</p>",
70747110
"SearchListingsInput$searchText": "<p>Specifies the text for which to search.</p>",
70757111
"SelfGrantStatusDetail$failureCause": "<p>The reason for why the operation failed.</p>",
70767112
"SparkEmrPropertiesOutput$computeArn": "<p>The compute ARN of the Spark EMR.</p>",

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4635,6 +4635,10 @@
46354635
"shape":"RedshiftPropertiesInput",
46364636
"documentation":"<p>The Amazon Redshift properties of a connection.</p>"
46374637
},
4638+
"s3Properties":{
4639+
"shape":"S3PropertiesInput",
4640+
"documentation":"<p>The Amazon S3 properties of a connection.</p>"
4641+
},
46384642
"sparkEmrProperties":{
46394643
"shape":"SparkEmrPropertiesInput",
46404644
"documentation":"<p>The Spark EMR properties of a connection.</p>"
@@ -4670,6 +4674,10 @@
46704674
"shape":"RedshiftPropertiesOutput",
46714675
"documentation":"<p>The Amazon Redshift properties of a connection.</p>"
46724676
},
4677+
"s3Properties":{
4678+
"shape":"S3PropertiesOutput",
4679+
"documentation":"<p>The Amazon S3 properties of a connection.</p>"
4680+
},
46734681
"sparkEmrProperties":{
46744682
"shape":"SparkEmrPropertiesOutput",
46754683
"documentation":"<p>The Spark EMR properties of a connection.</p>"
@@ -4701,6 +4709,10 @@
47014709
"shape":"RedshiftPropertiesPatch",
47024710
"documentation":"<p>The Amazon Redshift properties of a connection properties patch.</p>"
47034711
},
4712+
"s3Properties":{
4713+
"shape":"S3PropertiesPatch",
4714+
"documentation":"<p>The Amazon S3 properties of a connection properties patch.</p>"
4715+
},
47044716
"sparkEmrProperties":{
47054717
"shape":"SparkEmrPropertiesPatch",
47064718
"documentation":"<p>The Spark EMR properties of a connection properties patch.</p>"
@@ -4796,6 +4808,7 @@
47964808
"ORACLE",
47974809
"POSTGRESQL",
47984810
"REDSHIFT",
4811+
"S3",
47994812
"SAPHANA",
48004813
"SNOWFLAKE",
48014814
"SPARK",
@@ -6071,7 +6084,6 @@
60716084
"type":"structure",
60726085
"required":[
60736086
"domainIdentifier",
6074-
"environmentProfileIdentifier",
60756087
"name",
60766088
"projectIdentifier"
60776089
],
@@ -18760,6 +18772,12 @@
1876018772
},
1876118773
"documentation":"<p>The asset statistics from the data source run.</p>"
1876218774
},
18775+
"S3AccessGrantLocationId":{
18776+
"type":"string",
18777+
"max":64,
18778+
"min":0,
18779+
"pattern":"^[a-zA-Z0-9\\-]+$"
18780+
},
1876318781
"S3Location":{
1876418782
"type":"string",
1876518783
"max":1024,
@@ -18772,6 +18790,65 @@
1877218790
"max":20,
1877318791
"min":0
1877418792
},
18793+
"S3PropertiesInput":{
18794+
"type":"structure",
18795+
"required":["s3Uri"],
18796+
"members":{
18797+
"s3AccessGrantLocationId":{
18798+
"shape":"S3AccessGrantLocationId",
18799+
"documentation":"<p>The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties of a connection.</p>"
18800+
},
18801+
"s3Uri":{
18802+
"shape":"S3Uri",
18803+
"documentation":"<p>The Amazon S3 URI that's part of the Amazon S3 properties of a connection.</p>"
18804+
}
18805+
},
18806+
"documentation":"<p>The Amazon S3 properties of a connection.</p>"
18807+
},
18808+
"S3PropertiesOutput":{
18809+
"type":"structure",
18810+
"required":["s3Uri"],
18811+
"members":{
18812+
"errorMessage":{
18813+
"shape":"String",
18814+
"documentation":"<p>The error message that gets displayed.</p>"
18815+
},
18816+
"s3AccessGrantLocationId":{
18817+
"shape":"S3AccessGrantLocationId",
18818+
"documentation":"<p>The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties of a connection.</p>"
18819+
},
18820+
"s3Uri":{
18821+
"shape":"S3Uri",
18822+
"documentation":"<p>The Amazon S3 URI that's part of the Amazon S3 properties of a connection.</p>"
18823+
},
18824+
"status":{
18825+
"shape":"ConnectionStatus",
18826+
"documentation":"<p>The status of the Amazon S3 connection.</p>"
18827+
}
18828+
},
18829+
"documentation":"<p>The Amazon S3 properties of a connection.</p>"
18830+
},
18831+
"S3PropertiesPatch":{
18832+
"type":"structure",
18833+
"required":["s3Uri"],
18834+
"members":{
18835+
"s3AccessGrantLocationId":{
18836+
"shape":"S3AccessGrantLocationId",
18837+
"documentation":"<p>The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties patch of a connection.</p>"
18838+
},
18839+
"s3Uri":{
18840+
"shape":"S3Uri",
18841+
"documentation":"<p>The Amazon S3 URI that's part of the Amazon S3 properties patch of a connection.</p>"
18842+
}
18843+
},
18844+
"documentation":"<p>The Amazon S3 properties patch of a connection.</p>"
18845+
},
18846+
"S3Uri":{
18847+
"type":"string",
18848+
"max":2048,
18849+
"min":0,
18850+
"pattern":"^s3://.+$"
18851+
},
1877518852
"SageMakerAssetType":{
1877618853
"type":"string",
1877718854
"max":64,

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5708,6 +5708,42 @@
57085708
<min>1</min>
57095709
<max>64</max>
57105710
</property-value-rule>
5711+
<property-value-rule>
5712+
<property>Amazon.DataZone.Model.S3PropertiesInput.S3AccessGrantLocationId</property>
5713+
<min>0</min>
5714+
<max>64</max>
5715+
<pattern>^[a-zA-Z0-9\-]+$</pattern>
5716+
</property-value-rule>
5717+
<property-value-rule>
5718+
<property>Amazon.DataZone.Model.S3PropertiesInput.S3Uri</property>
5719+
<min>0</min>
5720+
<max>2048</max>
5721+
<pattern>^s3://.+$</pattern>
5722+
</property-value-rule>
5723+
<property-value-rule>
5724+
<property>Amazon.DataZone.Model.S3PropertiesOutput.S3AccessGrantLocationId</property>
5725+
<min>0</min>
5726+
<max>64</max>
5727+
<pattern>^[a-zA-Z0-9\-]+$</pattern>
5728+
</property-value-rule>
5729+
<property-value-rule>
5730+
<property>Amazon.DataZone.Model.S3PropertiesOutput.S3Uri</property>
5731+
<min>0</min>
5732+
<max>2048</max>
5733+
<pattern>^s3://.+$</pattern>
5734+
</property-value-rule>
5735+
<property-value-rule>
5736+
<property>Amazon.DataZone.Model.S3PropertiesPatch.S3AccessGrantLocationId</property>
5737+
<min>0</min>
5738+
<max>64</max>
5739+
<pattern>^[a-zA-Z0-9\-]+$</pattern>
5740+
</property-value-rule>
5741+
<property-value-rule>
5742+
<property>Amazon.DataZone.Model.S3PropertiesPatch.S3Uri</property>
5743+
<min>0</min>
5744+
<max>2048</max>
5745+
<pattern>^s3://.+$</pattern>
5746+
</property-value-rule>
57115747
<property-value-rule>
57125748
<property>Amazon.DataZone.Model.SageMakerRunConfigurationOutput.AccountId</property>
57135749
<min>12</min>

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public partial class ConnectionPropertiesInput
3939
private HyperPodPropertiesInput _hyperPodProperties;
4040
private IamPropertiesInput _iamProperties;
4141
private RedshiftPropertiesInput _redshiftProperties;
42+
private S3PropertiesInput _s3Properties;
4243
private SparkEmrPropertiesInput _sparkEmrProperties;
4344
private SparkGluePropertiesInput _sparkGlueProperties;
4445

@@ -132,6 +133,24 @@ internal bool IsSetRedshiftProperties()
132133
return this._redshiftProperties != null;
133134
}
134135

136+
/// <summary>
137+
/// Gets and sets the property S3Properties.
138+
/// <para>
139+
/// The Amazon S3 properties of a connection.
140+
/// </para>
141+
/// </summary>
142+
public S3PropertiesInput S3Properties
143+
{
144+
get { return this._s3Properties; }
145+
set { this._s3Properties = value; }
146+
}
147+
148+
// Check to see if S3Properties property is set
149+
internal bool IsSetS3Properties()
150+
{
151+
return this._s3Properties != null;
152+
}
153+
135154
/// <summary>
136155
/// Gets and sets the property SparkEmrProperties.
137156
/// <para>

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public partial class ConnectionPropertiesOutput
3939
private HyperPodPropertiesOutput _hyperPodProperties;
4040
private IamPropertiesOutput _iamProperties;
4141
private RedshiftPropertiesOutput _redshiftProperties;
42+
private S3PropertiesOutput _s3Properties;
4243
private SparkEmrPropertiesOutput _sparkEmrProperties;
4344
private SparkGluePropertiesOutput _sparkGlueProperties;
4445

@@ -132,6 +133,24 @@ internal bool IsSetRedshiftProperties()
132133
return this._redshiftProperties != null;
133134
}
134135

136+
/// <summary>
137+
/// Gets and sets the property S3Properties.
138+
/// <para>
139+
/// The Amazon S3 properties of a connection.
140+
/// </para>
141+
/// </summary>
142+
public S3PropertiesOutput S3Properties
143+
{
144+
get { return this._s3Properties; }
145+
set { this._s3Properties = value; }
146+
}
147+
148+
// Check to see if S3Properties property is set
149+
internal bool IsSetS3Properties()
150+
{
151+
return this._s3Properties != null;
152+
}
153+
135154
/// <summary>
136155
/// Gets and sets the property SparkEmrProperties.
137156
/// <para>

0 commit comments

Comments
 (0)