Skip to main content

code_bindings

Creates, updates, deletes, gets or lists a code_bindings resource.

Overview

Namecode_bindings
TypeResource
Idaws.schemas.code_bindings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_datestring (date-time)The time and date that the code binding was created.
last_modifiedstring (date-time)The date and time that code bindings were modified.
schema_versionstringThe version number of the schema.
statusstringThe current status of code binding generation. (CREATE_IN_PROGRESS, CREATE_COMPLETE, CREATE_FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_code_bindingselectlanguage, registry_name, schema_name, regionschemaVersionDescribe the code binding URI.
put_code_bindingreplacelanguage, registry_name, schema_name, regionschemaVersionPut code binding URI

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
languagestringThe language of the code binding.
regionstringAWS region (default: us-east-1)
registry_namestringThe name of the registry.
schema_namestringThe name of the schema.
schemaVersionstringSpecifying this limits the results to only this schema version.

SELECT examples

Describe the code binding URI.

SELECT
creation_date,
last_modified,
schema_version,
status
FROM aws.schemas.code_bindings
WHERE language = '{{ language }}' -- required
AND registry_name = '{{ registry_name }}' -- required
AND schema_name = '{{ schema_name }}' -- required
AND region = '{{ region }}' -- required
AND schemaVersion = '{{ schemaVersion }}'
;

REPLACE examples

Put code binding URI

REPLACE aws.schemas.code_bindings
SET
-- No updatable properties
WHERE
language = '{{ language }}' --required
AND registry_name = '{{ registry_name }}' --required
AND schema_name = '{{ schema_name }}' --required
AND region = '{{ region }}' --required
AND schemaVersion = '{{ schemaVersion}}'
RETURNING
creation_date,
last_modified,
schema_version,
status;