@aws-sdk/client-codestar-connections 3.379.1 → 3.382.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.
- package/README.md +9 -9
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +12 -6
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +12 -6
- package/dist-types/CodeStarConnections.d.ts +9 -9
- package/dist-types/CodeStarConnectionsClient.d.ts +9 -9
- package/dist-types/commands/CreateConnectionCommand.d.ts +2 -2
- package/dist-types/commands/CreateHostCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionCommand.d.ts +2 -2
- package/dist-types/commands/GetHostCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectionsCommand.d.ts +6 -3
- package/dist-types/commands/ListHostsCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/index.d.ts +9 -9
- package/dist-types/models/models_0.d.ts +67 -9
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@ AWS SDK for JavaScript CodeStarConnections Client for Node.js, Browser and React
|
|
|
8
8
|
|
|
9
9
|
<fullname>AWS CodeStar Connections</fullname>
|
|
10
10
|
|
|
11
|
-
<p>This
|
|
12
|
-
the operations and data types for the
|
|
11
|
+
<p>This Amazon Web Services CodeStar Connections API Reference provides descriptions and usage examples of
|
|
12
|
+
the operations and data types for the Amazon Web Services CodeStar Connections API. You can use the
|
|
13
13
|
connections API to work with connections and installations.</p>
|
|
14
14
|
<p>
|
|
15
|
-
<i>Connections</i> are configurations that you use to connect
|
|
15
|
+
<i>Connections</i> are configurations that you use to connect Amazon Web Services
|
|
16
16
|
resources to external code repositories. Each connection is a resource that can be given to
|
|
17
17
|
services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
|
|
18
18
|
example, you can add the connection in CodePipeline so that it triggers your pipeline when a
|
|
@@ -67,25 +67,25 @@ the setup status.</p>
|
|
|
67
67
|
account.</p>
|
|
68
68
|
</li>
|
|
69
69
|
</ul>
|
|
70
|
-
<p>You can work with tags in
|
|
70
|
+
<p>You can work with tags in Amazon Web Services CodeStar Connections by calling the following:</p>
|
|
71
71
|
<ul>
|
|
72
72
|
<li>
|
|
73
73
|
<p>
|
|
74
|
-
<a>ListTagsForResource</a>, which gets information about
|
|
75
|
-
specified Amazon Resource Name (ARN) in
|
|
74
|
+
<a>ListTagsForResource</a>, which gets information about Amazon Web Services tags for a
|
|
75
|
+
specified Amazon Resource Name (ARN) in Amazon Web Services CodeStar Connections.</p>
|
|
76
76
|
</li>
|
|
77
77
|
<li>
|
|
78
78
|
<p>
|
|
79
|
-
<a>TagResource</a>, which adds or updates tags for a resource in
|
|
79
|
+
<a>TagResource</a>, which adds or updates tags for a resource in Amazon Web Services CodeStar
|
|
80
80
|
Connections.</p>
|
|
81
81
|
</li>
|
|
82
82
|
<li>
|
|
83
83
|
<p>
|
|
84
|
-
<a>UntagResource</a>, which removes tags for a resource in
|
|
84
|
+
<a>UntagResource</a>, which removes tags for a resource in Amazon Web Services CodeStar
|
|
85
85
|
Connections.</p>
|
|
86
86
|
</li>
|
|
87
87
|
</ul>
|
|
88
|
-
<p>For information about how to use
|
|
88
|
+
<p>For information about how to use Amazon Web Services CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
|
|
89
89
|
Guide</a>.</p>
|
|
90
90
|
|
|
91
91
|
## Installing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -6,6 +6,7 @@ exports.ProviderType = {
|
|
|
6
6
|
BITBUCKET: "Bitbucket",
|
|
7
7
|
GITHUB: "GitHub",
|
|
8
8
|
GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
|
|
9
|
+
GITLAB: "GitLab",
|
|
9
10
|
};
|
|
10
11
|
class LimitExceededException extends CodeStarConnectionsServiceException_1.CodeStarConnectionsServiceException {
|
|
11
12
|
constructor(opts) {
|
|
@@ -322,12 +322,18 @@ const de_ListConnectionsCommandError = async (output, context) => {
|
|
|
322
322
|
body: await parseErrorBody(output.body, context),
|
|
323
323
|
};
|
|
324
324
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
325
|
+
switch (errorCode) {
|
|
326
|
+
case "ResourceNotFoundException":
|
|
327
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
328
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
329
|
+
default:
|
|
330
|
+
const parsedBody = parsedOutput.body;
|
|
331
|
+
return throwDefaultError({
|
|
332
|
+
output,
|
|
333
|
+
parsedBody,
|
|
334
|
+
errorCode,
|
|
335
|
+
});
|
|
336
|
+
}
|
|
331
337
|
};
|
|
332
338
|
const de_ListHostsCommand = async (output, context) => {
|
|
333
339
|
if (output.statusCode >= 300) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -300,12 +300,18 @@ const de_ListConnectionsCommandError = async (output, context) => {
|
|
|
300
300
|
body: await parseErrorBody(output.body, context),
|
|
301
301
|
};
|
|
302
302
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
303
|
+
switch (errorCode) {
|
|
304
|
+
case "ResourceNotFoundException":
|
|
305
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
306
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
307
|
+
default:
|
|
308
|
+
const parsedBody = parsedOutput.body;
|
|
309
|
+
return throwDefaultError({
|
|
310
|
+
output,
|
|
311
|
+
parsedBody,
|
|
312
|
+
errorCode,
|
|
313
|
+
});
|
|
314
|
+
}
|
|
309
315
|
};
|
|
310
316
|
export const de_ListHostsCommand = async (output, context) => {
|
|
311
317
|
if (output.statusCode >= 300) {
|
|
@@ -89,11 +89,11 @@ export interface CodeStarConnections {
|
|
|
89
89
|
/**
|
|
90
90
|
* @public
|
|
91
91
|
* <fullname>AWS CodeStar Connections</fullname>
|
|
92
|
-
* <p>This
|
|
93
|
-
* the operations and data types for the
|
|
92
|
+
* <p>This Amazon Web Services CodeStar Connections API Reference provides descriptions and usage examples of
|
|
93
|
+
* the operations and data types for the Amazon Web Services CodeStar Connections API. You can use the
|
|
94
94
|
* connections API to work with connections and installations.</p>
|
|
95
95
|
* <p>
|
|
96
|
-
* <i>Connections</i> are configurations that you use to connect
|
|
96
|
+
* <i>Connections</i> are configurations that you use to connect Amazon Web Services
|
|
97
97
|
* resources to external code repositories. Each connection is a resource that can be given to
|
|
98
98
|
* services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
|
|
99
99
|
* example, you can add the connection in CodePipeline so that it triggers your pipeline when a
|
|
@@ -148,25 +148,25 @@ export interface CodeStarConnections {
|
|
|
148
148
|
* account.</p>
|
|
149
149
|
* </li>
|
|
150
150
|
* </ul>
|
|
151
|
-
* <p>You can work with tags in
|
|
151
|
+
* <p>You can work with tags in Amazon Web Services CodeStar Connections by calling the following:</p>
|
|
152
152
|
* <ul>
|
|
153
153
|
* <li>
|
|
154
154
|
* <p>
|
|
155
|
-
* <a>ListTagsForResource</a>, which gets information about
|
|
156
|
-
* specified Amazon Resource Name (ARN) in
|
|
155
|
+
* <a>ListTagsForResource</a>, which gets information about Amazon Web Services tags for a
|
|
156
|
+
* specified Amazon Resource Name (ARN) in Amazon Web Services CodeStar Connections.</p>
|
|
157
157
|
* </li>
|
|
158
158
|
* <li>
|
|
159
159
|
* <p>
|
|
160
|
-
* <a>TagResource</a>, which adds or updates tags for a resource in
|
|
160
|
+
* <a>TagResource</a>, which adds or updates tags for a resource in Amazon Web Services CodeStar
|
|
161
161
|
* Connections.</p>
|
|
162
162
|
* </li>
|
|
163
163
|
* <li>
|
|
164
164
|
* <p>
|
|
165
|
-
* <a>UntagResource</a>, which removes tags for a resource in
|
|
165
|
+
* <a>UntagResource</a>, which removes tags for a resource in Amazon Web Services CodeStar
|
|
166
166
|
* Connections.</p>
|
|
167
167
|
* </li>
|
|
168
168
|
* </ul>
|
|
169
|
-
* <p>For information about how to use
|
|
169
|
+
* <p>For information about how to use Amazon Web Services CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
|
|
170
170
|
* Guide</a>.</p>
|
|
171
171
|
*/
|
|
172
172
|
export declare class CodeStarConnections extends CodeStarConnectionsClient implements CodeStarConnections {
|
|
@@ -158,11 +158,11 @@ export interface CodeStarConnectionsClientResolvedConfig extends CodeStarConnect
|
|
|
158
158
|
/**
|
|
159
159
|
* @public
|
|
160
160
|
* <fullname>AWS CodeStar Connections</fullname>
|
|
161
|
-
* <p>This
|
|
162
|
-
* the operations and data types for the
|
|
161
|
+
* <p>This Amazon Web Services CodeStar Connections API Reference provides descriptions and usage examples of
|
|
162
|
+
* the operations and data types for the Amazon Web Services CodeStar Connections API. You can use the
|
|
163
163
|
* connections API to work with connections and installations.</p>
|
|
164
164
|
* <p>
|
|
165
|
-
* <i>Connections</i> are configurations that you use to connect
|
|
165
|
+
* <i>Connections</i> are configurations that you use to connect Amazon Web Services
|
|
166
166
|
* resources to external code repositories. Each connection is a resource that can be given to
|
|
167
167
|
* services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
|
|
168
168
|
* example, you can add the connection in CodePipeline so that it triggers your pipeline when a
|
|
@@ -217,25 +217,25 @@ export interface CodeStarConnectionsClientResolvedConfig extends CodeStarConnect
|
|
|
217
217
|
* account.</p>
|
|
218
218
|
* </li>
|
|
219
219
|
* </ul>
|
|
220
|
-
* <p>You can work with tags in
|
|
220
|
+
* <p>You can work with tags in Amazon Web Services CodeStar Connections by calling the following:</p>
|
|
221
221
|
* <ul>
|
|
222
222
|
* <li>
|
|
223
223
|
* <p>
|
|
224
|
-
* <a>ListTagsForResource</a>, which gets information about
|
|
225
|
-
* specified Amazon Resource Name (ARN) in
|
|
224
|
+
* <a>ListTagsForResource</a>, which gets information about Amazon Web Services tags for a
|
|
225
|
+
* specified Amazon Resource Name (ARN) in Amazon Web Services CodeStar Connections.</p>
|
|
226
226
|
* </li>
|
|
227
227
|
* <li>
|
|
228
228
|
* <p>
|
|
229
|
-
* <a>TagResource</a>, which adds or updates tags for a resource in
|
|
229
|
+
* <a>TagResource</a>, which adds or updates tags for a resource in Amazon Web Services CodeStar
|
|
230
230
|
* Connections.</p>
|
|
231
231
|
* </li>
|
|
232
232
|
* <li>
|
|
233
233
|
* <p>
|
|
234
|
-
* <a>UntagResource</a>, which removes tags for a resource in
|
|
234
|
+
* <a>UntagResource</a>, which removes tags for a resource in Amazon Web Services CodeStar
|
|
235
235
|
* Connections.</p>
|
|
236
236
|
* </li>
|
|
237
237
|
* </ul>
|
|
238
|
-
* <p>For information about how to use
|
|
238
|
+
* <p>For information about how to use Amazon Web Services CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
|
|
239
239
|
* Guide</a>.</p>
|
|
240
240
|
*/
|
|
241
241
|
export declare class CodeStarConnectionsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeStarConnectionsClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a connection that can then be given to other
|
|
26
|
+
* <p>Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so
|
|
27
27
|
* that it can access third-party code repositories. The connection is in pending status until
|
|
28
28
|
* the third-party connection handshake is completed from the console.</p>
|
|
29
29
|
* @example
|
|
@@ -33,7 +33,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _
|
|
|
33
33
|
* // const { CodeStarConnectionsClient, CreateConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
34
34
|
* const client = new CodeStarConnectionsClient(config);
|
|
35
35
|
* const input = { // CreateConnectionInput
|
|
36
|
-
* ProviderType: "
|
|
36
|
+
* ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
|
|
37
37
|
* ConnectionName: "STRING_VALUE", // required
|
|
38
38
|
* Tags: [ // TagList
|
|
39
39
|
* { // Tag
|
|
@@ -39,7 +39,7 @@ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBea
|
|
|
39
39
|
* const client = new CodeStarConnectionsClient(config);
|
|
40
40
|
* const input = { // CreateHostInput
|
|
41
41
|
* Name: "STRING_VALUE", // required
|
|
42
|
-
* ProviderType: "
|
|
42
|
+
* ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
|
|
43
43
|
* ProviderEndpoint: "STRING_VALUE", // required
|
|
44
44
|
* VpcConfiguration: { // VpcConfiguration
|
|
45
45
|
* VpcId: "STRING_VALUE", // required
|
|
@@ -39,9 +39,9 @@ export interface GetConnectionCommandOutput extends GetConnectionOutput, __Metad
|
|
|
39
39
|
* // Connection: { // Connection
|
|
40
40
|
* // ConnectionName: "STRING_VALUE",
|
|
41
41
|
* // ConnectionArn: "STRING_VALUE",
|
|
42
|
-
* // ProviderType: "
|
|
42
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
|
|
43
43
|
* // OwnerAccountId: "STRING_VALUE",
|
|
44
|
-
* // ConnectionStatus: "
|
|
44
|
+
* // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
|
|
45
45
|
* // HostArn: "STRING_VALUE",
|
|
46
46
|
* // },
|
|
47
47
|
* // };
|
|
@@ -39,7 +39,7 @@ export interface GetHostCommandOutput extends GetHostOutput, __MetadataBearer {
|
|
|
39
39
|
* // { // GetHostOutput
|
|
40
40
|
* // Name: "STRING_VALUE",
|
|
41
41
|
* // Status: "STRING_VALUE",
|
|
42
|
-
* // ProviderType: "
|
|
42
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
|
|
43
43
|
* // ProviderEndpoint: "STRING_VALUE",
|
|
44
44
|
* // VpcConfiguration: { // VpcConfiguration
|
|
45
45
|
* // VpcId: "STRING_VALUE", // required
|
|
@@ -31,7 +31,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
|
|
|
31
31
|
* // const { CodeStarConnectionsClient, ListConnectionsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
32
|
* const client = new CodeStarConnectionsClient(config);
|
|
33
33
|
* const input = { // ListConnectionsInput
|
|
34
|
-
* ProviderTypeFilter: "
|
|
34
|
+
* ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
|
|
35
35
|
* HostArnFilter: "STRING_VALUE",
|
|
36
36
|
* MaxResults: Number("int"),
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
@@ -43,9 +43,9 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
|
|
|
43
43
|
* // { // Connection
|
|
44
44
|
* // ConnectionName: "STRING_VALUE",
|
|
45
45
|
* // ConnectionArn: "STRING_VALUE",
|
|
46
|
-
* // ProviderType: "
|
|
46
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
|
|
47
47
|
* // OwnerAccountId: "STRING_VALUE",
|
|
48
|
-
* // ConnectionStatus: "
|
|
48
|
+
* // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
|
|
49
49
|
* // HostArn: "STRING_VALUE",
|
|
50
50
|
* // },
|
|
51
51
|
* // ],
|
|
@@ -60,6 +60,9 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
|
|
|
60
60
|
* @see {@link ListConnectionsCommandOutput} for command's `response` shape.
|
|
61
61
|
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
62
62
|
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
65
|
+
*
|
|
63
66
|
* @throws {@link CodeStarConnectionsServiceException}
|
|
64
67
|
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
65
68
|
*
|
|
@@ -41,7 +41,7 @@ export interface ListHostsCommandOutput extends ListHostsOutput, __MetadataBeare
|
|
|
41
41
|
* // { // Host
|
|
42
42
|
* // Name: "STRING_VALUE",
|
|
43
43
|
* // HostArn: "STRING_VALUE",
|
|
44
|
-
* // ProviderType: "
|
|
44
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
|
|
45
45
|
* // ProviderEndpoint: "STRING_VALUE",
|
|
46
46
|
* // VpcConfiguration: { // VpcConfiguration
|
|
47
47
|
* // VpcId: "STRING_VALUE", // required
|
|
@@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Removes tags from an
|
|
26
|
+
* <p>Removes tags from an Amazon Web Services resource.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <fullname>AWS CodeStar Connections</fullname>
|
|
3
|
-
* <p>This
|
|
4
|
-
* the operations and data types for the
|
|
3
|
+
* <p>This Amazon Web Services CodeStar Connections API Reference provides descriptions and usage examples of
|
|
4
|
+
* the operations and data types for the Amazon Web Services CodeStar Connections API. You can use the
|
|
5
5
|
* connections API to work with connections and installations.</p>
|
|
6
6
|
* <p>
|
|
7
|
-
* <i>Connections</i> are configurations that you use to connect
|
|
7
|
+
* <i>Connections</i> are configurations that you use to connect Amazon Web Services
|
|
8
8
|
* resources to external code repositories. Each connection is a resource that can be given to
|
|
9
9
|
* services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
|
|
10
10
|
* example, you can add the connection in CodePipeline so that it triggers your pipeline when a
|
|
@@ -59,25 +59,25 @@
|
|
|
59
59
|
* account.</p>
|
|
60
60
|
* </li>
|
|
61
61
|
* </ul>
|
|
62
|
-
* <p>You can work with tags in
|
|
62
|
+
* <p>You can work with tags in Amazon Web Services CodeStar Connections by calling the following:</p>
|
|
63
63
|
* <ul>
|
|
64
64
|
* <li>
|
|
65
65
|
* <p>
|
|
66
|
-
* <a>ListTagsForResource</a>, which gets information about
|
|
67
|
-
* specified Amazon Resource Name (ARN) in
|
|
66
|
+
* <a>ListTagsForResource</a>, which gets information about Amazon Web Services tags for a
|
|
67
|
+
* specified Amazon Resource Name (ARN) in Amazon Web Services CodeStar Connections.</p>
|
|
68
68
|
* </li>
|
|
69
69
|
* <li>
|
|
70
70
|
* <p>
|
|
71
|
-
* <a>TagResource</a>, which adds or updates tags for a resource in
|
|
71
|
+
* <a>TagResource</a>, which adds or updates tags for a resource in Amazon Web Services CodeStar
|
|
72
72
|
* Connections.</p>
|
|
73
73
|
* </li>
|
|
74
74
|
* <li>
|
|
75
75
|
* <p>
|
|
76
|
-
* <a>UntagResource</a>, which removes tags for a resource in
|
|
76
|
+
* <a>UntagResource</a>, which removes tags for a resource in Amazon Web Services CodeStar
|
|
77
77
|
* Connections.</p>
|
|
78
78
|
* </li>
|
|
79
79
|
* </ul>
|
|
80
|
-
* <p>For information about how to use
|
|
80
|
+
* <p>For information about how to use Amazon Web Services CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
|
|
81
81
|
* Guide</a>.</p>
|
|
82
82
|
*
|
|
83
83
|
* @packageDocumentation
|
|
@@ -8,6 +8,7 @@ export declare const ProviderType: {
|
|
|
8
8
|
readonly BITBUCKET: "Bitbucket";
|
|
9
9
|
readonly GITHUB: "GitHub";
|
|
10
10
|
readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
|
|
11
|
+
readonly GITLAB: "GitLab";
|
|
11
12
|
};
|
|
12
13
|
/**
|
|
13
14
|
* @public
|
|
@@ -16,14 +17,16 @@ export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
|
16
17
|
/**
|
|
17
18
|
* @public
|
|
18
19
|
* <p>A tag is a key-value pair that is used to manage the resource.</p>
|
|
19
|
-
* <p>This tag is available for use by
|
|
20
|
+
* <p>This tag is available for use by Amazon Web Services services that support tags.</p>
|
|
20
21
|
*/
|
|
21
22
|
export interface Tag {
|
|
22
23
|
/**
|
|
24
|
+
* @public
|
|
23
25
|
* <p>The tag's key.</p>
|
|
24
26
|
*/
|
|
25
27
|
Key: string | undefined;
|
|
26
28
|
/**
|
|
29
|
+
* @public
|
|
27
30
|
* <p>The tag's value.</p>
|
|
28
31
|
*/
|
|
29
32
|
Value: string | undefined;
|
|
@@ -33,20 +36,23 @@ export interface Tag {
|
|
|
33
36
|
*/
|
|
34
37
|
export interface CreateConnectionInput {
|
|
35
38
|
/**
|
|
39
|
+
* @public
|
|
36
40
|
* <p>The name of the external provider where your third-party code repository is
|
|
37
41
|
* configured.</p>
|
|
38
42
|
*/
|
|
39
43
|
ProviderType?: ProviderType | string;
|
|
40
44
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
45
|
+
* @public
|
|
46
|
+
* <p>The name of the connection to be created.</p>
|
|
43
47
|
*/
|
|
44
48
|
ConnectionName: string | undefined;
|
|
45
49
|
/**
|
|
50
|
+
* @public
|
|
46
51
|
* <p>The key-value pair to use when tagging the resource.</p>
|
|
47
52
|
*/
|
|
48
53
|
Tags?: Tag[];
|
|
49
54
|
/**
|
|
55
|
+
* @public
|
|
50
56
|
* <p>The Amazon Resource Name (ARN) of the host associated with the connection to be created.</p>
|
|
51
57
|
*/
|
|
52
58
|
HostArn?: string;
|
|
@@ -56,14 +62,16 @@ export interface CreateConnectionInput {
|
|
|
56
62
|
*/
|
|
57
63
|
export interface CreateConnectionOutput {
|
|
58
64
|
/**
|
|
65
|
+
* @public
|
|
59
66
|
* <p>The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the
|
|
60
|
-
* connection reference when the connection is shared between
|
|
67
|
+
* connection reference when the connection is shared between Amazon Web Services services.</p>
|
|
61
68
|
* <note>
|
|
62
69
|
* <p>The ARN is never reused if the connection is deleted.</p>
|
|
63
70
|
* </note>
|
|
64
71
|
*/
|
|
65
72
|
ConnectionArn: string | undefined;
|
|
66
73
|
/**
|
|
74
|
+
* @public
|
|
67
75
|
* <p>Specifies the tags applied to the resource.</p>
|
|
68
76
|
*/
|
|
69
77
|
Tags?: Tag[];
|
|
@@ -113,21 +121,25 @@ export declare class ResourceUnavailableException extends __BaseException {
|
|
|
113
121
|
*/
|
|
114
122
|
export interface VpcConfiguration {
|
|
115
123
|
/**
|
|
124
|
+
* @public
|
|
116
125
|
* <p>The ID of the Amazon VPC connected to the infrastructure where your provider type is
|
|
117
126
|
* installed.</p>
|
|
118
127
|
*/
|
|
119
128
|
VpcId: string | undefined;
|
|
120
129
|
/**
|
|
130
|
+
* @public
|
|
121
131
|
* <p>The ID of the subnet or subnets associated with the Amazon VPC connected to the
|
|
122
132
|
* infrastructure where your provider type is installed.</p>
|
|
123
133
|
*/
|
|
124
134
|
SubnetIds: string[] | undefined;
|
|
125
135
|
/**
|
|
136
|
+
* @public
|
|
126
137
|
* <p>The ID of the security group or security groups associated with the Amazon VPC connected
|
|
127
138
|
* to the infrastructure where your provider type is installed.</p>
|
|
128
139
|
*/
|
|
129
140
|
SecurityGroupIds: string[] | undefined;
|
|
130
141
|
/**
|
|
142
|
+
* @public
|
|
131
143
|
* <p>The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.</p>
|
|
132
144
|
*/
|
|
133
145
|
TlsCertificate?: string;
|
|
@@ -137,22 +149,25 @@ export interface VpcConfiguration {
|
|
|
137
149
|
*/
|
|
138
150
|
export interface CreateHostInput {
|
|
139
151
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
152
|
+
* @public
|
|
153
|
+
* <p>The name of the host to be created.</p>
|
|
142
154
|
*/
|
|
143
155
|
Name: string | undefined;
|
|
144
156
|
/**
|
|
157
|
+
* @public
|
|
145
158
|
* <p>The name of the installed provider to be associated with your connection. The host
|
|
146
159
|
* resource represents the infrastructure where your provider type is installed. The valid
|
|
147
160
|
* provider type is GitHub Enterprise Server.</p>
|
|
148
161
|
*/
|
|
149
162
|
ProviderType: ProviderType | string | undefined;
|
|
150
163
|
/**
|
|
164
|
+
* @public
|
|
151
165
|
* <p>The endpoint of the infrastructure to be represented by the host after it is
|
|
152
166
|
* created.</p>
|
|
153
167
|
*/
|
|
154
168
|
ProviderEndpoint: string | undefined;
|
|
155
169
|
/**
|
|
170
|
+
* @public
|
|
156
171
|
* <p>The VPC configuration to be provisioned for the host. A VPC must be configured and the
|
|
157
172
|
* infrastructure to be represented by the host must already be connected to the VPC.</p>
|
|
158
173
|
*/
|
|
@@ -164,6 +179,7 @@ export interface CreateHostInput {
|
|
|
164
179
|
*/
|
|
165
180
|
export interface CreateHostOutput {
|
|
166
181
|
/**
|
|
182
|
+
* @public
|
|
167
183
|
* <p>The Amazon Resource Name (ARN) of the host to be created.</p>
|
|
168
184
|
*/
|
|
169
185
|
HostArn?: string;
|
|
@@ -174,6 +190,7 @@ export interface CreateHostOutput {
|
|
|
174
190
|
*/
|
|
175
191
|
export interface DeleteConnectionInput {
|
|
176
192
|
/**
|
|
193
|
+
* @public
|
|
177
194
|
* <p>The Amazon Resource Name (ARN) of the connection to be deleted.</p>
|
|
178
195
|
* <note>
|
|
179
196
|
* <p>The ARN is never reused if the connection is deleted.</p>
|
|
@@ -191,6 +208,7 @@ export interface DeleteConnectionOutput {
|
|
|
191
208
|
*/
|
|
192
209
|
export interface DeleteHostInput {
|
|
193
210
|
/**
|
|
211
|
+
* @public
|
|
194
212
|
* <p>The Amazon Resource Name (ARN) of the host to be deleted.</p>
|
|
195
213
|
*/
|
|
196
214
|
HostArn: string | undefined;
|
|
@@ -205,6 +223,7 @@ export interface DeleteHostOutput {
|
|
|
205
223
|
*/
|
|
206
224
|
export interface GetConnectionInput {
|
|
207
225
|
/**
|
|
226
|
+
* @public
|
|
208
227
|
* <p>The Amazon Resource Name (ARN) of a connection.</p>
|
|
209
228
|
*/
|
|
210
229
|
ConnectionArn: string | undefined;
|
|
@@ -224,38 +243,44 @@ export declare const ConnectionStatus: {
|
|
|
224
243
|
export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
225
244
|
/**
|
|
226
245
|
* @public
|
|
227
|
-
* <p>A resource that is used to connect third-party source providers with services like
|
|
246
|
+
* <p>A resource that is used to connect third-party source providers with services like CodePipeline.</p>
|
|
228
247
|
* <p>Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the
|
|
229
248
|
* connection in the console.</p>
|
|
230
249
|
*/
|
|
231
250
|
export interface Connection {
|
|
232
251
|
/**
|
|
233
|
-
*
|
|
252
|
+
* @public
|
|
253
|
+
* <p>The name of the connection. Connection names must be unique in an Amazon Web Services account.</p>
|
|
234
254
|
*/
|
|
235
255
|
ConnectionName?: string;
|
|
236
256
|
/**
|
|
257
|
+
* @public
|
|
237
258
|
* <p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection
|
|
238
|
-
* reference when the connection is shared between
|
|
259
|
+
* reference when the connection is shared between Amazon Web Services.</p>
|
|
239
260
|
* <note>
|
|
240
261
|
* <p>The ARN is never reused if the connection is deleted.</p>
|
|
241
262
|
* </note>
|
|
242
263
|
*/
|
|
243
264
|
ConnectionArn?: string;
|
|
244
265
|
/**
|
|
266
|
+
* @public
|
|
245
267
|
* <p>The name of the external provider where your third-party code repository is
|
|
246
268
|
* configured.</p>
|
|
247
269
|
*/
|
|
248
270
|
ProviderType?: ProviderType | string;
|
|
249
271
|
/**
|
|
272
|
+
* @public
|
|
250
273
|
* <p>The identifier of the external provider where your third-party code repository is configured.
|
|
251
274
|
* For Bitbucket, this is the account ID of the owner of the Bitbucket repository.</p>
|
|
252
275
|
*/
|
|
253
276
|
OwnerAccountId?: string;
|
|
254
277
|
/**
|
|
278
|
+
* @public
|
|
255
279
|
* <p>The current status of the connection. </p>
|
|
256
280
|
*/
|
|
257
281
|
ConnectionStatus?: ConnectionStatus | string;
|
|
258
282
|
/**
|
|
283
|
+
* @public
|
|
259
284
|
* <p>The Amazon Resource Name (ARN) of the host associated with the connection.</p>
|
|
260
285
|
*/
|
|
261
286
|
HostArn?: string;
|
|
@@ -265,6 +290,7 @@ export interface Connection {
|
|
|
265
290
|
*/
|
|
266
291
|
export interface GetConnectionOutput {
|
|
267
292
|
/**
|
|
293
|
+
* @public
|
|
268
294
|
* <p>The connection details, such as status, owner, and provider type.</p>
|
|
269
295
|
*/
|
|
270
296
|
Connection?: Connection;
|
|
@@ -274,6 +300,7 @@ export interface GetConnectionOutput {
|
|
|
274
300
|
*/
|
|
275
301
|
export interface GetHostInput {
|
|
276
302
|
/**
|
|
303
|
+
* @public
|
|
277
304
|
* <p>The Amazon Resource Name (ARN) of the requested host.</p>
|
|
278
305
|
*/
|
|
279
306
|
HostArn: string | undefined;
|
|
@@ -283,22 +310,27 @@ export interface GetHostInput {
|
|
|
283
310
|
*/
|
|
284
311
|
export interface GetHostOutput {
|
|
285
312
|
/**
|
|
313
|
+
* @public
|
|
286
314
|
* <p>The name of the requested host.</p>
|
|
287
315
|
*/
|
|
288
316
|
Name?: string;
|
|
289
317
|
/**
|
|
318
|
+
* @public
|
|
290
319
|
* <p>The status of the requested host.</p>
|
|
291
320
|
*/
|
|
292
321
|
Status?: string;
|
|
293
322
|
/**
|
|
323
|
+
* @public
|
|
294
324
|
* <p>The provider type of the requested host, such as GitHub Enterprise Server.</p>
|
|
295
325
|
*/
|
|
296
326
|
ProviderType?: ProviderType | string;
|
|
297
327
|
/**
|
|
328
|
+
* @public
|
|
298
329
|
* <p>The endpoint of the infrastructure represented by the requested host.</p>
|
|
299
330
|
*/
|
|
300
331
|
ProviderEndpoint?: string;
|
|
301
332
|
/**
|
|
333
|
+
* @public
|
|
302
334
|
* <p>The VPC configuration of the requested host.</p>
|
|
303
335
|
*/
|
|
304
336
|
VpcConfiguration?: VpcConfiguration;
|
|
@@ -308,20 +340,24 @@ export interface GetHostOutput {
|
|
|
308
340
|
*/
|
|
309
341
|
export interface ListConnectionsInput {
|
|
310
342
|
/**
|
|
343
|
+
* @public
|
|
311
344
|
* <p>Filters the list of connections to those associated with a specified provider, such as
|
|
312
345
|
* Bitbucket.</p>
|
|
313
346
|
*/
|
|
314
347
|
ProviderTypeFilter?: ProviderType | string;
|
|
315
348
|
/**
|
|
349
|
+
* @public
|
|
316
350
|
* <p>Filters the list of connections to those associated with a specified host.</p>
|
|
317
351
|
*/
|
|
318
352
|
HostArnFilter?: string;
|
|
319
353
|
/**
|
|
354
|
+
* @public
|
|
320
355
|
* <p>The maximum number of results to return in a single call. To retrieve the remaining
|
|
321
356
|
* results, make another call with the returned <code>nextToken</code> value.</p>
|
|
322
357
|
*/
|
|
323
358
|
MaxResults?: number;
|
|
324
359
|
/**
|
|
360
|
+
* @public
|
|
325
361
|
* <p>The token that was returned from the previous <code>ListConnections</code> call, which
|
|
326
362
|
* can be used to return the next set of connections in the list.</p>
|
|
327
363
|
*/
|
|
@@ -332,11 +368,13 @@ export interface ListConnectionsInput {
|
|
|
332
368
|
*/
|
|
333
369
|
export interface ListConnectionsOutput {
|
|
334
370
|
/**
|
|
371
|
+
* @public
|
|
335
372
|
* <p>A list of connections and the details for each connection, such as status, owner, and
|
|
336
373
|
* provider type.</p>
|
|
337
374
|
*/
|
|
338
375
|
Connections?: Connection[];
|
|
339
376
|
/**
|
|
377
|
+
* @public
|
|
340
378
|
* <p>A token that can be used in the next <code>ListConnections</code> call. To view all
|
|
341
379
|
* items in the list, continue to call this operation with each subsequent token until no more
|
|
342
380
|
* <code>nextToken</code> values are returned.</p>
|
|
@@ -348,11 +386,13 @@ export interface ListConnectionsOutput {
|
|
|
348
386
|
*/
|
|
349
387
|
export interface ListHostsInput {
|
|
350
388
|
/**
|
|
389
|
+
* @public
|
|
351
390
|
* <p>The maximum number of results to return in a single call. To retrieve the remaining
|
|
352
391
|
* results, make another call with the returned <code>nextToken</code> value.</p>
|
|
353
392
|
*/
|
|
354
393
|
MaxResults?: number;
|
|
355
394
|
/**
|
|
395
|
+
* @public
|
|
356
396
|
* <p>The token that was returned from the previous <code>ListHosts</code> call, which can be
|
|
357
397
|
* used to return the next set of hosts in the list.</p>
|
|
358
398
|
*/
|
|
@@ -370,32 +410,39 @@ export interface ListHostsInput {
|
|
|
370
410
|
*/
|
|
371
411
|
export interface Host {
|
|
372
412
|
/**
|
|
413
|
+
* @public
|
|
373
414
|
* <p>The name of the host.</p>
|
|
374
415
|
*/
|
|
375
416
|
Name?: string;
|
|
376
417
|
/**
|
|
418
|
+
* @public
|
|
377
419
|
* <p>The Amazon Resource Name (ARN) of the host.</p>
|
|
378
420
|
*/
|
|
379
421
|
HostArn?: string;
|
|
380
422
|
/**
|
|
423
|
+
* @public
|
|
381
424
|
* <p>The name of the installed provider to be associated with your connection. The host
|
|
382
425
|
* resource represents the infrastructure where your provider type is installed. The valid
|
|
383
426
|
* provider type is GitHub Enterprise Server.</p>
|
|
384
427
|
*/
|
|
385
428
|
ProviderType?: ProviderType | string;
|
|
386
429
|
/**
|
|
430
|
+
* @public
|
|
387
431
|
* <p>The endpoint of the infrastructure where your provider type is installed.</p>
|
|
388
432
|
*/
|
|
389
433
|
ProviderEndpoint?: string;
|
|
390
434
|
/**
|
|
435
|
+
* @public
|
|
391
436
|
* <p>The VPC configuration provisioned for the host.</p>
|
|
392
437
|
*/
|
|
393
438
|
VpcConfiguration?: VpcConfiguration;
|
|
394
439
|
/**
|
|
440
|
+
* @public
|
|
395
441
|
* <p>The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.</p>
|
|
396
442
|
*/
|
|
397
443
|
Status?: string;
|
|
398
444
|
/**
|
|
445
|
+
* @public
|
|
399
446
|
* <p>The status description for the host.</p>
|
|
400
447
|
*/
|
|
401
448
|
StatusMessage?: string;
|
|
@@ -405,11 +452,13 @@ export interface Host {
|
|
|
405
452
|
*/
|
|
406
453
|
export interface ListHostsOutput {
|
|
407
454
|
/**
|
|
455
|
+
* @public
|
|
408
456
|
* <p>A list of hosts and the details for each host, such as status, endpoint, and provider
|
|
409
457
|
* type.</p>
|
|
410
458
|
*/
|
|
411
459
|
Hosts?: Host[];
|
|
412
460
|
/**
|
|
461
|
+
* @public
|
|
413
462
|
* <p>A token that can be used in the next <code>ListHosts</code> call. To view all items in the
|
|
414
463
|
* list, continue to call this operation with each subsequent token until no more
|
|
415
464
|
* <code>nextToken</code> values are returned.</p>
|
|
@@ -421,6 +470,7 @@ export interface ListHostsOutput {
|
|
|
421
470
|
*/
|
|
422
471
|
export interface ListTagsForResourceInput {
|
|
423
472
|
/**
|
|
473
|
+
* @public
|
|
424
474
|
* <p>The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.</p>
|
|
425
475
|
*/
|
|
426
476
|
ResourceArn: string | undefined;
|
|
@@ -430,6 +480,7 @@ export interface ListTagsForResourceInput {
|
|
|
430
480
|
*/
|
|
431
481
|
export interface ListTagsForResourceOutput {
|
|
432
482
|
/**
|
|
483
|
+
* @public
|
|
433
484
|
* <p>A list of tag key and value pairs associated with the specified resource.</p>
|
|
434
485
|
*/
|
|
435
486
|
Tags?: Tag[];
|
|
@@ -439,10 +490,12 @@ export interface ListTagsForResourceOutput {
|
|
|
439
490
|
*/
|
|
440
491
|
export interface TagResourceInput {
|
|
441
492
|
/**
|
|
493
|
+
* @public
|
|
442
494
|
* <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
|
|
443
495
|
*/
|
|
444
496
|
ResourceArn: string | undefined;
|
|
445
497
|
/**
|
|
498
|
+
* @public
|
|
446
499
|
* <p>The tags you want to modify or add to the resource.</p>
|
|
447
500
|
*/
|
|
448
501
|
Tags: Tag[] | undefined;
|
|
@@ -457,10 +510,12 @@ export interface TagResourceOutput {
|
|
|
457
510
|
*/
|
|
458
511
|
export interface UntagResourceInput {
|
|
459
512
|
/**
|
|
513
|
+
* @public
|
|
460
514
|
* <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
|
|
461
515
|
*/
|
|
462
516
|
ResourceArn: string | undefined;
|
|
463
517
|
/**
|
|
518
|
+
* @public
|
|
464
519
|
* <p>The list of keys for the tags to be removed from the resource.</p>
|
|
465
520
|
*/
|
|
466
521
|
TagKeys: string[] | undefined;
|
|
@@ -501,14 +556,17 @@ export declare class UnsupportedOperationException extends __BaseException {
|
|
|
501
556
|
*/
|
|
502
557
|
export interface UpdateHostInput {
|
|
503
558
|
/**
|
|
559
|
+
* @public
|
|
504
560
|
* <p>The Amazon Resource Name (ARN) of the host to be updated.</p>
|
|
505
561
|
*/
|
|
506
562
|
HostArn: string | undefined;
|
|
507
563
|
/**
|
|
564
|
+
* @public
|
|
508
565
|
* <p>The URL or endpoint of the host to be updated.</p>
|
|
509
566
|
*/
|
|
510
567
|
ProviderEndpoint?: string;
|
|
511
568
|
/**
|
|
569
|
+
* @public
|
|
512
570
|
* <p>The VPC configuration of the host to be updated. A VPC must be configured and the
|
|
513
571
|
* infrastructure to be represented by the host must already be connected to the VPC.</p>
|
|
514
572
|
*/
|
|
@@ -4,6 +4,7 @@ export declare const ProviderType: {
|
|
|
4
4
|
readonly BITBUCKET: "Bitbucket";
|
|
5
5
|
readonly GITHUB: "GitHub";
|
|
6
6
|
readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
|
|
7
|
+
readonly GITLAB: "GitLab";
|
|
7
8
|
};
|
|
8
9
|
export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
9
10
|
export interface Tag {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codestar-connections",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.382.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|