Amazon.CodeCommit.AmazonCodeCommitClient.GetCommit C# (CSharp) Method

GetCommit() public method

Returns information about a commit, including commit message and committer information.
/// The specified commit ID does not exist. /// /// A commit ID was not specified. /// /// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified commit ID is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public GetCommit ( GetCommitRequest request ) : GetCommitResponse
request Amazon.CodeCommit.Model.GetCommitRequest Container for the necessary parameters to execute the GetCommit service method.
return Amazon.CodeCommit.Model.GetCommitResponse
        public GetCommitResponse GetCommit(GetCommitRequest request)
        {
            var marshaller = new GetCommitRequestMarshaller();
            var unmarshaller = GetCommitResponseUnmarshaller.Instance;

            return Invoke<GetCommitRequest,GetCommitResponse>(request, marshaller, unmarshaller);
        }