Show / Hide Table of Contents

Class S3V4

Inheritance
System.Object
S3V4
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.IO.FileSystem.S3.V4
Assembly: NFX.Web.dll
Syntax
public class S3V4

Methods

FileExists(S3V4URI, String, String, Int32)

Declaration
public static bool FileExists(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs
Returns
Type Description
System.Boolean

FileExists(String, String, String, String, String, Int32)

Declaration
public static bool FileExists(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs
Returns
Type Description
System.Boolean

FolderExists(S3V4URI, String, String, Int32)

Declaration
public static bool FolderExists(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs
Returns
Type Description
System.Boolean

FolderExists(String, String, String, String, String, Int32)

Declaration
public static bool FolderExists(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs
Returns
Type Description
System.Boolean

GetFile(S3V4URI, String, String, Stream, Int32)

Declaration
public static void GetFile(S3V4URI uri, string accessKey, string secretKey, Stream stream, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.IO.Stream stream
System.Int32 timeoutMs

GetFile(String, String, String, String, String, Stream, Int32)

Declaration
public static void GetFile(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, Stream stream, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.IO.Stream stream
System.Int32 timeoutMs

GetItemMetadata(S3V4URI, String, String, Int32)

Declaration
public static IDictionary<string, string> GetItemMetadata(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

GetItemMetadata(String, String, String, String, String, Int32)

Declaration
public static IDictionary<string, string> GetItemMetadata(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

ItemExists(S3V4URI, String, String, Int32)

Declaration
public static bool ItemExists(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs
Returns
Type Description
System.Boolean

ItemExists(String, String, String, String, String, Int32)

Declaration
public static bool ItemExists(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs
Returns
Type Description
System.Boolean

ListBucket(S3V4URI, String, String, Int32, String, String, Nullable<Int32>)

Declaration
public static string ListBucket(S3V4URI uri, string accessKey, string secretKey, int timeoutMs, string prefix = null, string marker = null, int ? maxKeys = default (int ? ))
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs
System.String prefix
System.String marker
System.Nullable<System.Int32> maxKeys
Returns
Type Description
System.String

ListBucket(String, String, String, String, String, Int32, String, String, Nullable<Int32>)

Declaration
public static string ListBucket(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs, string prefix = null, string marker = null, int ? maxKeys = default (int ? ))
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs
System.String prefix
System.String marker
System.Nullable<System.Int32> maxKeys
Returns
Type Description
System.String

PutFile(S3V4URI, String, String, Stream, Int32)

Declaration
public static string PutFile(S3V4URI uri, string accessKey, string secretKey, Stream contentStream, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.IO.Stream contentStream
System.Int32 timeoutMs
Returns
Type Description
System.String

PutFile(String, String, String, String, String, Stream, Int32)

Declaration
public static string PutFile(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, Stream contentStream, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.IO.Stream contentStream
System.Int32 timeoutMs
Returns
Type Description
System.String

PutFolder(S3V4URI, String, String, Int32)

Declaration
public static string PutFolder(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs
Returns
Type Description
System.String

PutFolder(String, String, String, String, String, Int32)

Declaration
public static string PutFolder(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs
Returns
Type Description
System.String

PutItem(String, String, String, String, String, Stream, Int32)

Declaration
public static string PutItem(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, Stream contentStream, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.IO.Stream contentStream
System.Int32 timeoutMs
Returns
Type Description
System.String

RemoveFile(S3V4URI, String, String, Int32)

Declaration
public static void RemoveFile(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs

RemoveFile(String, String, String, String, String, Int32)

Declaration
public static void RemoveFile(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs

RemoveFolder(S3V4URI, String, String, Int32)

Declaration
public static void RemoveFolder(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs

RemoveFolder(String, String, String, String, String, Int32)

Declaration
public static void RemoveFolder(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs

RemoveItem(S3V4URI, String, String, Int32)

Declaration
public static void RemoveItem(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
Parameters
Type Name Description
S3V4URI uri
System.String accessKey
System.String secretKey
System.Int32 timeoutMs

RemoveItem(String, String, String, String, String, Int32)

Declaration
public static void RemoveItem(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.Int32 timeoutMs

SetACL(String, String, String, String, String, String, Int32)

Declaration
public static void SetACL(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, string acl, int timeoutMs)
Parameters
Type Name Description
System.String itemLocalPath
System.String accessKey
System.String secretKey
System.String bucket
System.String region
System.String acl
System.Int32 timeoutMs

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX