aws-sdk-glue 1.106.0 → 1.109.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: 3d3979808b560d25f3e967561e16037e5f09a6cd19eea40c71532f56797f7594
4
- data.tar.gz: 159058f26d88d5adb62c804acb8a5242521e691f850fcc2aa355dac39eb9a553
3
+ metadata.gz: 3166e5523cc5997716cddee9ad433887b497bda632204158f1bc377b671316f3
4
+ data.tar.gz: f2d4fccb7dc3988e38c2504c89e8daaa3e7aff6359600bd65e8abf1b12df8cec
5
5
  SHA512:
6
- metadata.gz: ed3ba845c28f5606250b5268464f7f00ab99c32a11aa5c792bf602e0d83e63d1a122d4863121b617bc09ec0241241a8625698957a276fc48c59e3c2cbdefdce9
7
- data.tar.gz: e8b8c7326dadbfefaf4ba3ce76cdc443caf79dc04b6dbffaf2ddda5e0504d4deec819a7b9413218144800b884b2a29b76fcf9e637ecee93be170585db2d7b748
6
+ metadata.gz: 75b0b27e5226044fc33ced3c92dcc1519e4d6a1743d96674767af17696fe3564987690de58ab18d0e6ae65ddf2274693ddc77def0ac1012bc2a5d0da299232c6
7
+ data.tar.gz: 5d14da72231d34c58d1d1a61b452083182a3339820e7357d0b4c7ccfa02000884a7300422a4af7ce2aa0df78d33d97cb45f07241c826931b0c9565c1b3c8b195
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.109.0 (2022-04-14)
5
+ ------------------
6
+
7
+ * Feature - Auto Scaling for Glue version 3.0 and later jobs to dynamically scale compute resources. This SDK change provides customers with the auto-scaled DPU usage
8
+
9
+ 1.108.0 (2022-03-18)
10
+ ------------------
11
+
12
+ * Feature - Added 9 new APIs for AWS Glue Interactive Sessions: ListSessions, StopSession, CreateSession, GetSession, DeleteSession, RunStatement, GetStatement, ListStatements, CancelStatement
13
+
14
+ 1.107.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.106.0 (2022-02-16)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.106.0
1
+ 1.109.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Glue
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -1198,6 +1200,7 @@ module Aws::Glue
1198
1200
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
1199
1201
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1200
1202
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1203
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
1201
1204
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls #=> Array
1202
1205
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1203
1206
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -1264,6 +1267,7 @@ module Aws::Glue
1264
1267
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
1265
1268
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1266
1269
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1270
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
1267
1271
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls #=> Array
1268
1272
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1269
1273
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -1482,6 +1486,36 @@ module Aws::Glue
1482
1486
  req.send_request(options)
1483
1487
  end
1484
1488
 
1489
+ # Cancels the statement..
1490
+ #
1491
+ # @option params [required, String] :session_id
1492
+ # The Session ID of the statement to be cancelled.
1493
+ #
1494
+ # @option params [required, Integer] :id
1495
+ # The ID of the statement to be cancelled.
1496
+ #
1497
+ # @option params [String] :request_origin
1498
+ # The origin of the request to cancel the statement.
1499
+ #
1500
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1501
+ #
1502
+ # @example Request syntax with placeholder values
1503
+ #
1504
+ # resp = client.cancel_statement({
1505
+ # session_id: "NameString", # required
1506
+ # id: 1, # required
1507
+ # request_origin: "OrchestrationNameString",
1508
+ # })
1509
+ #
1510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelStatement AWS API Documentation
1511
+ #
1512
+ # @overload cancel_statement(params = {})
1513
+ # @param [Hash] params ({})
1514
+ def cancel_statement(params = {}, options = {})
1515
+ req = build_request(:cancel_statement, params)
1516
+ req.send_request(options)
1517
+ end
1518
+
1485
1519
  # Validates the supplied schema. This call has no side effects, it
1486
1520
  # simply validates using the supplied schema using `DataFormat` as the
1487
1521
  # format. Since it does not take a schema set name, no compatibility
@@ -2940,6 +2974,118 @@ module Aws::Glue
2940
2974
  req.send_request(options)
2941
2975
  end
2942
2976
 
2977
+ # Creates a new session.
2978
+ #
2979
+ # @option params [required, String] :id
2980
+ # The ID of the session request.
2981
+ #
2982
+ # @option params [String] :description
2983
+ # The description of the session.
2984
+ #
2985
+ # @option params [required, String] :role
2986
+ # The IAM Role ARN
2987
+ #
2988
+ # @option params [required, Types::SessionCommand] :command
2989
+ # The `SessionCommand` that runs the job.
2990
+ #
2991
+ # @option params [Integer] :timeout
2992
+ # The number of seconds before request times out.
2993
+ #
2994
+ # @option params [Integer] :idle_timeout
2995
+ # The number of seconds when idle before request times out.
2996
+ #
2997
+ # @option params [Hash<String,String>] :default_arguments
2998
+ # A map array of key-value pairs. Max is 75 pairs.
2999
+ #
3000
+ # @option params [Types::ConnectionsList] :connections
3001
+ # The number of connections to use for the session.
3002
+ #
3003
+ # @option params [Float] :max_capacity
3004
+ # The number of AWS Glue data processing units (DPUs) that can be
3005
+ # allocated when the job runs. A DPU is a relative measure of processing
3006
+ # power that consists of 4 vCPUs of compute capacity and 16 GB memory.
3007
+ #
3008
+ # @option params [Integer] :number_of_workers
3009
+ # The number of workers to use for the session.
3010
+ #
3011
+ # @option params [String] :worker_type
3012
+ # The Worker Type. Can be one of G.1X, G.2X, Standard
3013
+ #
3014
+ # @option params [String] :security_configuration
3015
+ # The name of the SecurityConfiguration structure to be used with the
3016
+ # session
3017
+ #
3018
+ # @option params [String] :glue_version
3019
+ # The Glue version determines the versions of Apache Spark and Python
3020
+ # that AWS Glue supports. The GlueVersion must be greater than 2.0.
3021
+ #
3022
+ # @option params [Hash<String,String>] :tags
3023
+ # The map of key value pairs (tags) belonging to the session.
3024
+ #
3025
+ # @option params [String] :request_origin
3026
+ # The origin of the request.
3027
+ #
3028
+ # @return [Types::CreateSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3029
+ #
3030
+ # * {Types::CreateSessionResponse#session #session} => Types::Session
3031
+ #
3032
+ # @example Request syntax with placeholder values
3033
+ #
3034
+ # resp = client.create_session({
3035
+ # id: "NameString", # required
3036
+ # description: "DescriptionString",
3037
+ # role: "OrchestrationRoleArn", # required
3038
+ # command: { # required
3039
+ # name: "NameString",
3040
+ # python_version: "PythonVersionString",
3041
+ # },
3042
+ # timeout: 1,
3043
+ # idle_timeout: 1,
3044
+ # default_arguments: {
3045
+ # "OrchestrationNameString" => "OrchestrationArgumentsValue",
3046
+ # },
3047
+ # connections: {
3048
+ # connections: ["GenericString"],
3049
+ # },
3050
+ # max_capacity: 1.0,
3051
+ # number_of_workers: 1,
3052
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
3053
+ # security_configuration: "NameString",
3054
+ # glue_version: "GlueVersionString",
3055
+ # tags: {
3056
+ # "TagKey" => "TagValue",
3057
+ # },
3058
+ # request_origin: "OrchestrationNameString",
3059
+ # })
3060
+ #
3061
+ # @example Response structure
3062
+ #
3063
+ # resp.session.id #=> String
3064
+ # resp.session.created_on #=> Time
3065
+ # resp.session.status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
3066
+ # resp.session.error_message #=> String
3067
+ # resp.session.description #=> String
3068
+ # resp.session.role #=> String
3069
+ # resp.session.command.name #=> String
3070
+ # resp.session.command.python_version #=> String
3071
+ # resp.session.default_arguments #=> Hash
3072
+ # resp.session.default_arguments["OrchestrationNameString"] #=> String
3073
+ # resp.session.connections.connections #=> Array
3074
+ # resp.session.connections.connections[0] #=> String
3075
+ # resp.session.progress #=> Float
3076
+ # resp.session.max_capacity #=> Float
3077
+ # resp.session.security_configuration #=> String
3078
+ # resp.session.glue_version #=> String
3079
+ #
3080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSession AWS API Documentation
3081
+ #
3082
+ # @overload create_session(params = {})
3083
+ # @param [Hash] params ({})
3084
+ def create_session(params = {}, options = {})
3085
+ req = build_request(:create_session, params)
3086
+ req.send_request(options)
3087
+ end
3088
+
2943
3089
  # Creates a new table definition in the Data Catalog.
2944
3090
  #
2945
3091
  # @option params [String] :catalog_id
@@ -3850,6 +3996,38 @@ module Aws::Glue
3850
3996
  req.send_request(options)
3851
3997
  end
3852
3998
 
3999
+ # Deletes the session.
4000
+ #
4001
+ # @option params [required, String] :id
4002
+ # The ID of the session to be deleted.
4003
+ #
4004
+ # @option params [String] :request_origin
4005
+ # The name of the origin of the delete session request.
4006
+ #
4007
+ # @return [Types::DeleteSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4008
+ #
4009
+ # * {Types::DeleteSessionResponse#id #id} => String
4010
+ #
4011
+ # @example Request syntax with placeholder values
4012
+ #
4013
+ # resp = client.delete_session({
4014
+ # id: "NameString", # required
4015
+ # request_origin: "OrchestrationNameString",
4016
+ # })
4017
+ #
4018
+ # @example Response structure
4019
+ #
4020
+ # resp.id #=> String
4021
+ #
4022
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSession AWS API Documentation
4023
+ #
4024
+ # @overload delete_session(params = {})
4025
+ # @param [Hash] params ({})
4026
+ def delete_session(params = {}, options = {})
4027
+ req = build_request(:delete_session, params)
4028
+ req.send_request(options)
4029
+ end
4030
+
3853
4031
  # Removes a table definition from the Data Catalog.
3854
4032
  #
3855
4033
  # <note markdown="1"> After completing this operation, you no longer have access to the
@@ -5299,6 +5477,7 @@ module Aws::Glue
5299
5477
  # resp.job_run.log_group_name #=> String
5300
5478
  # resp.job_run.notification_property.notify_delay_after #=> Integer
5301
5479
  # resp.job_run.glue_version #=> String
5480
+ # resp.job_run.dpu_seconds #=> Float
5302
5481
  #
5303
5482
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun AWS API Documentation
5304
5483
  #
@@ -5363,6 +5542,7 @@ module Aws::Glue
5363
5542
  # resp.job_runs[0].log_group_name #=> String
5364
5543
  # resp.job_runs[0].notification_property.notify_delay_after #=> Integer
5365
5544
  # resp.job_runs[0].glue_version #=> String
5545
+ # resp.job_runs[0].dpu_seconds #=> Float
5366
5546
  # resp.next_token #=> String
5367
5547
  #
5368
5548
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns AWS API Documentation
@@ -6767,6 +6947,101 @@ module Aws::Glue
6767
6947
  req.send_request(options)
6768
6948
  end
6769
6949
 
6950
+ # Retrieves the session.
6951
+ #
6952
+ # @option params [required, String] :id
6953
+ # The ID of the session.
6954
+ #
6955
+ # @option params [String] :request_origin
6956
+ # The origin of the request.
6957
+ #
6958
+ # @return [Types::GetSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6959
+ #
6960
+ # * {Types::GetSessionResponse#session #session} => Types::Session
6961
+ #
6962
+ # @example Request syntax with placeholder values
6963
+ #
6964
+ # resp = client.get_session({
6965
+ # id: "NameString", # required
6966
+ # request_origin: "OrchestrationNameString",
6967
+ # })
6968
+ #
6969
+ # @example Response structure
6970
+ #
6971
+ # resp.session.id #=> String
6972
+ # resp.session.created_on #=> Time
6973
+ # resp.session.status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
6974
+ # resp.session.error_message #=> String
6975
+ # resp.session.description #=> String
6976
+ # resp.session.role #=> String
6977
+ # resp.session.command.name #=> String
6978
+ # resp.session.command.python_version #=> String
6979
+ # resp.session.default_arguments #=> Hash
6980
+ # resp.session.default_arguments["OrchestrationNameString"] #=> String
6981
+ # resp.session.connections.connections #=> Array
6982
+ # resp.session.connections.connections[0] #=> String
6983
+ # resp.session.progress #=> Float
6984
+ # resp.session.max_capacity #=> Float
6985
+ # resp.session.security_configuration #=> String
6986
+ # resp.session.glue_version #=> String
6987
+ #
6988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSession AWS API Documentation
6989
+ #
6990
+ # @overload get_session(params = {})
6991
+ # @param [Hash] params ({})
6992
+ def get_session(params = {}, options = {})
6993
+ req = build_request(:get_session, params)
6994
+ req.send_request(options)
6995
+ end
6996
+
6997
+ # Retrieves the statement.
6998
+ #
6999
+ # @option params [required, String] :session_id
7000
+ # The Session ID of the statement.
7001
+ #
7002
+ # @option params [required, Integer] :id
7003
+ # The Id of the statement.
7004
+ #
7005
+ # @option params [String] :request_origin
7006
+ # The origin of the request.
7007
+ #
7008
+ # @return [Types::GetStatementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7009
+ #
7010
+ # * {Types::GetStatementResponse#statement #statement} => Types::Statement
7011
+ #
7012
+ # @example Request syntax with placeholder values
7013
+ #
7014
+ # resp = client.get_statement({
7015
+ # session_id: "NameString", # required
7016
+ # id: 1, # required
7017
+ # request_origin: "OrchestrationNameString",
7018
+ # })
7019
+ #
7020
+ # @example Response structure
7021
+ #
7022
+ # resp.statement.id #=> Integer
7023
+ # resp.statement.code #=> String
7024
+ # resp.statement.state #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
7025
+ # resp.statement.output.data.text_plain #=> String
7026
+ # resp.statement.output.execution_count #=> Integer
7027
+ # resp.statement.output.status #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
7028
+ # resp.statement.output.error_name #=> String
7029
+ # resp.statement.output.error_value #=> String
7030
+ # resp.statement.output.traceback #=> Array
7031
+ # resp.statement.output.traceback[0] #=> String
7032
+ # resp.statement.progress #=> Float
7033
+ # resp.statement.started_on #=> Integer
7034
+ # resp.statement.completed_on #=> Integer
7035
+ #
7036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetStatement AWS API Documentation
7037
+ #
7038
+ # @overload get_statement(params = {})
7039
+ # @param [Hash] params ({})
7040
+ def get_statement(params = {}, options = {})
7041
+ req = build_request(:get_statement, params)
7042
+ req.send_request(options)
7043
+ end
7044
+
6770
7045
  # Retrieves the `Table` definition in a Data Catalog for a specified
6771
7046
  # table.
6772
7047
  #
@@ -7383,6 +7658,7 @@ module Aws::Glue
7383
7658
  # @option params [required, Array<String>] :partition_values
7384
7659
  #
7385
7660
  # @option params [Types::AuditContext] :audit_context
7661
+ # A structure containing information for audit.
7386
7662
  #
7387
7663
  # @option params [required, Array<String>] :supported_permission_types
7388
7664
  #
@@ -7401,6 +7677,8 @@ module Aws::Glue
7401
7677
  # partition_values: ["ValueString"], # required
7402
7678
  # audit_context: {
7403
7679
  # additional_audit_context: "AuditContextString",
7680
+ # requested_columns: ["ColumnNameString"],
7681
+ # all_columns_requested: false,
7404
7682
  # },
7405
7683
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7406
7684
  # })
@@ -7475,6 +7753,7 @@ module Aws::Glue
7475
7753
  # @option params [String] :expression
7476
7754
  #
7477
7755
  # @option params [Types::AuditContext] :audit_context
7756
+ # A structure containing information for audit.
7478
7757
  #
7479
7758
  # @option params [required, Array<String>] :supported_permission_types
7480
7759
  #
@@ -7502,6 +7781,8 @@ module Aws::Glue
7502
7781
  # expression: "PredicateString",
7503
7782
  # audit_context: {
7504
7783
  # additional_audit_context: "AuditContextString",
7784
+ # requested_columns: ["ColumnNameString"],
7785
+ # all_columns_requested: false,
7505
7786
  # },
7506
7787
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7507
7788
  # next_token: "Token",
@@ -7582,6 +7863,7 @@ module Aws::Glue
7582
7863
  # @option params [required, String] :name
7583
7864
  #
7584
7865
  # @option params [Types::AuditContext] :audit_context
7866
+ # A structure containing information for audit.
7585
7867
  #
7586
7868
  # @option params [required, Array<String>] :supported_permission_types
7587
7869
  #
@@ -7600,6 +7882,8 @@ module Aws::Glue
7600
7882
  # name: "NameString", # required
7601
7883
  # audit_context: {
7602
7884
  # additional_audit_context: "AuditContextString",
7885
+ # requested_columns: ["ColumnNameString"],
7886
+ # all_columns_requested: false,
7603
7887
  # },
7604
7888
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7605
7889
  # })
@@ -7892,6 +8176,7 @@ module Aws::Glue
7892
8176
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
7893
8177
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
7894
8178
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8179
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
7895
8180
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls #=> Array
7896
8181
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
7897
8182
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -7958,6 +8243,7 @@ module Aws::Glue
7958
8243
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
7959
8244
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
7960
8245
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8246
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
7961
8247
  # resp.workflow.graph.nodes[0].crawler_details.crawls #=> Array
7962
8248
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
7963
8249
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -8075,6 +8361,7 @@ module Aws::Glue
8075
8361
  # resp.run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
8076
8362
  # resp.run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
8077
8363
  # resp.run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8364
+ # resp.run.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
8078
8365
  # resp.run.graph.nodes[0].crawler_details.crawls #=> Array
8079
8366
  # resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
8080
8367
  # resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -8232,6 +8519,7 @@ module Aws::Glue
8232
8519
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
8233
8520
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
8234
8521
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8522
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
8235
8523
  # resp.runs[0].graph.nodes[0].crawler_details.crawls #=> Array
8236
8524
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
8237
8525
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -8714,6 +9002,122 @@ module Aws::Glue
8714
9002
  req.send_request(options)
8715
9003
  end
8716
9004
 
9005
+ # Retrieve a session..
9006
+ #
9007
+ # @option params [String] :next_token
9008
+ # The token for the next set of results, or null if there are no more
9009
+ # result.
9010
+ #
9011
+ # @option params [Integer] :max_results
9012
+ # The maximum number of results.
9013
+ #
9014
+ # @option params [Hash<String,String>] :tags
9015
+ # Tags belonging to the session.
9016
+ #
9017
+ # @option params [String] :request_origin
9018
+ # The origin of the request.
9019
+ #
9020
+ # @return [Types::ListSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9021
+ #
9022
+ # * {Types::ListSessionsResponse#ids #ids} => Array&lt;String&gt;
9023
+ # * {Types::ListSessionsResponse#sessions #sessions} => Array&lt;Types::Session&gt;
9024
+ # * {Types::ListSessionsResponse#next_token #next_token} => String
9025
+ #
9026
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9027
+ #
9028
+ # @example Request syntax with placeholder values
9029
+ #
9030
+ # resp = client.list_sessions({
9031
+ # next_token: "OrchestrationToken",
9032
+ # max_results: 1,
9033
+ # tags: {
9034
+ # "TagKey" => "TagValue",
9035
+ # },
9036
+ # request_origin: "OrchestrationNameString",
9037
+ # })
9038
+ #
9039
+ # @example Response structure
9040
+ #
9041
+ # resp.ids #=> Array
9042
+ # resp.ids[0] #=> String
9043
+ # resp.sessions #=> Array
9044
+ # resp.sessions[0].id #=> String
9045
+ # resp.sessions[0].created_on #=> Time
9046
+ # resp.sessions[0].status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
9047
+ # resp.sessions[0].error_message #=> String
9048
+ # resp.sessions[0].description #=> String
9049
+ # resp.sessions[0].role #=> String
9050
+ # resp.sessions[0].command.name #=> String
9051
+ # resp.sessions[0].command.python_version #=> String
9052
+ # resp.sessions[0].default_arguments #=> Hash
9053
+ # resp.sessions[0].default_arguments["OrchestrationNameString"] #=> String
9054
+ # resp.sessions[0].connections.connections #=> Array
9055
+ # resp.sessions[0].connections.connections[0] #=> String
9056
+ # resp.sessions[0].progress #=> Float
9057
+ # resp.sessions[0].max_capacity #=> Float
9058
+ # resp.sessions[0].security_configuration #=> String
9059
+ # resp.sessions[0].glue_version #=> String
9060
+ # resp.next_token #=> String
9061
+ #
9062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSessions AWS API Documentation
9063
+ #
9064
+ # @overload list_sessions(params = {})
9065
+ # @param [Hash] params ({})
9066
+ def list_sessions(params = {}, options = {})
9067
+ req = build_request(:list_sessions, params)
9068
+ req.send_request(options)
9069
+ end
9070
+
9071
+ # Lists statements for the session.
9072
+ #
9073
+ # @option params [required, String] :session_id
9074
+ # The Session ID of the statements.
9075
+ #
9076
+ # @option params [String] :request_origin
9077
+ # The origin of the request to list statements.
9078
+ #
9079
+ # @option params [String] :next_token
9080
+ #
9081
+ # @return [Types::ListStatementsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9082
+ #
9083
+ # * {Types::ListStatementsResponse#statements #statements} => Array&lt;Types::Statement&gt;
9084
+ # * {Types::ListStatementsResponse#next_token #next_token} => String
9085
+ #
9086
+ # @example Request syntax with placeholder values
9087
+ #
9088
+ # resp = client.list_statements({
9089
+ # session_id: "NameString", # required
9090
+ # request_origin: "OrchestrationNameString",
9091
+ # next_token: "OrchestrationToken",
9092
+ # })
9093
+ #
9094
+ # @example Response structure
9095
+ #
9096
+ # resp.statements #=> Array
9097
+ # resp.statements[0].id #=> Integer
9098
+ # resp.statements[0].code #=> String
9099
+ # resp.statements[0].state #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
9100
+ # resp.statements[0].output.data.text_plain #=> String
9101
+ # resp.statements[0].output.execution_count #=> Integer
9102
+ # resp.statements[0].output.status #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
9103
+ # resp.statements[0].output.error_name #=> String
9104
+ # resp.statements[0].output.error_value #=> String
9105
+ # resp.statements[0].output.traceback #=> Array
9106
+ # resp.statements[0].output.traceback[0] #=> String
9107
+ # resp.statements[0].progress #=> Float
9108
+ # resp.statements[0].started_on #=> Integer
9109
+ # resp.statements[0].completed_on #=> Integer
9110
+ # resp.next_token #=> String
9111
+ #
9112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListStatements AWS API Documentation
9113
+ #
9114
+ # @overload list_statements(params = {})
9115
+ # @param [Hash] params ({})
9116
+ def list_statements(params = {}, options = {})
9117
+ req = build_request(:list_statements, params)
9118
+ req.send_request(options)
9119
+ end
9120
+
8717
9121
  # Retrieves the names of all trigger resources in this Amazon Web
8718
9122
  # Services account, or the resources with the specified tag. This
8719
9123
  # operation allows you to see which resources are available in your
@@ -9290,6 +9694,42 @@ module Aws::Glue
9290
9694
  req.send_request(options)
9291
9695
  end
9292
9696
 
9697
+ # Executes the statement.
9698
+ #
9699
+ # @option params [required, String] :session_id
9700
+ # The Session Id of the statement to be run.
9701
+ #
9702
+ # @option params [required, String] :code
9703
+ # The statement code to be run.
9704
+ #
9705
+ # @option params [String] :request_origin
9706
+ # The origin of the request.
9707
+ #
9708
+ # @return [Types::RunStatementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9709
+ #
9710
+ # * {Types::RunStatementResponse#id #id} => Integer
9711
+ #
9712
+ # @example Request syntax with placeholder values
9713
+ #
9714
+ # resp = client.run_statement({
9715
+ # session_id: "NameString", # required
9716
+ # code: "OrchestrationStatementCodeString", # required
9717
+ # request_origin: "OrchestrationNameString",
9718
+ # })
9719
+ #
9720
+ # @example Response structure
9721
+ #
9722
+ # resp.id #=> Integer
9723
+ #
9724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RunStatement AWS API Documentation
9725
+ #
9726
+ # @overload run_statement(params = {})
9727
+ # @param [Hash] params ({})
9728
+ def run_statement(params = {}, options = {})
9729
+ req = build_request(:run_statement, params)
9730
+ req.send_request(options)
9731
+ end
9732
+
9293
9733
  # Searches a set of tables based on properties in the table metadata as
9294
9734
  # well as on the parent database. You can search against text or filter
9295
9735
  # conditions.
@@ -9978,6 +10418,38 @@ module Aws::Glue
9978
10418
  req.send_request(options)
9979
10419
  end
9980
10420
 
10421
+ # Stops the session.
10422
+ #
10423
+ # @option params [required, String] :id
10424
+ # The ID of the session to be stopped.
10425
+ #
10426
+ # @option params [String] :request_origin
10427
+ # The origin of the request.
10428
+ #
10429
+ # @return [Types::StopSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10430
+ #
10431
+ # * {Types::StopSessionResponse#id #id} => String
10432
+ #
10433
+ # @example Request syntax with placeholder values
10434
+ #
10435
+ # resp = client.stop_session({
10436
+ # id: "NameString", # required
10437
+ # request_origin: "OrchestrationNameString",
10438
+ # })
10439
+ #
10440
+ # @example Response structure
10441
+ #
10442
+ # resp.id #=> String
10443
+ #
10444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopSession AWS API Documentation
10445
+ #
10446
+ # @overload stop_session(params = {})
10447
+ # @param [Hash] params ({})
10448
+ def stop_session(params = {}, options = {})
10449
+ req = build_request(:stop_session, params)
10450
+ req.send_request(options)
10451
+ end
10452
+
9981
10453
  # Stops a specified trigger.
9982
10454
  #
9983
10455
  # @option params [required, String] :name
@@ -11535,7 +12007,7 @@ module Aws::Glue
11535
12007
  params: params,
11536
12008
  config: config)
11537
12009
  context[:gem_name] = 'aws-sdk-glue'
11538
- context[:gem_version] = '1.106.0'
12010
+ context[:gem_version] = '1.109.0'
11539
12011
  Seahorse::Client::Request.new(handlers, context)
11540
12012
  end
11541
12013