@aws-sdk/client-codestar-connections 3.36.0 → 3.36.1

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 (43) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/CodeStarConnections.js +0 -82
  3. package/dist-cjs/CodeStarConnectionsClient.js +0 -87
  4. package/dist-cjs/commands/CreateConnectionCommand.js +0 -26
  5. package/dist-cjs/commands/CreateHostCommand.js +0 -31
  6. package/dist-cjs/commands/DeleteConnectionCommand.js +0 -24
  7. package/dist-cjs/commands/DeleteHostCommand.js +0 -27
  8. package/dist-cjs/commands/GetConnectionCommand.js +0 -24
  9. package/dist-cjs/commands/GetHostCommand.js +0 -25
  10. package/dist-cjs/commands/ListConnectionsCommand.js +0 -24
  11. package/dist-cjs/commands/ListHostsCommand.js +0 -24
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  13. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  14. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  15. package/dist-cjs/commands/UpdateHostCommand.js +0 -24
  16. package/dist-cjs/models/models_0.js +0 -99
  17. package/dist-cjs/pagination/ListConnectionsPaginator.js +0 -10
  18. package/dist-cjs/pagination/ListHostsPaginator.js +0 -10
  19. package/dist-cjs/protocols/Aws_json1_0.js +0 -5
  20. package/dist-cjs/runtimeConfig.browser.js +1 -5
  21. package/dist-cjs/runtimeConfig.js +1 -5
  22. package/dist-cjs/runtimeConfig.native.js +0 -3
  23. package/dist-cjs/runtimeConfig.shared.js +0 -3
  24. package/dist-types/ts3.4/CodeStarConnections.d.ts +13 -132
  25. package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +24 -168
  26. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -22
  27. package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +2 -27
  28. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -20
  29. package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +2 -23
  30. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +2 -20
  31. package/dist-types/ts3.4/commands/GetHostCommand.d.ts +2 -21
  32. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +2 -20
  33. package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +2 -20
  34. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  35. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  36. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  37. package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +2 -20
  38. package/dist-types/ts3.4/models/models_0.d.ts +101 -349
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  43. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -14,88 +14,6 @@ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceComm
14
14
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
15
15
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
16
16
  const UpdateHostCommand_1 = require("./commands/UpdateHostCommand");
17
- /**
18
- * <fullname>AWS CodeStar Connections</fullname>
19
- * <p>This AWS CodeStar Connections API Reference provides descriptions and usage examples of
20
- * the operations and data types for the AWS CodeStar Connections API. You can use the
21
- * connections API to work with connections and installations.</p>
22
- * <p>
23
- * <i>Connections</i> are configurations that you use to connect AWS
24
- * resources to external code repositories. Each connection is a resource that can be given to
25
- * services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
26
- * example, you can add the connection in CodePipeline so that it triggers your pipeline when a
27
- * code change is made to your third-party code repository. Each connection is named and
28
- * associated with a unique ARN that is used to reference the connection.</p>
29
- * <p>When you create a connection, the console initiates a third-party connection handshake.
30
- * <i>Installations</i> are the apps that are used to conduct this handshake. For
31
- * example, the installation for the Bitbucket provider type is the Bitbucket app. When you
32
- * create a connection, you can choose an existing installation or create one.</p>
33
- * <p>When you want to create a connection to an installed provider type such as GitHub
34
- * Enterprise Server, you create a <i>host</i> for your connections.</p>
35
- * <p>You can work with connections by calling:</p>
36
- * <ul>
37
- * <li>
38
- * <p>
39
- * <a>CreateConnection</a>, which creates a uniquely named connection that can be
40
- * referenced by services such as CodePipeline.</p>
41
- * </li>
42
- * <li>
43
- * <p>
44
- * <a>DeleteConnection</a>, which deletes the specified connection.</p>
45
- * </li>
46
- * <li>
47
- * <p>
48
- * <a>GetConnection</a>, which returns information about the connection, including
49
- * the connection status.</p>
50
- * </li>
51
- * <li>
52
- * <p>
53
- * <a>ListConnections</a>, which lists the connections associated with your
54
- * account.</p>
55
- * </li>
56
- * </ul>
57
- * <p>You can work with hosts by calling:</p>
58
- * <ul>
59
- * <li>
60
- * <p>
61
- * <a>CreateHost</a>, which creates a host that represents the infrastructure where your provider is installed.</p>
62
- * </li>
63
- * <li>
64
- * <p>
65
- * <a>DeleteHost</a>, which deletes the specified host.</p>
66
- * </li>
67
- * <li>
68
- * <p>
69
- * <a>GetHost</a>, which returns information about the host, including
70
- * the setup status.</p>
71
- * </li>
72
- * <li>
73
- * <p>
74
- * <a>ListHosts</a>, which lists the hosts associated with your
75
- * account.</p>
76
- * </li>
77
- * </ul>
78
- * <p>You can work with tags in AWS CodeStar Connections by calling the following:</p>
79
- * <ul>
80
- * <li>
81
- * <p>
82
- * <a>ListTagsForResource</a>, which gets information about AWS tags for a
83
- * specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
84
- * </li>
85
- * <li>
86
- * <p>
87
- * <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeStar
88
- * Connections.</p>
89
- * </li>
90
- * <li>
91
- * <p>
92
- * <a>UntagResource</a>, which removes tags for a resource in AWS CodeStar
93
- * Connections.</p>
94
- * </li>
95
- * </ul>
96
- * <p>For information about how to use AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
97
- * Guide</a>.</p>
98
- */
99
17
  class CodeStarConnections extends CodeStarConnectionsClient_1.CodeStarConnectionsClient {
100
18
  createConnection(args, optionsOrCb, cb) {
101
19
  const command = new CreateConnectionCommand_1.CreateConnectionCommand(args);
@@ -10,88 +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>AWS CodeStar Connections</fullname>
15
- * <p>This AWS CodeStar Connections API Reference provides descriptions and usage examples of
16
- * the operations and data types for the AWS CodeStar Connections API. You can use the
17
- * connections API to work with connections and installations.</p>
18
- * <p>
19
- * <i>Connections</i> are configurations that you use to connect AWS
20
- * resources to external code repositories. Each connection is a resource that can be given to
21
- * services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
22
- * example, you can add the connection in CodePipeline so that it triggers your pipeline when a
23
- * code change is made to your third-party code repository. Each connection is named and
24
- * associated with a unique ARN that is used to reference the connection.</p>
25
- * <p>When you create a connection, the console initiates a third-party connection handshake.
26
- * <i>Installations</i> are the apps that are used to conduct this handshake. For
27
- * example, the installation for the Bitbucket provider type is the Bitbucket app. When you
28
- * create a connection, you can choose an existing installation or create one.</p>
29
- * <p>When you want to create a connection to an installed provider type such as GitHub
30
- * Enterprise Server, you create a <i>host</i> for your connections.</p>
31
- * <p>You can work with connections by calling:</p>
32
- * <ul>
33
- * <li>
34
- * <p>
35
- * <a>CreateConnection</a>, which creates a uniquely named connection that can be
36
- * referenced by services such as CodePipeline.</p>
37
- * </li>
38
- * <li>
39
- * <p>
40
- * <a>DeleteConnection</a>, which deletes the specified connection.</p>
41
- * </li>
42
- * <li>
43
- * <p>
44
- * <a>GetConnection</a>, which returns information about the connection, including
45
- * the connection status.</p>
46
- * </li>
47
- * <li>
48
- * <p>
49
- * <a>ListConnections</a>, which lists the connections associated with your
50
- * account.</p>
51
- * </li>
52
- * </ul>
53
- * <p>You can work with hosts by calling:</p>
54
- * <ul>
55
- * <li>
56
- * <p>
57
- * <a>CreateHost</a>, which creates a host that represents the infrastructure where your provider is installed.</p>
58
- * </li>
59
- * <li>
60
- * <p>
61
- * <a>DeleteHost</a>, which deletes the specified host.</p>
62
- * </li>
63
- * <li>
64
- * <p>
65
- * <a>GetHost</a>, which returns information about the host, including
66
- * the setup status.</p>
67
- * </li>
68
- * <li>
69
- * <p>
70
- * <a>ListHosts</a>, which lists the hosts associated with your
71
- * account.</p>
72
- * </li>
73
- * </ul>
74
- * <p>You can work with tags in AWS CodeStar Connections by calling the following:</p>
75
- * <ul>
76
- * <li>
77
- * <p>
78
- * <a>ListTagsForResource</a>, which gets information about AWS tags for a
79
- * specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
80
- * </li>
81
- * <li>
82
- * <p>
83
- * <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeStar
84
- * Connections.</p>
85
- * </li>
86
- * <li>
87
- * <p>
88
- * <a>UntagResource</a>, which removes tags for a resource in AWS CodeStar
89
- * Connections.</p>
90
- * </li>
91
- * </ul>
92
- * <p>For information about how to use AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
93
- * Guide</a>.</p>
94
- */
95
13
  class CodeStarConnectionsClient extends smithy_client_1.Client {
96
14
  constructor(configuration) {
97
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -110,11 +28,6 @@ class CodeStarConnectionsClient extends smithy_client_1.Client {
110
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
111
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
112
30
  }
113
- /**
114
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
115
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
116
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
117
- */
118
31
  destroy() {
119
32
  super.destroy();
120
33
  }
@@ -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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Creates a connection that can then be given to other AWS services like CodePipeline so
10
- * that it can access third-party code repositories. The connection is in pending status until
11
- * the third-party connection handshake is completed from the console.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeStarConnectionsClient, CreateConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
16
- * // const { CodeStarConnectionsClient, CreateConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
17
- * const client = new CodeStarConnectionsClient(config);
18
- * const command = new CreateConnectionCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateConnectionCommandInput} for command's `input` shape.
23
- * @see {@link CreateConnectionCommandOutput} for command's `response` shape.
24
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class CreateConnectionCommand 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,42 +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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Creates a resource that represents the infrastructure where a third-party provider is
10
- * installed. The host is used when you create connections to an installed third-party provider
11
- * type, such as GitHub Enterprise Server. You create one host for all connections to that
12
- * provider.</p>
13
- * <note>
14
- * <p>A host created through the CLI or the SDK is in `PENDING` status by
15
- * default. You can make its status `AVAILABLE` by setting up the host in the console.</p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { CodeStarConnectionsClient, CreateHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
21
- * // const { CodeStarConnectionsClient, CreateHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
22
- * const client = new CodeStarConnectionsClient(config);
23
- * const command = new CreateHostCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CreateHostCommandInput} for command's `input` shape.
28
- * @see {@link CreateHostCommandOutput} for command's `response` shape.
29
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class CreateHostCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>The connection to be deleted.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeStarConnectionsClient, DeleteConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
14
- * // const { CodeStarConnectionsClient, DeleteConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
15
- * const client = new CodeStarConnectionsClient(config);
16
- * const command = new DeleteConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteConnectionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteConnectionCommandOutput} for command's `response` shape.
22
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteConnectionCommand 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,38 +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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.</p>
10
- * <note>
11
- * <p>A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.</p>
12
- * </note>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CodeStarConnectionsClient, DeleteHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
17
- * // const { CodeStarConnectionsClient, DeleteHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
18
- * const client = new CodeStarConnectionsClient(config);
19
- * const command = new DeleteHostCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteHostCommandInput} for command's `input` shape.
24
- * @see {@link DeleteHostCommandOutput} for command's `response` shape.
25
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DeleteHostCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns the connection ARN and details such as status, owner, and provider type.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeStarConnectionsClient, GetConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
14
- * // const { CodeStarConnectionsClient, GetConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
15
- * const client = new CodeStarConnectionsClient(config);
16
- * const command = new GetConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetConnectionCommandInput} for command's `input` shape.
21
- * @see {@link GetConnectionCommandOutput} for command's `response` shape.
22
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetConnectionCommand 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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns the host ARN and details such as status, provider type, endpoint, and, if
10
- * applicable, the VPC configuration.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeStarConnectionsClient, GetHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
15
- * // const { CodeStarConnectionsClient, GetHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
16
- * const client = new CodeStarConnectionsClient(config);
17
- * const command = new GetHostCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetHostCommandInput} for command's `input` shape.
22
- * @see {@link GetHostCommandOutput} for command's `response` shape.
23
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetHostCommand 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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Lists the connections associated with your account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeStarConnectionsClient, ListConnectionsCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
14
- * // const { CodeStarConnectionsClient, ListConnectionsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
15
- * const client = new CodeStarConnectionsClient(config);
16
- * const command = new ListConnectionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListConnectionsCommandInput} for command's `input` shape.
21
- * @see {@link ListConnectionsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListConnectionsCommand 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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Lists the hosts associated with your account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeStarConnectionsClient, ListHostsCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
14
- * // const { CodeStarConnectionsClient, ListHostsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
15
- * const client = new CodeStarConnectionsClient(config);
16
- * const command = new ListHostsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListHostsCommandInput} for command's `input` shape.
21
- * @see {@link ListHostsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListHostsCommand 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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Gets the set of key-value pairs (metadata) that are used to manage the resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeStarConnectionsClient, ListTagsForResourceCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
14
- * // const { CodeStarConnectionsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
15
- * const client = new CodeStarConnectionsClient(config);
16
- * const command = new ListTagsForResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
22
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTagsForResourceCommand 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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Adds to or modifies the tags of the given resource. Tags are metadata that can be used
10
- * to manage a resource.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeStarConnectionsClient, TagResourceCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
15
- * // const { CodeStarConnectionsClient, TagResourceCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
16
- * const client = new CodeStarConnectionsClient(config);
17
- * const command = new TagResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link TagResourceCommandInput} for command's `input` shape.
22
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class TagResourceCommand 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_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Removes tags from an AWS resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeStarConnectionsClient, UntagResourceCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
14
- * // const { CodeStarConnectionsClient, UntagResourceCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
15
- * const client = new CodeStarConnectionsClient(config);
16
- * const command = new UntagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
21
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UntagResourceCommand 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);