Skip to main content

Module state

Module state 

Source
Expand description

Account-partitioned, serializable state for AWS AppSync (appsync).

Every resource is stored as its already-output-valid wire JSON object so reads echo exactly what writes persisted. All map keys are plain Strings (apiId, resource name, ARN, association id), so the snapshot never depends on the tuple-key serde adapter that has silently broken snapshot serialization on other services. Sub-resources keyed by a compound String (e.g. a resolver’s typeName::fieldName) reuse the :: delimiter, which the ResourceName grammar ([_A-Za-z][_0-9A-Za-z]*) can never contain.

Structs§

AppSyncData
Per-account AWS AppSync state.
AppSyncSnapshot
SchemaState
A stored GraphQL-schema document + its async creation status.

Constants§

APPSYNC_SNAPSHOT_SCHEMA_VERSION

Functions§

now_epoch
Current time as an RFC3339 string (AppSync’s timestamp members serialise as epoch-seconds on the restJson1 wire, but stored objects only need to be self-consistent; epoch floats are used where the model declares a timestamp).

Type Aliases§

SharedAppSyncState