aws-sdk-glue 1.178.0 → 1.180.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.
@@ -26,6 +26,7 @@ module Aws::Glue
26
26
  Aggregate = Shapes::StructureShape.new(name: 'Aggregate')
27
27
  AggregateOperation = Shapes::StructureShape.new(name: 'AggregateOperation')
28
28
  AggregateOperations = Shapes::ListShape.new(name: 'AggregateOperations')
29
+ AllowedValuesStringList = Shapes::ListShape.new(name: 'AllowedValuesStringList')
29
30
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
30
31
  AmazonRedshiftAdvancedOption = Shapes::StructureShape.new(name: 'AmazonRedshiftAdvancedOption')
31
32
  AmazonRedshiftAdvancedOptions = Shapes::ListShape.new(name: 'AmazonRedshiftAdvancedOptions')
@@ -206,6 +207,9 @@ module Aws::Glue
206
207
  Condition = Shapes::StructureShape.new(name: 'Condition')
207
208
  ConditionCheckFailureException = Shapes::StructureShape.new(name: 'ConditionCheckFailureException')
208
209
  ConditionList = Shapes::ListShape.new(name: 'ConditionList')
210
+ ConfigValueString = Shapes::StringShape.new(name: 'ConfigValueString')
211
+ ConfigurationMap = Shapes::MapShape.new(name: 'ConfigurationMap')
212
+ ConfigurationObject = Shapes::StructureShape.new(name: 'ConfigurationObject')
209
213
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
210
214
  ConfusionMatrix = Shapes::StructureShape.new(name: 'ConfusionMatrix')
211
215
  Connection = Shapes::StructureShape.new(name: 'Connection')
@@ -290,6 +294,8 @@ module Aws::Glue
290
294
  CreateTableResponse = Shapes::StructureShape.new(name: 'CreateTableResponse')
291
295
  CreateTriggerRequest = Shapes::StructureShape.new(name: 'CreateTriggerRequest')
292
296
  CreateTriggerResponse = Shapes::StructureShape.new(name: 'CreateTriggerResponse')
297
+ CreateUsageProfileRequest = Shapes::StructureShape.new(name: 'CreateUsageProfileRequest')
298
+ CreateUsageProfileResponse = Shapes::StructureShape.new(name: 'CreateUsageProfileResponse')
293
299
  CreateUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'CreateUserDefinedFunctionRequest')
294
300
  CreateUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'CreateUserDefinedFunctionResponse')
295
301
  CreateWorkflowRequest = Shapes::StructureShape.new(name: 'CreateWorkflowRequest')
@@ -413,6 +419,8 @@ module Aws::Glue
413
419
  DeleteTableVersionResponse = Shapes::StructureShape.new(name: 'DeleteTableVersionResponse')
414
420
  DeleteTriggerRequest = Shapes::StructureShape.new(name: 'DeleteTriggerRequest')
415
421
  DeleteTriggerResponse = Shapes::StructureShape.new(name: 'DeleteTriggerResponse')
422
+ DeleteUsageProfileRequest = Shapes::StructureShape.new(name: 'DeleteUsageProfileRequest')
423
+ DeleteUsageProfileResponse = Shapes::StructureShape.new(name: 'DeleteUsageProfileResponse')
416
424
  DeleteUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'DeleteUserDefinedFunctionRequest')
417
425
  DeleteUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'DeleteUserDefinedFunctionResponse')
418
426
  DeleteWorkflowRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowRequest')
@@ -627,6 +635,8 @@ module Aws::Glue
627
635
  GetUnfilteredPartitionsMetadataResponse = Shapes::StructureShape.new(name: 'GetUnfilteredPartitionsMetadataResponse')
628
636
  GetUnfilteredTableMetadataRequest = Shapes::StructureShape.new(name: 'GetUnfilteredTableMetadataRequest')
629
637
  GetUnfilteredTableMetadataResponse = Shapes::StructureShape.new(name: 'GetUnfilteredTableMetadataResponse')
638
+ GetUsageProfileRequest = Shapes::StructureShape.new(name: 'GetUsageProfileRequest')
639
+ GetUsageProfileResponse = Shapes::StructureShape.new(name: 'GetUsageProfileResponse')
630
640
  GetUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'GetUserDefinedFunctionRequest')
631
641
  GetUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'GetUserDefinedFunctionResponse')
632
642
  GetUserDefinedFunctionsRequest = Shapes::StructureShape.new(name: 'GetUserDefinedFunctionsRequest')
@@ -769,6 +779,8 @@ module Aws::Glue
769
779
  ListTableOptimizerRunsToken = Shapes::StringShape.new(name: 'ListTableOptimizerRunsToken')
770
780
  ListTriggersRequest = Shapes::StructureShape.new(name: 'ListTriggersRequest')
771
781
  ListTriggersResponse = Shapes::StructureShape.new(name: 'ListTriggersResponse')
782
+ ListUsageProfilesRequest = Shapes::StructureShape.new(name: 'ListUsageProfilesRequest')
783
+ ListUsageProfilesResponse = Shapes::StructureShape.new(name: 'ListUsageProfilesResponse')
772
784
  ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
773
785
  ListWorkflowsResponse = Shapes::StructureShape.new(name: 'ListWorkflowsResponse')
774
786
  Location = Shapes::StructureShape.new(name: 'Location')
@@ -847,6 +859,7 @@ module Aws::Glue
847
859
  OAuth2PropertiesInput = Shapes::StructureShape.new(name: 'OAuth2PropertiesInput')
848
860
  OneInput = Shapes::ListShape.new(name: 'OneInput')
849
861
  OpenTableFormatInput = Shapes::StructureShape.new(name: 'OpenTableFormatInput')
862
+ OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
850
863
  OperationTimeoutException = Shapes::StructureShape.new(name: 'OperationTimeoutException')
851
864
  Option = Shapes::StructureShape.new(name: 'Option')
852
865
  OptionList = Shapes::ListShape.new(name: 'OptionList')
@@ -909,6 +922,7 @@ module Aws::Glue
909
922
  PrincipalPermissionsList = Shapes::ListShape.new(name: 'PrincipalPermissionsList')
910
923
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
911
924
  Prob = Shapes::FloatShape.new(name: 'Prob')
925
+ ProfileConfiguration = Shapes::StructureShape.new(name: 'ProfileConfiguration')
912
926
  PropertyPredicate = Shapes::StructureShape.new(name: 'PropertyPredicate')
913
927
  PublicKeysList = Shapes::ListShape.new(name: 'PublicKeysList')
914
928
  PutDataCatalogEncryptionSettingsRequest = Shapes::StructureShape.new(name: 'PutDataCatalogEncryptionSettingsRequest')
@@ -1223,6 +1237,8 @@ module Aws::Glue
1223
1237
  UpdateTableResponse = Shapes::StructureShape.new(name: 'UpdateTableResponse')
1224
1238
  UpdateTriggerRequest = Shapes::StructureShape.new(name: 'UpdateTriggerRequest')
1225
1239
  UpdateTriggerResponse = Shapes::StructureShape.new(name: 'UpdateTriggerResponse')
1240
+ UpdateUsageProfileRequest = Shapes::StructureShape.new(name: 'UpdateUsageProfileRequest')
1241
+ UpdateUsageProfileResponse = Shapes::StructureShape.new(name: 'UpdateUsageProfileResponse')
1226
1242
  UpdateUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'UpdateUserDefinedFunctionRequest')
1227
1243
  UpdateUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'UpdateUserDefinedFunctionResponse')
1228
1244
  UpdateWorkflowRequest = Shapes::StructureShape.new(name: 'UpdateWorkflowRequest')
@@ -1231,6 +1247,8 @@ module Aws::Glue
1231
1247
  UpdatedTimestamp = Shapes::StringShape.new(name: 'UpdatedTimestamp')
1232
1248
  UpsertRedshiftTargetOptions = Shapes::StructureShape.new(name: 'UpsertRedshiftTargetOptions')
1233
1249
  UriString = Shapes::StringShape.new(name: 'UriString')
1250
+ UsageProfileDefinition = Shapes::StructureShape.new(name: 'UsageProfileDefinition')
1251
+ UsageProfileDefinitionList = Shapes::ListShape.new(name: 'UsageProfileDefinitionList')
1234
1252
  UserDefinedFunction = Shapes::StructureShape.new(name: 'UserDefinedFunction')
1235
1253
  UserDefinedFunctionInput = Shapes::StructureShape.new(name: 'UserDefinedFunctionInput')
1236
1254
  UserDefinedFunctionList = Shapes::ListShape.new(name: 'UserDefinedFunctionList')
@@ -1302,6 +1320,8 @@ module Aws::Glue
1302
1320
 
1303
1321
  AggregateOperations.member = Shapes::ShapeRef.new(shape: AggregateOperation)
1304
1322
 
1323
+ AllowedValuesStringList.member = Shapes::ShapeRef.new(shape: ConfigValueString)
1324
+
1305
1325
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1306
1326
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
1307
1327
 
@@ -1952,6 +1972,15 @@ module Aws::Glue
1952
1972
 
1953
1973
  ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
1954
1974
 
1975
+ ConfigurationMap.key = Shapes::ShapeRef.new(shape: NameString)
1976
+ ConfigurationMap.value = Shapes::ShapeRef.new(shape: ConfigurationObject)
1977
+
1978
+ ConfigurationObject.add_member(:default_value, Shapes::ShapeRef.new(shape: ConfigValueString, location_name: "DefaultValue"))
1979
+ ConfigurationObject.add_member(:allowed_values, Shapes::ShapeRef.new(shape: AllowedValuesStringList, location_name: "AllowedValues"))
1980
+ ConfigurationObject.add_member(:min_value, Shapes::ShapeRef.new(shape: ConfigValueString, location_name: "MinValue"))
1981
+ ConfigurationObject.add_member(:max_value, Shapes::ShapeRef.new(shape: ConfigValueString, location_name: "MaxValue"))
1982
+ ConfigurationObject.struct_class = Types::ConfigurationObject
1983
+
1955
1984
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1956
1985
  ConflictException.struct_class = Types::ConflictException
1957
1986
 
@@ -2407,6 +2436,15 @@ module Aws::Glue
2407
2436
  CreateTriggerResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2408
2437
  CreateTriggerResponse.struct_class = Types::CreateTriggerResponse
2409
2438
 
2439
+ CreateUsageProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2440
+ CreateUsageProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
2441
+ CreateUsageProfileRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ProfileConfiguration, required: true, location_name: "Configuration"))
2442
+ CreateUsageProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
2443
+ CreateUsageProfileRequest.struct_class = Types::CreateUsageProfileRequest
2444
+
2445
+ CreateUsageProfileResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2446
+ CreateUsageProfileResponse.struct_class = Types::CreateUsageProfileResponse
2447
+
2410
2448
  CreateUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2411
2449
  CreateUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2412
2450
  CreateUserDefinedFunctionRequest.add_member(:function_input, Shapes::ShapeRef.new(shape: UserDefinedFunctionInput, required: true, location_name: "FunctionInput"))
@@ -2827,6 +2865,11 @@ module Aws::Glue
2827
2865
  DeleteTriggerResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2828
2866
  DeleteTriggerResponse.struct_class = Types::DeleteTriggerResponse
2829
2867
 
2868
+ DeleteUsageProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2869
+ DeleteUsageProfileRequest.struct_class = Types::DeleteUsageProfileRequest
2870
+
2871
+ DeleteUsageProfileResponse.struct_class = Types::DeleteUsageProfileResponse
2872
+
2830
2873
  DeleteUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2831
2874
  DeleteUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2832
2875
  DeleteUserDefinedFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "FunctionName"))
@@ -3744,6 +3787,16 @@ module Aws::Glue
3744
3787
  GetUnfilteredTableMetadataResponse.add_member(:row_filter, Shapes::ShapeRef.new(shape: PredicateString, location_name: "RowFilter"))
3745
3788
  GetUnfilteredTableMetadataResponse.struct_class = Types::GetUnfilteredTableMetadataResponse
3746
3789
 
3790
+ GetUsageProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
3791
+ GetUsageProfileRequest.struct_class = Types::GetUsageProfileRequest
3792
+
3793
+ GetUsageProfileResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
3794
+ GetUsageProfileResponse.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
3795
+ GetUsageProfileResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ProfileConfiguration, location_name: "Configuration"))
3796
+ GetUsageProfileResponse.add_member(:created_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CreatedOn"))
3797
+ GetUsageProfileResponse.add_member(:last_modified_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "LastModifiedOn"))
3798
+ GetUsageProfileResponse.struct_class = Types::GetUsageProfileResponse
3799
+
3747
3800
  GetUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
3748
3801
  GetUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
3749
3802
  GetUserDefinedFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "FunctionName"))
@@ -3970,6 +4023,7 @@ module Aws::Glue
3970
4023
  Job.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
3971
4024
  Job.add_member(:source_control_details, Shapes::ShapeRef.new(shape: SourceControlDetails, location_name: "SourceControlDetails"))
3972
4025
  Job.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: MaintenanceWindow, location_name: "MaintenanceWindow"))
4026
+ Job.add_member(:profile_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ProfileName"))
3973
4027
  Job.struct_class = Types::Job
3974
4028
 
3975
4029
  JobBookmarkEntry.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
@@ -4024,6 +4078,7 @@ module Aws::Glue
4024
4078
  JobRun.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "DPUSeconds"))
4025
4079
  JobRun.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
4026
4080
  JobRun.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: MaintenanceWindow, location_name: "MaintenanceWindow"))
4081
+ JobRun.add_member(:profile_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ProfileName"))
4027
4082
  JobRun.struct_class = Types::JobRun
4028
4083
 
4029
4084
  JobRunList.member = Shapes::ShapeRef.new(shape: JobRun)
@@ -4334,6 +4389,14 @@ module Aws::Glue
4334
4389
  ListTriggersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
4335
4390
  ListTriggersResponse.struct_class = Types::ListTriggersResponse
4336
4391
 
4392
+ ListUsageProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
4393
+ ListUsageProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: OrchestrationPageSize200, location_name: "MaxResults"))
4394
+ ListUsageProfilesRequest.struct_class = Types::ListUsageProfilesRequest
4395
+
4396
+ ListUsageProfilesResponse.add_member(:profiles, Shapes::ShapeRef.new(shape: UsageProfileDefinitionList, location_name: "Profiles"))
4397
+ ListUsageProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
4398
+ ListUsageProfilesResponse.struct_class = Types::ListUsageProfilesResponse
4399
+
4337
4400
  ListWorkflowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
4338
4401
  ListWorkflowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: OrchestrationPageSize25, location_name: "MaxResults"))
4339
4402
  ListWorkflowsRequest.struct_class = Types::ListWorkflowsRequest
@@ -4522,6 +4585,9 @@ module Aws::Glue
4522
4585
  OpenTableFormatInput.add_member(:iceberg_input, Shapes::ShapeRef.new(shape: IcebergInput, location_name: "IcebergInput"))
4523
4586
  OpenTableFormatInput.struct_class = Types::OpenTableFormatInput
4524
4587
 
4588
+ OperationNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
4589
+ OperationNotSupportedException.struct_class = Types::OperationNotSupportedException
4590
+
4525
4591
  OperationTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
4526
4592
  OperationTimeoutException.struct_class = Types::OperationTimeoutException
4527
4593
 
@@ -4659,6 +4725,10 @@ module Aws::Glue
4659
4725
 
4660
4726
  PrincipalPermissionsList.member = Shapes::ShapeRef.new(shape: PrincipalPermissions)
4661
4727
 
4728
+ ProfileConfiguration.add_member(:session_configuration, Shapes::ShapeRef.new(shape: ConfigurationMap, location_name: "SessionConfiguration"))
4729
+ ProfileConfiguration.add_member(:job_configuration, Shapes::ShapeRef.new(shape: ConfigurationMap, location_name: "JobConfiguration"))
4730
+ ProfileConfiguration.struct_class = Types::ProfileConfiguration
4731
+
4662
4732
  PropertyPredicate.add_member(:key, Shapes::ShapeRef.new(shape: ValueString, location_name: "Key"))
4663
4733
  PropertyPredicate.add_member(:value, Shapes::ShapeRef.new(shape: ValueString, location_name: "Value"))
4664
4734
  PropertyPredicate.add_member(:comparator, Shapes::ShapeRef.new(shape: Comparator, location_name: "Comparator"))
@@ -5143,6 +5213,7 @@ module Aws::Glue
5143
5213
  Session.add_member(:execution_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ExecutionTime"))
5144
5214
  Session.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "DPUSeconds"))
5145
5215
  Session.add_member(:idle_timeout, Shapes::ShapeRef.new(shape: IdleTimeout, location_name: "IdleTimeout"))
5216
+ Session.add_member(:profile_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ProfileName"))
5146
5217
  Session.struct_class = Types::Session
5147
5218
 
5148
5219
  SessionCommand.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
@@ -5895,6 +5966,14 @@ module Aws::Glue
5895
5966
  UpdateTriggerResponse.add_member(:trigger, Shapes::ShapeRef.new(shape: Trigger, location_name: "Trigger"))
5896
5967
  UpdateTriggerResponse.struct_class = Types::UpdateTriggerResponse
5897
5968
 
5969
+ UpdateUsageProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
5970
+ UpdateUsageProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
5971
+ UpdateUsageProfileRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ProfileConfiguration, required: true, location_name: "Configuration"))
5972
+ UpdateUsageProfileRequest.struct_class = Types::UpdateUsageProfileRequest
5973
+
5974
+ UpdateUsageProfileResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
5975
+ UpdateUsageProfileResponse.struct_class = Types::UpdateUsageProfileResponse
5976
+
5898
5977
  UpdateUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
5899
5978
  UpdateUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
5900
5979
  UpdateUserDefinedFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "FunctionName"))
@@ -5922,6 +6001,14 @@ module Aws::Glue
5922
6001
  UpsertRedshiftTargetOptions.add_member(:upsert_keys, Shapes::ShapeRef.new(shape: EnclosedInStringPropertiesMinOne, location_name: "UpsertKeys"))
5923
6002
  UpsertRedshiftTargetOptions.struct_class = Types::UpsertRedshiftTargetOptions
5924
6003
 
6004
+ UsageProfileDefinition.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
6005
+ UsageProfileDefinition.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
6006
+ UsageProfileDefinition.add_member(:created_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CreatedOn"))
6007
+ UsageProfileDefinition.add_member(:last_modified_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "LastModifiedOn"))
6008
+ UsageProfileDefinition.struct_class = Types::UsageProfileDefinition
6009
+
6010
+ UsageProfileDefinitionList.member = Shapes::ShapeRef.new(shape: UsageProfileDefinition)
6011
+
5925
6012
  UserDefinedFunction.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, location_name: "FunctionName"))
5926
6013
  UserDefinedFunction.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
5927
6014
  UserDefinedFunction.add_member(:class_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ClassName"))
@@ -6602,6 +6689,20 @@ module Aws::Glue
6602
6689
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
6603
6690
  end)
6604
6691
 
6692
+ api.add_operation(:create_usage_profile, Seahorse::Model::Operation.new.tap do |o|
6693
+ o.name = "CreateUsageProfile"
6694
+ o.http_method = "POST"
6695
+ o.http_request_uri = "/"
6696
+ o.input = Shapes::ShapeRef.new(shape: CreateUsageProfileRequest)
6697
+ o.output = Shapes::ShapeRef.new(shape: CreateUsageProfileResponse)
6698
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6699
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6700
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
6701
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
6702
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
6703
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
6704
+ end)
6705
+
6605
6706
  api.add_operation(:create_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
6606
6707
  o.name = "CreateUserDefinedFunction"
6607
6708
  o.http_method = "POST"
@@ -6924,6 +7025,18 @@ module Aws::Glue
6924
7025
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
6925
7026
  end)
6926
7027
 
7028
+ api.add_operation(:delete_usage_profile, Seahorse::Model::Operation.new.tap do |o|
7029
+ o.name = "DeleteUsageProfile"
7030
+ o.http_method = "POST"
7031
+ o.http_request_uri = "/"
7032
+ o.input = Shapes::ShapeRef.new(shape: DeleteUsageProfileRequest)
7033
+ o.output = Shapes::ShapeRef.new(shape: DeleteUsageProfileResponse)
7034
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
7035
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7036
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
7037
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
7038
+ end)
7039
+
6927
7040
  api.add_operation(:delete_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
6928
7041
  o.name = "DeleteUserDefinedFunction"
6929
7042
  o.http_method = "POST"
@@ -7827,6 +7940,19 @@ module Aws::Glue
7827
7940
  o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
7828
7941
  end)
7829
7942
 
7943
+ api.add_operation(:get_usage_profile, Seahorse::Model::Operation.new.tap do |o|
7944
+ o.name = "GetUsageProfile"
7945
+ o.http_method = "POST"
7946
+ o.http_request_uri = "/"
7947
+ o.input = Shapes::ShapeRef.new(shape: GetUsageProfileRequest)
7948
+ o.output = Shapes::ShapeRef.new(shape: GetUsageProfileResponse)
7949
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
7950
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7951
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
7952
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
7953
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
7954
+ end)
7955
+
7830
7956
  api.add_operation(:get_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
7831
7957
  o.name = "GetUserDefinedFunction"
7832
7958
  o.http_method = "POST"
@@ -8242,6 +8368,24 @@ module Aws::Glue
8242
8368
  )
8243
8369
  end)
8244
8370
 
8371
+ api.add_operation(:list_usage_profiles, Seahorse::Model::Operation.new.tap do |o|
8372
+ o.name = "ListUsageProfiles"
8373
+ o.http_method = "POST"
8374
+ o.http_request_uri = "/"
8375
+ o.input = Shapes::ShapeRef.new(shape: ListUsageProfilesRequest)
8376
+ o.output = Shapes::ShapeRef.new(shape: ListUsageProfilesResponse)
8377
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8378
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
8379
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
8380
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
8381
+ o[:pager] = Aws::Pager.new(
8382
+ limit_key: "max_results",
8383
+ tokens: {
8384
+ "next_token" => "next_token"
8385
+ }
8386
+ )
8387
+ end)
8388
+
8245
8389
  api.add_operation(:list_workflows, Seahorse::Model::Operation.new.tap do |o|
8246
8390
  o.name = "ListWorkflows"
8247
8391
  o.http_method = "POST"
@@ -8946,6 +9090,20 @@ module Aws::Glue
8946
9090
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
8947
9091
  end)
8948
9092
 
9093
+ api.add_operation(:update_usage_profile, Seahorse::Model::Operation.new.tap do |o|
9094
+ o.name = "UpdateUsageProfile"
9095
+ o.http_method = "POST"
9096
+ o.http_request_uri = "/"
9097
+ o.input = Shapes::ShapeRef.new(shape: UpdateUsageProfileRequest)
9098
+ o.output = Shapes::ShapeRef.new(shape: UpdateUsageProfileResponse)
9099
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
9100
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
9101
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9102
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
9103
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
9104
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
9105
+ end)
9106
+
8949
9107
  api.add_operation(:update_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
8950
9108
  o.name = "UpdateUserDefinedFunction"
8951
9109
  o.http_method = "POST"
@@ -600,6 +600,20 @@ module Aws::Glue
600
600
  end
601
601
  end
602
602
 
603
+ class CreateUsageProfile
604
+ def self.build(context)
605
+ unless context.config.regional_endpoint
606
+ endpoint = context.config.endpoint.to_s
607
+ end
608
+ Aws::Glue::EndpointParameters.new(
609
+ region: context.config.region,
610
+ use_dual_stack: context.config.use_dualstack_endpoint,
611
+ use_fips: context.config.use_fips_endpoint,
612
+ endpoint: endpoint,
613
+ )
614
+ end
615
+ end
616
+
603
617
  class CreateUserDefinedFunction
604
618
  def self.build(context)
605
619
  unless context.config.regional_endpoint
@@ -964,6 +978,20 @@ module Aws::Glue
964
978
  end
965
979
  end
966
980
 
981
+ class DeleteUsageProfile
982
+ def self.build(context)
983
+ unless context.config.regional_endpoint
984
+ endpoint = context.config.endpoint.to_s
985
+ end
986
+ Aws::Glue::EndpointParameters.new(
987
+ region: context.config.region,
988
+ use_dual_stack: context.config.use_dualstack_endpoint,
989
+ use_fips: context.config.use_fips_endpoint,
990
+ endpoint: endpoint,
991
+ )
992
+ end
993
+ end
994
+
967
995
  class DeleteUserDefinedFunction
968
996
  def self.build(context)
969
997
  unless context.config.regional_endpoint
@@ -1860,6 +1888,20 @@ module Aws::Glue
1860
1888
  end
1861
1889
  end
1862
1890
 
1891
+ class GetUsageProfile
1892
+ def self.build(context)
1893
+ unless context.config.regional_endpoint
1894
+ endpoint = context.config.endpoint.to_s
1895
+ end
1896
+ Aws::Glue::EndpointParameters.new(
1897
+ region: context.config.region,
1898
+ use_dual_stack: context.config.use_dualstack_endpoint,
1899
+ use_fips: context.config.use_fips_endpoint,
1900
+ endpoint: endpoint,
1901
+ )
1902
+ end
1903
+ end
1904
+
1863
1905
  class GetUserDefinedFunction
1864
1906
  def self.build(context)
1865
1907
  unless context.config.regional_endpoint
@@ -2224,6 +2266,20 @@ module Aws::Glue
2224
2266
  end
2225
2267
  end
2226
2268
 
2269
+ class ListUsageProfiles
2270
+ def self.build(context)
2271
+ unless context.config.regional_endpoint
2272
+ endpoint = context.config.endpoint.to_s
2273
+ end
2274
+ Aws::Glue::EndpointParameters.new(
2275
+ region: context.config.region,
2276
+ use_dual_stack: context.config.use_dualstack_endpoint,
2277
+ use_fips: context.config.use_fips_endpoint,
2278
+ endpoint: endpoint,
2279
+ )
2280
+ end
2281
+ end
2282
+
2227
2283
  class ListWorkflows
2228
2284
  def self.build(context)
2229
2285
  unless context.config.regional_endpoint
@@ -2966,6 +3022,20 @@ module Aws::Glue
2966
3022
  end
2967
3023
  end
2968
3024
 
3025
+ class UpdateUsageProfile
3026
+ def self.build(context)
3027
+ unless context.config.regional_endpoint
3028
+ endpoint = context.config.endpoint.to_s
3029
+ end
3030
+ Aws::Glue::EndpointParameters.new(
3031
+ region: context.config.region,
3032
+ use_dual_stack: context.config.use_dualstack_endpoint,
3033
+ use_fips: context.config.use_fips_endpoint,
3034
+ endpoint: endpoint,
3035
+ )
3036
+ end
3037
+ end
3038
+
2969
3039
  class UpdateUserDefinedFunction
2970
3040
  def self.build(context)
2971
3041
  unless context.config.regional_endpoint
@@ -53,6 +53,7 @@ module Aws::Glue
53
53
  # * {InvalidStateException}
54
54
  # * {MLTransformNotReadyException}
55
55
  # * {NoScheduleException}
56
+ # * {OperationNotSupportedException}
56
57
  # * {OperationTimeoutException}
57
58
  # * {PermissionTypeMismatchException}
58
59
  # * {ResourceNotReadyException}
@@ -479,6 +480,21 @@ module Aws::Glue
479
480
  end
480
481
  end
481
482
 
483
+ class OperationNotSupportedException < ServiceError
484
+
485
+ # @param [Seahorse::Client::RequestContext] context
486
+ # @param [String] message
487
+ # @param [Aws::Glue::Types::OperationNotSupportedException] data
488
+ def initialize(context, message, data = Aws::EmptyStructure.new)
489
+ super(context, message, data)
490
+ end
491
+
492
+ # @return [String]
493
+ def message
494
+ @message || @data[:message]
495
+ end
496
+ end
497
+
482
498
  class OperationTimeoutException < ServiceError
483
499
 
484
500
  # @param [Seahorse::Client::RequestContext] context
@@ -142,6 +142,8 @@ module Aws::Glue
142
142
  Aws::Glue::Endpoints::CreateTableOptimizer.build(context)
143
143
  when :create_trigger
144
144
  Aws::Glue::Endpoints::CreateTrigger.build(context)
145
+ when :create_usage_profile
146
+ Aws::Glue::Endpoints::CreateUsageProfile.build(context)
145
147
  when :create_user_defined_function
146
148
  Aws::Glue::Endpoints::CreateUserDefinedFunction.build(context)
147
149
  when :create_workflow
@@ -194,6 +196,8 @@ module Aws::Glue
194
196
  Aws::Glue::Endpoints::DeleteTableVersion.build(context)
195
197
  when :delete_trigger
196
198
  Aws::Glue::Endpoints::DeleteTrigger.build(context)
199
+ when :delete_usage_profile
200
+ Aws::Glue::Endpoints::DeleteUsageProfile.build(context)
197
201
  when :delete_user_defined_function
198
202
  Aws::Glue::Endpoints::DeleteUserDefinedFunction.build(context)
199
203
  when :delete_workflow
@@ -322,6 +326,8 @@ module Aws::Glue
322
326
  Aws::Glue::Endpoints::GetUnfilteredPartitionsMetadata.build(context)
323
327
  when :get_unfiltered_table_metadata
324
328
  Aws::Glue::Endpoints::GetUnfilteredTableMetadata.build(context)
329
+ when :get_usage_profile
330
+ Aws::Glue::Endpoints::GetUsageProfile.build(context)
325
331
  when :get_user_defined_function
326
332
  Aws::Glue::Endpoints::GetUserDefinedFunction.build(context)
327
333
  when :get_user_defined_functions
@@ -374,6 +380,8 @@ module Aws::Glue
374
380
  Aws::Glue::Endpoints::ListTableOptimizerRuns.build(context)
375
381
  when :list_triggers
376
382
  Aws::Glue::Endpoints::ListTriggers.build(context)
383
+ when :list_usage_profiles
384
+ Aws::Glue::Endpoints::ListUsageProfiles.build(context)
377
385
  when :list_workflows
378
386
  Aws::Glue::Endpoints::ListWorkflows.build(context)
379
387
  when :put_data_catalog_encryption_settings
@@ -480,6 +488,8 @@ module Aws::Glue
480
488
  Aws::Glue::Endpoints::UpdateTableOptimizer.build(context)
481
489
  when :update_trigger
482
490
  Aws::Glue::Endpoints::UpdateTrigger.build(context)
491
+ when :update_usage_profile
492
+ Aws::Glue::Endpoints::UpdateUsageProfile.build(context)
483
493
  when :update_user_defined_function
484
494
  Aws::Glue::Endpoints::UpdateUserDefinedFunction.build(context)
485
495
  when :update_workflow