S3Aliases.

GetS3Bytes(ICakeContext, string, DownloadSettings) Method

Summary

Get the byte array of a S3 object
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static Task<byte[]> GetS3Bytes(this ICakeContext context, string key, DownloadSettings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
key string The key under which the Amazon S3 object is stored.
settings DownloadSettings The DownloadSettings required to download from Amazon S3.

Return Value

Type Description
Task<byte[]>