aws-sdk-glue 1.178.0 → 1.179.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +242 -3
- data/lib/aws-sdk-glue/client_api.rb +158 -0
- data/lib/aws-sdk-glue/endpoints.rb +70 -0
- data/lib/aws-sdk-glue/errors.rb +16 -0
- data/lib/aws-sdk-glue/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-glue/types.rb +282 -3
- data/lib/aws-sdk-glue.rb +1 -1
- data/sig/client.rbs +86 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +89 -0
- metadata +2 -2
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -3021,6 +3021,36 @@ module Aws::Glue
|
|
3021
3021
|
include Aws::Structure
|
3022
3022
|
end
|
3023
3023
|
|
3024
|
+
# Specifies the values that an admin sets for each job or session
|
3025
|
+
# parameter configured in a Glue usage profile.
|
3026
|
+
#
|
3027
|
+
# @!attribute [rw] default_value
|
3028
|
+
# A default value for the parameter.
|
3029
|
+
# @return [String]
|
3030
|
+
#
|
3031
|
+
# @!attribute [rw] allowed_values
|
3032
|
+
# A list of allowed values for the parameter.
|
3033
|
+
# @return [Array<String>]
|
3034
|
+
#
|
3035
|
+
# @!attribute [rw] min_value
|
3036
|
+
# A minimum allowed value for the parameter.
|
3037
|
+
# @return [String]
|
3038
|
+
#
|
3039
|
+
# @!attribute [rw] max_value
|
3040
|
+
# A maximum allowed value for the parameter.
|
3041
|
+
# @return [String]
|
3042
|
+
#
|
3043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConfigurationObject AWS API Documentation
|
3044
|
+
#
|
3045
|
+
class ConfigurationObject < Struct.new(
|
3046
|
+
:default_value,
|
3047
|
+
:allowed_values,
|
3048
|
+
:min_value,
|
3049
|
+
:max_value)
|
3050
|
+
SENSITIVE = []
|
3051
|
+
include Aws::Structure
|
3052
|
+
end
|
3053
|
+
|
3024
3054
|
# The `CreatePartitions` API was called on a table that has indexes
|
3025
3055
|
# enabled.
|
3026
3056
|
#
|
@@ -5996,6 +6026,46 @@ module Aws::Glue
|
|
5996
6026
|
include Aws::Structure
|
5997
6027
|
end
|
5998
6028
|
|
6029
|
+
# @!attribute [rw] name
|
6030
|
+
# The name of the usage profile.
|
6031
|
+
# @return [String]
|
6032
|
+
#
|
6033
|
+
# @!attribute [rw] description
|
6034
|
+
# A description of the usage profile.
|
6035
|
+
# @return [String]
|
6036
|
+
#
|
6037
|
+
# @!attribute [rw] configuration
|
6038
|
+
# A `ProfileConfiguration` object specifying the job and session
|
6039
|
+
# values for the profile.
|
6040
|
+
# @return [Types::ProfileConfiguration]
|
6041
|
+
#
|
6042
|
+
# @!attribute [rw] tags
|
6043
|
+
# A list of tags applied to the usage profile.
|
6044
|
+
# @return [Hash<String,String>]
|
6045
|
+
#
|
6046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUsageProfileRequest AWS API Documentation
|
6047
|
+
#
|
6048
|
+
class CreateUsageProfileRequest < Struct.new(
|
6049
|
+
:name,
|
6050
|
+
:description,
|
6051
|
+
:configuration,
|
6052
|
+
:tags)
|
6053
|
+
SENSITIVE = []
|
6054
|
+
include Aws::Structure
|
6055
|
+
end
|
6056
|
+
|
6057
|
+
# @!attribute [rw] name
|
6058
|
+
# The name of the usage profile that was created.
|
6059
|
+
# @return [String]
|
6060
|
+
#
|
6061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUsageProfileResponse AWS API Documentation
|
6062
|
+
#
|
6063
|
+
class CreateUsageProfileResponse < Struct.new(
|
6064
|
+
:name)
|
6065
|
+
SENSITIVE = []
|
6066
|
+
include Aws::Structure
|
6067
|
+
end
|
6068
|
+
|
5999
6069
|
# @!attribute [rw] catalog_id
|
6000
6070
|
# The ID of the Data Catalog in which to create the function. If none
|
6001
6071
|
# is provided, the Amazon Web Services account ID is used by default.
|
@@ -7738,6 +7808,22 @@ module Aws::Glue
|
|
7738
7808
|
include Aws::Structure
|
7739
7809
|
end
|
7740
7810
|
|
7811
|
+
# @!attribute [rw] name
|
7812
|
+
# The name of the usage profile to delete.
|
7813
|
+
# @return [String]
|
7814
|
+
#
|
7815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUsageProfileRequest AWS API Documentation
|
7816
|
+
#
|
7817
|
+
class DeleteUsageProfileRequest < Struct.new(
|
7818
|
+
:name)
|
7819
|
+
SENSITIVE = []
|
7820
|
+
include Aws::Structure
|
7821
|
+
end
|
7822
|
+
|
7823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUsageProfileResponse AWS API Documentation
|
7824
|
+
#
|
7825
|
+
class DeleteUsageProfileResponse < Aws::EmptyStructure; end
|
7826
|
+
|
7741
7827
|
# @!attribute [rw] catalog_id
|
7742
7828
|
# The ID of the Data Catalog where the function to be deleted is
|
7743
7829
|
# located. If none is supplied, the Amazon Web Services account ID is
|
@@ -12423,6 +12509,51 @@ module Aws::Glue
|
|
12423
12509
|
include Aws::Structure
|
12424
12510
|
end
|
12425
12511
|
|
12512
|
+
# @!attribute [rw] name
|
12513
|
+
# The name of the usage profile to retrieve.
|
12514
|
+
# @return [String]
|
12515
|
+
#
|
12516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUsageProfileRequest AWS API Documentation
|
12517
|
+
#
|
12518
|
+
class GetUsageProfileRequest < Struct.new(
|
12519
|
+
:name)
|
12520
|
+
SENSITIVE = []
|
12521
|
+
include Aws::Structure
|
12522
|
+
end
|
12523
|
+
|
12524
|
+
# @!attribute [rw] name
|
12525
|
+
# The name of the usage profile.
|
12526
|
+
# @return [String]
|
12527
|
+
#
|
12528
|
+
# @!attribute [rw] description
|
12529
|
+
# A description of the usage profile.
|
12530
|
+
# @return [String]
|
12531
|
+
#
|
12532
|
+
# @!attribute [rw] configuration
|
12533
|
+
# A `ProfileConfiguration` object specifying the job and session
|
12534
|
+
# values for the profile.
|
12535
|
+
# @return [Types::ProfileConfiguration]
|
12536
|
+
#
|
12537
|
+
# @!attribute [rw] created_on
|
12538
|
+
# The date and time when the usage profile was created.
|
12539
|
+
# @return [Time]
|
12540
|
+
#
|
12541
|
+
# @!attribute [rw] last_modified_on
|
12542
|
+
# The date and time when the usage profile was last modified.
|
12543
|
+
# @return [Time]
|
12544
|
+
#
|
12545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUsageProfileResponse AWS API Documentation
|
12546
|
+
#
|
12547
|
+
class GetUsageProfileResponse < Struct.new(
|
12548
|
+
:name,
|
12549
|
+
:description,
|
12550
|
+
:configuration,
|
12551
|
+
:created_on,
|
12552
|
+
:last_modified_on)
|
12553
|
+
SENSITIVE = []
|
12554
|
+
include Aws::Structure
|
12555
|
+
end
|
12556
|
+
|
12426
12557
|
# @!attribute [rw] catalog_id
|
12427
12558
|
# The ID of the Data Catalog where the function to be retrieved is
|
12428
12559
|
# located. If none is provided, the Amazon Web Services account ID is
|
@@ -13635,6 +13766,10 @@ module Aws::Glue
|
|
13635
13766
|
# between 10:00AM GMT to 1:00PM GMT.
|
13636
13767
|
# @return [String]
|
13637
13768
|
#
|
13769
|
+
# @!attribute [rw] profile_name
|
13770
|
+
# The name of an Glue usage profile associated with the job.
|
13771
|
+
# @return [String]
|
13772
|
+
#
|
13638
13773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Job AWS API Documentation
|
13639
13774
|
#
|
13640
13775
|
class Job < Struct.new(
|
@@ -13662,7 +13797,8 @@ module Aws::Glue
|
|
13662
13797
|
:code_gen_configuration_nodes,
|
13663
13798
|
:execution_class,
|
13664
13799
|
:source_control_details,
|
13665
|
-
:maintenance_window
|
13800
|
+
:maintenance_window,
|
13801
|
+
:profile_name)
|
13666
13802
|
SENSITIVE = [:code_gen_configuration_nodes]
|
13667
13803
|
include Aws::Structure
|
13668
13804
|
end
|
@@ -14084,6 +14220,10 @@ module Aws::Glue
|
|
14084
14220
|
# between 10:00AM GMT to 1:00PM GMT.
|
14085
14221
|
# @return [String]
|
14086
14222
|
#
|
14223
|
+
# @!attribute [rw] profile_name
|
14224
|
+
# The name of an Glue usage profile associated with the job run.
|
14225
|
+
# @return [String]
|
14226
|
+
#
|
14087
14227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobRun AWS API Documentation
|
14088
14228
|
#
|
14089
14229
|
class JobRun < Struct.new(
|
@@ -14112,7 +14252,8 @@ module Aws::Glue
|
|
14112
14252
|
:glue_version,
|
14113
14253
|
:dpu_seconds,
|
14114
14254
|
:execution_class,
|
14115
|
-
:maintenance_window
|
14255
|
+
:maintenance_window,
|
14256
|
+
:profile_name)
|
14116
14257
|
SENSITIVE = []
|
14117
14258
|
include Aws::Structure
|
14118
14259
|
end
|
@@ -15797,6 +15938,41 @@ module Aws::Glue
|
|
15797
15938
|
include Aws::Structure
|
15798
15939
|
end
|
15799
15940
|
|
15941
|
+
# @!attribute [rw] next_token
|
15942
|
+
# A continuation token, included if this is a continuation call.
|
15943
|
+
# @return [String]
|
15944
|
+
#
|
15945
|
+
# @!attribute [rw] max_results
|
15946
|
+
# The maximum number of usage profiles to return in a single response.
|
15947
|
+
# @return [Integer]
|
15948
|
+
#
|
15949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListUsageProfilesRequest AWS API Documentation
|
15950
|
+
#
|
15951
|
+
class ListUsageProfilesRequest < Struct.new(
|
15952
|
+
:next_token,
|
15953
|
+
:max_results)
|
15954
|
+
SENSITIVE = []
|
15955
|
+
include Aws::Structure
|
15956
|
+
end
|
15957
|
+
|
15958
|
+
# @!attribute [rw] profiles
|
15959
|
+
# A list of usage profile (`UsageProfileDefinition`) objects.
|
15960
|
+
# @return [Array<Types::UsageProfileDefinition>]
|
15961
|
+
#
|
15962
|
+
# @!attribute [rw] next_token
|
15963
|
+
# A continuation token, present if the current list segment is not the
|
15964
|
+
# last.
|
15965
|
+
# @return [String]
|
15966
|
+
#
|
15967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListUsageProfilesResponse AWS API Documentation
|
15968
|
+
#
|
15969
|
+
class ListUsageProfilesResponse < Struct.new(
|
15970
|
+
:profiles,
|
15971
|
+
:next_token)
|
15972
|
+
SENSITIVE = []
|
15973
|
+
include Aws::Structure
|
15974
|
+
end
|
15975
|
+
|
15800
15976
|
# @!attribute [rw] next_token
|
15801
15977
|
# A continuation token, if this is a continuation request.
|
15802
15978
|
# @return [String]
|
@@ -16681,6 +16857,20 @@ module Aws::Glue
|
|
16681
16857
|
include Aws::Structure
|
16682
16858
|
end
|
16683
16859
|
|
16860
|
+
# The operation is not available in the region.
|
16861
|
+
#
|
16862
|
+
# @!attribute [rw] message
|
16863
|
+
# A message describing the problem.
|
16864
|
+
# @return [String]
|
16865
|
+
#
|
16866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/OperationNotSupportedException AWS API Documentation
|
16867
|
+
#
|
16868
|
+
class OperationNotSupportedException < Struct.new(
|
16869
|
+
:message)
|
16870
|
+
SENSITIVE = []
|
16871
|
+
include Aws::Structure
|
16872
|
+
end
|
16873
|
+
|
16684
16874
|
# The operation timed out.
|
16685
16875
|
#
|
16686
16876
|
# @!attribute [rw] message
|
@@ -17215,6 +17405,26 @@ module Aws::Glue
|
|
17215
17405
|
include Aws::Structure
|
17216
17406
|
end
|
17217
17407
|
|
17408
|
+
# Specifies the job and session values that an admin configures in an
|
17409
|
+
# Glue usage profile.
|
17410
|
+
#
|
17411
|
+
# @!attribute [rw] session_configuration
|
17412
|
+
# A key-value map of configuration parameters for Glue sessions.
|
17413
|
+
# @return [Hash<String,Types::ConfigurationObject>]
|
17414
|
+
#
|
17415
|
+
# @!attribute [rw] job_configuration
|
17416
|
+
# A key-value map of configuration parameters for Glue jobs.
|
17417
|
+
# @return [Hash<String,Types::ConfigurationObject>]
|
17418
|
+
#
|
17419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ProfileConfiguration AWS API Documentation
|
17420
|
+
#
|
17421
|
+
class ProfileConfiguration < Struct.new(
|
17422
|
+
:session_configuration,
|
17423
|
+
:job_configuration)
|
17424
|
+
SENSITIVE = []
|
17425
|
+
include Aws::Structure
|
17426
|
+
end
|
17427
|
+
|
17218
17428
|
# Defines a property predicate.
|
17219
17429
|
#
|
17220
17430
|
# @!attribute [rw] key
|
@@ -19606,6 +19816,10 @@ module Aws::Glue
|
|
19606
19816
|
# The number of minutes when idle before the session times out.
|
19607
19817
|
# @return [Integer]
|
19608
19818
|
#
|
19819
|
+
# @!attribute [rw] profile_name
|
19820
|
+
# The name of an Glue usage profile associated with the session.
|
19821
|
+
# @return [String]
|
19822
|
+
#
|
19609
19823
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Session AWS API Documentation
|
19610
19824
|
#
|
19611
19825
|
class Session < Struct.new(
|
@@ -19627,7 +19841,8 @@ module Aws::Glue
|
|
19627
19841
|
:completed_on,
|
19628
19842
|
:execution_time,
|
19629
19843
|
:dpu_seconds,
|
19630
|
-
:idle_timeout
|
19844
|
+
:idle_timeout,
|
19845
|
+
:profile_name)
|
19631
19846
|
SENSITIVE = []
|
19632
19847
|
include Aws::Structure
|
19633
19848
|
end
|
@@ -23308,6 +23523,41 @@ module Aws::Glue
|
|
23308
23523
|
include Aws::Structure
|
23309
23524
|
end
|
23310
23525
|
|
23526
|
+
# @!attribute [rw] name
|
23527
|
+
# The name of the usage profile.
|
23528
|
+
# @return [String]
|
23529
|
+
#
|
23530
|
+
# @!attribute [rw] description
|
23531
|
+
# A description of the usage profile.
|
23532
|
+
# @return [String]
|
23533
|
+
#
|
23534
|
+
# @!attribute [rw] configuration
|
23535
|
+
# A `ProfileConfiguration` object specifying the job and session
|
23536
|
+
# values for the profile.
|
23537
|
+
# @return [Types::ProfileConfiguration]
|
23538
|
+
#
|
23539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUsageProfileRequest AWS API Documentation
|
23540
|
+
#
|
23541
|
+
class UpdateUsageProfileRequest < Struct.new(
|
23542
|
+
:name,
|
23543
|
+
:description,
|
23544
|
+
:configuration)
|
23545
|
+
SENSITIVE = []
|
23546
|
+
include Aws::Structure
|
23547
|
+
end
|
23548
|
+
|
23549
|
+
# @!attribute [rw] name
|
23550
|
+
# The name of the usage profile that was updated.
|
23551
|
+
# @return [String]
|
23552
|
+
#
|
23553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUsageProfileResponse AWS API Documentation
|
23554
|
+
#
|
23555
|
+
class UpdateUsageProfileResponse < Struct.new(
|
23556
|
+
:name)
|
23557
|
+
SENSITIVE = []
|
23558
|
+
include Aws::Structure
|
23559
|
+
end
|
23560
|
+
|
23311
23561
|
# @!attribute [rw] catalog_id
|
23312
23562
|
# The ID of the Data Catalog where the function to be updated is
|
23313
23563
|
# located. If none is provided, the Amazon Web Services account ID is
|
@@ -23441,6 +23691,35 @@ module Aws::Glue
|
|
23441
23691
|
include Aws::Structure
|
23442
23692
|
end
|
23443
23693
|
|
23694
|
+
# Describes an Glue usage profile.
|
23695
|
+
#
|
23696
|
+
# @!attribute [rw] name
|
23697
|
+
# The name of the usage profile.
|
23698
|
+
# @return [String]
|
23699
|
+
#
|
23700
|
+
# @!attribute [rw] description
|
23701
|
+
# A description of the usage profile.
|
23702
|
+
# @return [String]
|
23703
|
+
#
|
23704
|
+
# @!attribute [rw] created_on
|
23705
|
+
# The date and time when the usage profile was created.
|
23706
|
+
# @return [Time]
|
23707
|
+
#
|
23708
|
+
# @!attribute [rw] last_modified_on
|
23709
|
+
# The date and time when the usage profile was last modified.
|
23710
|
+
# @return [Time]
|
23711
|
+
#
|
23712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UsageProfileDefinition AWS API Documentation
|
23713
|
+
#
|
23714
|
+
class UsageProfileDefinition < Struct.new(
|
23715
|
+
:name,
|
23716
|
+
:description,
|
23717
|
+
:created_on,
|
23718
|
+
:last_modified_on)
|
23719
|
+
SENSITIVE = []
|
23720
|
+
include Aws::Structure
|
23721
|
+
end
|
23722
|
+
|
23444
23723
|
# Represents the equivalent of a Hive user-defined function (`UDF`)
|
23445
23724
|
# definition.
|
23446
23725
|
#
|
data/lib/aws-sdk-glue.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -2403,6 +2403,32 @@ module Aws
|
|
2403
2403
|
) -> _CreateTriggerResponseSuccess
|
2404
2404
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTriggerResponseSuccess
|
2405
2405
|
|
2406
|
+
interface _CreateUsageProfileResponseSuccess
|
2407
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateUsageProfileResponse]
|
2408
|
+
def name: () -> ::String
|
2409
|
+
end
|
2410
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#create_usage_profile-instance_method
|
2411
|
+
def create_usage_profile: (
|
2412
|
+
name: ::String,
|
2413
|
+
?description: ::String,
|
2414
|
+
configuration: {
|
2415
|
+
session_configuration: Hash[::String, {
|
2416
|
+
default_value: ::String?,
|
2417
|
+
allowed_values: Array[::String]?,
|
2418
|
+
min_value: ::String?,
|
2419
|
+
max_value: ::String?
|
2420
|
+
}]?,
|
2421
|
+
job_configuration: Hash[::String, {
|
2422
|
+
default_value: ::String?,
|
2423
|
+
allowed_values: Array[::String]?,
|
2424
|
+
min_value: ::String?,
|
2425
|
+
max_value: ::String?
|
2426
|
+
}]?
|
2427
|
+
},
|
2428
|
+
?tags: Hash[::String, ::String]
|
2429
|
+
) -> _CreateUsageProfileResponseSuccess
|
2430
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUsageProfileResponseSuccess
|
2431
|
+
|
2406
2432
|
interface _CreateUserDefinedFunctionResponseSuccess
|
2407
2433
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserDefinedFunctionResponse]
|
2408
2434
|
end
|
@@ -2706,6 +2732,15 @@ module Aws
|
|
2706
2732
|
) -> _DeleteTriggerResponseSuccess
|
2707
2733
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTriggerResponseSuccess
|
2708
2734
|
|
2735
|
+
interface _DeleteUsageProfileResponseSuccess
|
2736
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUsageProfileResponse]
|
2737
|
+
end
|
2738
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#delete_usage_profile-instance_method
|
2739
|
+
def delete_usage_profile: (
|
2740
|
+
name: ::String
|
2741
|
+
) -> _DeleteUsageProfileResponseSuccess
|
2742
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUsageProfileResponseSuccess
|
2743
|
+
|
2709
2744
|
interface _DeleteUserDefinedFunctionResponseSuccess
|
2710
2745
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUserDefinedFunctionResponse]
|
2711
2746
|
end
|
@@ -3779,6 +3814,20 @@ module Aws
|
|
3779
3814
|
) -> _GetUnfilteredTableMetadataResponseSuccess
|
3780
3815
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUnfilteredTableMetadataResponseSuccess
|
3781
3816
|
|
3817
|
+
interface _GetUsageProfileResponseSuccess
|
3818
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageProfileResponse]
|
3819
|
+
def name: () -> ::String
|
3820
|
+
def description: () -> ::String
|
3821
|
+
def configuration: () -> Types::ProfileConfiguration
|
3822
|
+
def created_on: () -> ::Time
|
3823
|
+
def last_modified_on: () -> ::Time
|
3824
|
+
end
|
3825
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#get_usage_profile-instance_method
|
3826
|
+
def get_usage_profile: (
|
3827
|
+
name: ::String
|
3828
|
+
) -> _GetUsageProfileResponseSuccess
|
3829
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageProfileResponseSuccess
|
3830
|
+
|
3782
3831
|
interface _GetUserDefinedFunctionResponseSuccess
|
3783
3832
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetUserDefinedFunctionResponse]
|
3784
3833
|
def user_defined_function: () -> Types::UserDefinedFunction
|
@@ -4202,6 +4251,18 @@ module Aws
|
|
4202
4251
|
) -> _ListTriggersResponseSuccess
|
4203
4252
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTriggersResponseSuccess
|
4204
4253
|
|
4254
|
+
interface _ListUsageProfilesResponseSuccess
|
4255
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListUsageProfilesResponse]
|
4256
|
+
def profiles: () -> ::Array[Types::UsageProfileDefinition]
|
4257
|
+
def next_token: () -> ::String
|
4258
|
+
end
|
4259
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#list_usage_profiles-instance_method
|
4260
|
+
def list_usage_profiles: (
|
4261
|
+
?next_token: ::String,
|
4262
|
+
?max_results: ::Integer
|
4263
|
+
) -> _ListUsageProfilesResponseSuccess
|
4264
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsageProfilesResponseSuccess
|
4265
|
+
|
4205
4266
|
interface _ListWorkflowsResponseSuccess
|
4206
4267
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowsResponse]
|
4207
4268
|
def workflows: () -> ::Array[::String]
|
@@ -6656,6 +6717,31 @@ module Aws
|
|
6656
6717
|
) -> _UpdateTriggerResponseSuccess
|
6657
6718
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTriggerResponseSuccess
|
6658
6719
|
|
6720
|
+
interface _UpdateUsageProfileResponseSuccess
|
6721
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUsageProfileResponse]
|
6722
|
+
def name: () -> ::String
|
6723
|
+
end
|
6724
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#update_usage_profile-instance_method
|
6725
|
+
def update_usage_profile: (
|
6726
|
+
name: ::String,
|
6727
|
+
?description: ::String,
|
6728
|
+
configuration: {
|
6729
|
+
session_configuration: Hash[::String, {
|
6730
|
+
default_value: ::String?,
|
6731
|
+
allowed_values: Array[::String]?,
|
6732
|
+
min_value: ::String?,
|
6733
|
+
max_value: ::String?
|
6734
|
+
}]?,
|
6735
|
+
job_configuration: Hash[::String, {
|
6736
|
+
default_value: ::String?,
|
6737
|
+
allowed_values: Array[::String]?,
|
6738
|
+
min_value: ::String?,
|
6739
|
+
max_value: ::String?
|
6740
|
+
}]?
|
6741
|
+
}
|
6742
|
+
) -> _UpdateUsageProfileResponseSuccess
|
6743
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUsageProfileResponseSuccess
|
6744
|
+
|
6659
6745
|
interface _UpdateUserDefinedFunctionResponseSuccess
|
6660
6746
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserDefinedFunctionResponse]
|
6661
6747
|
end
|
data/sig/errors.rbs
CHANGED
@@ -93,6 +93,9 @@ module Aws
|
|
93
93
|
class NoScheduleException < ::Aws::Errors::ServiceError
|
94
94
|
def message: () -> ::String
|
95
95
|
end
|
96
|
+
class OperationNotSupportedException < ::Aws::Errors::ServiceError
|
97
|
+
def message: () -> ::String
|
98
|
+
end
|
96
99
|
class OperationTimeoutException < ::Aws::Errors::ServiceError
|
97
100
|
def message: () -> ::String
|
98
101
|
end
|
data/sig/types.rbs
CHANGED
@@ -803,6 +803,14 @@ module Aws::Glue
|
|
803
803
|
SENSITIVE: []
|
804
804
|
end
|
805
805
|
|
806
|
+
class ConfigurationObject
|
807
|
+
attr_accessor default_value: ::String
|
808
|
+
attr_accessor allowed_values: ::Array[::String]
|
809
|
+
attr_accessor min_value: ::String
|
810
|
+
attr_accessor max_value: ::String
|
811
|
+
SENSITIVE: []
|
812
|
+
end
|
813
|
+
|
806
814
|
class ConflictException
|
807
815
|
attr_accessor message: ::String
|
808
816
|
SENSITIVE: []
|
@@ -1351,6 +1359,19 @@ module Aws::Glue
|
|
1351
1359
|
SENSITIVE: []
|
1352
1360
|
end
|
1353
1361
|
|
1362
|
+
class CreateUsageProfileRequest
|
1363
|
+
attr_accessor name: ::String
|
1364
|
+
attr_accessor description: ::String
|
1365
|
+
attr_accessor configuration: Types::ProfileConfiguration
|
1366
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1367
|
+
SENSITIVE: []
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
class CreateUsageProfileResponse
|
1371
|
+
attr_accessor name: ::String
|
1372
|
+
SENSITIVE: []
|
1373
|
+
end
|
1374
|
+
|
1354
1375
|
class CreateUserDefinedFunctionRequest
|
1355
1376
|
attr_accessor catalog_id: ::String
|
1356
1377
|
attr_accessor database_name: ::String
|
@@ -1876,6 +1897,14 @@ module Aws::Glue
|
|
1876
1897
|
SENSITIVE: []
|
1877
1898
|
end
|
1878
1899
|
|
1900
|
+
class DeleteUsageProfileRequest
|
1901
|
+
attr_accessor name: ::String
|
1902
|
+
SENSITIVE: []
|
1903
|
+
end
|
1904
|
+
|
1905
|
+
class DeleteUsageProfileResponse < Aws::EmptyStructure
|
1906
|
+
end
|
1907
|
+
|
1879
1908
|
class DeleteUserDefinedFunctionRequest
|
1880
1909
|
attr_accessor catalog_id: ::String
|
1881
1910
|
attr_accessor database_name: ::String
|
@@ -3089,6 +3118,20 @@ module Aws::Glue
|
|
3089
3118
|
SENSITIVE: []
|
3090
3119
|
end
|
3091
3120
|
|
3121
|
+
class GetUsageProfileRequest
|
3122
|
+
attr_accessor name: ::String
|
3123
|
+
SENSITIVE: []
|
3124
|
+
end
|
3125
|
+
|
3126
|
+
class GetUsageProfileResponse
|
3127
|
+
attr_accessor name: ::String
|
3128
|
+
attr_accessor description: ::String
|
3129
|
+
attr_accessor configuration: Types::ProfileConfiguration
|
3130
|
+
attr_accessor created_on: ::Time
|
3131
|
+
attr_accessor last_modified_on: ::Time
|
3132
|
+
SENSITIVE: []
|
3133
|
+
end
|
3134
|
+
|
3092
3135
|
class GetUserDefinedFunctionRequest
|
3093
3136
|
attr_accessor catalog_id: ::String
|
3094
3137
|
attr_accessor database_name: ::String
|
@@ -3369,6 +3412,7 @@ module Aws::Glue
|
|
3369
3412
|
attr_accessor execution_class: ("FLEX" | "STANDARD")
|
3370
3413
|
attr_accessor source_control_details: Types::SourceControlDetails
|
3371
3414
|
attr_accessor maintenance_window: ::String
|
3415
|
+
attr_accessor profile_name: ::String
|
3372
3416
|
SENSITIVE: [:code_gen_configuration_nodes]
|
3373
3417
|
end
|
3374
3418
|
|
@@ -3429,6 +3473,7 @@ module Aws::Glue
|
|
3429
3473
|
attr_accessor dpu_seconds: ::Float
|
3430
3474
|
attr_accessor execution_class: ("FLEX" | "STANDARD")
|
3431
3475
|
attr_accessor maintenance_window: ::String
|
3476
|
+
attr_accessor profile_name: ::String
|
3432
3477
|
SENSITIVE: []
|
3433
3478
|
end
|
3434
3479
|
|
@@ -3828,6 +3873,18 @@ module Aws::Glue
|
|
3828
3873
|
SENSITIVE: []
|
3829
3874
|
end
|
3830
3875
|
|
3876
|
+
class ListUsageProfilesRequest
|
3877
|
+
attr_accessor next_token: ::String
|
3878
|
+
attr_accessor max_results: ::Integer
|
3879
|
+
SENSITIVE: []
|
3880
|
+
end
|
3881
|
+
|
3882
|
+
class ListUsageProfilesResponse
|
3883
|
+
attr_accessor profiles: ::Array[Types::UsageProfileDefinition]
|
3884
|
+
attr_accessor next_token: ::String
|
3885
|
+
SENSITIVE: []
|
3886
|
+
end
|
3887
|
+
|
3831
3888
|
class ListWorkflowsRequest
|
3832
3889
|
attr_accessor next_token: ::String
|
3833
3890
|
attr_accessor max_results: ::Integer
|
@@ -4035,6 +4092,11 @@ module Aws::Glue
|
|
4035
4092
|
SENSITIVE: []
|
4036
4093
|
end
|
4037
4094
|
|
4095
|
+
class OperationNotSupportedException
|
4096
|
+
attr_accessor message: ::String
|
4097
|
+
SENSITIVE: []
|
4098
|
+
end
|
4099
|
+
|
4038
4100
|
class OperationTimeoutException
|
4039
4101
|
attr_accessor message: ::String
|
4040
4102
|
SENSITIVE: []
|
@@ -4178,6 +4240,12 @@ module Aws::Glue
|
|
4178
4240
|
SENSITIVE: []
|
4179
4241
|
end
|
4180
4242
|
|
4243
|
+
class ProfileConfiguration
|
4244
|
+
attr_accessor session_configuration: ::Hash[::String, Types::ConfigurationObject]
|
4245
|
+
attr_accessor job_configuration: ::Hash[::String, Types::ConfigurationObject]
|
4246
|
+
SENSITIVE: []
|
4247
|
+
end
|
4248
|
+
|
4181
4249
|
class PropertyPredicate
|
4182
4250
|
attr_accessor key: ::String
|
4183
4251
|
attr_accessor value: ::String
|
@@ -4783,6 +4851,7 @@ module Aws::Glue
|
|
4783
4851
|
attr_accessor execution_time: ::Float
|
4784
4852
|
attr_accessor dpu_seconds: ::Float
|
4785
4853
|
attr_accessor idle_timeout: ::Integer
|
4854
|
+
attr_accessor profile_name: ::String
|
4786
4855
|
SENSITIVE: []
|
4787
4856
|
end
|
4788
4857
|
|
@@ -5729,6 +5798,18 @@ module Aws::Glue
|
|
5729
5798
|
SENSITIVE: []
|
5730
5799
|
end
|
5731
5800
|
|
5801
|
+
class UpdateUsageProfileRequest
|
5802
|
+
attr_accessor name: ::String
|
5803
|
+
attr_accessor description: ::String
|
5804
|
+
attr_accessor configuration: Types::ProfileConfiguration
|
5805
|
+
SENSITIVE: []
|
5806
|
+
end
|
5807
|
+
|
5808
|
+
class UpdateUsageProfileResponse
|
5809
|
+
attr_accessor name: ::String
|
5810
|
+
SENSITIVE: []
|
5811
|
+
end
|
5812
|
+
|
5732
5813
|
class UpdateUserDefinedFunctionRequest
|
5733
5814
|
attr_accessor catalog_id: ::String
|
5734
5815
|
attr_accessor database_name: ::String
|
@@ -5767,6 +5848,14 @@ module Aws::Glue
|
|
5767
5848
|
SENSITIVE: []
|
5768
5849
|
end
|
5769
5850
|
|
5851
|
+
class UsageProfileDefinition
|
5852
|
+
attr_accessor name: ::String
|
5853
|
+
attr_accessor description: ::String
|
5854
|
+
attr_accessor created_on: ::Time
|
5855
|
+
attr_accessor last_modified_on: ::Time
|
5856
|
+
SENSITIVE: []
|
5857
|
+
end
|
5858
|
+
|
5770
5859
|
class UserDefinedFunction
|
5771
5860
|
attr_accessor function_name: ::String
|
5772
5861
|
attr_accessor database_name: ::String
|