aws-sdk 2.1439.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
  }
@@ -188,11 +188,11 @@ declare class SecurityHub extends Service {
188
188
  */
189
189
  deleteInvitations(callback?: (err: AWSError, data: SecurityHub.Types.DeleteInvitationsResponse) => void): Request<SecurityHub.Types.DeleteInvitationsResponse, AWSError>;
190
190
  /**
191
- * Deletes the specified member accounts from Security Hub. Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.
191
+ * Deletes the specified member accounts from Security Hub. You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.
192
192
  */
193
193
  deleteMembers(params: SecurityHub.Types.DeleteMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.DeleteMembersResponse) => void): Request<SecurityHub.Types.DeleteMembersResponse, AWSError>;
194
194
  /**
195
- * Deletes the specified member accounts from Security Hub. Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.
195
+ * Deletes the specified member accounts from Security Hub. You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.
196
196
  */
197
197
  deleteMembers(callback?: (err: AWSError, data: SecurityHub.Types.DeleteMembersResponse) => void): Request<SecurityHub.Types.DeleteMembersResponse, AWSError>;
198
198
  /**
@@ -260,11 +260,11 @@ declare class SecurityHub extends Service {
260
260
  */
261
261
  disableOrganizationAdminAccount(callback?: (err: AWSError, data: SecurityHub.Types.DisableOrganizationAdminAccountResponse) => void): Request<SecurityHub.Types.DisableOrganizationAdminAccountResponse, AWSError>;
262
262
  /**
263
- * Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated member accounts. When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.
263
+ * Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. You can't disable Security Hub in an account that is currently the Security Hub administrator. When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.
264
264
  */
265
265
  disableSecurityHub(params: SecurityHub.Types.DisableSecurityHubRequest, callback?: (err: AWSError, data: SecurityHub.Types.DisableSecurityHubResponse) => void): Request<SecurityHub.Types.DisableSecurityHubResponse, AWSError>;
266
266
  /**
267
- * Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated member accounts. When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.
267
+ * Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. You can't disable Security Hub in an account that is currently the Security Hub administrator. When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.
268
268
  */
269
269
  disableSecurityHub(callback?: (err: AWSError, data: SecurityHub.Types.DisableSecurityHubResponse) => void): Request<SecurityHub.Types.DisableSecurityHubResponse, AWSError>;
270
270
  /**
@@ -9969,6 +9969,10 @@ declare namespace SecurityHub {
9969
9969
  * Indicates whether the finding is a sample finding.
9970
9970
  */
9971
9971
  Sample?: Boolean;
9972
+ /**
9973
+ * Provides metadata for the Amazon CodeGuru detector associated with a finding. This field pertains to findings that relate to Lambda functions. Amazon Inspector identifies policy violations and vulnerabilities in Lambda function code based on internal detectors developed in collaboration with Amazon CodeGuru. Security Hub receives those findings.
9974
+ */
9975
+ GeneratorDetails?: GeneratorDetails;
9972
9976
  }
9973
9977
  export interface AwsSecurityFindingFilters {
9974
9978
  /**
@@ -11444,6 +11448,24 @@ declare namespace SecurityHub {
11444
11448
  */
11445
11449
  Reason?: NonEmptyString;
11446
11450
  }
11451
+ export interface CodeVulnerabilitiesFilePath {
11452
+ /**
11453
+ * The line number of the last line of code in which the vulnerability is located.
11454
+ */
11455
+ EndLine?: Integer;
11456
+ /**
11457
+ * The name of the file in which the code vulnerability is located.
11458
+ */
11459
+ FileName?: NonEmptyString;
11460
+ /**
11461
+ * The file path to the code in which the vulnerability is located.
11462
+ */
11463
+ FilePath?: NonEmptyString;
11464
+ /**
11465
+ * The line number of the first line of code in which the vulnerability is located.
11466
+ */
11467
+ StartLine?: Integer;
11468
+ }
11447
11469
  export interface Compliance {
11448
11470
  /**
11449
11471
  * The result of a standards check. The valid values for Status are as follows. PASSED - Standards check passed for all evaluated resources. WARNING - Some information is missing or this check is not supported for your configuration. FAILED - Standards check failed for at least one evaluated resource. NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
@@ -12165,6 +12187,20 @@ declare namespace SecurityHub {
12165
12187
  ResourceArn?: NonEmptyString;
12166
12188
  }
12167
12189
  export type FirewallPolicyStatelessRuleGroupReferencesList = FirewallPolicyStatelessRuleGroupReferencesDetails[];
12190
+ export interface GeneratorDetails {
12191
+ /**
12192
+ * The name of the detector used to identify the code vulnerability.
12193
+ */
12194
+ Name?: NonEmptyString;
12195
+ /**
12196
+ * The description of the detector used to identify the code vulnerability.
12197
+ */
12198
+ Description?: NonEmptyString;
12199
+ /**
12200
+ * An array of tags used to identify the detector associated with the finding.
12201
+ */
12202
+ Labels?: TypeList;
12203
+ }
12168
12204
  export interface GeoLocation {
12169
12205
  /**
12170
12206
  * The longitude of the location.
@@ -14715,7 +14751,35 @@ declare namespace SecurityHub {
14715
14751
  * Specifies if all vulnerable packages in a finding have a value for FixedInVersion and Remediation. This field is evaluated for each vulnerability Id based on the number of vulnerable packages that have a value for both FixedInVersion and Remediation. Valid values are as follows: YES if all vulnerable packages have a value for both FixedInVersion and Remediation NO if no vulnerable packages have a value for FixedInVersion and Remediation PARTIAL otherwise
14716
14752
  */
14717
14753
  FixAvailable?: VulnerabilityFixAvailable;
14754
+ /**
14755
+ * The Exploit Prediction Scoring System (EPSS) score for a finding.
14756
+ */
14757
+ EpssScore?: Double;
14758
+ /**
14759
+ * Whether an exploit is available for a finding.
14760
+ */
14761
+ ExploitAvailable?: VulnerabilityExploitAvailable;
14762
+ /**
14763
+ * The vulnerabilities found in your Lambda function code. This field pertains to findings that Security Hub receives from Amazon Inspector.
14764
+ */
14765
+ CodeVulnerabilities?: VulnerabilityCodeVulnerabilitiesList;
14766
+ }
14767
+ export interface VulnerabilityCodeVulnerabilities {
14768
+ /**
14769
+ * The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
14770
+ */
14771
+ Cwes?: TypeList;
14772
+ /**
14773
+ * Provides details about where a code vulnerability is located in your Lambda function.
14774
+ */
14775
+ FilePath?: CodeVulnerabilitiesFilePath;
14776
+ /**
14777
+ * The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
14778
+ */
14779
+ SourceArn?: NonEmptyString;
14718
14780
  }
14781
+ export type VulnerabilityCodeVulnerabilitiesList = VulnerabilityCodeVulnerabilities[];
14782
+ export type VulnerabilityExploitAvailable = "YES"|"NO"|string;
14719
14783
  export type VulnerabilityFixAvailable = "YES"|"NO"|"PARTIAL"|string;
14720
14784
  export type VulnerabilityList = Vulnerability[];
14721
14785
  export interface VulnerabilityVendor {
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1439.0',
86
+ VERSION: '2.1440.0',
87
87
 
88
88
  /**
89
89
  * @api private