create_usage_profile
¶
create_usage_profile(
name: NameString,
configuration: ProfileConfiguration,
*,
config_overrides: Optional[GlueClientConfig] = None,
description: Optional[DescriptionString] = None,
tags: Optional[TagsMap] = None,
) -> CreateUsageProfileResponse
Creates an Glue usage profile.
Parameters:
-
name(NameString) –The name of the usage profile.
-
description(Optional[DescriptionString], default:None) –A description of the usage profile.
-
configuration(ProfileConfiguration) –A
ProfileConfigurationobject specifying the job and session values for the profile. -
tags(Optional[TagsMap], default:None) –A list of tags applied to the usage profile.
Raises:
-
AlreadyExistsException–A resource to be created or added already exists.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationNotSupportedException–The operation is not available in the region.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 | |