@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
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p> Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, DeleteSourceCredentialsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, DeleteSourceCredentialsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new DeleteSourceCredentialsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteSourceCredentialsCommandInput} for command's `input` shape.
21
- * @see {@link DeleteSourceCredentialsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteSourceCredentialsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>For an existing CodeBuild build project that has its source code stored in a GitHub or
10
- * Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code
11
- * change is pushed to the repository.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeBuildClient, DeleteWebhookCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, DeleteWebhookCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new DeleteWebhookCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteWebhookCommandInput} for command's `input` shape.
23
- * @see {@link DeleteWebhookCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteWebhookCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves one or more code coverage reports.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, DescribeCodeCoveragesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, DescribeCodeCoveragesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new DescribeCodeCoveragesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeCodeCoveragesCommandInput} for command's `input` shape.
21
- * @see {@link DescribeCodeCoveragesCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeCodeCoveragesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * Returns a list of details about test cases for a report.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeBuildClient, DescribeTestCasesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, DescribeTestCasesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new DescribeTestCasesCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeTestCasesCommandInput} for command's `input` shape.
23
- * @see {@link DescribeTestCasesCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeTestCasesCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Analyzes and accumulates test report values for the specified test reports.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, GetReportGroupTrendCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, GetReportGroupTrendCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new GetReportGroupTrendCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetReportGroupTrendCommandInput} for command's `input` shape.
21
- * @see {@link GetReportGroupTrendCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetReportGroupTrendCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p> Gets a resource policy that is identified by its resource ARN. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, GetResourcePolicyCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, GetResourcePolicyCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new GetResourcePolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
21
- * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetResourcePolicyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p> Imports the source repository credentials for an CodeBuild project that has its
10
- * source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeBuildClient, ImportSourceCredentialsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
15
- * // const { CodeBuildClient, ImportSourceCredentialsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
16
- * const client = new CodeBuildClient(config);
17
- * const command = new ImportSourceCredentialsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ImportSourceCredentialsCommandInput} for command's `input` shape.
22
- * @see {@link ImportSourceCredentialsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ImportSourceCredentialsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Resets the cache for a project.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, InvalidateProjectCacheCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, InvalidateProjectCacheCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new InvalidateProjectCacheCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link InvalidateProjectCacheCommandInput} for command's `input` shape.
21
- * @see {@link InvalidateProjectCacheCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class InvalidateProjectCacheCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves the identifiers of your build batches in the current region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, ListBuildBatchesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, ListBuildBatchesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new ListBuildBatchesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListBuildBatchesCommandInput} for command's `input` shape.
21
- * @see {@link ListBuildBatchesCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListBuildBatchesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Retrieves the identifiers of the build batches for a specific project.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, ListBuildBatchesForProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, ListBuildBatchesForProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new ListBuildBatchesForProjectCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListBuildBatchesForProjectCommandInput} for command's `input` shape.
21
- * @see {@link ListBuildBatchesForProjectCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListBuildBatchesForProjectCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of build IDs, with each build ID representing a single build.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, ListBuildsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, ListBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new ListBuildsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListBuildsCommandInput} for command's `input` shape.
21
- * @see {@link ListBuildsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListBuildsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of build identifiers for the specified build project, with each build
10
- * identifier representing a single build.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeBuildClient, ListBuildsForProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
15
- * // const { CodeBuildClient, ListBuildsForProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
16
- * const client = new CodeBuildClient(config);
17
- * const command = new ListBuildsForProjectCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListBuildsForProjectCommandInput} for command's `input` shape.
22
- * @see {@link ListBuildsForProjectCommandOutput} for command's `response` shape.
23
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListBuildsForProjectCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about Docker images that are managed by CodeBuild.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, ListCuratedEnvironmentImagesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, ListCuratedEnvironmentImagesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new ListCuratedEnvironmentImagesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListCuratedEnvironmentImagesCommandInput} for command's `input` shape.
21
- * @see {@link ListCuratedEnvironmentImagesCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListCuratedEnvironmentImagesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets a list of build project names, with each build project name representing a single
10
- * build project.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeBuildClient, ListProjectsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
15
- * // const { CodeBuildClient, ListProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
16
- * const client = new CodeBuildClient(config);
17
- * const command = new ListProjectsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListProjectsCommandInput} for command's `input` shape.
22
- * @see {@link ListProjectsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListProjectsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * Gets a list ARNs for the report groups in the current Amazon Web Services account.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeBuildClient, ListReportGroupsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, ListReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new ListReportGroupsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListReportGroupsCommandInput} for command's `input` shape.
23
- * @see {@link ListReportGroupsCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListReportGroupsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * Returns a list of ARNs for the reports in the current Amazon Web Services account.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeBuildClient, ListReportsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, ListReportsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new ListReportsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListReportsCommandInput} for command's `input` shape.
23
- * @see {@link ListReportsCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListReportsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * Returns a list of ARNs for the reports that belong to a <code>ReportGroup</code>.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeBuildClient, ListReportsForReportGroupCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, ListReportsForReportGroupCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new ListReportsForReportGroupCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListReportsForReportGroupCommandInput} for command's `input` shape.
23
- * @see {@link ListReportsForReportGroupCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListReportsForReportGroupCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);