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

GetRepository() public method

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

/// 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. /// /// 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 GetRepository ( GetRepositoryRequest request ) : Amazon.CodeCommit.Model.GetRepositoryResponse
request Amazon.CodeCommit.Model.GetRepositoryRequest Container for the necessary parameters to execute the GetRepository service method.
return Amazon.CodeCommit.Model.GetRepositoryResponse
        public GetRepositoryResponse GetRepository(GetRepositoryRequest request)
        {
            var marshaller = new GetRepositoryRequestMarshaller();
            var unmarshaller = GetRepositoryResponseUnmarshaller.Instance;

            return Invoke<GetRepositoryRequest,GetRepositoryResponse>(request, marshaller, unmarshaller);
        }