AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns information about the HeadBucket response metadata. The HeadBucket operation has a void result type.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.S3.Model.HeadBucketResponse

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class HeadBucketResponse : AmazonWebServiceResponse

The HeadBucketResponse type exposes the following members

Constructors

NameDescription
Public Method HeadBucketResponse()

Properties

NameTypeDescription
Public Property AccessPointAlias System.Boolean

Gets and sets the property AccessPointAlias.

Indicates whether the bucket name used in the request is an access point alias.

For directory buckets, the value of this field is false.

Public Property BucketLocationName System.String

Gets and sets the property BucketLocationName.

The name of the location where the bucket will be created.

For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1.

This functionality is only supported by directory buckets.

Public Property BucketLocationType Amazon.S3.LocationType

Gets and sets the property BucketLocationType.

The type of location where the bucket is created.

This functionality is only supported by directory buckets.

Public Property BucketRegion System.String

Gets and sets the property BucketRegion.

The Region that the bucket is located.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5