git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

codecommit.d.ts (26236B)


      1 import {Request} from '../lib/request';
      2 import {Response} from '../lib/response';
      3 import {AWSError} from '../lib/error';
      4 import {Service} from '../lib/service';
      5 import {ServiceConfigurationOptions} from '../lib/service';
      6 import {ConfigBase as Config} from '../lib/config';
      7 interface Blob {}
      8 declare class CodeCommit extends Service {
      9   /**
     10    * Constructs a service object. This object has one method for each API operation.
     11    */
     12   constructor(options?: CodeCommit.Types.ClientConfiguration)
     13   config: Config & CodeCommit.Types.ClientConfiguration;
     14   /**
     15    * Returns information about one or more repositories. 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.
     16    */
     17   batchGetRepositories(params: CodeCommit.Types.BatchGetRepositoriesInput, callback?: (err: AWSError, data: CodeCommit.Types.BatchGetRepositoriesOutput) => void): Request<CodeCommit.Types.BatchGetRepositoriesOutput, AWSError>;
     18   /**
     19    * Returns information about one or more repositories. 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.
     20    */
     21   batchGetRepositories(callback?: (err: AWSError, data: CodeCommit.Types.BatchGetRepositoriesOutput) => void): Request<CodeCommit.Types.BatchGetRepositoriesOutput, AWSError>;
     22   /**
     23    * Creates a new branch in a repository and points the branch to a commit. Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
     24    */
     25   createBranch(params: CodeCommit.Types.CreateBranchInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     26   /**
     27    * Creates a new branch in a repository and points the branch to a commit. Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
     28    */
     29   createBranch(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     30   /**
     31    * Creates a new, empty repository.
     32    */
     33   createRepository(params: CodeCommit.Types.CreateRepositoryInput, callback?: (err: AWSError, data: CodeCommit.Types.CreateRepositoryOutput) => void): Request<CodeCommit.Types.CreateRepositoryOutput, AWSError>;
     34   /**
     35    * Creates a new, empty repository.
     36    */
     37   createRepository(callback?: (err: AWSError, data: CodeCommit.Types.CreateRepositoryOutput) => void): Request<CodeCommit.Types.CreateRepositoryOutput, AWSError>;
     38   /**
     39    * Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned. Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.
     40    */
     41   deleteRepository(params: CodeCommit.Types.DeleteRepositoryInput, callback?: (err: AWSError, data: CodeCommit.Types.DeleteRepositoryOutput) => void): Request<CodeCommit.Types.DeleteRepositoryOutput, AWSError>;
     42   /**
     43    * Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned. Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.
     44    */
     45   deleteRepository(callback?: (err: AWSError, data: CodeCommit.Types.DeleteRepositoryOutput) => void): Request<CodeCommit.Types.DeleteRepositoryOutput, AWSError>;
     46   /**
     47    * Returns information about a repository branch, including its name and the last commit ID.
     48    */
     49   getBranch(params: CodeCommit.Types.GetBranchInput, callback?: (err: AWSError, data: CodeCommit.Types.GetBranchOutput) => void): Request<CodeCommit.Types.GetBranchOutput, AWSError>;
     50   /**
     51    * Returns information about a repository branch, including its name and the last commit ID.
     52    */
     53   getBranch(callback?: (err: AWSError, data: CodeCommit.Types.GetBranchOutput) => void): Request<CodeCommit.Types.GetBranchOutput, AWSError>;
     54   /**
     55    * Returns information about a commit, including commit message and committer information.
     56    */
     57   getCommit(params: CodeCommit.Types.GetCommitInput, callback?: (err: AWSError, data: CodeCommit.Types.GetCommitOutput) => void): Request<CodeCommit.Types.GetCommitOutput, AWSError>;
     58   /**
     59    * Returns information about a commit, including commit message and committer information.
     60    */
     61   getCommit(callback?: (err: AWSError, data: CodeCommit.Types.GetCommitOutput) => void): Request<CodeCommit.Types.GetCommitOutput, AWSError>;
     62   /**
     63    * 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.
     64    */
     65   getRepository(params: CodeCommit.Types.GetRepositoryInput, callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryOutput) => void): Request<CodeCommit.Types.GetRepositoryOutput, AWSError>;
     66   /**
     67    * 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.
     68    */
     69   getRepository(callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryOutput) => void): Request<CodeCommit.Types.GetRepositoryOutput, AWSError>;
     70   /**
     71    * Gets information about triggers configured for a repository.
     72    */
     73   getRepositoryTriggers(params: CodeCommit.Types.GetRepositoryTriggersInput, callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryTriggersOutput) => void): Request<CodeCommit.Types.GetRepositoryTriggersOutput, AWSError>;
     74   /**
     75    * Gets information about triggers configured for a repository.
     76    */
     77   getRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryTriggersOutput) => void): Request<CodeCommit.Types.GetRepositoryTriggersOutput, AWSError>;
     78   /**
     79    * Gets information about one or more branches in a repository.
     80    */
     81   listBranches(params: CodeCommit.Types.ListBranchesInput, callback?: (err: AWSError, data: CodeCommit.Types.ListBranchesOutput) => void): Request<CodeCommit.Types.ListBranchesOutput, AWSError>;
     82   /**
     83    * Gets information about one or more branches in a repository.
     84    */
     85   listBranches(callback?: (err: AWSError, data: CodeCommit.Types.ListBranchesOutput) => void): Request<CodeCommit.Types.ListBranchesOutput, AWSError>;
     86   /**
     87    * Gets information about one or more repositories.
     88    */
     89   listRepositories(params: CodeCommit.Types.ListRepositoriesInput, callback?: (err: AWSError, data: CodeCommit.Types.ListRepositoriesOutput) => void): Request<CodeCommit.Types.ListRepositoriesOutput, AWSError>;
     90   /**
     91    * Gets information about one or more repositories.
     92    */
     93   listRepositories(callback?: (err: AWSError, data: CodeCommit.Types.ListRepositoriesOutput) => void): Request<CodeCommit.Types.ListRepositoriesOutput, AWSError>;
     94   /**
     95    * Replaces all triggers for a repository. This can be used to create or delete triggers.
     96    */
     97   putRepositoryTriggers(params: CodeCommit.Types.PutRepositoryTriggersInput, callback?: (err: AWSError, data: CodeCommit.Types.PutRepositoryTriggersOutput) => void): Request<CodeCommit.Types.PutRepositoryTriggersOutput, AWSError>;
     98   /**
     99    * Replaces all triggers for a repository. This can be used to create or delete triggers.
    100    */
    101   putRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.PutRepositoryTriggersOutput) => void): Request<CodeCommit.Types.PutRepositoryTriggersOutput, AWSError>;
    102   /**
    103    * Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.
    104    */
    105   testRepositoryTriggers(params: CodeCommit.Types.TestRepositoryTriggersInput, callback?: (err: AWSError, data: CodeCommit.Types.TestRepositoryTriggersOutput) => void): Request<CodeCommit.Types.TestRepositoryTriggersOutput, AWSError>;
    106   /**
    107    * Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.
    108    */
    109   testRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.TestRepositoryTriggersOutput) => void): Request<CodeCommit.Types.TestRepositoryTriggersOutput, AWSError>;
    110   /**
    111    * Sets or changes the default branch name for the specified repository. If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
    112    */
    113   updateDefaultBranch(params: CodeCommit.Types.UpdateDefaultBranchInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    114   /**
    115    * Sets or changes the default branch name for the specified repository. If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
    116    */
    117   updateDefaultBranch(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    118   /**
    119    * Sets or changes the comment or description for 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.
    120    */
    121   updateRepositoryDescription(params: CodeCommit.Types.UpdateRepositoryDescriptionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    122   /**
    123    * Sets or changes the comment or description for 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.
    124    */
    125   updateRepositoryDescription(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    126   /**
    127    * Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.
    128    */
    129   updateRepositoryName(params: CodeCommit.Types.UpdateRepositoryNameInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    130   /**
    131    * Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.
    132    */
    133   updateRepositoryName(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    134 }
    135 declare namespace CodeCommit.Types {
    136   export type AccountId = string;
    137   export type AdditionalData = string;
    138   export type Arn = string;
    139   export interface BatchGetRepositoriesInput {
    140     /**
    141      * The names of the repositories to get information about.
    142      */
    143     repositoryNames: RepositoryNameList;
    144   }
    145   export interface BatchGetRepositoriesOutput {
    146     /**
    147      * A list of repositories returned by the batch get repositories operation.
    148      */
    149     repositories?: RepositoryMetadataList;
    150     /**
    151      * Returns a list of repository names for which information could not be found.
    152      */
    153     repositoriesNotFound?: RepositoryNotFoundList;
    154   }
    155   export interface BranchInfo {
    156     /**
    157      * The name of the branch.
    158      */
    159     branchName?: BranchName;
    160     /**
    161      * The ID of the last commit made to the branch.
    162      */
    163     commitId?: CommitId;
    164   }
    165   export type BranchName = string;
    166   export type BranchNameList = BranchName[];
    167   export type CloneUrlHttp = string;
    168   export type CloneUrlSsh = string;
    169   export interface Commit {
    170     /**
    171      * Tree information for the specified commit.
    172      */
    173     treeId?: ObjectId;
    174     /**
    175      * The parent list for the specified commit.
    176      */
    177     parents?: ParentList;
    178     /**
    179      * The message associated with the specified commit.
    180      */
    181     message?: Message;
    182     /**
    183      * Information about the author of the specified commit.
    184      */
    185     author?: UserInfo;
    186     /**
    187      * Information about the person who committed the specified commit, also known as the committer. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.
    188      */
    189     committer?: UserInfo;
    190     /**
    191      * Any additional data associated with the specified commit.
    192      */
    193     additionalData?: AdditionalData;
    194   }
    195   export type CommitId = string;
    196   export interface CreateBranchInput {
    197     /**
    198      * The name of the repository in which you want to create the new branch.
    199      */
    200     repositoryName: RepositoryName;
    201     /**
    202      * The name of the new branch to create.
    203      */
    204     branchName: BranchName;
    205     /**
    206      * The ID of the commit to point the new branch to.
    207      */
    208     commitId: CommitId;
    209   }
    210   export interface CreateRepositoryInput {
    211     /**
    212      * The name of the new repository to be created. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.
    213      */
    214     repositoryName: RepositoryName;
    215     /**
    216      * A comment or description about the new 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.
    217      */
    218     repositoryDescription?: RepositoryDescription;
    219   }
    220   export interface CreateRepositoryOutput {
    221     /**
    222      * Information about the newly created repository.
    223      */
    224     repositoryMetadata?: RepositoryMetadata;
    225   }
    226   export type CreationDate = Date;
    227   export type _Date = string;
    228   export interface DeleteRepositoryInput {
    229     /**
    230      * The name of the repository to delete.
    231      */
    232     repositoryName: RepositoryName;
    233   }
    234   export interface DeleteRepositoryOutput {
    235     /**
    236      * The ID of the repository that was deleted.
    237      */
    238     repositoryId?: RepositoryId;
    239   }
    240   export type Email = string;
    241   export interface GetBranchInput {
    242     /**
    243      * The name of the repository that contains the branch for which you want to retrieve information.
    244      */
    245     repositoryName?: RepositoryName;
    246     /**
    247      * The name of the branch for which you want to retrieve information.
    248      */
    249     branchName?: BranchName;
    250   }
    251   export interface GetBranchOutput {
    252     /**
    253      * The name of the branch.
    254      */
    255     branch?: BranchInfo;
    256   }
    257   export interface GetCommitInput {
    258     /**
    259      * The name of the repository to which the commit was made.
    260      */
    261     repositoryName: RepositoryName;
    262     /**
    263      * The commit ID.
    264      */
    265     commitId: ObjectId;
    266   }
    267   export interface GetCommitOutput {
    268     /**
    269      * Information about the specified commit.
    270      */
    271     commit: Commit;
    272   }
    273   export interface GetRepositoryInput {
    274     /**
    275      * The name of the repository to get information about.
    276      */
    277     repositoryName: RepositoryName;
    278   }
    279   export interface GetRepositoryOutput {
    280     /**
    281      * Information about the repository.
    282      */
    283     repositoryMetadata?: RepositoryMetadata;
    284   }
    285   export interface GetRepositoryTriggersInput {
    286     /**
    287      * The name of the repository for which the trigger is configured.
    288      */
    289     repositoryName?: RepositoryName;
    290   }
    291   export interface GetRepositoryTriggersOutput {
    292     /**
    293      * The system-generated unique ID for the trigger.
    294      */
    295     configurationId?: RepositoryTriggersConfigurationId;
    296     /**
    297      * The JSON block of configuration information for each trigger.
    298      */
    299     triggers?: RepositoryTriggersList;
    300   }
    301   export type LastModifiedDate = Date;
    302   export interface ListBranchesInput {
    303     /**
    304      * The name of the repository that contains the branches.
    305      */
    306     repositoryName: RepositoryName;
    307     /**
    308      * An enumeration token that allows the operation to batch the results. 
    309      */
    310     nextToken?: NextToken;
    311   }
    312   export interface ListBranchesOutput {
    313     /**
    314      * The list of branch names.
    315      */
    316     branches?: BranchNameList;
    317     /**
    318      * An enumeration token that returns the batch of the results. 
    319      */
    320     nextToken?: NextToken;
    321   }
    322   export interface ListRepositoriesInput {
    323     /**
    324      * An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.
    325      */
    326     nextToken?: NextToken;
    327     /**
    328      * The criteria used to sort the results of a list repositories operation.
    329      */
    330     sortBy?: SortByEnum;
    331     /**
    332      * The order in which to sort the results of a list repositories operation.
    333      */
    334     order?: OrderEnum;
    335   }
    336   export interface ListRepositoriesOutput {
    337     /**
    338      * Lists the repositories called by the list repositories operation.
    339      */
    340     repositories?: RepositoryNameIdPairList;
    341     /**
    342      * An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.
    343      */
    344     nextToken?: NextToken;
    345   }
    346   export type Message = string;
    347   export type Name = string;
    348   export type NextToken = string;
    349   export type ObjectId = string;
    350   export type OrderEnum = "ascending"|"descending"|string;
    351   export type ParentList = ObjectId[];
    352   export interface PutRepositoryTriggersInput {
    353     /**
    354      * The name of the repository where you want to create or update the trigger. 
    355      */
    356     repositoryName?: RepositoryName;
    357     /**
    358      * The JSON block of configuration information for each trigger. 
    359      */
    360     triggers?: RepositoryTriggersList;
    361   }
    362   export interface PutRepositoryTriggersOutput {
    363     /**
    364      * The system-generated unique ID for the create or update operation. 
    365      */
    366     configurationId?: RepositoryTriggersConfigurationId;
    367   }
    368   export type RepositoryDescription = string;
    369   export type RepositoryId = string;
    370   export interface RepositoryMetadata {
    371     /**
    372      * The ID of the AWS account associated with the repository.
    373      */
    374     accountId?: AccountId;
    375     /**
    376      * The ID of the repository.
    377      */
    378     repositoryId?: RepositoryId;
    379     /**
    380      * The repository's name.
    381      */
    382     repositoryName?: RepositoryName;
    383     /**
    384      * A comment or description about the repository.
    385      */
    386     repositoryDescription?: RepositoryDescription;
    387     /**
    388      * The repository's default branch name.
    389      */
    390     defaultBranch?: BranchName;
    391     /**
    392      * The date and time the repository was last modified, in timestamp format.
    393      */
    394     lastModifiedDate?: LastModifiedDate;
    395     /**
    396      * The date and time the repository was created, in timestamp format.
    397      */
    398     creationDate?: CreationDate;
    399     /**
    400      * The URL to use for cloning the repository over HTTPS.
    401      */
    402     cloneUrlHttp?: CloneUrlHttp;
    403     /**
    404      * The URL to use for cloning the repository over SSH.
    405      */
    406     cloneUrlSsh?: CloneUrlSsh;
    407     /**
    408      * The Amazon Resource Name (ARN) of the repository.
    409      */
    410     Arn?: Arn;
    411   }
    412   export type RepositoryMetadataList = RepositoryMetadata[];
    413   export type RepositoryName = string;
    414   export interface RepositoryNameIdPair {
    415     /**
    416      * The name associated with the repository.
    417      */
    418     repositoryName?: RepositoryName;
    419     /**
    420      * The ID associated with the repository.
    421      */
    422     repositoryId?: RepositoryId;
    423   }
    424   export type RepositoryNameIdPairList = RepositoryNameIdPair[];
    425   export type RepositoryNameList = RepositoryName[];
    426   export type RepositoryNotFoundList = RepositoryName[];
    427   export interface RepositoryTrigger {
    428     /**
    429      * The name of the trigger.
    430      */
    431     name?: RepositoryTriggerName;
    432     /**
    433      * The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
    434      */
    435     destinationArn?: Arn;
    436     /**
    437      * Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
    438      */
    439     customData?: RepositoryTriggerCustomData;
    440     /**
    441      * The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
    442      */
    443     branches?: BranchNameList;
    444     /**
    445      * The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events.
    446      */
    447     events?: RepositoryTriggerEventList;
    448   }
    449   export type RepositoryTriggerCustomData = string;
    450   export type RepositoryTriggerEventEnum = "all"|"updateReference"|"createReference"|"deleteReference"|string;
    451   export type RepositoryTriggerEventList = RepositoryTriggerEventEnum[];
    452   export interface RepositoryTriggerExecutionFailure {
    453     /**
    454      * The name of the trigger that did not run.
    455      */
    456     trigger?: RepositoryTriggerName;
    457     /**
    458      * Additional message information about the trigger that did not run.
    459      */
    460     failureMessage?: RepositoryTriggerExecutionFailureMessage;
    461   }
    462   export type RepositoryTriggerExecutionFailureList = RepositoryTriggerExecutionFailure[];
    463   export type RepositoryTriggerExecutionFailureMessage = string;
    464   export type RepositoryTriggerName = string;
    465   export type RepositoryTriggerNameList = RepositoryTriggerName[];
    466   export type RepositoryTriggersConfigurationId = string;
    467   export type RepositoryTriggersList = RepositoryTrigger[];
    468   export type SortByEnum = "repositoryName"|"lastModifiedDate"|string;
    469   export interface TestRepositoryTriggersInput {
    470     /**
    471      * The name of the repository in which to test the triggers.
    472      */
    473     repositoryName?: RepositoryName;
    474     /**
    475      * The list of triggers to test.
    476      */
    477     triggers?: RepositoryTriggersList;
    478   }
    479   export interface TestRepositoryTriggersOutput {
    480     /**
    481      * The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
    482      */
    483     successfulExecutions?: RepositoryTriggerNameList;
    484     /**
    485      * The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.
    486      */
    487     failedExecutions?: RepositoryTriggerExecutionFailureList;
    488   }
    489   export interface UpdateDefaultBranchInput {
    490     /**
    491      * The name of the repository to set or change the default branch for.
    492      */
    493     repositoryName: RepositoryName;
    494     /**
    495      * The name of the branch to set as the default.
    496      */
    497     defaultBranchName: BranchName;
    498   }
    499   export interface UpdateRepositoryDescriptionInput {
    500     /**
    501      * The name of the repository to set or change the comment or description for.
    502      */
    503     repositoryName: RepositoryName;
    504     /**
    505      * The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
    506      */
    507     repositoryDescription?: RepositoryDescription;
    508   }
    509   export interface UpdateRepositoryNameInput {
    510     /**
    511      * The existing name of the repository.
    512      */
    513     oldName: RepositoryName;
    514     /**
    515      * The new name for the repository.
    516      */
    517     newName: RepositoryName;
    518   }
    519   export interface UserInfo {
    520     /**
    521      * The name of the user who made the specified commit.
    522      */
    523     name?: Name;
    524     /**
    525      * The email address associated with the user who made the commit, if any.
    526      */
    527     email?: Email;
    528     /**
    529      * The date when the specified commit was pushed to the repository.
    530      */
    531     date?: _Date;
    532   }
    533   /**
    534    * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
    535    */
    536   export type apiVersion = "2015-04-13"|"latest"|string;
    537   export interface ClientApiVersions {
    538     /**
    539      * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
    540      */
    541     apiVersion?: apiVersion;
    542   }
    543   export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
    544 }
    545 export = CodeCommit;