PutCodeBinding
Source:
src/AWS/Schemas/PutCodeBinding.ts
Runtime binding for schemas:PutCodeBinding.
Kicks off code-binding generation for the bound Schema in a target
language (Java8, Python36, TypeScript3, or Go1). Generation is
asynchronous — poll DescribeCodeBinding until the status is
CREATE_COMPLETE, then download the package with
GetCodeBindingSource. The registry and schema names are injected
from the binding. Provide the implementation with
Effect.provide(AWS.Schemas.PutCodeBindingHttp).
Code Bindings
Section titled “Code Bindings”// init — bind the operation to the schemaconst putCodeBinding = yield* AWS.Schemas.PutCodeBinding(schema);
// runtimeconst { Status } = yield* putCodeBinding({ Language: "Python36" });// Status is "CREATE_IN_PROGRESS" until generation finishes