Skip to content

Commit 57d6dd3

Browse files
This release added AllowFullTableExternalDataAccess to glue catalog resource.
1 parent 4f93acd commit 57d6dd3

File tree

8 files changed

+135
-2
lines changed

8 files changed

+135
-2
lines changed

generator/ServiceModels/glue/glue-2017-03-31.api.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4161,6 +4161,13 @@
41614161
"max":30,
41624162
"min":1
41634163
},
4164+
"AllowFullTableExternalDataAccessEnum":{
4165+
"type":"string",
4166+
"enum":[
4167+
"True",
4168+
"False"
4169+
]
4170+
},
41644171
"AllowedValue":{
41654172
"type":"structure",
41664173
"required":["Value"],
@@ -5108,7 +5115,8 @@
51085115
"FederatedCatalog":{"shape":"FederatedCatalog"},
51095116
"CatalogProperties":{"shape":"CatalogPropertiesOutput"},
51105117
"CreateTableDefaultPermissions":{"shape":"PrincipalPermissionsList"},
5111-
"CreateDatabaseDefaultPermissions":{"shape":"PrincipalPermissionsList"}
5118+
"CreateDatabaseDefaultPermissions":{"shape":"PrincipalPermissionsList"},
5119+
"AllowFullTableExternalDataAccess":{"shape":"AllowFullTableExternalDataAccessEnum"}
51125120
}
51135121
},
51145122
"CatalogDeltaSource":{
@@ -5193,7 +5201,8 @@
51935201
"TargetRedshiftCatalog":{"shape":"TargetRedshiftCatalog"},
51945202
"CatalogProperties":{"shape":"CatalogProperties"},
51955203
"CreateTableDefaultPermissions":{"shape":"PrincipalPermissionsList"},
5196-
"CreateDatabaseDefaultPermissions":{"shape":"PrincipalPermissionsList"}
5204+
"CreateDatabaseDefaultPermissions":{"shape":"PrincipalPermissionsList"},
5205+
"AllowFullTableExternalDataAccess":{"shape":"AllowFullTableExternalDataAccessEnum"}
51975206
}
51985207
},
51995208
"CatalogKafkaSource":{

generator/ServiceModels/glue/glue-2017-03-31.docs.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,13 @@
356356
"Aggregate$Aggs": "<p>Specifies the aggregate functions to be performed on specified fields. </p>"
357357
}
358358
},
359+
"AllowFullTableExternalDataAccessEnum": {
360+
"base": null,
361+
"refs": {
362+
"Catalog$AllowFullTableExternalDataAccess": "<p> Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. </p>",
363+
"CatalogInput$AllowFullTableExternalDataAccess": "<p> Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. </p>"
364+
}
365+
},
359366
"AllowedValue": {
360367
"base": "<p>An object representing a value allowed for a property.</p>",
361368
"refs": {

generator/ServiceModels/glue/glue-2017-03-31.normal.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4457,6 +4457,13 @@
44574457
"max":30,
44584458
"min":1
44594459
},
4460+
"AllowFullTableExternalDataAccessEnum":{
4461+
"type":"string",
4462+
"enum":[
4463+
"True",
4464+
"False"
4465+
]
4466+
},
44604467
"AllowedValue":{
44614468
"type":"structure",
44624469
"required":["Value"],
@@ -6106,6 +6113,10 @@
61066113
"CreateDatabaseDefaultPermissions":{
61076114
"shape":"PrincipalPermissionsList",
61086115
"documentation":"<p>An array of <code>PrincipalPermissions</code> objects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.</p>"
6116+
},
6117+
"AllowFullTableExternalDataAccess":{
6118+
"shape":"AllowFullTableExternalDataAccessEnum",
6119+
"documentation":"<p> Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. </p>"
61096120
}
61106121
},
61116122
"documentation":"<p>The catalog object represents a logical grouping of databases in the Glue Data Catalog or a federated source. You can now create a Redshift-federated catalog or a catalog containing resource links to Redshift databases in another account or region.</p>"
@@ -6262,6 +6273,10 @@
62626273
"CreateDatabaseDefaultPermissions":{
62636274
"shape":"PrincipalPermissionsList",
62646275
"documentation":"<p>An array of <code>PrincipalPermissions</code> objects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services Lake Formation. Typically should be explicitly set as an empty list.</p>"
6276+
},
6277+
"AllowFullTableExternalDataAccess":{
6278+
"shape":"AllowFullTableExternalDataAccessEnum",
6279+
"documentation":"<p> Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. </p>"
62656280
}
62666281
},
62676282
"documentation":"<p>A structure that describes catalog properties.</p>"

sdk/src/Services/Glue/Generated/Model/Catalog.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ namespace Amazon.Glue.Model
3636
/// </summary>
3737
public partial class Catalog
3838
{
39+
private AllowFullTableExternalDataAccessEnum _allowFullTableExternalDataAccess;
3940
private string _catalogId;
4041
private CatalogPropertiesOutput _catalogProperties;
4142
private List<PrincipalPermissions> _createDatabaseDefaultPermissions = AWSConfigs.InitializeCollections ? new List<PrincipalPermissions>() : null;
@@ -49,6 +50,25 @@ public partial class Catalog
4950
private TargetRedshiftCatalog _targetRedshiftCatalog;
5051
private DateTime? _updateTime;
5152

53+
/// <summary>
54+
/// Gets and sets the property AllowFullTableExternalDataAccess.
55+
/// <para>
56+
/// Allows third-party engines to access data in Amazon S3 locations that are registered
57+
/// with Lake Formation.
58+
/// </para>
59+
/// </summary>
60+
public AllowFullTableExternalDataAccessEnum AllowFullTableExternalDataAccess
61+
{
62+
get { return this._allowFullTableExternalDataAccess; }
63+
set { this._allowFullTableExternalDataAccess = value; }
64+
}
65+
66+
// Check to see if AllowFullTableExternalDataAccess property is set
67+
internal bool IsSetAllowFullTableExternalDataAccess()
68+
{
69+
return this._allowFullTableExternalDataAccess != null;
70+
}
71+
5272
/// <summary>
5373
/// Gets and sets the property CatalogId.
5474
/// <para>

sdk/src/Services/Glue/Generated/Model/CatalogInput.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace Amazon.Glue.Model
3434
/// </summary>
3535
public partial class CatalogInput
3636
{
37+
private AllowFullTableExternalDataAccessEnum _allowFullTableExternalDataAccess;
3738
private CatalogProperties _catalogProperties;
3839
private List<PrincipalPermissions> _createDatabaseDefaultPermissions = AWSConfigs.InitializeCollections ? new List<PrincipalPermissions>() : null;
3940
private List<PrincipalPermissions> _createTableDefaultPermissions = AWSConfigs.InitializeCollections ? new List<PrincipalPermissions>() : null;
@@ -42,6 +43,25 @@ public partial class CatalogInput
4243
private Dictionary<string, string> _parameters = AWSConfigs.InitializeCollections ? new Dictionary<string, string>() : null;
4344
private TargetRedshiftCatalog _targetRedshiftCatalog;
4445

46+
/// <summary>
47+
/// Gets and sets the property AllowFullTableExternalDataAccess.
48+
/// <para>
49+
/// Allows third-party engines to access data in Amazon S3 locations that are registered
50+
/// with Lake Formation.
51+
/// </para>
52+
/// </summary>
53+
public AllowFullTableExternalDataAccessEnum AllowFullTableExternalDataAccess
54+
{
55+
get { return this._allowFullTableExternalDataAccess; }
56+
set { this._allowFullTableExternalDataAccess = value; }
57+
}
58+
59+
// Check to see if AllowFullTableExternalDataAccess property is set
60+
internal bool IsSetAllowFullTableExternalDataAccess()
61+
{
62+
return this._allowFullTableExternalDataAccess != null;
63+
}
64+
4565
/// <summary>
4666
/// Gets and sets the property CatalogProperties.
4767
/// <para>

sdk/src/Services/Glue/Generated/Model/Internal/MarshallTransformations/CatalogInputMarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public void Marshall(CatalogInput requestObject, JsonMarshallerContext context)
4848
{
4949
if(requestObject == null)
5050
return;
51+
if(requestObject.IsSetAllowFullTableExternalDataAccess())
52+
{
53+
context.Writer.WritePropertyName("AllowFullTableExternalDataAccess");
54+
context.Writer.Write(requestObject.AllowFullTableExternalDataAccess);
55+
}
56+
5157
if(requestObject.IsSetCatalogProperties())
5258
{
5359
context.Writer.WritePropertyName("CatalogProperties");

sdk/src/Services/Glue/Generated/Model/Internal/MarshallTransformations/CatalogUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ public Catalog Unmarshall(JsonUnmarshallerContext context)
6666
int targetDepth = context.CurrentDepth;
6767
while (context.ReadAtDepth(targetDepth))
6868
{
69+
if (context.TestExpression("AllowFullTableExternalDataAccess", targetDepth))
70+
{
71+
var unmarshaller = StringUnmarshaller.Instance;
72+
unmarshalledObject.AllowFullTableExternalDataAccess = unmarshaller.Unmarshall(context);
73+
continue;
74+
}
6975
if (context.TestExpression("CatalogId", targetDepth))
7076
{
7177
var unmarshaller = StringUnmarshaller.Instance;

sdk/src/Services/Glue/Generated/ServiceEnumerations.cs

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,56 @@ public static implicit operator AggFunction(string value)
176176
}
177177

178178

179+
/// <summary>
180+
/// Constants used for properties of type AllowFullTableExternalDataAccessEnum.
181+
/// </summary>
182+
public class AllowFullTableExternalDataAccessEnum : ConstantClass
183+
{
184+
185+
/// <summary>
186+
/// Constant False for AllowFullTableExternalDataAccessEnum
187+
/// </summary>
188+
public static readonly AllowFullTableExternalDataAccessEnum False = new AllowFullTableExternalDataAccessEnum("False");
189+
/// <summary>
190+
/// Constant True for AllowFullTableExternalDataAccessEnum
191+
/// </summary>
192+
public static readonly AllowFullTableExternalDataAccessEnum True = new AllowFullTableExternalDataAccessEnum("True");
193+
194+
/// <summary>
195+
/// This constant constructor does not need to be called if the constant
196+
/// you are attempting to use is already defined as a static instance of
197+
/// this class.
198+
/// This constructor should be used to construct constants that are not
199+
/// defined as statics, for instance if attempting to use a feature that is
200+
/// newer than the current version of the SDK.
201+
/// </summary>
202+
public AllowFullTableExternalDataAccessEnum(string value)
203+
: base(value)
204+
{
205+
}
206+
207+
/// <summary>
208+
/// Finds the constant for the unique value.
209+
/// </summary>
210+
/// <param name="value">The unique value for the constant</param>
211+
/// <returns>The constant for the unique value</returns>
212+
public static AllowFullTableExternalDataAccessEnum FindValue(string value)
213+
{
214+
return FindValue<AllowFullTableExternalDataAccessEnum>(value);
215+
}
216+
217+
/// <summary>
218+
/// Utility method to convert strings to the constant class.
219+
/// </summary>
220+
/// <param name="value">The string value to convert to the constant class.</param>
221+
/// <returns></returns>
222+
public static implicit operator AllowFullTableExternalDataAccessEnum(string value)
223+
{
224+
return FindValue(value);
225+
}
226+
}
227+
228+
179229
/// <summary>
180230
/// Constants used for properties of type AuthenticationType.
181231
/// </summary>

0 commit comments

Comments
 (0)