aws-sdk 2.1438.0 → 2.1440.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,11 +60,11 @@ declare class CodeCommit extends Service {
60
60
  */
61
61
  batchGetRepositories(callback?: (err: AWSError, data: CodeCommit.Types.BatchGetRepositoriesOutput) => void): Request<CodeCommit.Types.BatchGetRepositoriesOutput, AWSError>;
62
62
  /**
63
- * Creates a template for approval rules that can then be associated with one or more repositories in your AWS account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
63
+ * Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
64
64
  */
65
65
  createApprovalRuleTemplate(params: CodeCommit.Types.CreateApprovalRuleTemplateInput, callback?: (err: AWSError, data: CodeCommit.Types.CreateApprovalRuleTemplateOutput) => void): Request<CodeCommit.Types.CreateApprovalRuleTemplateOutput, AWSError>;
66
66
  /**
67
- * Creates a template for approval rules that can then be associated with one or more repositories in your AWS account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
67
+ * Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
68
68
  */
69
69
  createApprovalRuleTemplate(callback?: (err: AWSError, data: CodeCommit.Types.CreateApprovalRuleTemplateOutput) => void): Request<CodeCommit.Types.CreateApprovalRuleTemplateOutput, AWSError>;
70
70
  /**
@@ -348,11 +348,11 @@ declare class CodeCommit extends Service {
348
348
  */
349
349
  getRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.GetRepositoryTriggersOutput) => void): Request<CodeCommit.Types.GetRepositoryTriggersOutput, AWSError>;
350
350
  /**
351
- * Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.
351
+ * Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.
352
352
  */
353
353
  listApprovalRuleTemplates(params: CodeCommit.Types.ListApprovalRuleTemplatesInput, callback?: (err: AWSError, data: CodeCommit.Types.ListApprovalRuleTemplatesOutput) => void): Request<CodeCommit.Types.ListApprovalRuleTemplatesOutput, AWSError>;
354
354
  /**
355
- * Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not specified, the AWS Region where you are signed in is used.
355
+ * Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.
356
356
  */
357
357
  listApprovalRuleTemplates(callback?: (err: AWSError, data: CodeCommit.Types.ListApprovalRuleTemplatesOutput) => void): Request<CodeCommit.Types.ListApprovalRuleTemplatesOutput, AWSError>;
358
358
  /**
@@ -371,6 +371,14 @@ declare class CodeCommit extends Service {
371
371
  * Gets information about one or more branches in a repository.
372
372
  */
373
373
  listBranches(callback?: (err: AWSError, data: CodeCommit.Types.ListBranchesOutput) => void): Request<CodeCommit.Types.ListBranchesOutput, AWSError>;
374
+ /**
375
+ * Retrieves a list of commits and changes to a specified file.
376
+ */
377
+ listFileCommitHistory(params: CodeCommit.Types.ListFileCommitHistoryRequest, callback?: (err: AWSError, data: CodeCommit.Types.ListFileCommitHistoryResponse) => void): Request<CodeCommit.Types.ListFileCommitHistoryResponse, AWSError>;
378
+ /**
379
+ * Retrieves a list of commits and changes to a specified file.
380
+ */
381
+ listFileCommitHistory(callback?: (err: AWSError, data: CodeCommit.Types.ListFileCommitHistoryResponse) => void): Request<CodeCommit.Types.ListFileCommitHistoryResponse, AWSError>;
374
382
  /**
375
383
  * Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
376
384
  */
@@ -396,11 +404,11 @@ declare class CodeCommit extends Service {
396
404
  */
397
405
  listRepositoriesForApprovalRuleTemplate(callback?: (err: AWSError, data: CodeCommit.Types.ListRepositoriesForApprovalRuleTemplateOutput) => void): Request<CodeCommit.Types.ListRepositoriesForApprovalRuleTemplateOutput, AWSError>;
398
406
  /**
399
- * Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
407
+ * Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
400
408
  */
401
409
  listTagsForResource(params: CodeCommit.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: CodeCommit.Types.ListTagsForResourceOutput) => void): Request<CodeCommit.Types.ListTagsForResourceOutput, AWSError>;
402
410
  /**
403
- * Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
411
+ * Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
404
412
  */
405
413
  listTagsForResource(callback?: (err: AWSError, data: CodeCommit.Types.ListTagsForResourceOutput) => void): Request<CodeCommit.Types.ListTagsForResourceOutput, AWSError>;
406
414
  /**
@@ -492,11 +500,11 @@ declare class CodeCommit extends Service {
492
500
  */
493
501
  putCommentReaction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
494
502
  /**
495
- * Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.
503
+ * Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.
496
504
  */
497
505
  putFile(params: CodeCommit.Types.PutFileInput, callback?: (err: AWSError, data: CodeCommit.Types.PutFileOutput) => void): Request<CodeCommit.Types.PutFileOutput, AWSError>;
498
506
  /**
499
- * Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.
507
+ * Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.
500
508
  */
501
509
  putFile(callback?: (err: AWSError, data: CodeCommit.Types.PutFileOutput) => void): Request<CodeCommit.Types.PutFileOutput, AWSError>;
502
510
  /**
@@ -508,11 +516,11 @@ declare class CodeCommit extends Service {
508
516
  */
509
517
  putRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.PutRepositoryTriggersOutput) => void): Request<CodeCommit.Types.PutRepositoryTriggersOutput, AWSError>;
510
518
  /**
511
- * Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
519
+ * Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
512
520
  */
513
521
  tagResource(params: CodeCommit.Types.TagResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
514
522
  /**
515
- * Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
523
+ * Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
516
524
  */
517
525
  tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
518
526
  /**
@@ -524,11 +532,11 @@ declare class CodeCommit extends Service {
524
532
  */
525
533
  testRepositoryTriggers(callback?: (err: AWSError, data: CodeCommit.Types.TestRepositoryTriggersOutput) => void): Request<CodeCommit.Types.TestRepositoryTriggersOutput, AWSError>;
526
534
  /**
527
- * Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
535
+ * Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
528
536
  */
529
537
  untagResource(params: CodeCommit.Types.UntagResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
530
538
  /**
531
- * Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.
539
+ * Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
532
540
  */
533
541
  untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
534
542
  /**
@@ -620,11 +628,11 @@ declare class CodeCommit extends Service {
620
628
  */
621
629
  updateRepositoryDescription(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
622
630
  /**
623
- * Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide.
631
+ * Renames a repository. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide.
624
632
  */
625
633
  updateRepositoryName(params: CodeCommit.Types.UpdateRepositoryNameInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
626
634
  /**
627
- * Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide.
635
+ * Renames a repository. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide.
628
636
  */
629
637
  updateRepositoryName(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
630
638
  }
@@ -1226,7 +1234,7 @@ declare namespace CodeCommit {
1226
1234
  */
1227
1235
  approvalRuleTemplateName: ApprovalRuleTemplateName;
1228
1236
  /**
1229
- * The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template. When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
1237
+ * The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template. When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an Amazon Web Services account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the Amazon Web Services account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
1230
1238
  */
1231
1239
  approvalRuleTemplateContent: ApprovalRuleTemplateContent;
1232
1240
  /**
@@ -1328,7 +1336,7 @@ declare namespace CodeCommit {
1328
1336
  */
1329
1337
  approvalRuleName: ApprovalRuleName;
1330
1338
  /**
1331
- * The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the AWS CodeCommit User Guide. When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account 123456789012 and Mary_Major, all of the following would be counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
1339
+ * The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the CodeCommit User Guide. When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an Amazon Web Services account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the Amazon Web Services account 123456789012 and Mary_Major, all of the following would be counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
1332
1340
  */
1333
1341
  approvalRuleContent: ApprovalRuleContent;
1334
1342
  }
@@ -1352,7 +1360,7 @@ declare namespace CodeCommit {
1352
1360
  */
1353
1361
  targets: TargetList;
1354
1362
  /**
1355
- * A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token. The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.
1363
+ * A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token. The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.
1356
1364
  */
1357
1365
  clientRequestToken?: ClientRequestToken;
1358
1366
  }
@@ -1364,7 +1372,7 @@ declare namespace CodeCommit {
1364
1372
  }
1365
1373
  export interface CreateRepositoryInput {
1366
1374
  /**
1367
- * The name of the new repository to be created. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix .git is prohibited.
1375
+ * The name of the new repository to be created. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide. The suffix .git is prohibited.
1368
1376
  */
1369
1377
  repositoryName: RepositoryName;
1370
1378
  /**
@@ -1793,6 +1801,21 @@ declare namespace CodeCommit {
1793
1801
  */
1794
1802
  base?: FileSize;
1795
1803
  }
1804
+ export interface FileVersion {
1805
+ commit?: Commit;
1806
+ /**
1807
+ * The blob ID of the object that represents the content of the file in this version.
1808
+ */
1809
+ blobId?: ObjectId;
1810
+ /**
1811
+ * The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.
1812
+ */
1813
+ path?: Path;
1814
+ /**
1815
+ * An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
1816
+ */
1817
+ revisionChildren?: RevisionChildren;
1818
+ }
1796
1819
  export type FilesMetadata = FileMetadata[];
1797
1820
  export interface Folder {
1798
1821
  /**
@@ -1931,15 +1954,15 @@ declare namespace CodeCommit {
1931
1954
  */
1932
1955
  pullRequestId: PullRequestId;
1933
1956
  /**
1934
- * The name of the repository that contains the pull request.
1957
+ * The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included.
1935
1958
  */
1936
1959
  repositoryName?: RepositoryName;
1937
1960
  /**
1938
- * The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.
1961
+ * The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when repositoryName is included.
1939
1962
  */
1940
1963
  beforeCommitId?: CommitId;
1941
1964
  /**
1942
- * The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.
1965
+ * The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName is included.
1943
1966
  */
1944
1967
  afterCommitId?: CommitId;
1945
1968
  /**
@@ -2023,7 +2046,7 @@ declare namespace CodeCommit {
2023
2046
  */
2024
2047
  repositoryName: RepositoryName;
2025
2048
  /**
2026
- * 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/master. If none is provided, the head commit is used.
2049
+ * 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.
2027
2050
  */
2028
2051
  commitSpecifier?: CommitName;
2029
2052
  /**
@@ -2356,7 +2379,7 @@ declare namespace CodeCommit {
2356
2379
  }
2357
2380
  export interface ListApprovalRuleTemplatesOutput {
2358
2381
  /**
2359
- * The names of all the approval rule templates found in the AWS Region for your AWS account.
2382
+ * The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account.
2360
2383
  */
2361
2384
  approvalRuleTemplateNames?: ApprovalRuleTemplateNameList;
2362
2385
  /**
@@ -2408,6 +2431,38 @@ declare namespace CodeCommit {
2408
2431
  */
2409
2432
  nextToken?: NextToken;
2410
2433
  }
2434
+ export interface ListFileCommitHistoryRequest {
2435
+ /**
2436
+ * The name of the repository that contains the file.
2437
+ */
2438
+ repositoryName: RepositoryName;
2439
+ /**
2440
+ * 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.
2441
+ */
2442
+ commitSpecifier?: CommitName;
2443
+ /**
2444
+ * The full path of the file whose history you want to retrieve, including the name of the file.
2445
+ */
2446
+ filePath: Path;
2447
+ /**
2448
+ * A non-zero, non-negative integer used to limit the number of returned results.
2449
+ */
2450
+ maxResults?: Limit;
2451
+ /**
2452
+ * An enumeration token that allows the operation to batch the results.
2453
+ */
2454
+ nextToken?: NextToken;
2455
+ }
2456
+ export interface ListFileCommitHistoryResponse {
2457
+ /**
2458
+ * An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.
2459
+ */
2460
+ revisionDag: RevisionDag;
2461
+ /**
2462
+ * An enumeration token that can be used to return the next batch of results.
2463
+ */
2464
+ nextToken?: NextToken;
2465
+ }
2411
2466
  export interface ListPullRequestsInput {
2412
2467
  /**
2413
2468
  * The name of the repository for which you want to list pull requests.
@@ -2466,7 +2521,7 @@ declare namespace CodeCommit {
2466
2521
  }
2467
2522
  export interface ListRepositoriesInput {
2468
2523
  /**
2469
- * 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.
2524
+ * 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 CodeCommit, another page of 1,000 records is retrieved.
2470
2525
  */
2471
2526
  nextToken?: NextToken;
2472
2527
  /**
@@ -2484,7 +2539,7 @@ declare namespace CodeCommit {
2484
2539
  */
2485
2540
  repositories?: RepositoryNameIdPairList;
2486
2541
  /**
2487
- * 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.
2542
+ * 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 CodeCommit, another page of 1,000 records is retrieved.
2488
2543
  */
2489
2544
  nextToken?: NextToken;
2490
2545
  }
@@ -3218,7 +3273,7 @@ declare namespace CodeCommit {
3218
3273
  */
3219
3274
  commentId: CommentId;
3220
3275
  /**
3221
- * The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in AWS CodeCommit, see the AWS CodeCommit User Guide.
3276
+ * The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none. For information about emoji reaction values supported in CodeCommit, see the CodeCommit User Guide.
3222
3277
  */
3223
3278
  reactionValue: ReactionValue;
3224
3279
  }
@@ -3370,7 +3425,7 @@ declare namespace CodeCommit {
3370
3425
  export type RepositoryId = string;
3371
3426
  export interface RepositoryMetadata {
3372
3427
  /**
3373
- * The ID of the AWS account associated with the repository.
3428
+ * The ID of the Amazon Web Services account associated with the repository.
3374
3429
  */
3375
3430
  accountId?: AccountId;
3376
3431
  /**
@@ -3467,6 +3522,8 @@ declare namespace CodeCommit {
3467
3522
  export type RepositoryTriggersConfigurationId = string;
3468
3523
  export type RepositoryTriggersList = RepositoryTrigger[];
3469
3524
  export type ResourceArn = string;
3525
+ export type RevisionChildren = RevisionId[];
3526
+ export type RevisionDag = FileVersion[];
3470
3527
  export type RevisionId = string;
3471
3528
  export type RuleContentSha256 = string;
3472
3529
  export type SetFileModeEntries = SetFileModeEntry[];
@@ -3652,11 +3709,11 @@ declare namespace CodeCommit {
3652
3709
  }
3653
3710
  export interface UpdateDefaultBranchInput {
3654
3711
  /**
3655
- * The name of the repository to set or change the default branch for.
3712
+ * The name of the repository for which you want to set or change the default branch.
3656
3713
  */
3657
3714
  repositoryName: RepositoryName;
3658
3715
  /**
3659
- * The name of the branch to set as the default.
3716
+ * The name of the branch to set as the default branch.
3660
3717
  */
3661
3718
  defaultBranchName: BranchName;
3662
3719
  }
@@ -3674,7 +3731,7 @@ declare namespace CodeCommit {
3674
3731
  */
3675
3732
  existingRuleContentSha256?: RuleContentSha256;
3676
3733
  /**
3677
- * The updated content for the approval rule. When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an AWS account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the AWS account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
3734
+ * The updated content for the approval rule. When you update the content of the approval rule, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an Amazon Web Services account and a resource. It can be used for both IAM users and federated access users whose name matches the provided resource name. This is a very powerful option that offers a great deal of flexibility. For example, if you specify the Amazon Web Services account 123456789012 and Mary_Major, all of the following are counted as approvals coming from that user: An IAM user in the account (arn:aws:iam::123456789012:user/Mary_Major) A federated user identified in IAM as Mary_Major (arn:aws:sts::123456789012:federated-user/Mary_Major) This option does not recognize an active session of someone assuming the role of CodeCommitReview with a role session name of Mary_Major (arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major) unless you include a wildcard (*Mary_Major). Fully qualified ARN: This option allows you to specify the fully qualified Amazon Resource Name (ARN) of the IAM user or role. For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide.
3678
3735
  */
3679
3736
  newRuleContent: ApprovalRuleContent;
3680
3737
  }
package/clients/ec2.d.ts CHANGED
@@ -11245,11 +11245,11 @@ declare namespace EC2 {
11245
11245
  */
11246
11246
  RouteTableIds?: VpcEndpointRouteTableIdList;
11247
11247
  /**
11248
- * (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create an endpoint network interface. For a Gateway Load Balancer endpoint, you can specify only one subnet.
11248
+ * (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.
11249
11249
  */
11250
11250
  SubnetIds?: VpcEndpointSubnetIdList;
11251
11251
  /**
11252
- * (Interface endpoint) The IDs of the security groups to associate with the endpoint network interface. If this parameter is not specified, we use the default security group for the VPC.
11252
+ * (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC.
11253
11253
  */
11254
11254
  SecurityGroupIds?: VpcEndpointSecurityGroupIdList;
11255
11255
  /**
@@ -11272,6 +11272,10 @@ declare namespace EC2 {
11272
11272
  * The tags to associate with the endpoint.
11273
11273
  */
11274
11274
  TagSpecifications?: TagSpecificationList;
11275
+ /**
11276
+ * The subnet configurations for the endpoint.
11277
+ */
11278
+ SubnetConfigurations?: SubnetConfigurationsList;
11275
11279
  }
11276
11280
  export interface CreateVpcEndpointResult {
11277
11281
  /**
@@ -28414,11 +28418,11 @@ declare namespace EC2 {
28414
28418
  */
28415
28419
  RemoveSubnetIds?: VpcEndpointSubnetIdList;
28416
28420
  /**
28417
- * (Interface endpoint) The IDs of the security groups to associate with the network interface.
28421
+ * (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
28418
28422
  */
28419
28423
  AddSecurityGroupIds?: VpcEndpointSecurityGroupIdList;
28420
28424
  /**
28421
- * (Interface endpoint) The IDs of the security groups to disassociate from the network interface.
28425
+ * (Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
28422
28426
  */
28423
28427
  RemoveSecurityGroupIds?: VpcEndpointSecurityGroupIdList;
28424
28428
  /**
@@ -28433,6 +28437,10 @@ declare namespace EC2 {
28433
28437
  * (Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
28434
28438
  */
28435
28439
  PrivateDnsEnabled?: Boolean;
28440
+ /**
28441
+ * The subnet configurations for the endpoint.
28442
+ */
28443
+ SubnetConfigurations?: SubnetConfigurationsList;
28436
28444
  }
28437
28445
  export interface ModifyVpcEndpointResult {
28438
28446
  /**
@@ -35106,6 +35114,21 @@ declare namespace EC2 {
35106
35114
  export type SubnetCidrReservationId = string;
35107
35115
  export type SubnetCidrReservationList = SubnetCidrReservation[];
35108
35116
  export type SubnetCidrReservationType = "prefix"|"explicit"|string;
35117
+ export interface SubnetConfiguration {
35118
+ /**
35119
+ * The ID of the subnet.
35120
+ */
35121
+ SubnetId?: SubnetId;
35122
+ /**
35123
+ * The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4. If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
35124
+ */
35125
+ Ipv4?: String;
35126
+ /**
35127
+ * The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6. If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
35128
+ */
35129
+ Ipv6?: String;
35130
+ }
35131
+ export type SubnetConfigurationsList = SubnetConfiguration[];
35109
35132
  export type SubnetId = string;
35110
35133
  export type SubnetIdStringList = SubnetId[];
35111
35134
  export interface SubnetIpv6CidrBlockAssociation {