aws-sdk-glue 1.194.0 → 1.195.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: c80f85a708425c975e698d3e52f8d0d15353c37572cf9d3b74dbb5330d039c29
4
- data.tar.gz: c201de9b8e428cfab3737a0d5c3b27ec23021182a92c4f28c86c9a258609d77d
3
+ metadata.gz: 4c3aaeca7c880d71df57bd89a1c91171df80946d51a4d0f205aa9df5a9d2bc06
4
+ data.tar.gz: ee2747bf524cd0423a4bbb5347b78c7fa489ad319d45d541bbb936d7889e36d4
5
5
  SHA512:
6
- metadata.gz: 93b283426784ee424c9e758eb93d36897fbb6c01b2b8eec1460a3a2a0ff98b2e7145d5bc48696ca92a46095f5233cce73e125d9f3b192a5b8993944d3d090544
7
- data.tar.gz: c048130e762d8b8fb1c73316ed845b5c58c4c6353d709e940893d01f7e49ee62d29e24f86c2ed67e261f527d0793811e35d2234843f4422a1ceaf20d93b10380
6
+ metadata.gz: 5ad947be225a9373f15f071db5ad8c3b9ec0401d5a90870c8a6c1c9099a3a5e0b32bb2cc866b6c75ce8a8ee37c3602e0593bbe247346dc73ce96db6f437df865
7
+ data.tar.gz: 33d04dae38a2eab8ceebc4333e94766654c4a78161f900f6597f19deae95092722682b8c970c656a4fe77e5606c50023c698a92232c0b620b280484f99ff865c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.195.0 (2024-09-19)
5
+ ------------------
6
+
7
+ * Feature - This change is for releasing TestConnection api SDK model
8
+
4
9
  1.194.0 (2024-09-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.194.0
1
+ 1.195.0
@@ -16352,6 +16352,66 @@ module Aws::Glue
16352
16352
  req.send_request(options)
16353
16353
  end
16354
16354
 
16355
+ # Tests a connection to a service to validate the service credentials
16356
+ # that you provide.
16357
+ #
16358
+ # You can either provide an existing connection name or a
16359
+ # `TestConnectionInput` for testing a non-existing connection input.
16360
+ # Providing both at the same time will cause an error.
16361
+ #
16362
+ # If the action is successful, the service sends back an HTTP 200
16363
+ # response.
16364
+ #
16365
+ # @option params [String] :connection_name
16366
+ # Optional. The name of the connection to test. If only name is
16367
+ # provided, the operation will get the connection and use that for
16368
+ # testing.
16369
+ #
16370
+ # @option params [Types::TestConnectionInput] :test_connection_input
16371
+ # A structure that is used to specify testing a connection to a service.
16372
+ #
16373
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
16374
+ #
16375
+ # @example Request syntax with placeholder values
16376
+ #
16377
+ # resp = client.test_connection({
16378
+ # connection_name: "NameString",
16379
+ # test_connection_input: {
16380
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE, VIEW_VALIDATION_REDSHIFT, VIEW_VALIDATION_ATHENA
16381
+ # connection_properties: { # required
16382
+ # "HOST" => "ValueString",
16383
+ # },
16384
+ # authentication_configuration: {
16385
+ # authentication_type: "BASIC", # accepts BASIC, OAUTH2, CUSTOM
16386
+ # secret_arn: "SecretArn",
16387
+ # o_auth_2_properties: {
16388
+ # o_auth_2_grant_type: "AUTHORIZATION_CODE", # accepts AUTHORIZATION_CODE, CLIENT_CREDENTIALS, JWT_BEARER
16389
+ # o_auth_2_client_application: {
16390
+ # user_managed_client_application_client_id: "UserManagedClientApplicationClientId",
16391
+ # aws_managed_client_application_reference: "AWSManagedClientApplicationReference",
16392
+ # },
16393
+ # token_url: "TokenUrl",
16394
+ # token_url_parameters_map: {
16395
+ # "TokenUrlParameterKey" => "TokenUrlParameterValue",
16396
+ # },
16397
+ # authorization_code_properties: {
16398
+ # authorization_code: "AuthorizationCode",
16399
+ # redirect_uri: "RedirectUri",
16400
+ # },
16401
+ # },
16402
+ # },
16403
+ # },
16404
+ # })
16405
+ #
16406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnection AWS API Documentation
16407
+ #
16408
+ # @overload test_connection(params = {})
16409
+ # @param [Hash] params ({})
16410
+ def test_connection(params = {}, options = {})
16411
+ req = build_request(:test_connection, params)
16412
+ req.send_request(options)
16413
+ end
16414
+
16355
16415
  # Removes tags from a resource.
16356
16416
  #
16357
16417
  # @option params [required, String] :resource_arn
@@ -18149,7 +18209,7 @@ module Aws::Glue
18149
18209
  tracer: tracer
18150
18210
  )
18151
18211
  context[:gem_name] = 'aws-sdk-glue'
18152
- context[:gem_version] = '1.194.0'
18212
+ context[:gem_version] = '1.195.0'
18153
18213
  Seahorse::Client::Request.new(handlers, context)
18154
18214
  end
18155
18215
 
@@ -1212,6 +1212,9 @@ module Aws::Glue
1212
1212
  TaskRunSortCriteria = Shapes::StructureShape.new(name: 'TaskRunSortCriteria')
1213
1213
  TaskStatusType = Shapes::StringShape.new(name: 'TaskStatusType')
1214
1214
  TaskType = Shapes::StringShape.new(name: 'TaskType')
1215
+ TestConnectionInput = Shapes::StructureShape.new(name: 'TestConnectionInput')
1216
+ TestConnectionRequest = Shapes::StructureShape.new(name: 'TestConnectionRequest')
1217
+ TestConnectionResponse = Shapes::StructureShape.new(name: 'TestConnectionResponse')
1215
1218
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
1216
1219
  Timeout = Shapes::IntegerShape.new(name: 'Timeout')
1217
1220
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -5935,6 +5938,17 @@ module Aws::Glue
5935
5938
  TaskRunSortCriteria.add_member(:sort_direction, Shapes::ShapeRef.new(shape: SortDirectionType, required: true, location_name: "SortDirection"))
5936
5939
  TaskRunSortCriteria.struct_class = Types::TaskRunSortCriteria
5937
5940
 
5941
+ TestConnectionInput.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, required: true, location_name: "ConnectionType"))
5942
+ TestConnectionInput.add_member(:connection_properties, Shapes::ShapeRef.new(shape: ConnectionProperties, required: true, location_name: "ConnectionProperties"))
5943
+ TestConnectionInput.add_member(:authentication_configuration, Shapes::ShapeRef.new(shape: AuthenticationConfigurationInput, location_name: "AuthenticationConfiguration"))
5944
+ TestConnectionInput.struct_class = Types::TestConnectionInput
5945
+
5946
+ TestConnectionRequest.add_member(:connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ConnectionName"))
5947
+ TestConnectionRequest.add_member(:test_connection_input, Shapes::ShapeRef.new(shape: TestConnectionInput, location_name: "TestConnectionInput"))
5948
+ TestConnectionRequest.struct_class = Types::TestConnectionRequest
5949
+
5950
+ TestConnectionResponse.struct_class = Types::TestConnectionResponse
5951
+
5938
5952
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
5939
5953
  ThrottlingException.struct_class = Types::ThrottlingException
5940
5954
 
@@ -9193,6 +9207,23 @@ module Aws::Glue
9193
9207
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9194
9208
  end)
9195
9209
 
9210
+ api.add_operation(:test_connection, Seahorse::Model::Operation.new.tap do |o|
9211
+ o.name = "TestConnection"
9212
+ o.http_method = "POST"
9213
+ o.http_request_uri = "/"
9214
+ o.input = Shapes::ShapeRef.new(shape: TestConnectionRequest)
9215
+ o.output = Shapes::ShapeRef.new(shape: TestConnectionResponse)
9216
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
9217
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
9218
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
9219
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
9220
+ o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
9221
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
9222
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9223
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
9224
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
9225
+ end)
9226
+
9196
9227
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
9197
9228
  o.name = "UntagResource"
9198
9229
  o.http_method = "POST"
@@ -2212,6 +2212,17 @@ module Aws::Glue
2212
2212
  end
2213
2213
  end
2214
2214
 
2215
+ class TestConnection
2216
+ def self.build(context)
2217
+ Aws::Glue::EndpointParameters.new(
2218
+ region: context.config.region,
2219
+ use_dual_stack: context.config.use_dualstack_endpoint,
2220
+ use_fips: context.config.use_fips_endpoint,
2221
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
2222
+ )
2223
+ end
2224
+ end
2225
+
2215
2226
  class UntagResource
2216
2227
  def self.build(context)
2217
2228
  Aws::Glue::EndpointParameters.new(
@@ -467,6 +467,8 @@ module Aws::Glue
467
467
  Aws::Glue::Endpoints::StopWorkflowRun.build(context)
468
468
  when :tag_resource
469
469
  Aws::Glue::Endpoints::TagResource.build(context)
470
+ when :test_connection
471
+ Aws::Glue::Endpoints::TestConnection.build(context)
470
472
  when :untag_resource
471
473
  Aws::Glue::Endpoints::UntagResource.build(context)
472
474
  when :update_blueprint
@@ -23021,6 +23021,71 @@ module Aws::Glue
23021
23021
  include Aws::Structure
23022
23022
  end
23023
23023
 
23024
+ # A structure that is used to specify testing a connection to a service.
23025
+ #
23026
+ # @!attribute [rw] connection_type
23027
+ # The type of connection to test. This operation is only available for
23028
+ # the `JDBC` or `SALESFORCE` connection types.
23029
+ # @return [String]
23030
+ #
23031
+ # @!attribute [rw] connection_properties
23032
+ # The key-value pairs that define parameters for the connection.
23033
+ #
23034
+ # JDBC connections use the following connection properties:
23035
+ #
23036
+ # * Required: All of (`HOST`, `PORT`, `JDBC_ENGINE`) or
23037
+ # `JDBC_CONNECTION_URL`.
23038
+ #
23039
+ # * Required: All of (`USERNAME`, `PASSWORD`) or `SECRET_ID`.
23040
+ #
23041
+ # * Optional: `JDBC_ENFORCE_SSL`, `CUSTOM_JDBC_CERT`,
23042
+ # `CUSTOM_JDBC_CERT_STRING`, `SKIP_CUSTOM_JDBC_CERT_VALIDATION`.
23043
+ # These parameters are used to configure SSL with JDBC.
23044
+ #
23045
+ # SALESFORCE connections require the `AuthenticationConfiguration`
23046
+ # member to be configured.
23047
+ # @return [Hash<String,String>]
23048
+ #
23049
+ # @!attribute [rw] authentication_configuration
23050
+ # A structure containing the authentication configuration in the
23051
+ # TestConnection request. Required for a connection to Salesforce
23052
+ # using OAuth authentication.
23053
+ # @return [Types::AuthenticationConfigurationInput]
23054
+ #
23055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionInput AWS API Documentation
23056
+ #
23057
+ class TestConnectionInput < Struct.new(
23058
+ :connection_type,
23059
+ :connection_properties,
23060
+ :authentication_configuration)
23061
+ SENSITIVE = []
23062
+ include Aws::Structure
23063
+ end
23064
+
23065
+ # @!attribute [rw] connection_name
23066
+ # Optional. The name of the connection to test. If only name is
23067
+ # provided, the operation will get the connection and use that for
23068
+ # testing.
23069
+ # @return [String]
23070
+ #
23071
+ # @!attribute [rw] test_connection_input
23072
+ # A structure that is used to specify testing a connection to a
23073
+ # service.
23074
+ # @return [Types::TestConnectionInput]
23075
+ #
23076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionRequest AWS API Documentation
23077
+ #
23078
+ class TestConnectionRequest < Struct.new(
23079
+ :connection_name,
23080
+ :test_connection_input)
23081
+ SENSITIVE = []
23082
+ include Aws::Structure
23083
+ end
23084
+
23085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionResponse AWS API Documentation
23086
+ #
23087
+ class TestConnectionResponse < Aws::EmptyStructure; end
23088
+
23024
23089
  # The throttling threshhold was exceeded.
23025
23090
  #
23026
23091
  # @!attribute [rw] message
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.194.0'
55
+ GEM_VERSION = '1.195.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -4886,6 +4886,36 @@ module Aws
4886
4886
  ) -> _TagResourceResponseSuccess
4887
4887
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
4888
4888
 
4889
+ interface _TestConnectionResponseSuccess
4890
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestConnectionResponse]
4891
+ end
4892
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#test_connection-instance_method
4893
+ def test_connection: (
4894
+ ?connection_name: ::String,
4895
+ ?test_connection_input: {
4896
+ connection_type: ("JDBC" | "SFTP" | "MONGODB" | "KAFKA" | "NETWORK" | "MARKETPLACE" | "CUSTOM" | "SALESFORCE" | "VIEW_VALIDATION_REDSHIFT" | "VIEW_VALIDATION_ATHENA"),
4897
+ connection_properties: Hash[("HOST" | "PORT" | "USERNAME" | "PASSWORD" | "ENCRYPTED_PASSWORD" | "JDBC_DRIVER_JAR_URI" | "JDBC_DRIVER_CLASS_NAME" | "JDBC_ENGINE" | "JDBC_ENGINE_VERSION" | "CONFIG_FILES" | "INSTANCE_ID" | "JDBC_CONNECTION_URL" | "JDBC_ENFORCE_SSL" | "CUSTOM_JDBC_CERT" | "SKIP_CUSTOM_JDBC_CERT_VALIDATION" | "CUSTOM_JDBC_CERT_STRING" | "CONNECTION_URL" | "KAFKA_BOOTSTRAP_SERVERS" | "KAFKA_SSL_ENABLED" | "KAFKA_CUSTOM_CERT" | "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" | "KAFKA_CLIENT_KEYSTORE" | "KAFKA_CLIENT_KEYSTORE_PASSWORD" | "KAFKA_CLIENT_KEY_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" | "SECRET_ID" | "CONNECTOR_URL" | "CONNECTOR_TYPE" | "CONNECTOR_CLASS_NAME" | "KAFKA_SASL_MECHANISM" | "KAFKA_SASL_PLAIN_USERNAME" | "KAFKA_SASL_PLAIN_PASSWORD" | "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" | "KAFKA_SASL_SCRAM_USERNAME" | "KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_SCRAM_SECRETS_ARN" | "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_GSSAPI_KEYTAB" | "KAFKA_SASL_GSSAPI_KRB5_CONF" | "KAFKA_SASL_GSSAPI_SERVICE" | "KAFKA_SASL_GSSAPI_PRINCIPAL" | "ROLE_ARN" | "REGION" | "WORKGROUP_NAME" | "CLUSTER_IDENTIFIER" | "DATABASE"), ::String],
4898
+ authentication_configuration: {
4899
+ authentication_type: ("BASIC" | "OAUTH2" | "CUSTOM")?,
4900
+ secret_arn: ::String?,
4901
+ o_auth_2_properties: {
4902
+ o_auth_2_grant_type: ("AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS" | "JWT_BEARER")?,
4903
+ o_auth_2_client_application: {
4904
+ user_managed_client_application_client_id: ::String?,
4905
+ aws_managed_client_application_reference: ::String?
4906
+ }?,
4907
+ token_url: ::String?,
4908
+ token_url_parameters_map: Hash[::String, ::String]?,
4909
+ authorization_code_properties: {
4910
+ authorization_code: ::String?,
4911
+ redirect_uri: ::String?
4912
+ }?
4913
+ }?
4914
+ }?
4915
+ }
4916
+ ) -> _TestConnectionResponseSuccess
4917
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestConnectionResponseSuccess
4918
+
4889
4919
  interface _UntagResourceResponseSuccess
4890
4920
  include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
4891
4921
  end
data/sig/types.rbs CHANGED
@@ -5658,6 +5658,22 @@ module Aws::Glue
5658
5658
  SENSITIVE: []
5659
5659
  end
5660
5660
 
5661
+ class TestConnectionInput
5662
+ attr_accessor connection_type: ("JDBC" | "SFTP" | "MONGODB" | "KAFKA" | "NETWORK" | "MARKETPLACE" | "CUSTOM" | "SALESFORCE" | "VIEW_VALIDATION_REDSHIFT" | "VIEW_VALIDATION_ATHENA")
5663
+ attr_accessor connection_properties: ::Hash[("HOST" | "PORT" | "USERNAME" | "PASSWORD" | "ENCRYPTED_PASSWORD" | "JDBC_DRIVER_JAR_URI" | "JDBC_DRIVER_CLASS_NAME" | "JDBC_ENGINE" | "JDBC_ENGINE_VERSION" | "CONFIG_FILES" | "INSTANCE_ID" | "JDBC_CONNECTION_URL" | "JDBC_ENFORCE_SSL" | "CUSTOM_JDBC_CERT" | "SKIP_CUSTOM_JDBC_CERT_VALIDATION" | "CUSTOM_JDBC_CERT_STRING" | "CONNECTION_URL" | "KAFKA_BOOTSTRAP_SERVERS" | "KAFKA_SSL_ENABLED" | "KAFKA_CUSTOM_CERT" | "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" | "KAFKA_CLIENT_KEYSTORE" | "KAFKA_CLIENT_KEYSTORE_PASSWORD" | "KAFKA_CLIENT_KEY_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" | "SECRET_ID" | "CONNECTOR_URL" | "CONNECTOR_TYPE" | "CONNECTOR_CLASS_NAME" | "KAFKA_SASL_MECHANISM" | "KAFKA_SASL_PLAIN_USERNAME" | "KAFKA_SASL_PLAIN_PASSWORD" | "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" | "KAFKA_SASL_SCRAM_USERNAME" | "KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_SCRAM_SECRETS_ARN" | "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_GSSAPI_KEYTAB" | "KAFKA_SASL_GSSAPI_KRB5_CONF" | "KAFKA_SASL_GSSAPI_SERVICE" | "KAFKA_SASL_GSSAPI_PRINCIPAL" | "ROLE_ARN" | "REGION" | "WORKGROUP_NAME" | "CLUSTER_IDENTIFIER" | "DATABASE"), ::String]
5664
+ attr_accessor authentication_configuration: Types::AuthenticationConfigurationInput
5665
+ SENSITIVE: []
5666
+ end
5667
+
5668
+ class TestConnectionRequest
5669
+ attr_accessor connection_name: ::String
5670
+ attr_accessor test_connection_input: Types::TestConnectionInput
5671
+ SENSITIVE: []
5672
+ end
5673
+
5674
+ class TestConnectionResponse < Aws::EmptyStructure
5675
+ end
5676
+
5661
5677
  class ThrottlingException
5662
5678
  attr_accessor message: ::String
5663
5679
  SENSITIVE: []
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.194.0
4
+ version: 1.195.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: 2024-09-12 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core