aws-sdk-glue 1.107.0 → 1.108.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a8699d5ce9ba82ac56ad4727cd3c936e3f2e30668c2097a7bfceb73af38e28c
4
- data.tar.gz: 2b88e7e0d6dd74403e3ab157953651bfb20f401c1440522d465d3c7070f6efc1
3
+ metadata.gz: 82549217518a5c2bea914f1f04fbc8fababe7bae7b41a1f7560481eed36088ba
4
+ data.tar.gz: 6528bbb31da7427b01e32325d41a38b92381620e11692f3356b477322cb8e03b
5
5
  SHA512:
6
- metadata.gz: 2f25fb7a0cd418b201aea38318aec459bfffa11a2070a7183da04b89fb6133eedfac5e7b1cc62a01384e5e0c0777bb0f68492d1b9baa2b5faf0e655e610e098f
7
- data.tar.gz: 2b30709083a40e286f61b8a6568654a1b4d2b192f223df054dfe83dfd3733b96d933a64699bef4c87534a5452ecbac5fff0fb437113ac998633dfa20577d1b7f
6
+ metadata.gz: bf01a8a75d08ae159b98d2d755a453770d61eac6c53aaf0d48a67c756f1bdb22c3f26eecc3040f10b415d9ff40ad84732318beb25ad9ae09ca636fdae9bee4e6
7
+ data.tar.gz: c3634d689b35e46e8c5f71324628fa09bc04a7353165894ce9b2e02ab9bbb93bffc46fe3cce5737ce5e9ddd42513720fdf43ce4e4ab77bf260cf8281a8450a1a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.108.0 (2022-03-18)
5
+ ------------------
6
+
7
+ * Feature - Added 9 new APIs for AWS Glue Interactive Sessions: ListSessions, StopSession, CreateSession, GetSession, DeleteSession, RunStatement, GetStatement, ListStatements, CancelStatement
8
+
4
9
  1.107.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.107.0
1
+ 1.108.0
@@ -1484,6 +1484,36 @@ module Aws::Glue
1484
1484
  req.send_request(options)
1485
1485
  end
1486
1486
 
1487
+ # Cancels the statement..
1488
+ #
1489
+ # @option params [required, String] :session_id
1490
+ # The Session ID of the statement to be cancelled.
1491
+ #
1492
+ # @option params [required, Integer] :id
1493
+ # The ID of the statement to be cancelled.
1494
+ #
1495
+ # @option params [String] :request_origin
1496
+ # The origin of the request to cancel the statement.
1497
+ #
1498
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1499
+ #
1500
+ # @example Request syntax with placeholder values
1501
+ #
1502
+ # resp = client.cancel_statement({
1503
+ # session_id: "NameString", # required
1504
+ # id: 1, # required
1505
+ # request_origin: "OrchestrationNameString",
1506
+ # })
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelStatement AWS API Documentation
1509
+ #
1510
+ # @overload cancel_statement(params = {})
1511
+ # @param [Hash] params ({})
1512
+ def cancel_statement(params = {}, options = {})
1513
+ req = build_request(:cancel_statement, params)
1514
+ req.send_request(options)
1515
+ end
1516
+
1487
1517
  # Validates the supplied schema. This call has no side effects, it
1488
1518
  # simply validates using the supplied schema using `DataFormat` as the
1489
1519
  # format. Since it does not take a schema set name, no compatibility
@@ -2942,6 +2972,118 @@ module Aws::Glue
2942
2972
  req.send_request(options)
2943
2973
  end
2944
2974
 
2975
+ # Creates a new session.
2976
+ #
2977
+ # @option params [required, String] :id
2978
+ # The ID of the session request.
2979
+ #
2980
+ # @option params [String] :description
2981
+ # The description of the session.
2982
+ #
2983
+ # @option params [required, String] :role
2984
+ # The IAM Role ARN
2985
+ #
2986
+ # @option params [required, Types::SessionCommand] :command
2987
+ # The `SessionCommand` that runs the job.
2988
+ #
2989
+ # @option params [Integer] :timeout
2990
+ # The number of seconds before request times out.
2991
+ #
2992
+ # @option params [Integer] :idle_timeout
2993
+ # The number of seconds when idle before request times out.
2994
+ #
2995
+ # @option params [Hash<String,String>] :default_arguments
2996
+ # A map array of key-value pairs. Max is 75 pairs.
2997
+ #
2998
+ # @option params [Types::ConnectionsList] :connections
2999
+ # The number of connections to use for the session.
3000
+ #
3001
+ # @option params [Float] :max_capacity
3002
+ # The number of AWS Glue data processing units (DPUs) that can be
3003
+ # allocated when the job runs. A DPU is a relative measure of processing
3004
+ # power that consists of 4 vCPUs of compute capacity and 16 GB memory.
3005
+ #
3006
+ # @option params [Integer] :number_of_workers
3007
+ # The number of workers to use for the session.
3008
+ #
3009
+ # @option params [String] :worker_type
3010
+ # The Worker Type. Can be one of G.1X, G.2X, Standard
3011
+ #
3012
+ # @option params [String] :security_configuration
3013
+ # The name of the SecurityConfiguration structure to be used with the
3014
+ # session
3015
+ #
3016
+ # @option params [String] :glue_version
3017
+ # The Glue version determines the versions of Apache Spark and Python
3018
+ # that AWS Glue supports. The GlueVersion must be greater than 2.0.
3019
+ #
3020
+ # @option params [Hash<String,String>] :tags
3021
+ # The map of key value pairs (tags) belonging to the session.
3022
+ #
3023
+ # @option params [String] :request_origin
3024
+ # The origin of the request.
3025
+ #
3026
+ # @return [Types::CreateSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3027
+ #
3028
+ # * {Types::CreateSessionResponse#session #session} => Types::Session
3029
+ #
3030
+ # @example Request syntax with placeholder values
3031
+ #
3032
+ # resp = client.create_session({
3033
+ # id: "NameString", # required
3034
+ # description: "DescriptionString",
3035
+ # role: "OrchestrationRoleArn", # required
3036
+ # command: { # required
3037
+ # name: "NameString",
3038
+ # python_version: "PythonVersionString",
3039
+ # },
3040
+ # timeout: 1,
3041
+ # idle_timeout: 1,
3042
+ # default_arguments: {
3043
+ # "OrchestrationNameString" => "OrchestrationArgumentsValue",
3044
+ # },
3045
+ # connections: {
3046
+ # connections: ["GenericString"],
3047
+ # },
3048
+ # max_capacity: 1.0,
3049
+ # number_of_workers: 1,
3050
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
3051
+ # security_configuration: "NameString",
3052
+ # glue_version: "GlueVersionString",
3053
+ # tags: {
3054
+ # "TagKey" => "TagValue",
3055
+ # },
3056
+ # request_origin: "OrchestrationNameString",
3057
+ # })
3058
+ #
3059
+ # @example Response structure
3060
+ #
3061
+ # resp.session.id #=> String
3062
+ # resp.session.created_on #=> Time
3063
+ # resp.session.status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
3064
+ # resp.session.error_message #=> String
3065
+ # resp.session.description #=> String
3066
+ # resp.session.role #=> String
3067
+ # resp.session.command.name #=> String
3068
+ # resp.session.command.python_version #=> String
3069
+ # resp.session.default_arguments #=> Hash
3070
+ # resp.session.default_arguments["OrchestrationNameString"] #=> String
3071
+ # resp.session.connections.connections #=> Array
3072
+ # resp.session.connections.connections[0] #=> String
3073
+ # resp.session.progress #=> Float
3074
+ # resp.session.max_capacity #=> Float
3075
+ # resp.session.security_configuration #=> String
3076
+ # resp.session.glue_version #=> String
3077
+ #
3078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSession AWS API Documentation
3079
+ #
3080
+ # @overload create_session(params = {})
3081
+ # @param [Hash] params ({})
3082
+ def create_session(params = {}, options = {})
3083
+ req = build_request(:create_session, params)
3084
+ req.send_request(options)
3085
+ end
3086
+
2945
3087
  # Creates a new table definition in the Data Catalog.
2946
3088
  #
2947
3089
  # @option params [String] :catalog_id
@@ -3852,6 +3994,38 @@ module Aws::Glue
3852
3994
  req.send_request(options)
3853
3995
  end
3854
3996
 
3997
+ # Deletes the session.
3998
+ #
3999
+ # @option params [required, String] :id
4000
+ # The ID of the session to be deleted.
4001
+ #
4002
+ # @option params [String] :request_origin
4003
+ # The name of the origin of the delete session request.
4004
+ #
4005
+ # @return [Types::DeleteSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4006
+ #
4007
+ # * {Types::DeleteSessionResponse#id #id} => String
4008
+ #
4009
+ # @example Request syntax with placeholder values
4010
+ #
4011
+ # resp = client.delete_session({
4012
+ # id: "NameString", # required
4013
+ # request_origin: "OrchestrationNameString",
4014
+ # })
4015
+ #
4016
+ # @example Response structure
4017
+ #
4018
+ # resp.id #=> String
4019
+ #
4020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSession AWS API Documentation
4021
+ #
4022
+ # @overload delete_session(params = {})
4023
+ # @param [Hash] params ({})
4024
+ def delete_session(params = {}, options = {})
4025
+ req = build_request(:delete_session, params)
4026
+ req.send_request(options)
4027
+ end
4028
+
3855
4029
  # Removes a table definition from the Data Catalog.
3856
4030
  #
3857
4031
  # <note markdown="1"> After completing this operation, you no longer have access to the
@@ -6769,6 +6943,101 @@ module Aws::Glue
6769
6943
  req.send_request(options)
6770
6944
  end
6771
6945
 
6946
+ # Retrieves the session.
6947
+ #
6948
+ # @option params [required, String] :id
6949
+ # The ID of the session.
6950
+ #
6951
+ # @option params [String] :request_origin
6952
+ # The origin of the request.
6953
+ #
6954
+ # @return [Types::GetSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6955
+ #
6956
+ # * {Types::GetSessionResponse#session #session} => Types::Session
6957
+ #
6958
+ # @example Request syntax with placeholder values
6959
+ #
6960
+ # resp = client.get_session({
6961
+ # id: "NameString", # required
6962
+ # request_origin: "OrchestrationNameString",
6963
+ # })
6964
+ #
6965
+ # @example Response structure
6966
+ #
6967
+ # resp.session.id #=> String
6968
+ # resp.session.created_on #=> Time
6969
+ # resp.session.status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
6970
+ # resp.session.error_message #=> String
6971
+ # resp.session.description #=> String
6972
+ # resp.session.role #=> String
6973
+ # resp.session.command.name #=> String
6974
+ # resp.session.command.python_version #=> String
6975
+ # resp.session.default_arguments #=> Hash
6976
+ # resp.session.default_arguments["OrchestrationNameString"] #=> String
6977
+ # resp.session.connections.connections #=> Array
6978
+ # resp.session.connections.connections[0] #=> String
6979
+ # resp.session.progress #=> Float
6980
+ # resp.session.max_capacity #=> Float
6981
+ # resp.session.security_configuration #=> String
6982
+ # resp.session.glue_version #=> String
6983
+ #
6984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSession AWS API Documentation
6985
+ #
6986
+ # @overload get_session(params = {})
6987
+ # @param [Hash] params ({})
6988
+ def get_session(params = {}, options = {})
6989
+ req = build_request(:get_session, params)
6990
+ req.send_request(options)
6991
+ end
6992
+
6993
+ # Retrieves the statement.
6994
+ #
6995
+ # @option params [required, String] :session_id
6996
+ # The Session ID of the statement.
6997
+ #
6998
+ # @option params [required, Integer] :id
6999
+ # The Id of the statement.
7000
+ #
7001
+ # @option params [String] :request_origin
7002
+ # The origin of the request.
7003
+ #
7004
+ # @return [Types::GetStatementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7005
+ #
7006
+ # * {Types::GetStatementResponse#statement #statement} => Types::Statement
7007
+ #
7008
+ # @example Request syntax with placeholder values
7009
+ #
7010
+ # resp = client.get_statement({
7011
+ # session_id: "NameString", # required
7012
+ # id: 1, # required
7013
+ # request_origin: "OrchestrationNameString",
7014
+ # })
7015
+ #
7016
+ # @example Response structure
7017
+ #
7018
+ # resp.statement.id #=> Integer
7019
+ # resp.statement.code #=> String
7020
+ # resp.statement.state #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
7021
+ # resp.statement.output.data.text_plain #=> String
7022
+ # resp.statement.output.execution_count #=> Integer
7023
+ # resp.statement.output.status #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
7024
+ # resp.statement.output.error_name #=> String
7025
+ # resp.statement.output.error_value #=> String
7026
+ # resp.statement.output.traceback #=> Array
7027
+ # resp.statement.output.traceback[0] #=> String
7028
+ # resp.statement.progress #=> Float
7029
+ # resp.statement.started_on #=> Integer
7030
+ # resp.statement.completed_on #=> Integer
7031
+ #
7032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetStatement AWS API Documentation
7033
+ #
7034
+ # @overload get_statement(params = {})
7035
+ # @param [Hash] params ({})
7036
+ def get_statement(params = {}, options = {})
7037
+ req = build_request(:get_statement, params)
7038
+ req.send_request(options)
7039
+ end
7040
+
6772
7041
  # Retrieves the `Table` definition in a Data Catalog for a specified
6773
7042
  # table.
6774
7043
  #
@@ -7385,6 +7654,7 @@ module Aws::Glue
7385
7654
  # @option params [required, Array<String>] :partition_values
7386
7655
  #
7387
7656
  # @option params [Types::AuditContext] :audit_context
7657
+ # A structure containing information for audit.
7388
7658
  #
7389
7659
  # @option params [required, Array<String>] :supported_permission_types
7390
7660
  #
@@ -7403,6 +7673,8 @@ module Aws::Glue
7403
7673
  # partition_values: ["ValueString"], # required
7404
7674
  # audit_context: {
7405
7675
  # additional_audit_context: "AuditContextString",
7676
+ # requested_columns: ["ColumnNameString"],
7677
+ # all_columns_requested: false,
7406
7678
  # },
7407
7679
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7408
7680
  # })
@@ -7477,6 +7749,7 @@ module Aws::Glue
7477
7749
  # @option params [String] :expression
7478
7750
  #
7479
7751
  # @option params [Types::AuditContext] :audit_context
7752
+ # A structure containing information for audit.
7480
7753
  #
7481
7754
  # @option params [required, Array<String>] :supported_permission_types
7482
7755
  #
@@ -7504,6 +7777,8 @@ module Aws::Glue
7504
7777
  # expression: "PredicateString",
7505
7778
  # audit_context: {
7506
7779
  # additional_audit_context: "AuditContextString",
7780
+ # requested_columns: ["ColumnNameString"],
7781
+ # all_columns_requested: false,
7507
7782
  # },
7508
7783
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7509
7784
  # next_token: "Token",
@@ -7584,6 +7859,7 @@ module Aws::Glue
7584
7859
  # @option params [required, String] :name
7585
7860
  #
7586
7861
  # @option params [Types::AuditContext] :audit_context
7862
+ # A structure containing information for audit.
7587
7863
  #
7588
7864
  # @option params [required, Array<String>] :supported_permission_types
7589
7865
  #
@@ -7602,6 +7878,8 @@ module Aws::Glue
7602
7878
  # name: "NameString", # required
7603
7879
  # audit_context: {
7604
7880
  # additional_audit_context: "AuditContextString",
7881
+ # requested_columns: ["ColumnNameString"],
7882
+ # all_columns_requested: false,
7605
7883
  # },
7606
7884
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7607
7885
  # })
@@ -8716,6 +8994,122 @@ module Aws::Glue
8716
8994
  req.send_request(options)
8717
8995
  end
8718
8996
 
8997
+ # Retrieve a session..
8998
+ #
8999
+ # @option params [String] :next_token
9000
+ # The token for the next set of results, or null if there are no more
9001
+ # result.
9002
+ #
9003
+ # @option params [Integer] :max_results
9004
+ # The maximum number of results.
9005
+ #
9006
+ # @option params [Hash<String,String>] :tags
9007
+ # Tags belonging to the session.
9008
+ #
9009
+ # @option params [String] :request_origin
9010
+ # The origin of the request.
9011
+ #
9012
+ # @return [Types::ListSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9013
+ #
9014
+ # * {Types::ListSessionsResponse#ids #ids} => Array&lt;String&gt;
9015
+ # * {Types::ListSessionsResponse#sessions #sessions} => Array&lt;Types::Session&gt;
9016
+ # * {Types::ListSessionsResponse#next_token #next_token} => String
9017
+ #
9018
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9019
+ #
9020
+ # @example Request syntax with placeholder values
9021
+ #
9022
+ # resp = client.list_sessions({
9023
+ # next_token: "OrchestrationToken",
9024
+ # max_results: 1,
9025
+ # tags: {
9026
+ # "TagKey" => "TagValue",
9027
+ # },
9028
+ # request_origin: "OrchestrationNameString",
9029
+ # })
9030
+ #
9031
+ # @example Response structure
9032
+ #
9033
+ # resp.ids #=> Array
9034
+ # resp.ids[0] #=> String
9035
+ # resp.sessions #=> Array
9036
+ # resp.sessions[0].id #=> String
9037
+ # resp.sessions[0].created_on #=> Time
9038
+ # resp.sessions[0].status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
9039
+ # resp.sessions[0].error_message #=> String
9040
+ # resp.sessions[0].description #=> String
9041
+ # resp.sessions[0].role #=> String
9042
+ # resp.sessions[0].command.name #=> String
9043
+ # resp.sessions[0].command.python_version #=> String
9044
+ # resp.sessions[0].default_arguments #=> Hash
9045
+ # resp.sessions[0].default_arguments["OrchestrationNameString"] #=> String
9046
+ # resp.sessions[0].connections.connections #=> Array
9047
+ # resp.sessions[0].connections.connections[0] #=> String
9048
+ # resp.sessions[0].progress #=> Float
9049
+ # resp.sessions[0].max_capacity #=> Float
9050
+ # resp.sessions[0].security_configuration #=> String
9051
+ # resp.sessions[0].glue_version #=> String
9052
+ # resp.next_token #=> String
9053
+ #
9054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSessions AWS API Documentation
9055
+ #
9056
+ # @overload list_sessions(params = {})
9057
+ # @param [Hash] params ({})
9058
+ def list_sessions(params = {}, options = {})
9059
+ req = build_request(:list_sessions, params)
9060
+ req.send_request(options)
9061
+ end
9062
+
9063
+ # Lists statements for the session.
9064
+ #
9065
+ # @option params [required, String] :session_id
9066
+ # The Session ID of the statements.
9067
+ #
9068
+ # @option params [String] :request_origin
9069
+ # The origin of the request to list statements.
9070
+ #
9071
+ # @option params [String] :next_token
9072
+ #
9073
+ # @return [Types::ListStatementsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9074
+ #
9075
+ # * {Types::ListStatementsResponse#statements #statements} => Array&lt;Types::Statement&gt;
9076
+ # * {Types::ListStatementsResponse#next_token #next_token} => String
9077
+ #
9078
+ # @example Request syntax with placeholder values
9079
+ #
9080
+ # resp = client.list_statements({
9081
+ # session_id: "NameString", # required
9082
+ # request_origin: "OrchestrationNameString",
9083
+ # next_token: "OrchestrationToken",
9084
+ # })
9085
+ #
9086
+ # @example Response structure
9087
+ #
9088
+ # resp.statements #=> Array
9089
+ # resp.statements[0].id #=> Integer
9090
+ # resp.statements[0].code #=> String
9091
+ # resp.statements[0].state #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
9092
+ # resp.statements[0].output.data.text_plain #=> String
9093
+ # resp.statements[0].output.execution_count #=> Integer
9094
+ # resp.statements[0].output.status #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
9095
+ # resp.statements[0].output.error_name #=> String
9096
+ # resp.statements[0].output.error_value #=> String
9097
+ # resp.statements[0].output.traceback #=> Array
9098
+ # resp.statements[0].output.traceback[0] #=> String
9099
+ # resp.statements[0].progress #=> Float
9100
+ # resp.statements[0].started_on #=> Integer
9101
+ # resp.statements[0].completed_on #=> Integer
9102
+ # resp.next_token #=> String
9103
+ #
9104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListStatements AWS API Documentation
9105
+ #
9106
+ # @overload list_statements(params = {})
9107
+ # @param [Hash] params ({})
9108
+ def list_statements(params = {}, options = {})
9109
+ req = build_request(:list_statements, params)
9110
+ req.send_request(options)
9111
+ end
9112
+
8719
9113
  # Retrieves the names of all trigger resources in this Amazon Web
8720
9114
  # Services account, or the resources with the specified tag. This
8721
9115
  # operation allows you to see which resources are available in your
@@ -9292,6 +9686,42 @@ module Aws::Glue
9292
9686
  req.send_request(options)
9293
9687
  end
9294
9688
 
9689
+ # Executes the statement.
9690
+ #
9691
+ # @option params [required, String] :session_id
9692
+ # The Session Id of the statement to be run.
9693
+ #
9694
+ # @option params [required, String] :code
9695
+ # The statement code to be run.
9696
+ #
9697
+ # @option params [String] :request_origin
9698
+ # The origin of the request.
9699
+ #
9700
+ # @return [Types::RunStatementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9701
+ #
9702
+ # * {Types::RunStatementResponse#id #id} => Integer
9703
+ #
9704
+ # @example Request syntax with placeholder values
9705
+ #
9706
+ # resp = client.run_statement({
9707
+ # session_id: "NameString", # required
9708
+ # code: "OrchestrationStatementCodeString", # required
9709
+ # request_origin: "OrchestrationNameString",
9710
+ # })
9711
+ #
9712
+ # @example Response structure
9713
+ #
9714
+ # resp.id #=> Integer
9715
+ #
9716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RunStatement AWS API Documentation
9717
+ #
9718
+ # @overload run_statement(params = {})
9719
+ # @param [Hash] params ({})
9720
+ def run_statement(params = {}, options = {})
9721
+ req = build_request(:run_statement, params)
9722
+ req.send_request(options)
9723
+ end
9724
+
9295
9725
  # Searches a set of tables based on properties in the table metadata as
9296
9726
  # well as on the parent database. You can search against text or filter
9297
9727
  # conditions.
@@ -9980,6 +10410,38 @@ module Aws::Glue
9980
10410
  req.send_request(options)
9981
10411
  end
9982
10412
 
10413
+ # Stops the session.
10414
+ #
10415
+ # @option params [required, String] :id
10416
+ # The ID of the session to be stopped.
10417
+ #
10418
+ # @option params [String] :request_origin
10419
+ # The origin of the request.
10420
+ #
10421
+ # @return [Types::StopSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10422
+ #
10423
+ # * {Types::StopSessionResponse#id #id} => String
10424
+ #
10425
+ # @example Request syntax with placeholder values
10426
+ #
10427
+ # resp = client.stop_session({
10428
+ # id: "NameString", # required
10429
+ # request_origin: "OrchestrationNameString",
10430
+ # })
10431
+ #
10432
+ # @example Response structure
10433
+ #
10434
+ # resp.id #=> String
10435
+ #
10436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopSession AWS API Documentation
10437
+ #
10438
+ # @overload stop_session(params = {})
10439
+ # @param [Hash] params ({})
10440
+ def stop_session(params = {}, options = {})
10441
+ req = build_request(:stop_session, params)
10442
+ req.send_request(options)
10443
+ end
10444
+
9983
10445
  # Stops a specified trigger.
9984
10446
  #
9985
10447
  # @option params [required, String] :name
@@ -11537,7 +11999,7 @@ module Aws::Glue
11537
11999
  params: params,
11538
12000
  config: config)
11539
12001
  context[:gem_name] = 'aws-sdk-glue'
11540
- context[:gem_version] = '1.107.0'
12002
+ context[:gem_version] = '1.108.0'
11541
12003
  Seahorse::Client::Request.new(handlers, context)
11542
12004
  end
11543
12005