aws-sdk-glue 1.177.0 → 1.179.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -310,6 +316,7 @@ module Aws::Glue
310
316
  CustomEntityTypes = Shapes::ListShape.new(name: 'CustomEntityTypes')
311
317
  CustomPatterns = Shapes::StringShape.new(name: 'CustomPatterns')
312
318
  DQAdditionalOptions = Shapes::MapShape.new(name: 'DQAdditionalOptions')
319
+ DQCompositeRuleEvaluationMethod = Shapes::StringShape.new(name: 'DQCompositeRuleEvaluationMethod')
313
320
  DQDLAliases = Shapes::MapShape.new(name: 'DQDLAliases')
314
321
  DQDLString = Shapes::StringShape.new(name: 'DQDLString')
315
322
  DQResultsPublishingOptions = Shapes::StructureShape.new(name: 'DQResultsPublishingOptions')
@@ -412,6 +419,8 @@ module Aws::Glue
412
419
  DeleteTableVersionResponse = Shapes::StructureShape.new(name: 'DeleteTableVersionResponse')
413
420
  DeleteTriggerRequest = Shapes::StructureShape.new(name: 'DeleteTriggerRequest')
414
421
  DeleteTriggerResponse = Shapes::StructureShape.new(name: 'DeleteTriggerResponse')
422
+ DeleteUsageProfileRequest = Shapes::StructureShape.new(name: 'DeleteUsageProfileRequest')
423
+ DeleteUsageProfileResponse = Shapes::StructureShape.new(name: 'DeleteUsageProfileResponse')
415
424
  DeleteUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'DeleteUserDefinedFunctionRequest')
416
425
  DeleteUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'DeleteUserDefinedFunctionResponse')
417
426
  DeleteWorkflowRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowRequest')
@@ -626,6 +635,8 @@ module Aws::Glue
626
635
  GetUnfilteredPartitionsMetadataResponse = Shapes::StructureShape.new(name: 'GetUnfilteredPartitionsMetadataResponse')
627
636
  GetUnfilteredTableMetadataRequest = Shapes::StructureShape.new(name: 'GetUnfilteredTableMetadataRequest')
628
637
  GetUnfilteredTableMetadataResponse = Shapes::StructureShape.new(name: 'GetUnfilteredTableMetadataResponse')
638
+ GetUsageProfileRequest = Shapes::StructureShape.new(name: 'GetUsageProfileRequest')
639
+ GetUsageProfileResponse = Shapes::StructureShape.new(name: 'GetUsageProfileResponse')
629
640
  GetUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'GetUserDefinedFunctionRequest')
630
641
  GetUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'GetUserDefinedFunctionResponse')
631
642
  GetUserDefinedFunctionsRequest = Shapes::StructureShape.new(name: 'GetUserDefinedFunctionsRequest')
@@ -768,6 +779,8 @@ module Aws::Glue
768
779
  ListTableOptimizerRunsToken = Shapes::StringShape.new(name: 'ListTableOptimizerRunsToken')
769
780
  ListTriggersRequest = Shapes::StructureShape.new(name: 'ListTriggersRequest')
770
781
  ListTriggersResponse = Shapes::StructureShape.new(name: 'ListTriggersResponse')
782
+ ListUsageProfilesRequest = Shapes::StructureShape.new(name: 'ListUsageProfilesRequest')
783
+ ListUsageProfilesResponse = Shapes::StructureShape.new(name: 'ListUsageProfilesResponse')
771
784
  ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
772
785
  ListWorkflowsResponse = Shapes::StructureShape.new(name: 'ListWorkflowsResponse')
773
786
  Location = Shapes::StructureShape.new(name: 'Location')
@@ -846,6 +859,7 @@ module Aws::Glue
846
859
  OAuth2PropertiesInput = Shapes::StructureShape.new(name: 'OAuth2PropertiesInput')
847
860
  OneInput = Shapes::ListShape.new(name: 'OneInput')
848
861
  OpenTableFormatInput = Shapes::StructureShape.new(name: 'OpenTableFormatInput')
862
+ OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
849
863
  OperationTimeoutException = Shapes::StructureShape.new(name: 'OperationTimeoutException')
850
864
  Option = Shapes::StructureShape.new(name: 'Option')
851
865
  OptionList = Shapes::ListShape.new(name: 'OptionList')
@@ -908,6 +922,7 @@ module Aws::Glue
908
922
  PrincipalPermissionsList = Shapes::ListShape.new(name: 'PrincipalPermissionsList')
909
923
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
910
924
  Prob = Shapes::FloatShape.new(name: 'Prob')
925
+ ProfileConfiguration = Shapes::StructureShape.new(name: 'ProfileConfiguration')
911
926
  PropertyPredicate = Shapes::StructureShape.new(name: 'PropertyPredicate')
912
927
  PublicKeysList = Shapes::ListShape.new(name: 'PublicKeysList')
913
928
  PutDataCatalogEncryptionSettingsRequest = Shapes::StructureShape.new(name: 'PutDataCatalogEncryptionSettingsRequest')
@@ -1222,6 +1237,8 @@ module Aws::Glue
1222
1237
  UpdateTableResponse = Shapes::StructureShape.new(name: 'UpdateTableResponse')
1223
1238
  UpdateTriggerRequest = Shapes::StructureShape.new(name: 'UpdateTriggerRequest')
1224
1239
  UpdateTriggerResponse = Shapes::StructureShape.new(name: 'UpdateTriggerResponse')
1240
+ UpdateUsageProfileRequest = Shapes::StructureShape.new(name: 'UpdateUsageProfileRequest')
1241
+ UpdateUsageProfileResponse = Shapes::StructureShape.new(name: 'UpdateUsageProfileResponse')
1225
1242
  UpdateUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'UpdateUserDefinedFunctionRequest')
1226
1243
  UpdateUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'UpdateUserDefinedFunctionResponse')
1227
1244
  UpdateWorkflowRequest = Shapes::StructureShape.new(name: 'UpdateWorkflowRequest')
@@ -1230,6 +1247,8 @@ module Aws::Glue
1230
1247
  UpdatedTimestamp = Shapes::StringShape.new(name: 'UpdatedTimestamp')
1231
1248
  UpsertRedshiftTargetOptions = Shapes::StructureShape.new(name: 'UpsertRedshiftTargetOptions')
1232
1249
  UriString = Shapes::StringShape.new(name: 'UriString')
1250
+ UsageProfileDefinition = Shapes::StructureShape.new(name: 'UsageProfileDefinition')
1251
+ UsageProfileDefinitionList = Shapes::ListShape.new(name: 'UsageProfileDefinitionList')
1233
1252
  UserDefinedFunction = Shapes::StructureShape.new(name: 'UserDefinedFunction')
1234
1253
  UserDefinedFunctionInput = Shapes::StructureShape.new(name: 'UserDefinedFunctionInput')
1235
1254
  UserDefinedFunctionList = Shapes::ListShape.new(name: 'UserDefinedFunctionList')
@@ -1301,6 +1320,8 @@ module Aws::Glue
1301
1320
 
1302
1321
  AggregateOperations.member = Shapes::ShapeRef.new(shape: AggregateOperation)
1303
1322
 
1323
+ AllowedValuesStringList.member = Shapes::ShapeRef.new(shape: ConfigValueString)
1324
+
1304
1325
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1305
1326
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
1306
1327
 
@@ -1951,6 +1972,15 @@ module Aws::Glue
1951
1972
 
1952
1973
  ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
1953
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
+
1954
1984
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1955
1985
  ConflictException.struct_class = Types::ConflictException
1956
1986
 
@@ -2406,6 +2436,15 @@ module Aws::Glue
2406
2436
  CreateTriggerResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2407
2437
  CreateTriggerResponse.struct_class = Types::CreateTriggerResponse
2408
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
+
2409
2448
  CreateUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2410
2449
  CreateUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2411
2450
  CreateUserDefinedFunctionRequest.add_member(:function_input, Shapes::ShapeRef.new(shape: UserDefinedFunctionInput, required: true, location_name: "FunctionInput"))
@@ -2499,6 +2538,7 @@ module Aws::Glue
2499
2538
 
2500
2539
  DataQualityEvaluationRunAdditionalRunOptions.add_member(:cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CloudWatchMetricsEnabled"))
2501
2540
  DataQualityEvaluationRunAdditionalRunOptions.add_member(:results_s3_prefix, Shapes::ShapeRef.new(shape: UriString, location_name: "ResultsS3Prefix"))
2541
+ DataQualityEvaluationRunAdditionalRunOptions.add_member(:composite_rule_evaluation_method, Shapes::ShapeRef.new(shape: DQCompositeRuleEvaluationMethod, location_name: "CompositeRuleEvaluationMethod"))
2502
2542
  DataQualityEvaluationRunAdditionalRunOptions.struct_class = Types::DataQualityEvaluationRunAdditionalRunOptions
2503
2543
 
2504
2544
  DataQualityMetricValues.add_member(:actual_value, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ActualValue"))
@@ -2825,6 +2865,11 @@ module Aws::Glue
2825
2865
  DeleteTriggerResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2826
2866
  DeleteTriggerResponse.struct_class = Types::DeleteTriggerResponse
2827
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
+
2828
2873
  DeleteUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2829
2874
  DeleteUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2830
2875
  DeleteUserDefinedFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "FunctionName"))
@@ -3742,6 +3787,16 @@ module Aws::Glue
3742
3787
  GetUnfilteredTableMetadataResponse.add_member(:row_filter, Shapes::ShapeRef.new(shape: PredicateString, location_name: "RowFilter"))
3743
3788
  GetUnfilteredTableMetadataResponse.struct_class = Types::GetUnfilteredTableMetadataResponse
3744
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
+
3745
3800
  GetUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
3746
3801
  GetUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
3747
3802
  GetUserDefinedFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "FunctionName"))
@@ -3968,6 +4023,7 @@ module Aws::Glue
3968
4023
  Job.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
3969
4024
  Job.add_member(:source_control_details, Shapes::ShapeRef.new(shape: SourceControlDetails, location_name: "SourceControlDetails"))
3970
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"))
3971
4027
  Job.struct_class = Types::Job
3972
4028
 
3973
4029
  JobBookmarkEntry.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
@@ -4022,6 +4078,7 @@ module Aws::Glue
4022
4078
  JobRun.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "DPUSeconds"))
4023
4079
  JobRun.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
4024
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"))
4025
4082
  JobRun.struct_class = Types::JobRun
4026
4083
 
4027
4084
  JobRunList.member = Shapes::ShapeRef.new(shape: JobRun)
@@ -4332,6 +4389,14 @@ module Aws::Glue
4332
4389
  ListTriggersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
4333
4390
  ListTriggersResponse.struct_class = Types::ListTriggersResponse
4334
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
+
4335
4400
  ListWorkflowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
4336
4401
  ListWorkflowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: OrchestrationPageSize25, location_name: "MaxResults"))
4337
4402
  ListWorkflowsRequest.struct_class = Types::ListWorkflowsRequest
@@ -4520,6 +4585,9 @@ module Aws::Glue
4520
4585
  OpenTableFormatInput.add_member(:iceberg_input, Shapes::ShapeRef.new(shape: IcebergInput, location_name: "IcebergInput"))
4521
4586
  OpenTableFormatInput.struct_class = Types::OpenTableFormatInput
4522
4587
 
4588
+ OperationNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
4589
+ OperationNotSupportedException.struct_class = Types::OperationNotSupportedException
4590
+
4523
4591
  OperationTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
4524
4592
  OperationTimeoutException.struct_class = Types::OperationTimeoutException
4525
4593
 
@@ -4657,6 +4725,10 @@ module Aws::Glue
4657
4725
 
4658
4726
  PrincipalPermissionsList.member = Shapes::ShapeRef.new(shape: PrincipalPermissions)
4659
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
+
4660
4732
  PropertyPredicate.add_member(:key, Shapes::ShapeRef.new(shape: ValueString, location_name: "Key"))
4661
4733
  PropertyPredicate.add_member(:value, Shapes::ShapeRef.new(shape: ValueString, location_name: "Value"))
4662
4734
  PropertyPredicate.add_member(:comparator, Shapes::ShapeRef.new(shape: Comparator, location_name: "Comparator"))
@@ -5141,6 +5213,7 @@ module Aws::Glue
5141
5213
  Session.add_member(:execution_time, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ExecutionTime"))
5142
5214
  Session.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "DPUSeconds"))
5143
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"))
5144
5217
  Session.struct_class = Types::Session
5145
5218
 
5146
5219
  SessionCommand.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
@@ -5893,6 +5966,14 @@ module Aws::Glue
5893
5966
  UpdateTriggerResponse.add_member(:trigger, Shapes::ShapeRef.new(shape: Trigger, location_name: "Trigger"))
5894
5967
  UpdateTriggerResponse.struct_class = Types::UpdateTriggerResponse
5895
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
+
5896
5977
  UpdateUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
5897
5978
  UpdateUserDefinedFunctionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
5898
5979
  UpdateUserDefinedFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "FunctionName"))
@@ -5920,6 +6001,14 @@ module Aws::Glue
5920
6001
  UpsertRedshiftTargetOptions.add_member(:upsert_keys, Shapes::ShapeRef.new(shape: EnclosedInStringPropertiesMinOne, location_name: "UpsertKeys"))
5921
6002
  UpsertRedshiftTargetOptions.struct_class = Types::UpsertRedshiftTargetOptions
5922
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
+
5923
6012
  UserDefinedFunction.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, location_name: "FunctionName"))
5924
6013
  UserDefinedFunction.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
5925
6014
  UserDefinedFunction.add_member(:class_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ClassName"))
@@ -6600,6 +6689,20 @@ module Aws::Glue
6600
6689
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
6601
6690
  end)
6602
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
+
6603
6706
  api.add_operation(:create_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
6604
6707
  o.name = "CreateUserDefinedFunction"
6605
6708
  o.http_method = "POST"
@@ -6922,6 +7025,18 @@ module Aws::Glue
6922
7025
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
6923
7026
  end)
6924
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
+
6925
7040
  api.add_operation(:delete_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
6926
7041
  o.name = "DeleteUserDefinedFunction"
6927
7042
  o.http_method = "POST"
@@ -7825,6 +7940,19 @@ module Aws::Glue
7825
7940
  o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
7826
7941
  end)
7827
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
+
7828
7956
  api.add_operation(:get_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
7829
7957
  o.name = "GetUserDefinedFunction"
7830
7958
  o.http_method = "POST"
@@ -8240,6 +8368,24 @@ module Aws::Glue
8240
8368
  )
8241
8369
  end)
8242
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
+
8243
8389
  api.add_operation(:list_workflows, Seahorse::Model::Operation.new.tap do |o|
8244
8390
  o.name = "ListWorkflows"
8245
8391
  o.http_method = "POST"
@@ -8944,6 +9090,20 @@ module Aws::Glue
8944
9090
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
8945
9091
  end)
8946
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
+
8947
9107
  api.add_operation(:update_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
8948
9108
  o.name = "UpdateUserDefinedFunction"
8949
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