@aws-sdk/client-codebuild 3.36.0 → 3.39.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.
Files changed (133) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/CodeBuild.js +0 -13
  3. package/dist-cjs/CodeBuildClient.js +0 -18
  4. package/dist-cjs/commands/BatchDeleteBuildsCommand.js +0 -24
  5. package/dist-cjs/commands/BatchGetBuildBatchesCommand.js +0 -24
  6. package/dist-cjs/commands/BatchGetBuildsCommand.js +0 -24
  7. package/dist-cjs/commands/BatchGetProjectsCommand.js +0 -24
  8. package/dist-cjs/commands/BatchGetReportGroupsCommand.js +0 -26
  9. package/dist-cjs/commands/BatchGetReportsCommand.js +0 -26
  10. package/dist-cjs/commands/CreateProjectCommand.js +0 -24
  11. package/dist-cjs/commands/CreateReportGroupCommand.js +0 -26
  12. package/dist-cjs/commands/CreateWebhookCommand.js +0 -34
  13. package/dist-cjs/commands/DeleteBuildBatchCommand.js +0 -24
  14. package/dist-cjs/commands/DeleteProjectCommand.js +0 -25
  15. package/dist-cjs/commands/DeleteReportCommand.js +0 -26
  16. package/dist-cjs/commands/DeleteReportGroupCommand.js +0 -24
  17. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -24
  18. package/dist-cjs/commands/DeleteSourceCredentialsCommand.js +0 -24
  19. package/dist-cjs/commands/DeleteWebhookCommand.js +0 -26
  20. package/dist-cjs/commands/DescribeCodeCoveragesCommand.js +0 -24
  21. package/dist-cjs/commands/DescribeTestCasesCommand.js +0 -26
  22. package/dist-cjs/commands/GetReportGroupTrendCommand.js +0 -24
  23. package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -24
  24. package/dist-cjs/commands/ImportSourceCredentialsCommand.js +0 -25
  25. package/dist-cjs/commands/InvalidateProjectCacheCommand.js +0 -24
  26. package/dist-cjs/commands/ListBuildBatchesCommand.js +0 -24
  27. package/dist-cjs/commands/ListBuildBatchesForProjectCommand.js +0 -24
  28. package/dist-cjs/commands/ListBuildsCommand.js +0 -24
  29. package/dist-cjs/commands/ListBuildsForProjectCommand.js +0 -25
  30. package/dist-cjs/commands/ListCuratedEnvironmentImagesCommand.js +0 -24
  31. package/dist-cjs/commands/ListProjectsCommand.js +0 -25
  32. package/dist-cjs/commands/ListReportGroupsCommand.js +0 -26
  33. package/dist-cjs/commands/ListReportsCommand.js +0 -26
  34. package/dist-cjs/commands/ListReportsForReportGroupCommand.js +0 -26
  35. package/dist-cjs/commands/ListSharedProjectsCommand.js +0 -24
  36. package/dist-cjs/commands/ListSharedReportGroupsCommand.js +0 -25
  37. package/dist-cjs/commands/ListSourceCredentialsCommand.js +0 -24
  38. package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -25
  39. package/dist-cjs/commands/RetryBuildBatchCommand.js +0 -24
  40. package/dist-cjs/commands/RetryBuildCommand.js +0 -24
  41. package/dist-cjs/commands/StartBuildBatchCommand.js +0 -24
  42. package/dist-cjs/commands/StartBuildCommand.js +0 -24
  43. package/dist-cjs/commands/StopBuildBatchCommand.js +0 -24
  44. package/dist-cjs/commands/StopBuildCommand.js +0 -24
  45. package/dist-cjs/commands/UpdateProjectCommand.js +0 -24
  46. package/dist-cjs/commands/UpdateProjectVisibilityCommand.js +0 -61
  47. package/dist-cjs/commands/UpdateReportGroupCommand.js +0 -26
  48. package/dist-cjs/commands/UpdateWebhookCommand.js +0 -28
  49. package/dist-cjs/commands/index.js +48 -0
  50. package/dist-cjs/endpoints.js +6 -1
  51. package/dist-cjs/index.js +4 -60
  52. package/dist-cjs/models/models_0.js +0 -444
  53. package/dist-cjs/pagination/DescribeCodeCoveragesPaginator.js +0 -10
  54. package/dist-cjs/pagination/DescribeTestCasesPaginator.js +0 -10
  55. package/dist-cjs/pagination/ListBuildBatchesForProjectPaginator.js +0 -10
  56. package/dist-cjs/pagination/ListBuildBatchesPaginator.js +0 -10
  57. package/dist-cjs/pagination/ListBuildsForProjectPaginator.js +0 -10
  58. package/dist-cjs/pagination/ListBuildsPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListProjectsPaginator.js +0 -10
  60. package/dist-cjs/pagination/ListReportGroupsPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListReportsForReportGroupPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListReportsPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListSharedProjectsPaginator.js +0 -10
  64. package/dist-cjs/pagination/ListSharedReportGroupsPaginator.js +0 -10
  65. package/dist-cjs/pagination/index.js +16 -0
  66. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  67. package/dist-cjs/runtimeConfig.browser.js +1 -5
  68. package/dist-cjs/runtimeConfig.js +1 -5
  69. package/dist-cjs/runtimeConfig.native.js +0 -3
  70. package/dist-cjs/runtimeConfig.shared.js +0 -3
  71. package/dist-es/commands/index.js +45 -0
  72. package/dist-es/endpoints.js +6 -1
  73. package/dist-es/index.js +4 -60
  74. package/dist-es/pagination/index.js +13 -0
  75. package/dist-types/commands/index.d.ts +45 -0
  76. package/dist-types/index.d.ts +4 -60
  77. package/dist-types/pagination/index.d.ts +13 -0
  78. package/dist-types/ts3.4/CodeBuild.d.ts +46 -225
  79. package/dist-types/ts3.4/CodeBuildClient.d.ts +24 -99
  80. package/dist-types/ts3.4/commands/BatchDeleteBuildsCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/BatchGetBuildBatchesCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/BatchGetBuildsCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/BatchGetProjectsCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/BatchGetReportGroupsCommand.d.ts +2 -22
  85. package/dist-types/ts3.4/commands/BatchGetReportsCommand.d.ts +2 -22
  86. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/CreateReportGroupCommand.d.ts +2 -22
  88. package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +2 -30
  89. package/dist-types/ts3.4/commands/DeleteBuildBatchCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +2 -21
  91. package/dist-types/ts3.4/commands/DeleteReportCommand.d.ts +2 -22
  92. package/dist-types/ts3.4/commands/DeleteReportGroupCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -20
  94. package/dist-types/ts3.4/commands/DeleteSourceCredentialsCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +2 -22
  96. package/dist-types/ts3.4/commands/DescribeCodeCoveragesCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DescribeTestCasesCommand.d.ts +2 -22
  98. package/dist-types/ts3.4/commands/GetReportGroupTrendCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/ImportSourceCredentialsCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/InvalidateProjectCacheCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/ListBuildBatchesCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/ListBuildBatchesForProjectCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/ListBuildsCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/ListBuildsForProjectCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/ListCuratedEnvironmentImagesCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +2 -21
  108. package/dist-types/ts3.4/commands/ListReportGroupsCommand.d.ts +2 -22
  109. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +2 -22
  110. package/dist-types/ts3.4/commands/ListReportsForReportGroupCommand.d.ts +2 -22
  111. package/dist-types/ts3.4/commands/ListSharedProjectsCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListSharedReportGroupsCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/ListSourceCredentialsCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -21
  115. package/dist-types/ts3.4/commands/RetryBuildBatchCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/RetryBuildCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/StartBuildBatchCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/StartBuildCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/StopBuildBatchCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/StopBuildCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/UpdateProjectVisibilityCommand.d.ts +2 -57
  123. package/dist-types/ts3.4/commands/UpdateReportGroupCommand.d.ts +2 -22
  124. package/dist-types/ts3.4/commands/UpdateWebhookCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/index.d.ts +45 -0
  126. package/dist-types/ts3.4/index.d.ts +4 -60
  127. package/dist-types/ts3.4/models/models_0.d.ts +768 -4566
  128. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  129. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  130. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  131. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  132. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  133. package/package.json +32 -32
@@ -4,22 +4,13 @@ exports.paginateDescribeCodeCoverages = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const DescribeCodeCoveragesCommand_1 = require("../commands/DescribeCodeCoveragesCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeCodeCoveragesCommand_1.DescribeCodeCoveragesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeCodeCoverages(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeCodeCoverages(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeCodeCoverages(config, input, ...additionalArgume
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeCodeCoverages = paginateDescribeCodeCoverages;
@@ -4,22 +4,13 @@ exports.paginateDescribeTestCases = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const DescribeTestCasesCommand_1 = require("../commands/DescribeTestCasesCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeTestCasesCommand_1.DescribeTestCasesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeTestCases(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeTestCases(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeTestCases(config, input, ...additionalArguments)
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeTestCases = paginateDescribeTestCases;
@@ -4,22 +4,13 @@ exports.paginateListBuildBatchesForProject = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListBuildBatchesForProjectCommand_1 = require("../commands/ListBuildBatchesForProjectCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListBuildBatchesForProjectCommand_1.ListBuildBatchesForProjectCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listBuildBatchesForProject(input, ...args);
20
12
  };
21
13
  async function* paginateListBuildBatchesForProject(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListBuildBatchesForProject(config, input, ...additionalA
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListBuildBatchesForProject = paginateListBuildBatchesForProject;
@@ -4,22 +4,13 @@ exports.paginateListBuildBatches = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListBuildBatchesCommand_1 = require("../commands/ListBuildBatchesCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListBuildBatchesCommand_1.ListBuildBatchesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listBuildBatches(input, ...args);
20
12
  };
21
13
  async function* paginateListBuildBatches(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListBuildBatches(config, input, ...additionalArguments)
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListBuildBatches = paginateListBuildBatches;
@@ -4,22 +4,13 @@ exports.paginateListBuildsForProject = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListBuildsForProjectCommand_1 = require("../commands/ListBuildsForProjectCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListBuildsForProjectCommand_1.ListBuildsForProjectCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listBuildsForProject(input, ...args);
20
12
  };
21
13
  async function* paginateListBuildsForProject(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -38,7 +29,6 @@ async function* paginateListBuildsForProject(config, input, ...additionalArgumen
38
29
  token = page.nextToken;
39
30
  hasNext = !!token;
40
31
  }
41
- // @ts-ignore
42
32
  return undefined;
43
33
  }
44
34
  exports.paginateListBuildsForProject = paginateListBuildsForProject;
@@ -4,22 +4,13 @@ exports.paginateListBuilds = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListBuildsCommand_1 = require("../commands/ListBuildsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListBuildsCommand_1.ListBuildsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listBuilds(input, ...args);
20
12
  };
21
13
  async function* paginateListBuilds(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -38,7 +29,6 @@ async function* paginateListBuilds(config, input, ...additionalArguments) {
38
29
  token = page.nextToken;
39
30
  hasNext = !!token;
40
31
  }
41
- // @ts-ignore
42
32
  return undefined;
43
33
  }
44
34
  exports.paginateListBuilds = paginateListBuilds;
@@ -4,22 +4,13 @@ exports.paginateListProjects = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListProjectsCommand_1 = require("../commands/ListProjectsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListProjectsCommand_1.ListProjectsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listProjects(input, ...args);
20
12
  };
21
13
  async function* paginateListProjects(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -38,7 +29,6 @@ async function* paginateListProjects(config, input, ...additionalArguments) {
38
29
  token = page.nextToken;
39
30
  hasNext = !!token;
40
31
  }
41
- // @ts-ignore
42
32
  return undefined;
43
33
  }
44
34
  exports.paginateListProjects = paginateListProjects;
@@ -4,22 +4,13 @@ exports.paginateListReportGroups = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListReportGroupsCommand_1 = require("../commands/ListReportGroupsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListReportGroupsCommand_1.ListReportGroupsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listReportGroups(input, ...args);
20
12
  };
21
13
  async function* paginateListReportGroups(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListReportGroups(config, input, ...additionalArguments)
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListReportGroups = paginateListReportGroups;
@@ -4,22 +4,13 @@ exports.paginateListReportsForReportGroup = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListReportsForReportGroupCommand_1 = require("../commands/ListReportsForReportGroupCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListReportsForReportGroupCommand_1.ListReportsForReportGroupCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listReportsForReportGroup(input, ...args);
20
12
  };
21
13
  async function* paginateListReportsForReportGroup(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListReportsForReportGroup(config, input, ...additionalAr
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListReportsForReportGroup = paginateListReportsForReportGroup;
@@ -4,22 +4,13 @@ exports.paginateListReports = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListReportsCommand_1 = require("../commands/ListReportsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListReportsCommand_1.ListReportsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listReports(input, ...args);
20
12
  };
21
13
  async function* paginateListReports(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListReports(config, input, ...additionalArguments) {
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListReports = paginateListReports;
@@ -4,22 +4,13 @@ exports.paginateListSharedProjects = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListSharedProjectsCommand_1 = require("../commands/ListSharedProjectsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListSharedProjectsCommand_1.ListSharedProjectsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listSharedProjects(input, ...args);
20
12
  };
21
13
  async function* paginateListSharedProjects(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListSharedProjects(config, input, ...additionalArguments
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListSharedProjects = paginateListSharedProjects;
@@ -4,22 +4,13 @@ exports.paginateListSharedReportGroups = void 0;
4
4
  const CodeBuild_1 = require("../CodeBuild");
5
5
  const CodeBuildClient_1 = require("../CodeBuildClient");
6
6
  const ListSharedReportGroupsCommand_1 = require("../commands/ListSharedReportGroupsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListSharedReportGroupsCommand_1.ListSharedReportGroupsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listSharedReportGroups(input, ...args);
20
12
  };
21
13
  async function* paginateListSharedReportGroups(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListSharedReportGroups(config, input, ...additionalArgum
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListSharedReportGroups = paginateListSharedReportGroups;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeCodeCoveragesPaginator"), exports);
5
+ tslib_1.__exportStar(require("./DescribeTestCasesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./Interfaces"), exports);
7
+ tslib_1.__exportStar(require("./ListBuildBatchesForProjectPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListBuildBatchesPaginator"), exports);
9
+ tslib_1.__exportStar(require("./ListBuildsForProjectPaginator"), exports);
10
+ tslib_1.__exportStar(require("./ListBuildsPaginator"), exports);
11
+ tslib_1.__exportStar(require("./ListProjectsPaginator"), exports);
12
+ tslib_1.__exportStar(require("./ListReportGroupsPaginator"), exports);
13
+ tslib_1.__exportStar(require("./ListReportsForReportGroupPaginator"), exports);
14
+ tslib_1.__exportStar(require("./ListReportsPaginator"), exports);
15
+ tslib_1.__exportStar(require("./ListSharedProjectsPaginator"), exports);
16
+ tslib_1.__exportStar(require("./ListSharedReportGroupsPaginator"), exports);
@@ -5315,14 +5315,12 @@ const deserializeMetadata = (output) => {
5315
5315
  cfId: output.headers["x-amz-cf-id"],
5316
5316
  });
5317
5317
  };
5318
- // Collect low-level response body stream to Uint8Array.
5319
5318
  const collectBody = (streamBody = new Uint8Array(), context) => {
5320
5319
  if (streamBody instanceof Uint8Array) {
5321
5320
  return Promise.resolve(streamBody);
5322
5321
  }
5323
5322
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
5324
5323
  };
5325
- // Encode Uint8Array data into string with utf-8.
5326
5324
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
5327
5325
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
5328
5326
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -5348,9 +5346,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
5348
5346
  }
5349
5347
  return {};
5350
5348
  });
5351
- /**
5352
- * Load an error code for the aws.rest-json-1.1 protocol.
5353
- */
5354
5349
  const loadRestJsonErrorCode = (output, data) => {
5355
5350
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
5356
5351
  const sanitizeErrorCode = (rawValue) => {
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -0,0 +1,45 @@
1
+ export * from "./BatchDeleteBuildsCommand";
2
+ export * from "./BatchGetBuildBatchesCommand";
3
+ export * from "./BatchGetBuildsCommand";
4
+ export * from "./BatchGetProjectsCommand";
5
+ export * from "./BatchGetReportGroupsCommand";
6
+ export * from "./BatchGetReportsCommand";
7
+ export * from "./CreateProjectCommand";
8
+ export * from "./CreateReportGroupCommand";
9
+ export * from "./CreateWebhookCommand";
10
+ export * from "./DeleteBuildBatchCommand";
11
+ export * from "./DeleteProjectCommand";
12
+ export * from "./DeleteReportCommand";
13
+ export * from "./DeleteReportGroupCommand";
14
+ export * from "./DeleteResourcePolicyCommand";
15
+ export * from "./DeleteSourceCredentialsCommand";
16
+ export * from "./DeleteWebhookCommand";
17
+ export * from "./DescribeCodeCoveragesCommand";
18
+ export * from "./DescribeTestCasesCommand";
19
+ export * from "./GetReportGroupTrendCommand";
20
+ export * from "./GetResourcePolicyCommand";
21
+ export * from "./ImportSourceCredentialsCommand";
22
+ export * from "./InvalidateProjectCacheCommand";
23
+ export * from "./ListBuildBatchesCommand";
24
+ export * from "./ListBuildBatchesForProjectCommand";
25
+ export * from "./ListBuildsCommand";
26
+ export * from "./ListBuildsForProjectCommand";
27
+ export * from "./ListCuratedEnvironmentImagesCommand";
28
+ export * from "./ListProjectsCommand";
29
+ export * from "./ListReportGroupsCommand";
30
+ export * from "./ListReportsCommand";
31
+ export * from "./ListReportsForReportGroupCommand";
32
+ export * from "./ListSharedProjectsCommand";
33
+ export * from "./ListSharedReportGroupsCommand";
34
+ export * from "./ListSourceCredentialsCommand";
35
+ export * from "./PutResourcePolicyCommand";
36
+ export * from "./RetryBuildBatchCommand";
37
+ export * from "./RetryBuildCommand";
38
+ export * from "./StartBuildBatchCommand";
39
+ export * from "./StartBuildCommand";
40
+ export * from "./StopBuildBatchCommand";
41
+ export * from "./StopBuildCommand";
42
+ export * from "./UpdateProjectCommand";
43
+ export * from "./UpdateProjectVisibilityCommand";
44
+ export * from "./UpdateReportGroupCommand";
45
+ export * from "./UpdateWebhookCommand";
@@ -55,22 +55,27 @@ var partitionHash = {
55
55
  "us-west-2",
56
56
  "us-west-2-fips",
57
57
  ],
58
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
58
59
  hostname: "codebuild.{region}.amazonaws.com",
59
60
  },
60
61
  "aws-cn": {
61
62
  regions: ["cn-north-1", "cn-northwest-1"],
63
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
62
64
  hostname: "codebuild.{region}.amazonaws.com.cn",
63
65
  },
64
66
  "aws-iso": {
65
- regions: ["us-iso-east-1"],
67
+ regions: ["us-iso-east-1", "us-iso-west-1"],
68
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
66
69
  hostname: "codebuild.{region}.c2s.ic.gov",
67
70
  },
68
71
  "aws-iso-b": {
69
72
  regions: ["us-isob-east-1"],
73
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
70
74
  hostname: "codebuild.{region}.sc2s.sgov.gov",
71
75
  },
72
76
  "aws-us-gov": {
73
77
  regions: ["us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
78
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
74
79
  hostname: "codebuild.{region}.amazonaws.com",
75
80
  },
76
81
  };
package/dist-es/index.js CHANGED
@@ -1,61 +1,5 @@
1
- export * from "./CodeBuildClient";
2
1
  export * from "./CodeBuild";
3
- export * from "./commands/BatchDeleteBuildsCommand";
4
- export * from "./commands/BatchGetBuildBatchesCommand";
5
- export * from "./commands/BatchGetBuildsCommand";
6
- export * from "./commands/BatchGetProjectsCommand";
7
- export * from "./commands/BatchGetReportGroupsCommand";
8
- export * from "./commands/BatchGetReportsCommand";
9
- export * from "./commands/CreateProjectCommand";
10
- export * from "./commands/CreateReportGroupCommand";
11
- export * from "./commands/CreateWebhookCommand";
12
- export * from "./commands/DeleteBuildBatchCommand";
13
- export * from "./commands/DeleteProjectCommand";
14
- export * from "./commands/DeleteReportCommand";
15
- export * from "./commands/DeleteReportGroupCommand";
16
- export * from "./commands/DeleteResourcePolicyCommand";
17
- export * from "./commands/DeleteSourceCredentialsCommand";
18
- export * from "./commands/DeleteWebhookCommand";
19
- export * from "./commands/DescribeCodeCoveragesCommand";
20
- export * from "./pagination/DescribeCodeCoveragesPaginator";
21
- export * from "./commands/DescribeTestCasesCommand";
22
- export * from "./pagination/DescribeTestCasesPaginator";
23
- export * from "./commands/GetReportGroupTrendCommand";
24
- export * from "./commands/GetResourcePolicyCommand";
25
- export * from "./commands/ImportSourceCredentialsCommand";
26
- export * from "./commands/InvalidateProjectCacheCommand";
27
- export * from "./commands/ListBuildBatchesCommand";
28
- export * from "./pagination/ListBuildBatchesPaginator";
29
- export * from "./commands/ListBuildBatchesForProjectCommand";
30
- export * from "./pagination/ListBuildBatchesForProjectPaginator";
31
- export * from "./commands/ListBuildsCommand";
32
- export * from "./pagination/ListBuildsPaginator";
33
- export * from "./commands/ListBuildsForProjectCommand";
34
- export * from "./pagination/ListBuildsForProjectPaginator";
35
- export * from "./commands/ListCuratedEnvironmentImagesCommand";
36
- export * from "./commands/ListProjectsCommand";
37
- export * from "./pagination/ListProjectsPaginator";
38
- export * from "./commands/ListReportGroupsCommand";
39
- export * from "./pagination/ListReportGroupsPaginator";
40
- export * from "./commands/ListReportsCommand";
41
- export * from "./pagination/ListReportsPaginator";
42
- export * from "./commands/ListReportsForReportGroupCommand";
43
- export * from "./pagination/ListReportsForReportGroupPaginator";
44
- export * from "./commands/ListSharedProjectsCommand";
45
- export * from "./pagination/ListSharedProjectsPaginator";
46
- export * from "./commands/ListSharedReportGroupsCommand";
47
- export * from "./pagination/ListSharedReportGroupsPaginator";
48
- export * from "./commands/ListSourceCredentialsCommand";
49
- export * from "./commands/PutResourcePolicyCommand";
50
- export * from "./commands/RetryBuildCommand";
51
- export * from "./commands/RetryBuildBatchCommand";
52
- export * from "./commands/StartBuildCommand";
53
- export * from "./commands/StartBuildBatchCommand";
54
- export * from "./commands/StopBuildCommand";
55
- export * from "./commands/StopBuildBatchCommand";
56
- export * from "./commands/UpdateProjectCommand";
57
- export * from "./commands/UpdateProjectVisibilityCommand";
58
- export * from "./commands/UpdateReportGroupCommand";
59
- export * from "./commands/UpdateWebhookCommand";
60
- export * from "./pagination/Interfaces";
61
- export * from "./models/index";
2
+ export * from "./CodeBuildClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,13 @@
1
+ export * from "./DescribeCodeCoveragesPaginator";
2
+ export * from "./DescribeTestCasesPaginator";
3
+ export * from "./Interfaces";
4
+ export * from "./ListBuildBatchesForProjectPaginator";
5
+ export * from "./ListBuildBatchesPaginator";
6
+ export * from "./ListBuildsForProjectPaginator";
7
+ export * from "./ListBuildsPaginator";
8
+ export * from "./ListProjectsPaginator";
9
+ export * from "./ListReportGroupsPaginator";
10
+ export * from "./ListReportsForReportGroupPaginator";
11
+ export * from "./ListReportsPaginator";
12
+ export * from "./ListSharedProjectsPaginator";
13
+ export * from "./ListSharedReportGroupsPaginator";