Glue / Client / get_usage_profile
get_usage_profile#
- Glue.Client.get_usage_profile(**kwargs)#
Retrieves information about the specified Glue usage profile.
See also: AWS API Documentation
Request Syntax
response = client.get_usage_profile( Name='string' )
- Parameters:
Name (string) –
[REQUIRED]
The name of the usage profile to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ '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' } } }, 'CreatedOn': datetime(2015, 1, 1), 'LastModifiedOn': datetime(2015, 1, 1) }
Response Structure
(dict) –
Name (string) –
The name of the usage profile.
Description (string) –
A description of the usage profile.
Configuration (dict) –
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.
CreatedOn (datetime) –
The date and time when the usage profile was created.
LastModifiedOn (datetime) –
The date and time when the usage profile was last modified.
Exceptions