aws-sdk-glue 1.107.0 → 1.110.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.
@@ -815,6 +815,38 @@ module Aws::Glue
815
815
  req.send_request(options)
816
816
  end
817
817
 
818
+ # @option params [required, Array<String>] :names
819
+ #
820
+ # @return [Types::BatchGetCustomEntityTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
821
+ #
822
+ # * {Types::BatchGetCustomEntityTypesResponse#custom_entity_types #custom_entity_types} => Array&lt;Types::CustomEntityType&gt;
823
+ # * {Types::BatchGetCustomEntityTypesResponse#custom_entity_types_not_found #custom_entity_types_not_found} => Array&lt;String&gt;
824
+ #
825
+ # @example Request syntax with placeholder values
826
+ #
827
+ # resp = client.batch_get_custom_entity_types({
828
+ # names: ["NameString"], # required
829
+ # })
830
+ #
831
+ # @example Response structure
832
+ #
833
+ # resp.custom_entity_types #=> Array
834
+ # resp.custom_entity_types[0].name #=> String
835
+ # resp.custom_entity_types[0].regex_string #=> String
836
+ # resp.custom_entity_types[0].context_words #=> Array
837
+ # resp.custom_entity_types[0].context_words[0] #=> String
838
+ # resp.custom_entity_types_not_found #=> Array
839
+ # resp.custom_entity_types_not_found[0] #=> String
840
+ #
841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCustomEntityTypes AWS API Documentation
842
+ #
843
+ # @overload batch_get_custom_entity_types(params = {})
844
+ # @param [Hash] params ({})
845
+ def batch_get_custom_entity_types(params = {}, options = {})
846
+ req = build_request(:batch_get_custom_entity_types, params)
847
+ req.send_request(options)
848
+ end
849
+
818
850
  # Returns a list of resource metadata for a given list of development
819
851
  # endpoint names. After calling the `ListDevEndpoints` operation, you
820
852
  # can call this operation to access the data to which you have been
@@ -1200,6 +1232,7 @@ module Aws::Glue
1200
1232
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
1201
1233
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1202
1234
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1235
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
1203
1236
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls #=> Array
1204
1237
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1205
1238
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -1266,6 +1299,7 @@ module Aws::Glue
1266
1299
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
1267
1300
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1268
1301
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1302
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
1269
1303
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls #=> Array
1270
1304
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1271
1305
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -1484,6 +1518,36 @@ module Aws::Glue
1484
1518
  req.send_request(options)
1485
1519
  end
1486
1520
 
1521
+ # Cancels the statement..
1522
+ #
1523
+ # @option params [required, String] :session_id
1524
+ # The Session ID of the statement to be cancelled.
1525
+ #
1526
+ # @option params [required, Integer] :id
1527
+ # The ID of the statement to be cancelled.
1528
+ #
1529
+ # @option params [String] :request_origin
1530
+ # The origin of the request to cancel the statement.
1531
+ #
1532
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1533
+ #
1534
+ # @example Request syntax with placeholder values
1535
+ #
1536
+ # resp = client.cancel_statement({
1537
+ # session_id: "NameString", # required
1538
+ # id: 1, # required
1539
+ # request_origin: "OrchestrationNameString",
1540
+ # })
1541
+ #
1542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelStatement AWS API Documentation
1543
+ #
1544
+ # @overload cancel_statement(params = {})
1545
+ # @param [Hash] params ({})
1546
+ def cancel_statement(params = {}, options = {})
1547
+ req = build_request(:cancel_statement, params)
1548
+ req.send_request(options)
1549
+ end
1550
+
1487
1551
  # Validates the supplied schema. This call has no side effects, it
1488
1552
  # simply validates using the supplied schema using `DataFormat` as the
1489
1553
  # format. Since it does not take a schema set name, no compatibility
@@ -1829,6 +1893,37 @@ module Aws::Glue
1829
1893
  req.send_request(options)
1830
1894
  end
1831
1895
 
1896
+ # @option params [required, String] :name
1897
+ #
1898
+ # @option params [required, String] :regex_string
1899
+ #
1900
+ # @option params [Array<String>] :context_words
1901
+ #
1902
+ # @return [Types::CreateCustomEntityTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1903
+ #
1904
+ # * {Types::CreateCustomEntityTypeResponse#name #name} => String
1905
+ #
1906
+ # @example Request syntax with placeholder values
1907
+ #
1908
+ # resp = client.create_custom_entity_type({
1909
+ # name: "NameString", # required
1910
+ # regex_string: "NameString", # required
1911
+ # context_words: ["NameString"],
1912
+ # })
1913
+ #
1914
+ # @example Response structure
1915
+ #
1916
+ # resp.name #=> String
1917
+ #
1918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCustomEntityType AWS API Documentation
1919
+ #
1920
+ # @overload create_custom_entity_type(params = {})
1921
+ # @param [Hash] params ({})
1922
+ def create_custom_entity_type(params = {}, options = {})
1923
+ req = build_request(:create_custom_entity_type, params)
1924
+ req.send_request(options)
1925
+ end
1926
+
1832
1927
  # Creates a new database in a Data Catalog.
1833
1928
  #
1834
1929
  # @option params [String] :catalog_id
@@ -2942,6 +3037,118 @@ module Aws::Glue
2942
3037
  req.send_request(options)
2943
3038
  end
2944
3039
 
3040
+ # Creates a new session.
3041
+ #
3042
+ # @option params [required, String] :id
3043
+ # The ID of the session request.
3044
+ #
3045
+ # @option params [String] :description
3046
+ # The description of the session.
3047
+ #
3048
+ # @option params [required, String] :role
3049
+ # The IAM Role ARN
3050
+ #
3051
+ # @option params [required, Types::SessionCommand] :command
3052
+ # The `SessionCommand` that runs the job.
3053
+ #
3054
+ # @option params [Integer] :timeout
3055
+ # The number of seconds before request times out.
3056
+ #
3057
+ # @option params [Integer] :idle_timeout
3058
+ # The number of seconds when idle before request times out.
3059
+ #
3060
+ # @option params [Hash<String,String>] :default_arguments
3061
+ # A map array of key-value pairs. Max is 75 pairs.
3062
+ #
3063
+ # @option params [Types::ConnectionsList] :connections
3064
+ # The number of connections to use for the session.
3065
+ #
3066
+ # @option params [Float] :max_capacity
3067
+ # The number of AWS Glue data processing units (DPUs) that can be
3068
+ # allocated when the job runs. A DPU is a relative measure of processing
3069
+ # power that consists of 4 vCPUs of compute capacity and 16 GB memory.
3070
+ #
3071
+ # @option params [Integer] :number_of_workers
3072
+ # The number of workers to use for the session.
3073
+ #
3074
+ # @option params [String] :worker_type
3075
+ # The Worker Type. Can be one of G.1X, G.2X, Standard
3076
+ #
3077
+ # @option params [String] :security_configuration
3078
+ # The name of the SecurityConfiguration structure to be used with the
3079
+ # session
3080
+ #
3081
+ # @option params [String] :glue_version
3082
+ # The Glue version determines the versions of Apache Spark and Python
3083
+ # that AWS Glue supports. The GlueVersion must be greater than 2.0.
3084
+ #
3085
+ # @option params [Hash<String,String>] :tags
3086
+ # The map of key value pairs (tags) belonging to the session.
3087
+ #
3088
+ # @option params [String] :request_origin
3089
+ # The origin of the request.
3090
+ #
3091
+ # @return [Types::CreateSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3092
+ #
3093
+ # * {Types::CreateSessionResponse#session #session} => Types::Session
3094
+ #
3095
+ # @example Request syntax with placeholder values
3096
+ #
3097
+ # resp = client.create_session({
3098
+ # id: "NameString", # required
3099
+ # description: "DescriptionString",
3100
+ # role: "OrchestrationRoleArn", # required
3101
+ # command: { # required
3102
+ # name: "NameString",
3103
+ # python_version: "PythonVersionString",
3104
+ # },
3105
+ # timeout: 1,
3106
+ # idle_timeout: 1,
3107
+ # default_arguments: {
3108
+ # "OrchestrationNameString" => "OrchestrationArgumentsValue",
3109
+ # },
3110
+ # connections: {
3111
+ # connections: ["GenericString"],
3112
+ # },
3113
+ # max_capacity: 1.0,
3114
+ # number_of_workers: 1,
3115
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
3116
+ # security_configuration: "NameString",
3117
+ # glue_version: "GlueVersionString",
3118
+ # tags: {
3119
+ # "TagKey" => "TagValue",
3120
+ # },
3121
+ # request_origin: "OrchestrationNameString",
3122
+ # })
3123
+ #
3124
+ # @example Response structure
3125
+ #
3126
+ # resp.session.id #=> String
3127
+ # resp.session.created_on #=> Time
3128
+ # resp.session.status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
3129
+ # resp.session.error_message #=> String
3130
+ # resp.session.description #=> String
3131
+ # resp.session.role #=> String
3132
+ # resp.session.command.name #=> String
3133
+ # resp.session.command.python_version #=> String
3134
+ # resp.session.default_arguments #=> Hash
3135
+ # resp.session.default_arguments["OrchestrationNameString"] #=> String
3136
+ # resp.session.connections.connections #=> Array
3137
+ # resp.session.connections.connections[0] #=> String
3138
+ # resp.session.progress #=> Float
3139
+ # resp.session.max_capacity #=> Float
3140
+ # resp.session.security_configuration #=> String
3141
+ # resp.session.glue_version #=> String
3142
+ #
3143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSession AWS API Documentation
3144
+ #
3145
+ # @overload create_session(params = {})
3146
+ # @param [Hash] params ({})
3147
+ def create_session(params = {}, options = {})
3148
+ req = build_request(:create_session, params)
3149
+ req.send_request(options)
3150
+ end
3151
+
2945
3152
  # Creates a new table definition in the Data Catalog.
2946
3153
  #
2947
3154
  # @option params [String] :catalog_id
@@ -3459,6 +3666,31 @@ module Aws::Glue
3459
3666
  req.send_request(options)
3460
3667
  end
3461
3668
 
3669
+ # @option params [required, String] :name
3670
+ #
3671
+ # @return [Types::DeleteCustomEntityTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3672
+ #
3673
+ # * {Types::DeleteCustomEntityTypeResponse#name #name} => String
3674
+ #
3675
+ # @example Request syntax with placeholder values
3676
+ #
3677
+ # resp = client.delete_custom_entity_type({
3678
+ # name: "NameString", # required
3679
+ # })
3680
+ #
3681
+ # @example Response structure
3682
+ #
3683
+ # resp.name #=> String
3684
+ #
3685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCustomEntityType AWS API Documentation
3686
+ #
3687
+ # @overload delete_custom_entity_type(params = {})
3688
+ # @param [Hash] params ({})
3689
+ def delete_custom_entity_type(params = {}, options = {})
3690
+ req = build_request(:delete_custom_entity_type, params)
3691
+ req.send_request(options)
3692
+ end
3693
+
3462
3694
  # Removes a specified database from a Data Catalog.
3463
3695
  #
3464
3696
  # <note markdown="1"> After completing this operation, you no longer have access to the
@@ -3852,6 +4084,38 @@ module Aws::Glue
3852
4084
  req.send_request(options)
3853
4085
  end
3854
4086
 
4087
+ # Deletes the session.
4088
+ #
4089
+ # @option params [required, String] :id
4090
+ # The ID of the session to be deleted.
4091
+ #
4092
+ # @option params [String] :request_origin
4093
+ # The name of the origin of the delete session request.
4094
+ #
4095
+ # @return [Types::DeleteSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4096
+ #
4097
+ # * {Types::DeleteSessionResponse#id #id} => String
4098
+ #
4099
+ # @example Request syntax with placeholder values
4100
+ #
4101
+ # resp = client.delete_session({
4102
+ # id: "NameString", # required
4103
+ # request_origin: "OrchestrationNameString",
4104
+ # })
4105
+ #
4106
+ # @example Response structure
4107
+ #
4108
+ # resp.id #=> String
4109
+ #
4110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSession AWS API Documentation
4111
+ #
4112
+ # @overload delete_session(params = {})
4113
+ # @param [Hash] params ({})
4114
+ def delete_session(params = {}, options = {})
4115
+ req = build_request(:delete_session, params)
4116
+ req.send_request(options)
4117
+ end
4118
+
3855
4119
  # Removes a table definition from the Data Catalog.
3856
4120
  #
3857
4121
  # <note markdown="1"> After completing this operation, you no longer have access to the
@@ -4844,6 +5108,36 @@ module Aws::Glue
4844
5108
  req.send_request(options)
4845
5109
  end
4846
5110
 
5111
+ # @option params [required, String] :name
5112
+ #
5113
+ # @return [Types::GetCustomEntityTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5114
+ #
5115
+ # * {Types::GetCustomEntityTypeResponse#name #name} => String
5116
+ # * {Types::GetCustomEntityTypeResponse#regex_string #regex_string} => String
5117
+ # * {Types::GetCustomEntityTypeResponse#context_words #context_words} => Array&lt;String&gt;
5118
+ #
5119
+ # @example Request syntax with placeholder values
5120
+ #
5121
+ # resp = client.get_custom_entity_type({
5122
+ # name: "NameString", # required
5123
+ # })
5124
+ #
5125
+ # @example Response structure
5126
+ #
5127
+ # resp.name #=> String
5128
+ # resp.regex_string #=> String
5129
+ # resp.context_words #=> Array
5130
+ # resp.context_words[0] #=> String
5131
+ #
5132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCustomEntityType AWS API Documentation
5133
+ #
5134
+ # @overload get_custom_entity_type(params = {})
5135
+ # @param [Hash] params ({})
5136
+ def get_custom_entity_type(params = {}, options = {})
5137
+ req = build_request(:get_custom_entity_type, params)
5138
+ req.send_request(options)
5139
+ end
5140
+
4847
5141
  # Retrieves the security configuration for a specified catalog.
4848
5142
  #
4849
5143
  # @option params [String] :catalog_id
@@ -5301,6 +5595,7 @@ module Aws::Glue
5301
5595
  # resp.job_run.log_group_name #=> String
5302
5596
  # resp.job_run.notification_property.notify_delay_after #=> Integer
5303
5597
  # resp.job_run.glue_version #=> String
5598
+ # resp.job_run.dpu_seconds #=> Float
5304
5599
  #
5305
5600
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun AWS API Documentation
5306
5601
  #
@@ -5365,6 +5660,7 @@ module Aws::Glue
5365
5660
  # resp.job_runs[0].log_group_name #=> String
5366
5661
  # resp.job_runs[0].notification_property.notify_delay_after #=> Integer
5367
5662
  # resp.job_runs[0].glue_version #=> String
5663
+ # resp.job_runs[0].dpu_seconds #=> Float
5368
5664
  # resp.next_token #=> String
5369
5665
  #
5370
5666
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns AWS API Documentation
@@ -6769,6 +7065,101 @@ module Aws::Glue
6769
7065
  req.send_request(options)
6770
7066
  end
6771
7067
 
7068
+ # Retrieves the session.
7069
+ #
7070
+ # @option params [required, String] :id
7071
+ # The ID of the session.
7072
+ #
7073
+ # @option params [String] :request_origin
7074
+ # The origin of the request.
7075
+ #
7076
+ # @return [Types::GetSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7077
+ #
7078
+ # * {Types::GetSessionResponse#session #session} => Types::Session
7079
+ #
7080
+ # @example Request syntax with placeholder values
7081
+ #
7082
+ # resp = client.get_session({
7083
+ # id: "NameString", # required
7084
+ # request_origin: "OrchestrationNameString",
7085
+ # })
7086
+ #
7087
+ # @example Response structure
7088
+ #
7089
+ # resp.session.id #=> String
7090
+ # resp.session.created_on #=> Time
7091
+ # resp.session.status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
7092
+ # resp.session.error_message #=> String
7093
+ # resp.session.description #=> String
7094
+ # resp.session.role #=> String
7095
+ # resp.session.command.name #=> String
7096
+ # resp.session.command.python_version #=> String
7097
+ # resp.session.default_arguments #=> Hash
7098
+ # resp.session.default_arguments["OrchestrationNameString"] #=> String
7099
+ # resp.session.connections.connections #=> Array
7100
+ # resp.session.connections.connections[0] #=> String
7101
+ # resp.session.progress #=> Float
7102
+ # resp.session.max_capacity #=> Float
7103
+ # resp.session.security_configuration #=> String
7104
+ # resp.session.glue_version #=> String
7105
+ #
7106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSession AWS API Documentation
7107
+ #
7108
+ # @overload get_session(params = {})
7109
+ # @param [Hash] params ({})
7110
+ def get_session(params = {}, options = {})
7111
+ req = build_request(:get_session, params)
7112
+ req.send_request(options)
7113
+ end
7114
+
7115
+ # Retrieves the statement.
7116
+ #
7117
+ # @option params [required, String] :session_id
7118
+ # The Session ID of the statement.
7119
+ #
7120
+ # @option params [required, Integer] :id
7121
+ # The Id of the statement.
7122
+ #
7123
+ # @option params [String] :request_origin
7124
+ # The origin of the request.
7125
+ #
7126
+ # @return [Types::GetStatementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7127
+ #
7128
+ # * {Types::GetStatementResponse#statement #statement} => Types::Statement
7129
+ #
7130
+ # @example Request syntax with placeholder values
7131
+ #
7132
+ # resp = client.get_statement({
7133
+ # session_id: "NameString", # required
7134
+ # id: 1, # required
7135
+ # request_origin: "OrchestrationNameString",
7136
+ # })
7137
+ #
7138
+ # @example Response structure
7139
+ #
7140
+ # resp.statement.id #=> Integer
7141
+ # resp.statement.code #=> String
7142
+ # resp.statement.state #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
7143
+ # resp.statement.output.data.text_plain #=> String
7144
+ # resp.statement.output.execution_count #=> Integer
7145
+ # resp.statement.output.status #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
7146
+ # resp.statement.output.error_name #=> String
7147
+ # resp.statement.output.error_value #=> String
7148
+ # resp.statement.output.traceback #=> Array
7149
+ # resp.statement.output.traceback[0] #=> String
7150
+ # resp.statement.progress #=> Float
7151
+ # resp.statement.started_on #=> Integer
7152
+ # resp.statement.completed_on #=> Integer
7153
+ #
7154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetStatement AWS API Documentation
7155
+ #
7156
+ # @overload get_statement(params = {})
7157
+ # @param [Hash] params ({})
7158
+ def get_statement(params = {}, options = {})
7159
+ req = build_request(:get_statement, params)
7160
+ req.send_request(options)
7161
+ end
7162
+
6772
7163
  # Retrieves the `Table` definition in a Data Catalog for a specified
6773
7164
  # table.
6774
7165
  #
@@ -7385,6 +7776,7 @@ module Aws::Glue
7385
7776
  # @option params [required, Array<String>] :partition_values
7386
7777
  #
7387
7778
  # @option params [Types::AuditContext] :audit_context
7779
+ # A structure containing information for audit.
7388
7780
  #
7389
7781
  # @option params [required, Array<String>] :supported_permission_types
7390
7782
  #
@@ -7403,6 +7795,8 @@ module Aws::Glue
7403
7795
  # partition_values: ["ValueString"], # required
7404
7796
  # audit_context: {
7405
7797
  # additional_audit_context: "AuditContextString",
7798
+ # requested_columns: ["ColumnNameString"],
7799
+ # all_columns_requested: false,
7406
7800
  # },
7407
7801
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7408
7802
  # })
@@ -7477,6 +7871,7 @@ module Aws::Glue
7477
7871
  # @option params [String] :expression
7478
7872
  #
7479
7873
  # @option params [Types::AuditContext] :audit_context
7874
+ # A structure containing information for audit.
7480
7875
  #
7481
7876
  # @option params [required, Array<String>] :supported_permission_types
7482
7877
  #
@@ -7504,6 +7899,8 @@ module Aws::Glue
7504
7899
  # expression: "PredicateString",
7505
7900
  # audit_context: {
7506
7901
  # additional_audit_context: "AuditContextString",
7902
+ # requested_columns: ["ColumnNameString"],
7903
+ # all_columns_requested: false,
7507
7904
  # },
7508
7905
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7509
7906
  # next_token: "Token",
@@ -7584,6 +7981,7 @@ module Aws::Glue
7584
7981
  # @option params [required, String] :name
7585
7982
  #
7586
7983
  # @option params [Types::AuditContext] :audit_context
7984
+ # A structure containing information for audit.
7587
7985
  #
7588
7986
  # @option params [required, Array<String>] :supported_permission_types
7589
7987
  #
@@ -7602,6 +8000,8 @@ module Aws::Glue
7602
8000
  # name: "NameString", # required
7603
8001
  # audit_context: {
7604
8002
  # additional_audit_context: "AuditContextString",
8003
+ # requested_columns: ["ColumnNameString"],
8004
+ # all_columns_requested: false,
7605
8005
  # },
7606
8006
  # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7607
8007
  # })
@@ -7894,6 +8294,7 @@ module Aws::Glue
7894
8294
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
7895
8295
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
7896
8296
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8297
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
7897
8298
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls #=> Array
7898
8299
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
7899
8300
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -7960,6 +8361,7 @@ module Aws::Glue
7960
8361
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
7961
8362
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
7962
8363
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8364
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
7963
8365
  # resp.workflow.graph.nodes[0].crawler_details.crawls #=> Array
7964
8366
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
7965
8367
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -8077,6 +8479,7 @@ module Aws::Glue
8077
8479
  # resp.run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
8078
8480
  # resp.run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
8079
8481
  # resp.run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8482
+ # resp.run.graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
8080
8483
  # resp.run.graph.nodes[0].crawler_details.crawls #=> Array
8081
8484
  # resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
8082
8485
  # resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -8234,6 +8637,7 @@ module Aws::Glue
8234
8637
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
8235
8638
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
8236
8639
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
8640
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].dpu_seconds #=> Float
8237
8641
  # resp.runs[0].graph.nodes[0].crawler_details.crawls #=> Array
8238
8642
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
8239
8643
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
@@ -8374,6 +8778,42 @@ module Aws::Glue
8374
8778
  req.send_request(options)
8375
8779
  end
8376
8780
 
8781
+ # @option params [String] :next_token
8782
+ #
8783
+ # @option params [Integer] :max_results
8784
+ #
8785
+ # @return [Types::ListCustomEntityTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8786
+ #
8787
+ # * {Types::ListCustomEntityTypesResponse#custom_entity_types #custom_entity_types} => Array&lt;Types::CustomEntityType&gt;
8788
+ # * {Types::ListCustomEntityTypesResponse#next_token #next_token} => String
8789
+ #
8790
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
8791
+ #
8792
+ # @example Request syntax with placeholder values
8793
+ #
8794
+ # resp = client.list_custom_entity_types({
8795
+ # next_token: "PaginationToken",
8796
+ # max_results: 1,
8797
+ # })
8798
+ #
8799
+ # @example Response structure
8800
+ #
8801
+ # resp.custom_entity_types #=> Array
8802
+ # resp.custom_entity_types[0].name #=> String
8803
+ # resp.custom_entity_types[0].regex_string #=> String
8804
+ # resp.custom_entity_types[0].context_words #=> Array
8805
+ # resp.custom_entity_types[0].context_words[0] #=> String
8806
+ # resp.next_token #=> String
8807
+ #
8808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCustomEntityTypes AWS API Documentation
8809
+ #
8810
+ # @overload list_custom_entity_types(params = {})
8811
+ # @param [Hash] params ({})
8812
+ def list_custom_entity_types(params = {}, options = {})
8813
+ req = build_request(:list_custom_entity_types, params)
8814
+ req.send_request(options)
8815
+ end
8816
+
8377
8817
  # Retrieves the names of all `DevEndpoint` resources in this Amazon Web
8378
8818
  # Services account, or the resources with the specified tag. This
8379
8819
  # operation allows you to see which resources are available in your
@@ -8716,6 +9156,122 @@ module Aws::Glue
8716
9156
  req.send_request(options)
8717
9157
  end
8718
9158
 
9159
+ # Retrieve a session..
9160
+ #
9161
+ # @option params [String] :next_token
9162
+ # The token for the next set of results, or null if there are no more
9163
+ # result.
9164
+ #
9165
+ # @option params [Integer] :max_results
9166
+ # The maximum number of results.
9167
+ #
9168
+ # @option params [Hash<String,String>] :tags
9169
+ # Tags belonging to the session.
9170
+ #
9171
+ # @option params [String] :request_origin
9172
+ # The origin of the request.
9173
+ #
9174
+ # @return [Types::ListSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9175
+ #
9176
+ # * {Types::ListSessionsResponse#ids #ids} => Array&lt;String&gt;
9177
+ # * {Types::ListSessionsResponse#sessions #sessions} => Array&lt;Types::Session&gt;
9178
+ # * {Types::ListSessionsResponse#next_token #next_token} => String
9179
+ #
9180
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9181
+ #
9182
+ # @example Request syntax with placeholder values
9183
+ #
9184
+ # resp = client.list_sessions({
9185
+ # next_token: "OrchestrationToken",
9186
+ # max_results: 1,
9187
+ # tags: {
9188
+ # "TagKey" => "TagValue",
9189
+ # },
9190
+ # request_origin: "OrchestrationNameString",
9191
+ # })
9192
+ #
9193
+ # @example Response structure
9194
+ #
9195
+ # resp.ids #=> Array
9196
+ # resp.ids[0] #=> String
9197
+ # resp.sessions #=> Array
9198
+ # resp.sessions[0].id #=> String
9199
+ # resp.sessions[0].created_on #=> Time
9200
+ # resp.sessions[0].status #=> String, one of "PROVISIONING", "READY", "FAILED", "TIMEOUT", "STOPPING", "STOPPED"
9201
+ # resp.sessions[0].error_message #=> String
9202
+ # resp.sessions[0].description #=> String
9203
+ # resp.sessions[0].role #=> String
9204
+ # resp.sessions[0].command.name #=> String
9205
+ # resp.sessions[0].command.python_version #=> String
9206
+ # resp.sessions[0].default_arguments #=> Hash
9207
+ # resp.sessions[0].default_arguments["OrchestrationNameString"] #=> String
9208
+ # resp.sessions[0].connections.connections #=> Array
9209
+ # resp.sessions[0].connections.connections[0] #=> String
9210
+ # resp.sessions[0].progress #=> Float
9211
+ # resp.sessions[0].max_capacity #=> Float
9212
+ # resp.sessions[0].security_configuration #=> String
9213
+ # resp.sessions[0].glue_version #=> String
9214
+ # resp.next_token #=> String
9215
+ #
9216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSessions AWS API Documentation
9217
+ #
9218
+ # @overload list_sessions(params = {})
9219
+ # @param [Hash] params ({})
9220
+ def list_sessions(params = {}, options = {})
9221
+ req = build_request(:list_sessions, params)
9222
+ req.send_request(options)
9223
+ end
9224
+
9225
+ # Lists statements for the session.
9226
+ #
9227
+ # @option params [required, String] :session_id
9228
+ # The Session ID of the statements.
9229
+ #
9230
+ # @option params [String] :request_origin
9231
+ # The origin of the request to list statements.
9232
+ #
9233
+ # @option params [String] :next_token
9234
+ #
9235
+ # @return [Types::ListStatementsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9236
+ #
9237
+ # * {Types::ListStatementsResponse#statements #statements} => Array&lt;Types::Statement&gt;
9238
+ # * {Types::ListStatementsResponse#next_token #next_token} => String
9239
+ #
9240
+ # @example Request syntax with placeholder values
9241
+ #
9242
+ # resp = client.list_statements({
9243
+ # session_id: "NameString", # required
9244
+ # request_origin: "OrchestrationNameString",
9245
+ # next_token: "OrchestrationToken",
9246
+ # })
9247
+ #
9248
+ # @example Response structure
9249
+ #
9250
+ # resp.statements #=> Array
9251
+ # resp.statements[0].id #=> Integer
9252
+ # resp.statements[0].code #=> String
9253
+ # resp.statements[0].state #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
9254
+ # resp.statements[0].output.data.text_plain #=> String
9255
+ # resp.statements[0].output.execution_count #=> Integer
9256
+ # resp.statements[0].output.status #=> String, one of "WAITING", "RUNNING", "AVAILABLE", "CANCELLING", "CANCELLED", "ERROR"
9257
+ # resp.statements[0].output.error_name #=> String
9258
+ # resp.statements[0].output.error_value #=> String
9259
+ # resp.statements[0].output.traceback #=> Array
9260
+ # resp.statements[0].output.traceback[0] #=> String
9261
+ # resp.statements[0].progress #=> Float
9262
+ # resp.statements[0].started_on #=> Integer
9263
+ # resp.statements[0].completed_on #=> Integer
9264
+ # resp.next_token #=> String
9265
+ #
9266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListStatements AWS API Documentation
9267
+ #
9268
+ # @overload list_statements(params = {})
9269
+ # @param [Hash] params ({})
9270
+ def list_statements(params = {}, options = {})
9271
+ req = build_request(:list_statements, params)
9272
+ req.send_request(options)
9273
+ end
9274
+
8719
9275
  # Retrieves the names of all trigger resources in this Amazon Web
8720
9276
  # Services account, or the resources with the specified tag. This
8721
9277
  # operation allows you to see which resources are available in your
@@ -9292,6 +9848,42 @@ module Aws::Glue
9292
9848
  req.send_request(options)
9293
9849
  end
9294
9850
 
9851
+ # Executes the statement.
9852
+ #
9853
+ # @option params [required, String] :session_id
9854
+ # The Session Id of the statement to be run.
9855
+ #
9856
+ # @option params [required, String] :code
9857
+ # The statement code to be run.
9858
+ #
9859
+ # @option params [String] :request_origin
9860
+ # The origin of the request.
9861
+ #
9862
+ # @return [Types::RunStatementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9863
+ #
9864
+ # * {Types::RunStatementResponse#id #id} => Integer
9865
+ #
9866
+ # @example Request syntax with placeholder values
9867
+ #
9868
+ # resp = client.run_statement({
9869
+ # session_id: "NameString", # required
9870
+ # code: "OrchestrationStatementCodeString", # required
9871
+ # request_origin: "OrchestrationNameString",
9872
+ # })
9873
+ #
9874
+ # @example Response structure
9875
+ #
9876
+ # resp.id #=> Integer
9877
+ #
9878
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RunStatement AWS API Documentation
9879
+ #
9880
+ # @overload run_statement(params = {})
9881
+ # @param [Hash] params ({})
9882
+ def run_statement(params = {}, options = {})
9883
+ req = build_request(:run_statement, params)
9884
+ req.send_request(options)
9885
+ end
9886
+
9295
9887
  # Searches a set of tables based on properties in the table metadata as
9296
9888
  # well as on the parent database. You can search against text or filter
9297
9889
  # conditions.
@@ -9980,6 +10572,38 @@ module Aws::Glue
9980
10572
  req.send_request(options)
9981
10573
  end
9982
10574
 
10575
+ # Stops the session.
10576
+ #
10577
+ # @option params [required, String] :id
10578
+ # The ID of the session to be stopped.
10579
+ #
10580
+ # @option params [String] :request_origin
10581
+ # The origin of the request.
10582
+ #
10583
+ # @return [Types::StopSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10584
+ #
10585
+ # * {Types::StopSessionResponse#id #id} => String
10586
+ #
10587
+ # @example Request syntax with placeholder values
10588
+ #
10589
+ # resp = client.stop_session({
10590
+ # id: "NameString", # required
10591
+ # request_origin: "OrchestrationNameString",
10592
+ # })
10593
+ #
10594
+ # @example Response structure
10595
+ #
10596
+ # resp.id #=> String
10597
+ #
10598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopSession AWS API Documentation
10599
+ #
10600
+ # @overload stop_session(params = {})
10601
+ # @param [Hash] params ({})
10602
+ def stop_session(params = {}, options = {})
10603
+ req = build_request(:stop_session, params)
10604
+ req.send_request(options)
10605
+ end
10606
+
9983
10607
  # Stops a specified trigger.
9984
10608
  #
9985
10609
  # @option params [required, String] :name
@@ -11537,7 +12161,7 @@ module Aws::Glue
11537
12161
  params: params,
11538
12162
  config: config)
11539
12163
  context[:gem_name] = 'aws-sdk-glue'
11540
- context[:gem_version] = '1.107.0'
12164
+ context[:gem_version] = '1.110.0'
11541
12165
  Seahorse::Client::Request.new(handlers, context)
11542
12166
  end
11543
12167