put_form_type
¶
put_form_type(
name: FormTypeName,
schema: FormTypeSchema,
*,
config_overrides: Optional[GlueClientConfig] = None,
client_token: Optional[HashString] = None,
) -> PutFormTypeResponse
Creates or updates a form type in Glue Data Catalog. A form type defines the schema for structured metadata that can be attached to assets.
Parameters:
-
name(FormTypeName) –The name of the form type. Must start with an uppercase letter.
-
schema(FormTypeSchema) –The Smithy IDL schema definition for the form type.
-
client_token(Optional[HashString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
ThrottlingException–The throttling threshhold was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 | |