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.
Container for the parameters to the GetFile operation. Returns the base-64 encoded contents of a specified file and its metadata.
Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public class GetFileRequest : AmazonCodeCommitRequest IAmazonWebServiceRequest
The GetFileRequest type exposes the following members
Name | Description | |
---|---|---|
GetFileRequest() |
Name | Type | Description | |
---|---|---|---|
CommitSpecifier | System.String |
Gets and sets the property CommitSpecifier. The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used. |
|
FilePath | System.String |
Gets and sets the property FilePath. The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples. |
|
RepositoryName | System.String |
Gets and sets the property RepositoryName. The name of the repository that contains the file. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5