aws-sdk-glue 1.106.0 → 1.109.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.
@@ -20,6 +20,7 @@ module Aws::Glue
20
20
  AdditionalPlanOptionsMap = Shapes::MapShape.new(name: 'AdditionalPlanOptionsMap')
21
21
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
22
22
  AttemptCount = Shapes::IntegerShape.new(name: 'AttemptCount')
23
+ AuditColumnNamesList = Shapes::ListShape.new(name: 'AuditColumnNamesList')
23
24
  AuditContext = Shapes::StructureShape.new(name: 'AuditContext')
24
25
  AuditContextString = Shapes::StringShape.new(name: 'AuditContextString')
25
26
  BackfillError = Shapes::StructureShape.new(name: 'BackfillError')
@@ -89,6 +90,8 @@ module Aws::Glue
89
90
  BoundedPartitionValueList = Shapes::ListShape.new(name: 'BoundedPartitionValueList')
90
91
  CancelMLTaskRunRequest = Shapes::StructureShape.new(name: 'CancelMLTaskRunRequest')
91
92
  CancelMLTaskRunResponse = Shapes::StructureShape.new(name: 'CancelMLTaskRunResponse')
93
+ CancelStatementRequest = Shapes::StructureShape.new(name: 'CancelStatementRequest')
94
+ CancelStatementResponse = Shapes::StructureShape.new(name: 'CancelStatementResponse')
92
95
  CatalogEncryptionMode = Shapes::StringShape.new(name: 'CatalogEncryptionMode')
93
96
  CatalogEntries = Shapes::ListShape.new(name: 'CatalogEntries')
94
97
  CatalogEntry = Shapes::StructureShape.new(name: 'CatalogEntry')
@@ -199,6 +202,8 @@ module Aws::Glue
199
202
  CreateScriptResponse = Shapes::StructureShape.new(name: 'CreateScriptResponse')
200
203
  CreateSecurityConfigurationRequest = Shapes::StructureShape.new(name: 'CreateSecurityConfigurationRequest')
201
204
  CreateSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'CreateSecurityConfigurationResponse')
205
+ CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
206
+ CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
202
207
  CreateTableRequest = Shapes::StructureShape.new(name: 'CreateTableRequest')
203
208
  CreateTableResponse = Shapes::StructureShape.new(name: 'CreateTableResponse')
204
209
  CreateTriggerRequest = Shapes::StructureShape.new(name: 'CreateTriggerRequest')
@@ -266,6 +271,8 @@ module Aws::Glue
266
271
  DeleteSchemaVersionsResponse = Shapes::StructureShape.new(name: 'DeleteSchemaVersionsResponse')
267
272
  DeleteSecurityConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteSecurityConfigurationRequest')
268
273
  DeleteSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteSecurityConfigurationResponse')
274
+ DeleteSessionRequest = Shapes::StructureShape.new(name: 'DeleteSessionRequest')
275
+ DeleteSessionResponse = Shapes::StructureShape.new(name: 'DeleteSessionResponse')
269
276
  DeleteTableRequest = Shapes::StructureShape.new(name: 'DeleteTableRequest')
270
277
  DeleteTableResponse = Shapes::StructureShape.new(name: 'DeleteTableResponse')
271
278
  DeleteTableVersionRequest = Shapes::StructureShape.new(name: 'DeleteTableVersionRequest')
@@ -287,6 +294,7 @@ module Aws::Glue
287
294
  DevEndpointNames = Shapes::ListShape.new(name: 'DevEndpointNames')
288
295
  Double = Shapes::FloatShape.new(name: 'Double')
289
296
  DoubleColumnStatisticsData = Shapes::StructureShape.new(name: 'DoubleColumnStatisticsData')
297
+ DoubleValue = Shapes::FloatShape.new(name: 'DoubleValue')
290
298
  DynamoDBTarget = Shapes::StructureShape.new(name: 'DynamoDBTarget')
291
299
  DynamoDBTargetList = Shapes::ListShape.new(name: 'DynamoDBTargetList')
292
300
  Edge = Shapes::StructureShape.new(name: 'Edge')
@@ -405,6 +413,10 @@ module Aws::Glue
405
413
  GetSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'GetSecurityConfigurationResponse')
406
414
  GetSecurityConfigurationsRequest = Shapes::StructureShape.new(name: 'GetSecurityConfigurationsRequest')
407
415
  GetSecurityConfigurationsResponse = Shapes::StructureShape.new(name: 'GetSecurityConfigurationsResponse')
416
+ GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
417
+ GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
418
+ GetStatementRequest = Shapes::StructureShape.new(name: 'GetStatementRequest')
419
+ GetStatementResponse = Shapes::StructureShape.new(name: 'GetStatementResponse')
408
420
  GetTableRequest = Shapes::StructureShape.new(name: 'GetTableRequest')
409
421
  GetTableResponse = Shapes::StructureShape.new(name: 'GetTableResponse')
410
422
  GetTableVersionRequest = Shapes::StructureShape.new(name: 'GetTableVersionRequest')
@@ -450,6 +462,7 @@ module Aws::Glue
450
462
  IdString = Shapes::StringShape.new(name: 'IdString')
451
463
  IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
452
464
  IllegalBlueprintStateException = Shapes::StructureShape.new(name: 'IllegalBlueprintStateException')
465
+ IllegalSessionStateException = Shapes::StructureShape.new(name: 'IllegalSessionStateException')
453
466
  IllegalWorkflowStateException = Shapes::StructureShape.new(name: 'IllegalWorkflowStateException')
454
467
  ImportCatalogToGlueRequest = Shapes::StructureShape.new(name: 'ImportCatalogToGlueRequest')
455
468
  ImportCatalogToGlueResponse = Shapes::StructureShape.new(name: 'ImportCatalogToGlueResponse')
@@ -509,6 +522,10 @@ module Aws::Glue
509
522
  ListSchemaVersionsResponse = Shapes::StructureShape.new(name: 'ListSchemaVersionsResponse')
510
523
  ListSchemasInput = Shapes::StructureShape.new(name: 'ListSchemasInput')
511
524
  ListSchemasResponse = Shapes::StructureShape.new(name: 'ListSchemasResponse')
525
+ ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
526
+ ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
527
+ ListStatementsRequest = Shapes::StructureShape.new(name: 'ListStatementsRequest')
528
+ ListStatementsResponse = Shapes::StructureShape.new(name: 'ListStatementsResponse')
512
529
  ListTriggersRequest = Shapes::StructureShape.new(name: 'ListTriggersRequest')
513
530
  ListTriggersResponse = Shapes::StructureShape.new(name: 'ListTriggersResponse')
514
531
  ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
@@ -523,6 +540,7 @@ module Aws::Glue
523
540
  LogicalOperator = Shapes::StringShape.new(name: 'LogicalOperator')
524
541
  Long = Shapes::IntegerShape.new(name: 'Long')
525
542
  LongColumnStatisticsData = Shapes::StructureShape.new(name: 'LongColumnStatisticsData')
543
+ LongValue = Shapes::IntegerShape.new(name: 'LongValue')
526
544
  MLTransform = Shapes::StructureShape.new(name: 'MLTransform')
527
545
  MLTransformNotReadyException = Shapes::StructureShape.new(name: 'MLTransformNotReadyException')
528
546
  MLUserDataEncryption = Shapes::StructureShape.new(name: 'MLUserDataEncryption')
@@ -561,10 +579,15 @@ module Aws::Glue
561
579
  NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
562
580
  NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
563
581
  OperationTimeoutException = Shapes::StructureShape.new(name: 'OperationTimeoutException')
582
+ OrchestrationArgumentsMap = Shapes::MapShape.new(name: 'OrchestrationArgumentsMap')
583
+ OrchestrationArgumentsValue = Shapes::StringShape.new(name: 'OrchestrationArgumentsValue')
564
584
  OrchestrationIAMRoleArn = Shapes::StringShape.new(name: 'OrchestrationIAMRoleArn')
565
585
  OrchestrationNameString = Shapes::StringShape.new(name: 'OrchestrationNameString')
586
+ OrchestrationRoleArn = Shapes::StringShape.new(name: 'OrchestrationRoleArn')
566
587
  OrchestrationS3Location = Shapes::StringShape.new(name: 'OrchestrationS3Location')
588
+ OrchestrationStatementCodeString = Shapes::StringShape.new(name: 'OrchestrationStatementCodeString')
567
589
  OrchestrationStringList = Shapes::ListShape.new(name: 'OrchestrationStringList')
590
+ OrchestrationToken = Shapes::StringShape.new(name: 'OrchestrationToken')
568
591
  Order = Shapes::StructureShape.new(name: 'Order')
569
592
  OrderList = Shapes::ListShape.new(name: 'OrderList')
570
593
  OtherMetadataValueList = Shapes::ListShape.new(name: 'OtherMetadataValueList')
@@ -643,6 +666,8 @@ module Aws::Glue
643
666
  RoleString = Shapes::StringShape.new(name: 'RoleString')
644
667
  RowTag = Shapes::StringShape.new(name: 'RowTag')
645
668
  RunId = Shapes::StringShape.new(name: 'RunId')
669
+ RunStatementRequest = Shapes::StructureShape.new(name: 'RunStatementRequest')
670
+ RunStatementResponse = Shapes::StructureShape.new(name: 'RunStatementResponse')
646
671
  S3Encryption = Shapes::StructureShape.new(name: 'S3Encryption')
647
672
  S3EncryptionList = Shapes::ListShape.new(name: 'S3EncryptionList')
648
673
  S3EncryptionMode = Shapes::StringShape.new(name: 'S3EncryptionMode')
@@ -685,6 +710,11 @@ module Aws::Glue
685
710
  SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
686
711
  Segment = Shapes::StructureShape.new(name: 'Segment')
687
712
  SerDeInfo = Shapes::StructureShape.new(name: 'SerDeInfo')
713
+ Session = Shapes::StructureShape.new(name: 'Session')
714
+ SessionCommand = Shapes::StructureShape.new(name: 'SessionCommand')
715
+ SessionIdList = Shapes::ListShape.new(name: 'SessionIdList')
716
+ SessionList = Shapes::ListShape.new(name: 'SessionList')
717
+ SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
688
718
  SkewedInfo = Shapes::StructureShape.new(name: 'SkewedInfo')
689
719
  Sort = Shapes::StringShape.new(name: 'Sort')
690
720
  SortCriteria = Shapes::ListShape.new(name: 'SortCriteria')
@@ -711,10 +741,17 @@ module Aws::Glue
711
741
  StartWorkflowRunRequest = Shapes::StructureShape.new(name: 'StartWorkflowRunRequest')
712
742
  StartWorkflowRunResponse = Shapes::StructureShape.new(name: 'StartWorkflowRunResponse')
713
743
  StartingEventBatchCondition = Shapes::StructureShape.new(name: 'StartingEventBatchCondition')
744
+ Statement = Shapes::StructureShape.new(name: 'Statement')
745
+ StatementList = Shapes::ListShape.new(name: 'StatementList')
746
+ StatementOutput = Shapes::StructureShape.new(name: 'StatementOutput')
747
+ StatementOutputData = Shapes::StructureShape.new(name: 'StatementOutputData')
748
+ StatementState = Shapes::StringShape.new(name: 'StatementState')
714
749
  StopCrawlerRequest = Shapes::StructureShape.new(name: 'StopCrawlerRequest')
715
750
  StopCrawlerResponse = Shapes::StructureShape.new(name: 'StopCrawlerResponse')
716
751
  StopCrawlerScheduleRequest = Shapes::StructureShape.new(name: 'StopCrawlerScheduleRequest')
717
752
  StopCrawlerScheduleResponse = Shapes::StructureShape.new(name: 'StopCrawlerScheduleResponse')
753
+ StopSessionRequest = Shapes::StructureShape.new(name: 'StopSessionRequest')
754
+ StopSessionResponse = Shapes::StructureShape.new(name: 'StopSessionResponse')
718
755
  StopTriggerRequest = Shapes::StructureShape.new(name: 'StopTriggerRequest')
719
756
  StopTriggerResponse = Shapes::StructureShape.new(name: 'StopTriggerResponse')
720
757
  StopWorkflowRunRequest = Shapes::StructureShape.new(name: 'StopWorkflowRunRequest')
@@ -864,7 +901,11 @@ module Aws::Glue
864
901
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
865
902
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
866
903
 
904
+ AuditColumnNamesList.member = Shapes::ShapeRef.new(shape: ColumnNameString)
905
+
867
906
  AuditContext.add_member(:additional_audit_context, Shapes::ShapeRef.new(shape: AuditContextString, location_name: "AdditionalAuditContext"))
907
+ AuditContext.add_member(:requested_columns, Shapes::ShapeRef.new(shape: AuditColumnNamesList, location_name: "RequestedColumns"))
908
+ AuditContext.add_member(:all_columns_requested, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllColumnsRequested"))
868
909
  AuditContext.struct_class = Types::AuditContext
869
910
 
870
911
  BackfillError.add_member(:code, Shapes::ShapeRef.new(shape: BackfillErrorCode, location_name: "Code"))
@@ -1083,6 +1124,13 @@ module Aws::Glue
1083
1124
  CancelMLTaskRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaskStatusType, location_name: "Status"))
1084
1125
  CancelMLTaskRunResponse.struct_class = Types::CancelMLTaskRunResponse
1085
1126
 
1127
+ CancelStatementRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
1128
+ CancelStatementRequest.add_member(:id, Shapes::ShapeRef.new(shape: IntegerValue, required: true, location_name: "Id"))
1129
+ CancelStatementRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
1130
+ CancelStatementRequest.struct_class = Types::CancelStatementRequest
1131
+
1132
+ CancelStatementResponse.struct_class = Types::CancelStatementResponse
1133
+
1086
1134
  CatalogEntries.member = Shapes::ShapeRef.new(shape: CatalogEntry)
1087
1135
 
1088
1136
  CatalogEntry.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
@@ -1538,6 +1586,26 @@ module Aws::Glue
1538
1586
  CreateSecurityConfigurationResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CreatedTimestamp"))
1539
1587
  CreateSecurityConfigurationResponse.struct_class = Types::CreateSecurityConfigurationResponse
1540
1588
 
1589
+ CreateSessionRequest.add_member(:id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Id"))
1590
+ CreateSessionRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
1591
+ CreateSessionRequest.add_member(:role, Shapes::ShapeRef.new(shape: OrchestrationRoleArn, required: true, location_name: "Role"))
1592
+ CreateSessionRequest.add_member(:command, Shapes::ShapeRef.new(shape: SessionCommand, required: true, location_name: "Command"))
1593
+ CreateSessionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
1594
+ CreateSessionRequest.add_member(:idle_timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "IdleTimeout"))
1595
+ CreateSessionRequest.add_member(:default_arguments, Shapes::ShapeRef.new(shape: OrchestrationArgumentsMap, location_name: "DefaultArguments"))
1596
+ CreateSessionRequest.add_member(:connections, Shapes::ShapeRef.new(shape: ConnectionsList, location_name: "Connections"))
1597
+ CreateSessionRequest.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
1598
+ CreateSessionRequest.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
1599
+ CreateSessionRequest.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
1600
+ CreateSessionRequest.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
1601
+ CreateSessionRequest.add_member(:glue_version, Shapes::ShapeRef.new(shape: GlueVersionString, location_name: "GlueVersion"))
1602
+ CreateSessionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
1603
+ CreateSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
1604
+ CreateSessionRequest.struct_class = Types::CreateSessionRequest
1605
+
1606
+ CreateSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "Session"))
1607
+ CreateSessionResponse.struct_class = Types::CreateSessionResponse
1608
+
1541
1609
  CreateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1542
1610
  CreateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1543
1611
  CreateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
@@ -1763,6 +1831,13 @@ module Aws::Glue
1763
1831
 
1764
1832
  DeleteSecurityConfigurationResponse.struct_class = Types::DeleteSecurityConfigurationResponse
1765
1833
 
1834
+ DeleteSessionRequest.add_member(:id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Id"))
1835
+ DeleteSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
1836
+ DeleteSessionRequest.struct_class = Types::DeleteSessionRequest
1837
+
1838
+ DeleteSessionResponse.add_member(:id, Shapes::ShapeRef.new(shape: NameString, location_name: "Id"))
1839
+ DeleteSessionResponse.struct_class = Types::DeleteSessionResponse
1840
+
1766
1841
  DeleteTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1767
1842
  DeleteTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1768
1843
  DeleteTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
@@ -2327,6 +2402,21 @@ module Aws::Glue
2327
2402
  GetSecurityConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
2328
2403
  GetSecurityConfigurationsResponse.struct_class = Types::GetSecurityConfigurationsResponse
2329
2404
 
2405
+ GetSessionRequest.add_member(:id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Id"))
2406
+ GetSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
2407
+ GetSessionRequest.struct_class = Types::GetSessionRequest
2408
+
2409
+ GetSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "Session"))
2410
+ GetSessionResponse.struct_class = Types::GetSessionResponse
2411
+
2412
+ GetStatementRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
2413
+ GetStatementRequest.add_member(:id, Shapes::ShapeRef.new(shape: IntegerValue, required: true, location_name: "Id"))
2414
+ GetStatementRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
2415
+ GetStatementRequest.struct_class = Types::GetStatementRequest
2416
+
2417
+ GetStatementResponse.add_member(:statement, Shapes::ShapeRef.new(shape: Statement, location_name: "Statement"))
2418
+ GetStatementResponse.struct_class = Types::GetStatementResponse
2419
+
2330
2420
  GetTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2331
2421
  GetTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2332
2422
  GetTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
@@ -2517,6 +2607,9 @@ module Aws::Glue
2517
2607
  IllegalBlueprintStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
2518
2608
  IllegalBlueprintStateException.struct_class = Types::IllegalBlueprintStateException
2519
2609
 
2610
+ IllegalSessionStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
2611
+ IllegalSessionStateException.struct_class = Types::IllegalSessionStateException
2612
+
2520
2613
  IllegalWorkflowStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
2521
2614
  IllegalWorkflowStateException.struct_class = Types::IllegalWorkflowStateException
2522
2615
 
@@ -2614,6 +2707,7 @@ module Aws::Glue
2614
2707
  JobRun.add_member(:log_group_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "LogGroupName"))
2615
2708
  JobRun.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
2616
2709
  JobRun.add_member(:glue_version, Shapes::ShapeRef.new(shape: GlueVersionString, location_name: "GlueVersion"))
2710
+ JobRun.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "DPUSeconds"))
2617
2711
  JobRun.struct_class = Types::JobRun
2618
2712
 
2619
2713
  JobRunList.member = Shapes::ShapeRef.new(shape: JobRun)
@@ -2750,6 +2844,26 @@ module Aws::Glue
2750
2844
  ListSchemasResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: SchemaRegistryTokenString, location_name: "NextToken"))
2751
2845
  ListSchemasResponse.struct_class = Types::ListSchemasResponse
2752
2846
 
2847
+ ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2848
+ ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
2849
+ ListSessionsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
2850
+ ListSessionsRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
2851
+ ListSessionsRequest.struct_class = Types::ListSessionsRequest
2852
+
2853
+ ListSessionsResponse.add_member(:ids, Shapes::ShapeRef.new(shape: SessionIdList, location_name: "Ids"))
2854
+ ListSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionList, location_name: "Sessions"))
2855
+ ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2856
+ ListSessionsResponse.struct_class = Types::ListSessionsResponse
2857
+
2858
+ ListStatementsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
2859
+ ListStatementsRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
2860
+ ListStatementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2861
+ ListStatementsRequest.struct_class = Types::ListStatementsRequest
2862
+
2863
+ ListStatementsResponse.add_member(:statements, Shapes::ShapeRef.new(shape: StatementList, location_name: "Statements"))
2864
+ ListStatementsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2865
+ ListStatementsResponse.struct_class = Types::ListStatementsResponse
2866
+
2753
2867
  ListTriggersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
2754
2868
  ListTriggersRequest.add_member(:dependent_job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DependentJobName"))
2755
2869
  ListTriggersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
@@ -2871,6 +2985,9 @@ module Aws::Glue
2871
2985
  OperationTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
2872
2986
  OperationTimeoutException.struct_class = Types::OperationTimeoutException
2873
2987
 
2988
+ OrchestrationArgumentsMap.key = Shapes::ShapeRef.new(shape: OrchestrationNameString)
2989
+ OrchestrationArgumentsMap.value = Shapes::ShapeRef.new(shape: OrchestrationArgumentsValue)
2990
+
2874
2991
  OrchestrationStringList.member = Shapes::ShapeRef.new(shape: GenericString)
2875
2992
 
2876
2993
  Order.add_member(:column, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Column"))
@@ -3092,6 +3209,14 @@ module Aws::Glue
3092
3209
  ResumeWorkflowRunResponse.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, location_name: "NodeIds"))
3093
3210
  ResumeWorkflowRunResponse.struct_class = Types::ResumeWorkflowRunResponse
3094
3211
 
3212
+ RunStatementRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
3213
+ RunStatementRequest.add_member(:code, Shapes::ShapeRef.new(shape: OrchestrationStatementCodeString, required: true, location_name: "Code"))
3214
+ RunStatementRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
3215
+ RunStatementRequest.struct_class = Types::RunStatementRequest
3216
+
3217
+ RunStatementResponse.add_member(:id, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "Id"))
3218
+ RunStatementResponse.struct_class = Types::RunStatementResponse
3219
+
3095
3220
  S3Encryption.add_member(:s3_encryption_mode, Shapes::ShapeRef.new(shape: S3EncryptionMode, location_name: "S3EncryptionMode"))
3096
3221
  S3Encryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
3097
3222
  S3Encryption.struct_class = Types::S3Encryption
@@ -3202,6 +3327,29 @@ module Aws::Glue
3202
3327
  SerDeInfo.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
3203
3328
  SerDeInfo.struct_class = Types::SerDeInfo
3204
3329
 
3330
+ Session.add_member(:id, Shapes::ShapeRef.new(shape: NameString, location_name: "Id"))
3331
+ Session.add_member(:created_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CreatedOn"))
3332
+ Session.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "Status"))
3333
+ Session.add_member(:error_message, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "ErrorMessage"))
3334
+ Session.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
3335
+ Session.add_member(:role, Shapes::ShapeRef.new(shape: OrchestrationRoleArn, location_name: "Role"))
3336
+ Session.add_member(:command, Shapes::ShapeRef.new(shape: SessionCommand, location_name: "Command"))
3337
+ Session.add_member(:default_arguments, Shapes::ShapeRef.new(shape: OrchestrationArgumentsMap, location_name: "DefaultArguments"))
3338
+ Session.add_member(:connections, Shapes::ShapeRef.new(shape: ConnectionsList, location_name: "Connections"))
3339
+ Session.add_member(:progress, Shapes::ShapeRef.new(shape: DoubleValue, location_name: "Progress"))
3340
+ Session.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
3341
+ Session.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
3342
+ Session.add_member(:glue_version, Shapes::ShapeRef.new(shape: GlueVersionString, location_name: "GlueVersion"))
3343
+ Session.struct_class = Types::Session
3344
+
3345
+ SessionCommand.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
3346
+ SessionCommand.add_member(:python_version, Shapes::ShapeRef.new(shape: PythonVersionString, location_name: "PythonVersion"))
3347
+ SessionCommand.struct_class = Types::SessionCommand
3348
+
3349
+ SessionIdList.member = Shapes::ShapeRef.new(shape: NameString)
3350
+
3351
+ SessionList.member = Shapes::ShapeRef.new(shape: Session)
3352
+
3205
3353
  SkewedInfo.add_member(:skewed_column_names, Shapes::ShapeRef.new(shape: NameStringList, location_name: "SkewedColumnNames"))
3206
3354
  SkewedInfo.add_member(:skewed_column_values, Shapes::ShapeRef.new(shape: ColumnValueStringList, location_name: "SkewedColumnValues"))
3207
3355
  SkewedInfo.add_member(:skewed_column_value_location_maps, Shapes::ShapeRef.new(shape: LocationMap, location_name: "SkewedColumnValueLocationMaps"))
@@ -3291,6 +3439,28 @@ module Aws::Glue
3291
3439
  StartingEventBatchCondition.add_member(:batch_window, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "BatchWindow"))
3292
3440
  StartingEventBatchCondition.struct_class = Types::StartingEventBatchCondition
3293
3441
 
3442
+ Statement.add_member(:id, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "Id"))
3443
+ Statement.add_member(:code, Shapes::ShapeRef.new(shape: GenericString, location_name: "Code"))
3444
+ Statement.add_member(:state, Shapes::ShapeRef.new(shape: StatementState, location_name: "State"))
3445
+ Statement.add_member(:output, Shapes::ShapeRef.new(shape: StatementOutput, location_name: "Output"))
3446
+ Statement.add_member(:progress, Shapes::ShapeRef.new(shape: DoubleValue, location_name: "Progress"))
3447
+ Statement.add_member(:started_on, Shapes::ShapeRef.new(shape: LongValue, location_name: "StartedOn"))
3448
+ Statement.add_member(:completed_on, Shapes::ShapeRef.new(shape: LongValue, location_name: "CompletedOn"))
3449
+ Statement.struct_class = Types::Statement
3450
+
3451
+ StatementList.member = Shapes::ShapeRef.new(shape: Statement)
3452
+
3453
+ StatementOutput.add_member(:data, Shapes::ShapeRef.new(shape: StatementOutputData, location_name: "Data"))
3454
+ StatementOutput.add_member(:execution_count, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "ExecutionCount"))
3455
+ StatementOutput.add_member(:status, Shapes::ShapeRef.new(shape: StatementState, location_name: "Status"))
3456
+ StatementOutput.add_member(:error_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "ErrorName"))
3457
+ StatementOutput.add_member(:error_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "ErrorValue"))
3458
+ StatementOutput.add_member(:traceback, Shapes::ShapeRef.new(shape: OrchestrationStringList, location_name: "Traceback"))
3459
+ StatementOutput.struct_class = Types::StatementOutput
3460
+
3461
+ StatementOutputData.add_member(:text_plain, Shapes::ShapeRef.new(shape: GenericString, location_name: "TextPlain"))
3462
+ StatementOutputData.struct_class = Types::StatementOutputData
3463
+
3294
3464
  StopCrawlerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
3295
3465
  StopCrawlerRequest.struct_class = Types::StopCrawlerRequest
3296
3466
 
@@ -3301,6 +3471,13 @@ module Aws::Glue
3301
3471
 
3302
3472
  StopCrawlerScheduleResponse.struct_class = Types::StopCrawlerScheduleResponse
3303
3473
 
3474
+ StopSessionRequest.add_member(:id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Id"))
3475
+ StopSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
3476
+ StopSessionRequest.struct_class = Types::StopSessionRequest
3477
+
3478
+ StopSessionResponse.add_member(:id, Shapes::ShapeRef.new(shape: NameString, location_name: "Id"))
3479
+ StopSessionResponse.struct_class = Types::StopSessionResponse
3480
+
3304
3481
  StopTriggerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
3305
3482
  StopTriggerRequest.struct_class = Types::StopTriggerRequest
3306
3483
 
@@ -3982,6 +4159,20 @@ module Aws::Glue
3982
4159
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3983
4160
  end)
3984
4161
 
4162
+ api.add_operation(:cancel_statement, Seahorse::Model::Operation.new.tap do |o|
4163
+ o.name = "CancelStatement"
4164
+ o.http_method = "POST"
4165
+ o.http_request_uri = "/"
4166
+ o.input = Shapes::ShapeRef.new(shape: CancelStatementRequest)
4167
+ o.output = Shapes::ShapeRef.new(shape: CancelStatementResponse)
4168
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4169
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4170
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4171
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4172
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4173
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
4174
+ end)
4175
+
3985
4176
  api.add_operation(:check_schema_version_validity, Seahorse::Model::Operation.new.tap do |o|
3986
4177
  o.name = "CheckSchemaVersionValidity"
3987
4178
  o.http_method = "POST"
@@ -4186,6 +4377,22 @@ module Aws::Glue
4186
4377
  o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
4187
4378
  end)
4188
4379
 
4380
+ api.add_operation(:create_session, Seahorse::Model::Operation.new.tap do |o|
4381
+ o.name = "CreateSession"
4382
+ o.http_method = "POST"
4383
+ o.http_request_uri = "/"
4384
+ o.input = Shapes::ShapeRef.new(shape: CreateSessionRequest)
4385
+ o.output = Shapes::ShapeRef.new(shape: CreateSessionResponse)
4386
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4387
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
4388
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4389
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4390
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4391
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4392
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
4393
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
4394
+ end)
4395
+
4189
4396
  api.add_operation(:create_table, Seahorse::Model::Operation.new.tap do |o|
4190
4397
  o.name = "CreateTable"
4191
4398
  o.http_method = "POST"
@@ -4452,6 +4659,20 @@ module Aws::Glue
4452
4659
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4453
4660
  end)
4454
4661
 
4662
+ api.add_operation(:delete_session, Seahorse::Model::Operation.new.tap do |o|
4663
+ o.name = "DeleteSession"
4664
+ o.http_method = "POST"
4665
+ o.http_request_uri = "/"
4666
+ o.input = Shapes::ShapeRef.new(shape: DeleteSessionRequest)
4667
+ o.output = Shapes::ShapeRef.new(shape: DeleteSessionResponse)
4668
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4669
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4670
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4671
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4672
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
4673
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
4674
+ end)
4675
+
4455
4676
  api.add_operation(:delete_table, Seahorse::Model::Operation.new.tap do |o|
4456
4677
  o.name = "DeleteTable"
4457
4678
  o.http_method = "POST"
@@ -5097,6 +5318,33 @@ module Aws::Glue
5097
5318
  )
5098
5319
  end)
5099
5320
 
5321
+ api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
5322
+ o.name = "GetSession"
5323
+ o.http_method = "POST"
5324
+ o.http_request_uri = "/"
5325
+ o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
5326
+ o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
5327
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5328
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5329
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5330
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5331
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5332
+ end)
5333
+
5334
+ api.add_operation(:get_statement, Seahorse::Model::Operation.new.tap do |o|
5335
+ o.name = "GetStatement"
5336
+ o.http_method = "POST"
5337
+ o.http_request_uri = "/"
5338
+ o.input = Shapes::ShapeRef.new(shape: GetStatementRequest)
5339
+ o.output = Shapes::ShapeRef.new(shape: GetStatementResponse)
5340
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5341
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5342
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5343
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5344
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5345
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
5346
+ end)
5347
+
5100
5348
  api.add_operation(:get_table, Seahorse::Model::Operation.new.tap do |o|
5101
5349
  o.name = "GetTable"
5102
5350
  o.http_method = "POST"
@@ -5487,6 +5735,38 @@ module Aws::Glue
5487
5735
  )
5488
5736
  end)
5489
5737
 
5738
+ api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
5739
+ o.name = "ListSessions"
5740
+ o.http_method = "POST"
5741
+ o.http_request_uri = "/"
5742
+ o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
5743
+ o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
5744
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5745
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5746
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5747
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5748
+ o[:pager] = Aws::Pager.new(
5749
+ limit_key: "max_results",
5750
+ tokens: {
5751
+ "next_token" => "next_token"
5752
+ }
5753
+ )
5754
+ end)
5755
+
5756
+ api.add_operation(:list_statements, Seahorse::Model::Operation.new.tap do |o|
5757
+ o.name = "ListStatements"
5758
+ o.http_method = "POST"
5759
+ o.http_request_uri = "/"
5760
+ o.input = Shapes::ShapeRef.new(shape: ListStatementsRequest)
5761
+ o.output = Shapes::ShapeRef.new(shape: ListStatementsResponse)
5762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5763
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5764
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5765
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5766
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5767
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
5768
+ end)
5769
+
5490
5770
  api.add_operation(:list_triggers, Seahorse::Model::Operation.new.tap do |o|
5491
5771
  o.name = "ListTriggers"
5492
5772
  o.http_method = "POST"
@@ -5636,6 +5916,22 @@ module Aws::Glue
5636
5916
  o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
5637
5917
  end)
5638
5918
 
5919
+ api.add_operation(:run_statement, Seahorse::Model::Operation.new.tap do |o|
5920
+ o.name = "RunStatement"
5921
+ o.http_method = "POST"
5922
+ o.http_request_uri = "/"
5923
+ o.input = Shapes::ShapeRef.new(shape: RunStatementRequest)
5924
+ o.output = Shapes::ShapeRef.new(shape: RunStatementResponse)
5925
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5926
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5927
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5928
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5929
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5930
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5931
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
5932
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
5933
+ end)
5934
+
5639
5935
  api.add_operation(:search_tables, Seahorse::Model::Operation.new.tap do |o|
5640
5936
  o.name = "SearchTables"
5641
5937
  o.http_method = "POST"
@@ -5809,6 +6105,20 @@ module Aws::Glue
5809
6105
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5810
6106
  end)
5811
6107
 
6108
+ api.add_operation(:stop_session, Seahorse::Model::Operation.new.tap do |o|
6109
+ o.name = "StopSession"
6110
+ o.http_method = "POST"
6111
+ o.http_request_uri = "/"
6112
+ o.input = Shapes::ShapeRef.new(shape: StopSessionRequest)
6113
+ o.output = Shapes::ShapeRef.new(shape: StopSessionResponse)
6114
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6115
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6116
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
6117
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6118
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
6119
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
6120
+ end)
6121
+
5812
6122
  api.add_operation(:stop_trigger, Seahorse::Model::Operation.new.tap do |o|
5813
6123
  o.name = "StopTrigger"
5814
6124
  o.http_method = "POST"
@@ -40,6 +40,7 @@ module Aws::Glue
40
40
  # * {GlueEncryptionException}
41
41
  # * {IdempotentParameterMismatchException}
42
42
  # * {IllegalBlueprintStateException}
43
+ # * {IllegalSessionStateException}
43
44
  # * {IllegalWorkflowStateException}
44
45
  # * {InternalServiceException}
45
46
  # * {InvalidInputException}
@@ -257,6 +258,21 @@ module Aws::Glue
257
258
  end
258
259
  end
259
260
 
261
+ class IllegalSessionStateException < ServiceError
262
+
263
+ # @param [Seahorse::Client::RequestContext] context
264
+ # @param [String] message
265
+ # @param [Aws::Glue::Types::IllegalSessionStateException] data
266
+ def initialize(context, message, data = Aws::EmptyStructure.new)
267
+ super(context, message, data)
268
+ end
269
+
270
+ # @return [String]
271
+ def message
272
+ @message || @data[:message]
273
+ end
274
+ end
275
+
260
276
  class IllegalWorkflowStateException < ServiceError
261
277
 
262
278
  # @param [Seahorse::Client::RequestContext] context