S3Aliases.

S3LastModified(ICakeContext, string, string, S3Settings) Method

Summary

Gets the last modified date of an S3 object
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static Task<DateTimeOffset> S3LastModified(this ICakeContext context, string key, string version, S3Settings 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.
version string The identifier for the specific version of the object to be deleted, if required.
settings S3Settings The S3Settings required to download from Amazon S3.

Return Value

Type Description
Task<DateTimeOffset>