Skip to content

Commit 156405b

Browse files
author
AWS
committed
AWS Glue Update: This release adds AmazonRedshift Source and Target nodes in addition to DynamicTransform OutputSchemas
1 parent 4de0ce6 commit 156405b

File tree

2 files changed

+200
-0
lines changed

2 files changed

+200
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Glue",
4+
"contributor": "",
5+
"description": "This release adds AmazonRedshift Source and Target nodes in addition to DynamicTransform OutputSchemas"
6+
}

services/glue/src/main/resources/codegen-resources/service-2.json

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3513,6 +3513,166 @@
35133513
"documentation":"<p>A resource to be created or added already exists.</p>",
35143514
"exception":true
35153515
},
3516+
"AmazonRedshiftAdvancedOption":{
3517+
"type":"structure",
3518+
"members":{
3519+
"Key":{
3520+
"shape":"GenericString",
3521+
"documentation":"<p>The key when specifying a key-value pair.</p>"
3522+
},
3523+
"Value":{
3524+
"shape":"GenericString",
3525+
"documentation":"<p>The value when specifying a key-value pair.</p>"
3526+
}
3527+
},
3528+
"documentation":"<p>Specifies an Amazon Redshift data store.</p>"
3529+
},
3530+
"AmazonRedshiftAdvancedOptions":{
3531+
"type":"list",
3532+
"member":{"shape":"AmazonRedshiftAdvancedOption"}
3533+
},
3534+
"AmazonRedshiftNodeData":{
3535+
"type":"structure",
3536+
"members":{
3537+
"AccessType":{
3538+
"shape":"GenericLimitedString",
3539+
"documentation":"<p>The access type for the Redshift connection. Can be a direct connection or catalog connections.</p>"
3540+
},
3541+
"SourceType":{
3542+
"shape":"GenericLimitedString",
3543+
"documentation":"<p>The source type to specify whether a specific table is the source or a custom query.</p>"
3544+
},
3545+
"Connection":{
3546+
"shape":"Option",
3547+
"documentation":"<p>The Glue connection to the Redshift cluster.</p>"
3548+
},
3549+
"Schema":{
3550+
"shape":"Option",
3551+
"documentation":"<p>The Redshift schema name when working with a direct connection.</p>"
3552+
},
3553+
"Table":{
3554+
"shape":"Option",
3555+
"documentation":"<p>The Redshift table name when working with a direct connection.</p>"
3556+
},
3557+
"CatalogDatabase":{
3558+
"shape":"Option",
3559+
"documentation":"<p>The name of the Glue Data Catalog database when working with a data catalog.</p>"
3560+
},
3561+
"CatalogTable":{
3562+
"shape":"Option",
3563+
"documentation":"<p>The Glue Data Catalog table name when working with a data catalog.</p>"
3564+
},
3565+
"CatalogRedshiftSchema":{
3566+
"shape":"GenericString",
3567+
"documentation":"<p>The Redshift schema name when working with a data catalog.</p>"
3568+
},
3569+
"CatalogRedshiftTable":{
3570+
"shape":"GenericString",
3571+
"documentation":"<p>The database table to read from.</p>"
3572+
},
3573+
"TempDir":{
3574+
"shape":"EnclosedInStringProperty",
3575+
"documentation":"<p>The Amazon S3 path where temporary data can be staged when copying out of the database.</p>"
3576+
},
3577+
"IamRole":{
3578+
"shape":"Option",
3579+
"documentation":"<p>Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.</p>"
3580+
},
3581+
"AdvancedOptions":{
3582+
"shape":"AmazonRedshiftAdvancedOptions",
3583+
"documentation":"<p>Optional values when connecting to the Redshift cluster.</p>"
3584+
},
3585+
"SampleQuery":{
3586+
"shape":"GenericString",
3587+
"documentation":"<p>The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.</p>"
3588+
},
3589+
"PreAction":{
3590+
"shape":"GenericString",
3591+
"documentation":"<p>The SQL used before a MERGE or APPEND with upsert is run.</p>"
3592+
},
3593+
"PostAction":{
3594+
"shape":"GenericString",
3595+
"documentation":"<p>The SQL used before a MERGE or APPEND with upsert is run.</p>"
3596+
},
3597+
"Action":{
3598+
"shape":"GenericString",
3599+
"documentation":"<p>Specifies how writing to a Redshift cluser will occur.</p>"
3600+
},
3601+
"TablePrefix":{
3602+
"shape":"GenericLimitedString",
3603+
"documentation":"<p>Specifies the prefix to a table.</p>"
3604+
},
3605+
"Upsert":{
3606+
"shape":"BooleanValue",
3607+
"documentation":"<p>The action used on Redshift sinks when doing an APPEND.</p>"
3608+
},
3609+
"MergeAction":{
3610+
"shape":"GenericLimitedString",
3611+
"documentation":"<p>The action used when to detemine how a MERGE in a Redshift sink will be handled.</p>"
3612+
},
3613+
"MergeWhenMatched":{
3614+
"shape":"GenericLimitedString",
3615+
"documentation":"<p>The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.</p>"
3616+
},
3617+
"MergeWhenNotMatched":{
3618+
"shape":"GenericLimitedString",
3619+
"documentation":"<p>The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't match a new record.</p>"
3620+
},
3621+
"MergeClause":{
3622+
"shape":"GenericString",
3623+
"documentation":"<p>The SQL used in a custom merge to deal with matching records.</p>"
3624+
},
3625+
"CrawlerConnection":{
3626+
"shape":"GenericString",
3627+
"documentation":"<p>Specifies the name of the connection that is associated with the catalog table used.</p>"
3628+
},
3629+
"TableSchema":{
3630+
"shape":"OptionList",
3631+
"documentation":"<p>The array of schema output for a given node.</p>"
3632+
},
3633+
"StagingTable":{
3634+
"shape":"GenericString",
3635+
"documentation":"<p>The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.</p>"
3636+
},
3637+
"SelectedColumns":{
3638+
"shape":"OptionList",
3639+
"documentation":"<p>The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.</p>"
3640+
}
3641+
},
3642+
"documentation":"<p>Specifies an Amazon Redshift node.</p>"
3643+
},
3644+
"AmazonRedshiftSource":{
3645+
"type":"structure",
3646+
"members":{
3647+
"Name":{
3648+
"shape":"NodeName",
3649+
"documentation":"<p>The name of the Amazon Redshift source.</p>"
3650+
},
3651+
"Data":{
3652+
"shape":"AmazonRedshiftNodeData",
3653+
"documentation":"<p>Specifies the data of the Amazon Reshift source node.</p>"
3654+
}
3655+
},
3656+
"documentation":"<p>Specifies an Amazon Redshift source.</p>"
3657+
},
3658+
"AmazonRedshiftTarget":{
3659+
"type":"structure",
3660+
"members":{
3661+
"Name":{
3662+
"shape":"NodeName",
3663+
"documentation":"<p>The name of the Amazon Redshift target.</p>"
3664+
},
3665+
"Data":{
3666+
"shape":"AmazonRedshiftNodeData",
3667+
"documentation":"<p>Specifies the data of the Amazon Reshift target node.</p>"
3668+
},
3669+
"Inputs":{
3670+
"shape":"OneInput",
3671+
"documentation":"<p>The nodes that are inputs to the data target.</p>"
3672+
}
3673+
},
3674+
"documentation":"<p>Specifies an Amazon Redshift target.</p>"
3675+
},
35163676
"ApplyMapping":{
35173677
"type":"structure",
35183678
"required":[
@@ -5201,6 +5361,14 @@
52015361
"S3DeltaDirectTarget":{
52025362
"shape":"S3DeltaDirectTarget",
52035363
"documentation":"<p>Specifies a target that writes to a Delta Lake data source in Amazon S3.</p>"
5364+
},
5365+
"AmazonRedshiftSource":{
5366+
"shape":"AmazonRedshiftSource",
5367+
"documentation":"<p>Specifies a target that writes to a data source in Amazon Redshift.</p>"
5368+
},
5369+
"AmazonRedshiftTarget":{
5370+
"shape":"AmazonRedshiftTarget",
5371+
"documentation":"<p>Specifies a target that writes to a data target in Amazon Redshift.</p>"
52045372
}
52055373
},
52065374
"documentation":"<p> <code>CodeGenConfigurationNode</code> enumerates all valid Node types. One and only one of its member variables can be populated.</p>"
@@ -9162,6 +9330,10 @@
91629330
"Version":{
91639331
"shape":"EnclosedInStringProperty",
91649332
"documentation":"<p>This field is not used and will be deprecated in future release.</p>"
9333+
},
9334+
"OutputSchemas":{
9335+
"shape":"GlueSchemas",
9336+
"documentation":"<p>Specifies the data schema for the dynamic transform.</p>"
91659337
}
91669338
},
91679339
"documentation":"<p>Specifies the set of parameters needed to perform the dynamic transform.</p>"
@@ -14803,6 +14975,28 @@
1480314975
"documentation":"<p>The operation timed out.</p>",
1480414976
"exception":true
1480514977
},
14978+
"Option":{
14979+
"type":"structure",
14980+
"members":{
14981+
"Value":{
14982+
"shape":"EnclosedInStringProperty",
14983+
"documentation":"<p>Specifies the value of the option.</p>"
14984+
},
14985+
"Label":{
14986+
"shape":"EnclosedInStringProperty",
14987+
"documentation":"<p>Specifies the label of the option.</p>"
14988+
},
14989+
"Description":{
14990+
"shape":"EnclosedInStringProperty",
14991+
"documentation":"<p>Specifies the description of the option.</p>"
14992+
}
14993+
},
14994+
"documentation":"<p>Specifies an option value.</p>"
14995+
},
14996+
"OptionList":{
14997+
"type":"list",
14998+
"member":{"shape":"Option"}
14999+
},
1480615000
"OracleSQLCatalogSource":{
1480715001
"type":"structure",
1480815002
"required":[

0 commit comments

Comments
 (0)