Manganese.AwsKit.Structs.StorageObjectReference (manganese_aws_kit v0.1.7)

Link to this section Summary

Types

t()

A reference to a stored object in a specific AWS S3 region and bucket.

Link to this section Types

Specs

t() :: %Manganese.AwsKit.Structs.StorageObjectReference{
  bucket: binary(),
  path: binary(),
  region: binary()
}

A reference to a stored object in a specific AWS S3 region and bucket.

Link to this section Functions

Link to this function

cast(reference)

Callback implementation for Ecto.Type.cast/1.

Link to this function

copy(source_reference, destination_reference)

Specs

copy(t(), t()) :: :ok | {:error, Manganese.CoreKit.Structs.APIError.t()}
Link to this function

dump(reference)

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Link to this function

equal?(term1, term2)

Callback implementation for Ecto.Type.equal?/2.

Specs

from_map(map()) :: t()

Callback implementation for Ecto.Type.load/1.

Link to this function

presigned_link(http_method, reference, options)

Specs

Link to this function

to_map(storage_object_reference)

Specs

to_map(t()) :: map()
Link to this function

to_url(storage_object_reference)

Specs

to_url(t()) :: binary()

Callback implementation for Ecto.Type.type/0.