@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-codebuild
9
+
10
+
11
+
12
+
13
+
14
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
20
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
27
+
28
+
29
+ ### Features
30
+
31
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
32
+
33
+
34
+
35
+
36
+
37
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
49
 
8
50
 
@@ -47,19 +47,6 @@ const UpdateProjectCommand_1 = require("./commands/UpdateProjectCommand");
47
47
  const UpdateProjectVisibilityCommand_1 = require("./commands/UpdateProjectVisibilityCommand");
48
48
  const UpdateReportGroupCommand_1 = require("./commands/UpdateReportGroupCommand");
49
49
  const UpdateWebhookCommand_1 = require("./commands/UpdateWebhookCommand");
50
- /**
51
- * <fullname>CodeBuild</fullname>
52
- * <p>CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,
53
- * runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the
54
- * need to provision, manage, and scale your own build servers. It provides prepackaged
55
- * build environments for the most popular programming languages and build tools, such as
56
- * Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild
57
- * to use your own build tools. CodeBuild scales automatically to meet peak build requests. You
58
- * pay only for the build time you consume. For more information about CodeBuild, see the <i>
59
- * <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html">CodeBuild User
60
- * Guide</a>.</i>
61
- * </p>
62
- */
63
50
  class CodeBuild extends CodeBuildClient_1.CodeBuildClient {
64
51
  batchDeleteBuilds(args, optionsOrCb, cb) {
65
52
  const command = new BatchDeleteBuildsCommand_1.BatchDeleteBuildsCommand(args);
@@ -10,19 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>CodeBuild</fullname>
15
- * <p>CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,
16
- * runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the
17
- * need to provision, manage, and scale your own build servers. It provides prepackaged
18
- * build environments for the most popular programming languages and build tools, such as
19
- * Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild
20
- * to use your own build tools. CodeBuild scales automatically to meet peak build requests. You
21
- * pay only for the build time you consume. For more information about CodeBuild, see the <i>
22
- * <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html">CodeBuild User
23
- * Guide</a>.</i>
24
- * </p>
25
- */
26
13
  class CodeBuildClient extends smithy_client_1.Client {
27
14
  constructor(configuration) {
28
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -41,11 +28,6 @@ class CodeBuildClient extends smithy_client_1.Client {
41
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
42
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
43
30
  }
44
- /**
45
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
46
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
47
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
48
- */
49
31
  destroy() {
50
32
  super.destroy();
51
33
  }
@@ -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 one or more builds.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, BatchDeleteBuildsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, BatchDeleteBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new BatchDeleteBuildsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link BatchDeleteBuildsCommandInput} for command's `input` shape.
21
- * @see {@link BatchDeleteBuildsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class BatchDeleteBuildsCommand 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 information about one or more batch builds.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, BatchGetBuildBatchesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, BatchGetBuildBatchesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new BatchGetBuildBatchesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link BatchGetBuildBatchesCommandInput} for command's `input` shape.
21
- * @see {@link BatchGetBuildBatchesCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class BatchGetBuildBatchesCommand 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 information about one or more builds.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, BatchGetBuildsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, BatchGetBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new BatchGetBuildsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link BatchGetBuildsCommandInput} for command's `input` shape.
21
- * @see {@link BatchGetBuildsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class BatchGetBuildsCommand 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 information about one or more build projects.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeBuildClient, BatchGetProjectsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, BatchGetProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new BatchGetProjectsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link BatchGetProjectsCommandInput} for command's `input` shape.
21
- * @see {@link BatchGetProjectsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class BatchGetProjectsCommand 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 an array of report groups.
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, BatchGetReportGroupsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, BatchGetReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new BatchGetReportGroupsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link BatchGetReportGroupsCommandInput} for command's `input` shape.
23
- * @see {@link BatchGetReportGroupsCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class BatchGetReportGroupsCommand 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 an array of reports.
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, BatchGetReportsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, BatchGetReportsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new BatchGetReportsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link BatchGetReportsCommandInput} for command's `input` shape.
23
- * @see {@link BatchGetReportsCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class BatchGetReportsCommand 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>Creates a build 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, CreateProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, CreateProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new CreateProjectCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateProjectCommandInput} for command's `input` shape.
21
- * @see {@link CreateProjectCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateProjectCommand 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
- * Creates a report group. A report group contains a collection of reports.
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, CreateReportGroupCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, CreateReportGroupCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new CreateReportGroupCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateReportGroupCommandInput} for command's `input` shape.
23
- * @see {@link CreateReportGroupCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class CreateReportGroupCommand 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,45 +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, enables CodeBuild to start rebuilding the source code every time a
11
- * code change is pushed to the repository.</p>
12
- * <important>
13
- * <p>If you enable webhooks for an CodeBuild project, and the project is used as a build
14
- * step in CodePipeline, then two identical builds are created for each commit. One build is
15
- * triggered through webhooks, and one through CodePipeline. Because billing is on a per-build
16
- * basis, you are billed for both builds. Therefore, if you are using CodePipeline, we
17
- * recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the
18
- * Webhook box. For more information, see step 5 in <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console">Change a Build Project's Settings</a>.</p>
19
- * </important>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CodeBuildClient, CreateWebhookCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
24
- * // const { CodeBuildClient, CreateWebhookCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
25
- * const client = new CodeBuildClient(config);
26
- * const command = new CreateWebhookCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link CreateWebhookCommandInput} for command's `input` shape.
31
- * @see {@link CreateWebhookCommandOutput} for command's `response` shape.
32
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class CreateWebhookCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
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>Deletes a batch 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, DeleteBuildBatchCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, DeleteBuildBatchCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new DeleteBuildBatchCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteBuildBatchCommandInput} for command's `input` shape.
21
- * @see {@link DeleteBuildBatchCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteBuildBatchCommand 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> Deletes a build project. When you delete a project, its builds are not deleted.
10
- * </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeBuildClient, DeleteProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
15
- * // const { CodeBuildClient, DeleteProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
16
- * const client = new CodeBuildClient(config);
17
- * const command = new DeleteProjectCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteProjectCommandInput} for command's `input` shape.
22
- * @see {@link DeleteProjectCommandOutput} for command's `response` shape.
23
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteProjectCommand 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
- * Deletes 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, DeleteReportCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
16
- * // const { CodeBuildClient, DeleteReportCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
17
- * const client = new CodeBuildClient(config);
18
- * const command = new DeleteReportCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteReportCommandInput} for command's `input` shape.
23
- * @see {@link DeleteReportCommandOutput} for command's `response` shape.
24
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteReportCommand 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>Deletes a report group. Before you delete a report group, you must delete its 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, DeleteReportGroupCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, DeleteReportGroupCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new DeleteReportGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteReportGroupCommandInput} for command's `input` shape.
21
- * @see {@link DeleteReportGroupCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteReportGroupCommand 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> Deletes 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, DeleteResourcePolicyCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
14
- * // const { CodeBuildClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
15
- * const client = new CodeBuildClient(config);
16
- * const command = new DeleteResourcePolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
22
- * @see {@link CodeBuildClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteResourcePolicyCommand 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);