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

ListBranches() public method

Gets information about one or more branches in a repository.
/// 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 continuation token 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 ListBranches ( Amazon.CodeCommit.Model.ListBranchesRequest request ) : Amazon.CodeCommit.Model.ListBranchesResponse
request Amazon.CodeCommit.Model.ListBranchesRequest Container for the necessary parameters to execute the ListBranches service method.
return Amazon.CodeCommit.Model.ListBranchesResponse
        public ListBranchesResponse ListBranches(ListBranchesRequest request)
        {
            var marshaller = new ListBranchesRequestMarshaller();
            var unmarshaller = ListBranchesResponseUnmarshaller.Instance;

            return Invoke<ListBranchesRequest,ListBranchesResponse>(request, marshaller, unmarshaller);
        }