aws-sdk-glue 1.130.0 → 1.131.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc20b3b495d3049435e01cdc159857979895302279086e6be82c53c04972f875
4
- data.tar.gz: 3a0dc34cb167755056fbc5b8055a2511b565dbc7dfb7fdef4851270f2a25b2d5
3
+ metadata.gz: dc04dd874075a1f2ddf7af7490a830862fd73ed98012976faef7f8bcc88e4bcd
4
+ data.tar.gz: e67c22567ef9eb6a35dbe08c7ccf3b5f01765d7aea36931100b53cecc5a9ef28
5
5
  SHA512:
6
- metadata.gz: b47595e4c1e206fcdac0846c3229400dfd4116392c25c0e5345de8fb7ee303f381680a0609964c2a0ff60108ddb55a66f8393a55fd72ded3f240c5bd21f804e4
7
- data.tar.gz: c6ef1f44c9213abee66ad9dc3c22961c3336771ce1ed642e5b365b4912c2c4c4a5dfd17037edf4056df928ae81fcdbead33c9354def497ff4b99ae57d22b3eba
6
+ metadata.gz: abfead73f43be41c1adb9f9d6425d3f2eb07661cef26367e0f3a83dacbf0adb50f459384cdbcdd7ca5cc75ae9572b4b88dc46ab10c3e19f0f7f2a44644f7e117
7
+ data.tar.gz: c217d590e1a39d4b26d35283c6d39471c6023a2a6cde6534a96475459884c67990880746201f3c4c9f4bc5aa111602cf12e4e474320e9ebcad409ffe7808900b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.131.0 (2023-02-15)
5
+ ------------------
6
+
7
+ * Feature - Fix DirectJDBCSource not showing up in CLI code gen
8
+
4
9
  1.130.0 (2023-02-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.130.0
1
+ 1.131.0
@@ -1611,6 +1611,12 @@ module Aws::Glue
1611
1611
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.update_behavior #=> String, one of "UPDATE_IN_DATABASE", "LOG"
1612
1612
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.table #=> String
1613
1613
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.database #=> String
1614
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.name #=> String
1615
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.database #=> String
1616
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.table #=> String
1617
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.connection_name #=> String
1618
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.connection_type #=> String, one of "sqlserver", "mysql", "oracle", "postgresql", "redshift"
1619
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.redshift_tmp_dir #=> String
1614
1620
  # resp.jobs[0].execution_class #=> String, one of "FLEX", "STANDARD"
1615
1621
  # resp.jobs[0].source_control_details.provider #=> String, one of "GITHUB", "AWS_CODE_COMMIT"
1616
1622
  # resp.jobs[0].source_control_details.repository #=> String
@@ -3995,6 +4001,14 @@ module Aws::Glue
3995
4001
  # database: "EnclosedInStringProperty",
3996
4002
  # },
3997
4003
  # },
4004
+ # direct_jdbc_source: {
4005
+ # name: "NodeName", # required
4006
+ # database: "EnclosedInStringProperty", # required
4007
+ # table: "EnclosedInStringProperty", # required
4008
+ # connection_name: "EnclosedInStringProperty", # required
4009
+ # connection_type: "sqlserver", # required, accepts sqlserver, mysql, oracle, postgresql, redshift
4010
+ # redshift_tmp_dir: "EnclosedInStringProperty",
4011
+ # },
3998
4012
  # },
3999
4013
  # },
4000
4014
  # execution_class: "FLEX", # accepts FLEX, STANDARD
@@ -7999,6 +8013,12 @@ module Aws::Glue
7999
8013
  # resp.job.code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.update_behavior #=> String, one of "UPDATE_IN_DATABASE", "LOG"
8000
8014
  # resp.job.code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.table #=> String
8001
8015
  # resp.job.code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.database #=> String
8016
+ # resp.job.code_gen_configuration_nodes["NodeId"].direct_jdbc_source.name #=> String
8017
+ # resp.job.code_gen_configuration_nodes["NodeId"].direct_jdbc_source.database #=> String
8018
+ # resp.job.code_gen_configuration_nodes["NodeId"].direct_jdbc_source.table #=> String
8019
+ # resp.job.code_gen_configuration_nodes["NodeId"].direct_jdbc_source.connection_name #=> String
8020
+ # resp.job.code_gen_configuration_nodes["NodeId"].direct_jdbc_source.connection_type #=> String, one of "sqlserver", "mysql", "oracle", "postgresql", "redshift"
8021
+ # resp.job.code_gen_configuration_nodes["NodeId"].direct_jdbc_source.redshift_tmp_dir #=> String
8002
8022
  # resp.job.execution_class #=> String, one of "FLEX", "STANDARD"
8003
8023
  # resp.job.source_control_details.provider #=> String, one of "GITHUB", "AWS_CODE_COMMIT"
8004
8024
  # resp.job.source_control_details.repository #=> String
@@ -8823,6 +8843,12 @@ module Aws::Glue
8823
8843
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.update_behavior #=> String, one of "UPDATE_IN_DATABASE", "LOG"
8824
8844
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.table #=> String
8825
8845
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].s3_hudi_direct_target.schema_change_policy.database #=> String
8846
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.name #=> String
8847
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.database #=> String
8848
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.table #=> String
8849
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.connection_name #=> String
8850
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.connection_type #=> String, one of "sqlserver", "mysql", "oracle", "postgresql", "redshift"
8851
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].direct_jdbc_source.redshift_tmp_dir #=> String
8826
8852
  # resp.jobs[0].execution_class #=> String, one of "FLEX", "STANDARD"
8827
8853
  # resp.jobs[0].source_control_details.provider #=> String, one of "GITHUB", "AWS_CODE_COMMIT"
8828
8854
  # resp.jobs[0].source_control_details.repository #=> String
@@ -15982,6 +16008,14 @@ module Aws::Glue
15982
16008
  # database: "EnclosedInStringProperty",
15983
16009
  # },
15984
16010
  # },
16011
+ # direct_jdbc_source: {
16012
+ # name: "NodeName", # required
16013
+ # database: "EnclosedInStringProperty", # required
16014
+ # table: "EnclosedInStringProperty", # required
16015
+ # connection_name: "EnclosedInStringProperty", # required
16016
+ # connection_type: "sqlserver", # required, accepts sqlserver, mysql, oracle, postgresql, redshift
16017
+ # redshift_tmp_dir: "EnclosedInStringProperty",
16018
+ # },
15985
16019
  # },
15986
16020
  # },
15987
16021
  # execution_class: "FLEX", # accepts FLEX, STANDARD
@@ -16807,7 +16841,7 @@ module Aws::Glue
16807
16841
  params: params,
16808
16842
  config: config)
16809
16843
  context[:gem_name] = 'aws-sdk-glue'
16810
- context[:gem_version] = '1.130.0'
16844
+ context[:gem_version] = '1.131.0'
16811
16845
  Seahorse::Client::Request.new(handlers, context)
16812
16846
  end
16813
16847
 
@@ -373,6 +373,7 @@ module Aws::Glue
373
373
  DevEndpointList = Shapes::ListShape.new(name: 'DevEndpointList')
374
374
  DevEndpointNameList = Shapes::ListShape.new(name: 'DevEndpointNameList')
375
375
  DevEndpointNames = Shapes::ListShape.new(name: 'DevEndpointNames')
376
+ DirectJDBCSource = Shapes::StructureShape.new(name: 'DirectJDBCSource')
376
377
  DirectKafkaSource = Shapes::StructureShape.new(name: 'DirectKafkaSource')
377
378
  DirectKinesisSource = Shapes::StructureShape.new(name: 'DirectKinesisSource')
378
379
  DirectSchemaChangePolicy = Shapes::StructureShape.new(name: 'DirectSchemaChangePolicy')
@@ -604,6 +605,7 @@ module Aws::Glue
604
605
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
605
606
  InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
606
607
  IsVersionValid = Shapes::BooleanShape.new(name: 'IsVersionValid')
608
+ JDBCConnectionType = Shapes::StringShape.new(name: 'JDBCConnectionType')
607
609
  JDBCConnectorOptions = Shapes::StructureShape.new(name: 'JDBCConnectorOptions')
608
610
  JDBCConnectorSource = Shapes::StructureShape.new(name: 'JDBCConnectorSource')
609
611
  JDBCConnectorTarget = Shapes::StructureShape.new(name: 'JDBCConnectorTarget')
@@ -1562,6 +1564,7 @@ module Aws::Glue
1562
1564
  CodeGenConfigurationNode.add_member(:s3_hudi_source, Shapes::ShapeRef.new(shape: S3HudiSource, location_name: "S3HudiSource"))
1563
1565
  CodeGenConfigurationNode.add_member(:s3_hudi_catalog_target, Shapes::ShapeRef.new(shape: S3HudiCatalogTarget, location_name: "S3HudiCatalogTarget"))
1564
1566
  CodeGenConfigurationNode.add_member(:s3_hudi_direct_target, Shapes::ShapeRef.new(shape: S3HudiDirectTarget, location_name: "S3HudiDirectTarget"))
1567
+ CodeGenConfigurationNode.add_member(:direct_jdbc_source, Shapes::ShapeRef.new(shape: DirectJDBCSource, location_name: "DirectJDBCSource"))
1565
1568
  CodeGenConfigurationNode.struct_class = Types::CodeGenConfigurationNode
1566
1569
 
1567
1570
  CodeGenConfigurationNodes.key = Shapes::ShapeRef.new(shape: NodeId)
@@ -2504,6 +2507,14 @@ module Aws::Glue
2504
2507
 
2505
2508
  DevEndpointNames.member = Shapes::ShapeRef.new(shape: GenericString)
2506
2509
 
2510
+ DirectJDBCSource.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name"))
2511
+ DirectJDBCSource.add_member(:database, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "Database"))
2512
+ DirectJDBCSource.add_member(:table, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "Table"))
2513
+ DirectJDBCSource.add_member(:connection_name, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "ConnectionName"))
2514
+ DirectJDBCSource.add_member(:connection_type, Shapes::ShapeRef.new(shape: JDBCConnectionType, required: true, location_name: "ConnectionType"))
2515
+ DirectJDBCSource.add_member(:redshift_tmp_dir, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, location_name: "RedshiftTmpDir"))
2516
+ DirectJDBCSource.struct_class = Types::DirectJDBCSource
2517
+
2507
2518
  DirectKafkaSource.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name"))
2508
2519
  DirectKafkaSource.add_member(:streaming_options, Shapes::ShapeRef.new(shape: KafkaStreamingSourceOptions, location_name: "StreamingOptions"))
2509
2520
  DirectKafkaSource.add_member(:window_size, Shapes::ShapeRef.new(shape: BoxedPositiveInt, location_name: "WindowSize", metadata: {"box"=>true}))
@@ -50,9 +50,6 @@ module Aws::Glue
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::Glue
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://glue.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://glue.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://glue.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://glue.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -1930,6 +1930,10 @@ module Aws::Glue
1930
1930
  # Specifies a target that writes to a Hudi data source in Amazon S3.
1931
1931
  # @return [Types::S3HudiDirectTarget]
1932
1932
  #
1933
+ # @!attribute [rw] direct_jdbc_source
1934
+ # Specifies the direct JDBC source connection.
1935
+ # @return [Types::DirectJDBCSource]
1936
+ #
1933
1937
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenConfigurationNode AWS API Documentation
1934
1938
  #
1935
1939
  class CodeGenConfigurationNode < Struct.new(
@@ -1989,7 +1993,8 @@ module Aws::Glue
1989
1993
  :catalog_hudi_source,
1990
1994
  :s3_hudi_source,
1991
1995
  :s3_hudi_catalog_target,
1992
- :s3_hudi_direct_target)
1996
+ :s3_hudi_direct_target,
1997
+ :direct_jdbc_source)
1993
1998
  SENSITIVE = []
1994
1999
  include Aws::Structure
1995
2000
  end
@@ -6831,6 +6836,45 @@ module Aws::Glue
6831
6836
  include Aws::Structure
6832
6837
  end
6833
6838
 
6839
+ # Specifies the direct JDBC source connection.
6840
+ #
6841
+ # @!attribute [rw] name
6842
+ # The name of the JDBC source connection.
6843
+ # @return [String]
6844
+ #
6845
+ # @!attribute [rw] database
6846
+ # The database of the JDBC source connection.
6847
+ # @return [String]
6848
+ #
6849
+ # @!attribute [rw] table
6850
+ # The table of the JDBC source connection.
6851
+ # @return [String]
6852
+ #
6853
+ # @!attribute [rw] connection_name
6854
+ # The connection name of the JDBC source.
6855
+ # @return [String]
6856
+ #
6857
+ # @!attribute [rw] connection_type
6858
+ # The connection type of the JDBC source.
6859
+ # @return [String]
6860
+ #
6861
+ # @!attribute [rw] redshift_tmp_dir
6862
+ # The temp directory of the JDBC Redshift source.
6863
+ # @return [String]
6864
+ #
6865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DirectJDBCSource AWS API Documentation
6866
+ #
6867
+ class DirectJDBCSource < Struct.new(
6868
+ :name,
6869
+ :database,
6870
+ :table,
6871
+ :connection_name,
6872
+ :connection_type,
6873
+ :redshift_tmp_dir)
6874
+ SENSITIVE = []
6875
+ include Aws::Structure
6876
+ end
6877
+
6834
6878
  # Specifies an Apache Kafka data store.
6835
6879
  #
6836
6880
  # @!attribute [rw] name
data/lib/aws-sdk-glue.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-glue/customizations'
52
52
  # @!group service
53
53
  module Aws::Glue
54
54
 
55
- GEM_VERSION = '1.130.0'
55
+ GEM_VERSION = '1.131.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.130.0
4
+ version: 1.131.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-08 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core