AWS SDK for .NET Documentation
S3DirectoryInfo Constructor (s3Client, bucket, key)
Amazon
►
Amazon.S3.IO
►
S3DirectoryInfo
►
S3DirectoryInfo(AmazonS3, String, String)
C#
Did this page help you?
Yes
No
Tell us about it...
Initialize a new instance of the S3DirectoryInfo class for the specified S3 bucket and S3 object key.
Declaration Syntax
C#
public
S3DirectoryInfo
(
AmazonS3
s3Client
,
string
bucket
,
string
key
)
Parameters
s3Client
(
AmazonS3
)
S3 client which is used to access the S3 resources.
bucket
(
String
)
Name of the S3 bucket.
key
(
String
)
The S3 object key.
Exceptions
Exception
Condition
ArgumentNullException
Assembly:
AWSSDK
(Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)