aws-sdk 2.1439.0 → 2.1441.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
@@ -1247,11 +1247,11 @@ declare class EC2 extends Service {
1247
1247
  /**
1248
1248
  * Deletes the specified key pair, by removing the public key from Amazon EC2.
1249
1249
  */
1250
- deleteKeyPair(params: EC2.Types.DeleteKeyPairRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1250
+ deleteKeyPair(params: EC2.Types.DeleteKeyPairRequest, callback?: (err: AWSError, data: EC2.Types.DeleteKeyPairResult) => void): Request<EC2.Types.DeleteKeyPairResult, AWSError>;
1251
1251
  /**
1252
1252
  * Deletes the specified key pair, by removing the public key from Amazon EC2.
1253
1253
  */
1254
- deleteKeyPair(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1254
+ deleteKeyPair(callback?: (err: AWSError, data: EC2.Types.DeleteKeyPairResult) => void): Request<EC2.Types.DeleteKeyPairResult, AWSError>;
1255
1255
  /**
1256
1256
  * Deletes a launch template. Deleting a launch template deletes all of its versions.
1257
1257
  */
@@ -11963,6 +11963,16 @@ declare namespace EC2 {
11963
11963
  */
11964
11964
  DryRun?: Boolean;
11965
11965
  }
11966
+ export interface DeleteKeyPairResult {
11967
+ /**
11968
+ * Is true if the request succeeds, and an error otherwise.
11969
+ */
11970
+ Return?: Boolean;
11971
+ /**
11972
+ * The ID of the key pair.
11973
+ */
11974
+ KeyPairId?: String;
11975
+ }
11966
11976
  export interface DeleteLaunchTemplateRequest {
11967
11977
  /**
11968
11978
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
@@ -496,7 +496,7 @@ declare namespace Finspace {
496
496
  */
497
497
  clusterDescription?: KxClusterDescription;
498
498
  /**
499
- * A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of instances, number of instances, and the port used while establishing a connection.
499
+ * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
500
500
  */
501
501
  capacityConfiguration: CapacityConfiguration;
502
502
  /**
@@ -578,7 +578,7 @@ declare namespace Finspace {
578
578
  */
579
579
  clusterDescription?: KxClusterDescription;
580
580
  /**
581
- * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances, and the port used while establishing a connection.
581
+ * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
582
582
  */
583
583
  capacityConfiguration?: CapacityConfiguration;
584
584
  /**
@@ -1053,7 +1053,7 @@ declare namespace Finspace {
1053
1053
  */
1054
1054
  clusterDescription?: KxClusterDescription;
1055
1055
  /**
1056
- * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances, and the port used while establishing a connection.
1056
+ * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
1057
1057
  */
1058
1058
  capacityConfiguration?: CapacityConfiguration;
1059
1059
  /**
@@ -1275,6 +1275,17 @@ declare namespace Finspace {
1275
1275
  iamRole?: RoleArn;
1276
1276
  }
1277
1277
  export type IPAddressType = "IP_V4"|string;
1278
+ export interface IcmpTypeCode {
1279
+ /**
1280
+ * The ICMP type. A value of -1 means all types.
1281
+ */
1282
+ type: IcmpTypeOrCode;
1283
+ /**
1284
+ * The ICMP code. A value of -1 means all codes for the specified ICMP type.
1285
+ */
1286
+ code: IcmpTypeOrCode;
1287
+ }
1288
+ export type IcmpTypeOrCode = number;
1278
1289
  export type IdType = string;
1279
1290
  export type InitializationScriptFilePath = string;
1280
1291
  export type KmsKeyARN = string;
@@ -1350,7 +1361,7 @@ declare namespace Finspace {
1350
1361
  */
1351
1362
  executionRole?: ExecutionRoleArn;
1352
1363
  /**
1353
- * The number of availability zones assigned per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
1364
+ * The number of availability zones assigned per cluster. This can be one of the following: SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
1354
1365
  */
1355
1366
  azMode?: KxAzMode;
1356
1367
  /**
@@ -1427,6 +1438,13 @@ declare namespace Finspace {
1427
1438
  lastModifiedTimestamp?: Timestamp;
1428
1439
  }
1429
1440
  export type KxDatabases = KxDatabaseListEntry[];
1441
+ export interface KxDeploymentConfiguration {
1442
+ /**
1443
+ * The type of deployment that you want on a cluster. ROLLING – This options loads the updated database by stopping the exiting q process and starting a new q process with updated configuration. NO_RESTART – This option loads the updated database on the running q process without stopping it. This option is quicker as it reduces the turn around time to update a kdb database changeset configuration on a cluster.
1444
+ */
1445
+ deploymentStrategy: KxDeploymentStrategy;
1446
+ }
1447
+ export type KxDeploymentStrategy = "NO_RESTART"|"ROLLING"|string;
1430
1448
  export interface KxEnvironment {
1431
1449
  /**
1432
1450
  * The name of the kdb environment.
@@ -1521,7 +1539,7 @@ declare namespace Finspace {
1521
1539
  */
1522
1540
  type: KxSavedownStorageType;
1523
1541
  /**
1524
- * The size of temporary storage in bytes.
1542
+ * The size of temporary storage in gibibytes.
1525
1543
  */
1526
1544
  size: KxSavedownStorageSize;
1527
1545
  }
@@ -1738,12 +1756,53 @@ declare namespace Finspace {
1738
1756
  }
1739
1757
  export type MaxResults = number;
1740
1758
  export type NameString = string;
1759
+ export type NetworkACLConfiguration = NetworkACLEntry[];
1760
+ export interface NetworkACLEntry {
1761
+ /**
1762
+ * The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.
1763
+ */
1764
+ ruleNumber: RuleNumber;
1765
+ /**
1766
+ * The protocol number. A value of -1 means all the protocols.
1767
+ */
1768
+ protocol: Protocol;
1769
+ /**
1770
+ * Indicates whether to allow or deny the traffic that matches the rule.
1771
+ */
1772
+ ruleAction: RuleAction;
1773
+ /**
1774
+ * The range of ports the rule applies to.
1775
+ */
1776
+ portRange?: PortRange;
1777
+ /**
1778
+ * Defines the ICMP protocol that consists of the ICMP type and code.
1779
+ */
1780
+ icmpTypeCode?: IcmpTypeCode;
1781
+ /**
1782
+ * The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.
1783
+ */
1784
+ cidrBlock: ValidCIDRBlock;
1785
+ }
1741
1786
  export type NodeCount = number;
1742
1787
  export type NodeType = string;
1743
1788
  export type PaginationToken = string;
1789
+ export type Port = number;
1790
+ export interface PortRange {
1791
+ /**
1792
+ * The first port in the range.
1793
+ */
1794
+ from: Port;
1795
+ /**
1796
+ * The last port in the range.
1797
+ */
1798
+ to: Port;
1799
+ }
1800
+ export type Protocol = string;
1744
1801
  export type ReleaseLabel = string;
1745
1802
  export type ResultLimit = number;
1746
1803
  export type RoleArn = string;
1804
+ export type RuleAction = "allow"|"deny"|string;
1805
+ export type RuleNumber = number;
1747
1806
  export type S3Bucket = string;
1748
1807
  export type S3Key = string;
1749
1808
  export type S3ObjectVersion = string;
@@ -1795,6 +1854,10 @@ declare namespace Finspace {
1795
1854
  * The routing CIDR on behalf of kdb environment. It could be any "/26 range in the 100.64.0.0 CIDR space. After providing, it will be added to the customer's transit gateway routing table so that the traffics could be routed to kdb network.
1796
1855
  */
1797
1856
  routableCIDRSpace: ValidCIDRSpace;
1857
+ /**
1858
+ * The rules that define how you manage the outbound traffic from kdb network to your internal network.
1859
+ */
1860
+ attachmentNetworkAclConfiguration?: NetworkACLConfiguration;
1798
1861
  }
1799
1862
  export type TransitGatewayID = string;
1800
1863
  export interface UntagResourceRequest {
@@ -1851,6 +1914,10 @@ declare namespace Finspace {
1851
1914
  * The structure of databases mounted on the cluster.
1852
1915
  */
1853
1916
  databases: KxDatabaseConfigurations;
1917
+ /**
1918
+ * The configuration that allows you to choose how you want to update the databases on a cluster.
1919
+ */
1920
+ deploymentConfiguration?: KxDeploymentConfiguration;
1854
1921
  }
1855
1922
  export interface UpdateKxClusterDatabasesResponse {
1856
1923
  }
@@ -2088,6 +2155,7 @@ declare namespace Finspace {
2088
2155
  */
2089
2156
  iamRole?: RoleArn;
2090
2157
  }
2158
+ export type ValidCIDRBlock = string;
2091
2159
  export type ValidCIDRSpace = string;
2092
2160
  export type ValidHostname = string;
2093
2161
  export type ValidIPAddress = string;