Interface amplifyStorageTypeStore

Hierarchy

Index

Call signatures

Call signatures

(key: string, value: any, options?: any)

Stores a value for a given key using the default storage type.

key: Identifier for the value being stored. value: The value to store. The value can be anything that can be serialized as JSON. [options]: A set of key/value pairs that relate to settings for storing the value.

Parameters

  • key: string
  • value: any
  • options?: any optional

(key: string): any

Gets a stored value based on the key.

Parameters

  • key: string

Returns

any

(): any

Gets a hash of all stored values.

Returns

any