Glue / Client / update_usage_profile
update_usage_profile#
- Glue.Client.update_usage_profile(**kwargs)#
Update an Glue usage profile.
See also: AWS API Documentation
Request Syntax
response = client.update_usage_profile( Name='string', Description='string', Configuration={ 'SessionConfiguration': { 'string': { 'DefaultValue': 'string', 'AllowedValues': [ 'string', ], 'MinValue': 'string', 'MaxValue': 'string' } }, 'JobConfiguration': { 'string': { 'DefaultValue': 'string', 'AllowedValues': [ 'string', ], 'MinValue': 'string', 'MaxValue': 'string' } } } )
- Parameters:
Name (string) –
[REQUIRED]
The name of the usage profile.
Description (string) – A description of the usage profile.
Configuration (dict) –
[REQUIRED]
A
ProfileConfiguration
object specifying the job and session values for the profile.SessionConfiguration (dict) –
A key-value map of configuration parameters for Glue sessions.
(string) –
(dict) –
Specifies the values that an admin sets for each job or session parameter configured in a Glue usage profile.
DefaultValue (string) –
A default value for the parameter.
AllowedValues (list) –
A list of allowed values for the parameter.
(string) –
MinValue (string) –
A minimum allowed value for the parameter.
MaxValue (string) –
A maximum allowed value for the parameter.
JobConfiguration (dict) –
A key-value map of configuration parameters for Glue jobs.
(string) –
(dict) –
Specifies the values that an admin sets for each job or session parameter configured in a Glue usage profile.
DefaultValue (string) –
A default value for the parameter.
AllowedValues (list) –
A list of allowed values for the parameter.
(string) –
MinValue (string) –
A minimum allowed value for the parameter.
MaxValue (string) –
A maximum allowed value for the parameter.
- Return type:
dict
- Returns:
Response Syntax
{ 'Name': 'string' }
Response Structure
(dict) –
Name (string) –
The name of the usage profile that was updated.
Exceptions