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.

This is the response object from the GetFile operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.CodeCommit.Model.GetFileResponse

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

Syntax

C#
public class GetFileResponse : AmazonWebServiceResponse

The GetFileResponse type exposes the following members

Constructors

NameDescription
Public Method GetFileResponse()

Properties

NameTypeDescription
Public Property BlobId System.String

Gets and sets the property BlobId.

The blob ID of the object that represents the file content.

Public Property CommitId System.String

Gets and sets the property CommitId.

The full commit ID of the commit that contains the content returned by GetFile.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property FileContent System.IO.MemoryStream

Gets and sets the property FileContent.

The base-64 encoded binary data object that represents the content of the file.

Public Property FileMode Amazon.CodeCommit.FileModeTypeEnum

Gets and sets the property FileMode.

The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

Public Property FilePath System.String

Gets and sets the property FilePath.

The fully qualified path to the specified file. Returns the name and extension of the file.

Public Property FileSize System.Int64

Gets and sets the property FileSize.

The size of the contents of the file, in bytes.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5