aws-sdk-glue 1.107.0 → 1.108.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
 
@@ -2750,6 +2843,26 @@ module Aws::Glue
2750
2843
  ListSchemasResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: SchemaRegistryTokenString, location_name: "NextToken"))
2751
2844
  ListSchemasResponse.struct_class = Types::ListSchemasResponse
2752
2845
 
2846
+ ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2847
+ ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
2848
+ ListSessionsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
2849
+ ListSessionsRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
2850
+ ListSessionsRequest.struct_class = Types::ListSessionsRequest
2851
+
2852
+ ListSessionsResponse.add_member(:ids, Shapes::ShapeRef.new(shape: SessionIdList, location_name: "Ids"))
2853
+ ListSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionList, location_name: "Sessions"))
2854
+ ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2855
+ ListSessionsResponse.struct_class = Types::ListSessionsResponse
2856
+
2857
+ ListStatementsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
2858
+ ListStatementsRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
2859
+ ListStatementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2860
+ ListStatementsRequest.struct_class = Types::ListStatementsRequest
2861
+
2862
+ ListStatementsResponse.add_member(:statements, Shapes::ShapeRef.new(shape: StatementList, location_name: "Statements"))
2863
+ ListStatementsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
2864
+ ListStatementsResponse.struct_class = Types::ListStatementsResponse
2865
+
2753
2866
  ListTriggersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
2754
2867
  ListTriggersRequest.add_member(:dependent_job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DependentJobName"))
2755
2868
  ListTriggersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
@@ -2871,6 +2984,9 @@ module Aws::Glue
2871
2984
  OperationTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
2872
2985
  OperationTimeoutException.struct_class = Types::OperationTimeoutException
2873
2986
 
2987
+ OrchestrationArgumentsMap.key = Shapes::ShapeRef.new(shape: OrchestrationNameString)
2988
+ OrchestrationArgumentsMap.value = Shapes::ShapeRef.new(shape: OrchestrationArgumentsValue)
2989
+
2874
2990
  OrchestrationStringList.member = Shapes::ShapeRef.new(shape: GenericString)
2875
2991
 
2876
2992
  Order.add_member(:column, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Column"))
@@ -3092,6 +3208,14 @@ module Aws::Glue
3092
3208
  ResumeWorkflowRunResponse.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, location_name: "NodeIds"))
3093
3209
  ResumeWorkflowRunResponse.struct_class = Types::ResumeWorkflowRunResponse
3094
3210
 
3211
+ RunStatementRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
3212
+ RunStatementRequest.add_member(:code, Shapes::ShapeRef.new(shape: OrchestrationStatementCodeString, required: true, location_name: "Code"))
3213
+ RunStatementRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
3214
+ RunStatementRequest.struct_class = Types::RunStatementRequest
3215
+
3216
+ RunStatementResponse.add_member(:id, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "Id"))
3217
+ RunStatementResponse.struct_class = Types::RunStatementResponse
3218
+
3095
3219
  S3Encryption.add_member(:s3_encryption_mode, Shapes::ShapeRef.new(shape: S3EncryptionMode, location_name: "S3EncryptionMode"))
3096
3220
  S3Encryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
3097
3221
  S3Encryption.struct_class = Types::S3Encryption
@@ -3202,6 +3326,29 @@ module Aws::Glue
3202
3326
  SerDeInfo.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
3203
3327
  SerDeInfo.struct_class = Types::SerDeInfo
3204
3328
 
3329
+ Session.add_member(:id, Shapes::ShapeRef.new(shape: NameString, location_name: "Id"))
3330
+ Session.add_member(:created_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CreatedOn"))
3331
+ Session.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "Status"))
3332
+ Session.add_member(:error_message, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "ErrorMessage"))
3333
+ Session.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
3334
+ Session.add_member(:role, Shapes::ShapeRef.new(shape: OrchestrationRoleArn, location_name: "Role"))
3335
+ Session.add_member(:command, Shapes::ShapeRef.new(shape: SessionCommand, location_name: "Command"))
3336
+ Session.add_member(:default_arguments, Shapes::ShapeRef.new(shape: OrchestrationArgumentsMap, location_name: "DefaultArguments"))
3337
+ Session.add_member(:connections, Shapes::ShapeRef.new(shape: ConnectionsList, location_name: "Connections"))
3338
+ Session.add_member(:progress, Shapes::ShapeRef.new(shape: DoubleValue, location_name: "Progress"))
3339
+ Session.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
3340
+ Session.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
3341
+ Session.add_member(:glue_version, Shapes::ShapeRef.new(shape: GlueVersionString, location_name: "GlueVersion"))
3342
+ Session.struct_class = Types::Session
3343
+
3344
+ SessionCommand.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
3345
+ SessionCommand.add_member(:python_version, Shapes::ShapeRef.new(shape: PythonVersionString, location_name: "PythonVersion"))
3346
+ SessionCommand.struct_class = Types::SessionCommand
3347
+
3348
+ SessionIdList.member = Shapes::ShapeRef.new(shape: NameString)
3349
+
3350
+ SessionList.member = Shapes::ShapeRef.new(shape: Session)
3351
+
3205
3352
  SkewedInfo.add_member(:skewed_column_names, Shapes::ShapeRef.new(shape: NameStringList, location_name: "SkewedColumnNames"))
3206
3353
  SkewedInfo.add_member(:skewed_column_values, Shapes::ShapeRef.new(shape: ColumnValueStringList, location_name: "SkewedColumnValues"))
3207
3354
  SkewedInfo.add_member(:skewed_column_value_location_maps, Shapes::ShapeRef.new(shape: LocationMap, location_name: "SkewedColumnValueLocationMaps"))
@@ -3291,6 +3438,28 @@ module Aws::Glue
3291
3438
  StartingEventBatchCondition.add_member(:batch_window, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "BatchWindow"))
3292
3439
  StartingEventBatchCondition.struct_class = Types::StartingEventBatchCondition
3293
3440
 
3441
+ Statement.add_member(:id, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "Id"))
3442
+ Statement.add_member(:code, Shapes::ShapeRef.new(shape: GenericString, location_name: "Code"))
3443
+ Statement.add_member(:state, Shapes::ShapeRef.new(shape: StatementState, location_name: "State"))
3444
+ Statement.add_member(:output, Shapes::ShapeRef.new(shape: StatementOutput, location_name: "Output"))
3445
+ Statement.add_member(:progress, Shapes::ShapeRef.new(shape: DoubleValue, location_name: "Progress"))
3446
+ Statement.add_member(:started_on, Shapes::ShapeRef.new(shape: LongValue, location_name: "StartedOn"))
3447
+ Statement.add_member(:completed_on, Shapes::ShapeRef.new(shape: LongValue, location_name: "CompletedOn"))
3448
+ Statement.struct_class = Types::Statement
3449
+
3450
+ StatementList.member = Shapes::ShapeRef.new(shape: Statement)
3451
+
3452
+ StatementOutput.add_member(:data, Shapes::ShapeRef.new(shape: StatementOutputData, location_name: "Data"))
3453
+ StatementOutput.add_member(:execution_count, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "ExecutionCount"))
3454
+ StatementOutput.add_member(:status, Shapes::ShapeRef.new(shape: StatementState, location_name: "Status"))
3455
+ StatementOutput.add_member(:error_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "ErrorName"))
3456
+ StatementOutput.add_member(:error_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "ErrorValue"))
3457
+ StatementOutput.add_member(:traceback, Shapes::ShapeRef.new(shape: OrchestrationStringList, location_name: "Traceback"))
3458
+ StatementOutput.struct_class = Types::StatementOutput
3459
+
3460
+ StatementOutputData.add_member(:text_plain, Shapes::ShapeRef.new(shape: GenericString, location_name: "TextPlain"))
3461
+ StatementOutputData.struct_class = Types::StatementOutputData
3462
+
3294
3463
  StopCrawlerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
3295
3464
  StopCrawlerRequest.struct_class = Types::StopCrawlerRequest
3296
3465
 
@@ -3301,6 +3470,13 @@ module Aws::Glue
3301
3470
 
3302
3471
  StopCrawlerScheduleResponse.struct_class = Types::StopCrawlerScheduleResponse
3303
3472
 
3473
+ StopSessionRequest.add_member(:id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Id"))
3474
+ StopSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
3475
+ StopSessionRequest.struct_class = Types::StopSessionRequest
3476
+
3477
+ StopSessionResponse.add_member(:id, Shapes::ShapeRef.new(shape: NameString, location_name: "Id"))
3478
+ StopSessionResponse.struct_class = Types::StopSessionResponse
3479
+
3304
3480
  StopTriggerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
3305
3481
  StopTriggerRequest.struct_class = Types::StopTriggerRequest
3306
3482
 
@@ -3982,6 +4158,20 @@ module Aws::Glue
3982
4158
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3983
4159
  end)
3984
4160
 
4161
+ api.add_operation(:cancel_statement, Seahorse::Model::Operation.new.tap do |o|
4162
+ o.name = "CancelStatement"
4163
+ o.http_method = "POST"
4164
+ o.http_request_uri = "/"
4165
+ o.input = Shapes::ShapeRef.new(shape: CancelStatementRequest)
4166
+ o.output = Shapes::ShapeRef.new(shape: CancelStatementResponse)
4167
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4168
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4169
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4170
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4171
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4172
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
4173
+ end)
4174
+
3985
4175
  api.add_operation(:check_schema_version_validity, Seahorse::Model::Operation.new.tap do |o|
3986
4176
  o.name = "CheckSchemaVersionValidity"
3987
4177
  o.http_method = "POST"
@@ -4186,6 +4376,22 @@ module Aws::Glue
4186
4376
  o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
4187
4377
  end)
4188
4378
 
4379
+ api.add_operation(:create_session, Seahorse::Model::Operation.new.tap do |o|
4380
+ o.name = "CreateSession"
4381
+ o.http_method = "POST"
4382
+ o.http_request_uri = "/"
4383
+ o.input = Shapes::ShapeRef.new(shape: CreateSessionRequest)
4384
+ o.output = Shapes::ShapeRef.new(shape: CreateSessionResponse)
4385
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4386
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
4387
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4388
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4389
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4390
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4391
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
4392
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
4393
+ end)
4394
+
4189
4395
  api.add_operation(:create_table, Seahorse::Model::Operation.new.tap do |o|
4190
4396
  o.name = "CreateTable"
4191
4397
  o.http_method = "POST"
@@ -4452,6 +4658,20 @@ module Aws::Glue
4452
4658
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4453
4659
  end)
4454
4660
 
4661
+ api.add_operation(:delete_session, Seahorse::Model::Operation.new.tap do |o|
4662
+ o.name = "DeleteSession"
4663
+ o.http_method = "POST"
4664
+ o.http_request_uri = "/"
4665
+ o.input = Shapes::ShapeRef.new(shape: DeleteSessionRequest)
4666
+ o.output = Shapes::ShapeRef.new(shape: DeleteSessionResponse)
4667
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4668
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4669
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4670
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4671
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
4672
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
4673
+ end)
4674
+
4455
4675
  api.add_operation(:delete_table, Seahorse::Model::Operation.new.tap do |o|
4456
4676
  o.name = "DeleteTable"
4457
4677
  o.http_method = "POST"
@@ -5097,6 +5317,33 @@ module Aws::Glue
5097
5317
  )
5098
5318
  end)
5099
5319
 
5320
+ api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
5321
+ o.name = "GetSession"
5322
+ o.http_method = "POST"
5323
+ o.http_request_uri = "/"
5324
+ o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
5325
+ o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
5326
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5327
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5328
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5329
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5330
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5331
+ end)
5332
+
5333
+ api.add_operation(:get_statement, Seahorse::Model::Operation.new.tap do |o|
5334
+ o.name = "GetStatement"
5335
+ o.http_method = "POST"
5336
+ o.http_request_uri = "/"
5337
+ o.input = Shapes::ShapeRef.new(shape: GetStatementRequest)
5338
+ o.output = Shapes::ShapeRef.new(shape: GetStatementResponse)
5339
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5340
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5341
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5342
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5343
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5344
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
5345
+ end)
5346
+
5100
5347
  api.add_operation(:get_table, Seahorse::Model::Operation.new.tap do |o|
5101
5348
  o.name = "GetTable"
5102
5349
  o.http_method = "POST"
@@ -5487,6 +5734,38 @@ module Aws::Glue
5487
5734
  )
5488
5735
  end)
5489
5736
 
5737
+ api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
5738
+ o.name = "ListSessions"
5739
+ o.http_method = "POST"
5740
+ o.http_request_uri = "/"
5741
+ o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
5742
+ o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
5743
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5744
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5745
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5746
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5747
+ o[:pager] = Aws::Pager.new(
5748
+ limit_key: "max_results",
5749
+ tokens: {
5750
+ "next_token" => "next_token"
5751
+ }
5752
+ )
5753
+ end)
5754
+
5755
+ api.add_operation(:list_statements, Seahorse::Model::Operation.new.tap do |o|
5756
+ o.name = "ListStatements"
5757
+ o.http_method = "POST"
5758
+ o.http_request_uri = "/"
5759
+ o.input = Shapes::ShapeRef.new(shape: ListStatementsRequest)
5760
+ o.output = Shapes::ShapeRef.new(shape: ListStatementsResponse)
5761
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5762
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5763
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5764
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5766
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
5767
+ end)
5768
+
5490
5769
  api.add_operation(:list_triggers, Seahorse::Model::Operation.new.tap do |o|
5491
5770
  o.name = "ListTriggers"
5492
5771
  o.http_method = "POST"
@@ -5636,6 +5915,22 @@ module Aws::Glue
5636
5915
  o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
5637
5916
  end)
5638
5917
 
5918
+ api.add_operation(:run_statement, Seahorse::Model::Operation.new.tap do |o|
5919
+ o.name = "RunStatement"
5920
+ o.http_method = "POST"
5921
+ o.http_request_uri = "/"
5922
+ o.input = Shapes::ShapeRef.new(shape: RunStatementRequest)
5923
+ o.output = Shapes::ShapeRef.new(shape: RunStatementResponse)
5924
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
5925
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5926
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5927
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5928
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
5929
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5930
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
5931
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
5932
+ end)
5933
+
5639
5934
  api.add_operation(:search_tables, Seahorse::Model::Operation.new.tap do |o|
5640
5935
  o.name = "SearchTables"
5641
5936
  o.http_method = "POST"
@@ -5809,6 +6104,20 @@ module Aws::Glue
5809
6104
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
5810
6105
  end)
5811
6106
 
6107
+ api.add_operation(:stop_session, Seahorse::Model::Operation.new.tap do |o|
6108
+ o.name = "StopSession"
6109
+ o.http_method = "POST"
6110
+ o.http_request_uri = "/"
6111
+ o.input = Shapes::ShapeRef.new(shape: StopSessionRequest)
6112
+ o.output = Shapes::ShapeRef.new(shape: StopSessionResponse)
6113
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6114
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6115
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
6116
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6117
+ o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
6118
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
6119
+ end)
6120
+
5812
6121
  api.add_operation(:stop_trigger, Seahorse::Model::Operation.new.tap do |o|
5813
6122
  o.name = "StopTrigger"
5814
6123
  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