@aws-sdk/client-codestar-connections 3.379.1 → 3.381.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 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 AWS CodeStar Connections API Reference provides descriptions and usage examples of
12
- the operations and data types for the AWS CodeStar Connections API. You can use 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 AWS
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 AWS CodeStar Connections by calling the following:</p>
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 AWS tags for a
75
- specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
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 AWS CodeStar
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 AWS CodeStar
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 AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
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 p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], 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: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, 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: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
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
- const parsedBody = parsedOutput.body;
326
- return throwDefaultError({
327
- output,
328
- parsedBody,
329
- errorCode,
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 p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], 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: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, 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: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://codestar-connections-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codestar-connections.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
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;
@@ -3,6 +3,7 @@ export const ProviderType = {
3
3
  BITBUCKET: "Bitbucket",
4
4
  GITHUB: "GitHub",
5
5
  GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
6
+ GITLAB: "GitLab",
6
7
  };
7
8
  export class LimitExceededException extends __BaseException {
8
9
  constructor(opts) {
@@ -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
- const parsedBody = parsedOutput.body;
304
- return throwDefaultError({
305
- output,
306
- parsedBody,
307
- errorCode,
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 AWS CodeStar Connections API Reference provides descriptions and usage examples of
93
- * the operations and data types for the AWS CodeStar Connections API. You can use 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 AWS
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 AWS CodeStar Connections by calling the following:</p>
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 AWS tags for a
156
- * specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
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 AWS CodeStar
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 AWS CodeStar
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 AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
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 AWS CodeStar Connections API Reference provides descriptions and usage examples of
162
- * the operations and data types for the AWS CodeStar Connections API. You can use 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 AWS
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 AWS CodeStar Connections by calling the following:</p>
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 AWS tags for a
225
- * specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
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 AWS CodeStar
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 AWS CodeStar
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 AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
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 AWS services like CodePipeline so
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: "STRING_VALUE",
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: "STRING_VALUE", // required
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: "STRING_VALUE",
42
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
43
43
  * // OwnerAccountId: "STRING_VALUE",
44
- * // ConnectionStatus: "STRING_VALUE",
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: "STRING_VALUE",
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: "STRING_VALUE",
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: "STRING_VALUE",
46
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab",
47
47
  * // OwnerAccountId: "STRING_VALUE",
48
- * // ConnectionStatus: "STRING_VALUE",
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: "STRING_VALUE",
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 AWS resource.</p>
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
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * <fullname>AWS CodeStar Connections</fullname>
3
- * <p>This AWS CodeStar Connections API Reference provides descriptions and usage examples of
4
- * the operations and data types for the AWS CodeStar Connections API. You can use 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 AWS
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 AWS CodeStar Connections by calling the following:</p>
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 AWS tags for a
67
- * specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
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 AWS CodeStar
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 AWS CodeStar
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 AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
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,7 +17,7 @@ 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 AWS services that support tags.</p>
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
  /**
@@ -38,8 +39,7 @@ export interface CreateConnectionInput {
38
39
  */
39
40
  ProviderType?: ProviderType | string;
40
41
  /**
41
- * <p>The name of the connection to be created. The name must be unique in the calling AWS
42
- * account.</p>
42
+ * <p>The name of the connection to be created.</p>
43
43
  */
44
44
  ConnectionName: string | undefined;
45
45
  /**
@@ -57,7 +57,7 @@ export interface CreateConnectionInput {
57
57
  export interface CreateConnectionOutput {
58
58
  /**
59
59
  * <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 AWS services.</p>
60
+ * connection reference when the connection is shared between Amazon Web Services services.</p>
61
61
  * <note>
62
62
  * <p>The ARN is never reused if the connection is deleted.</p>
63
63
  * </note>
@@ -137,8 +137,7 @@ export interface VpcConfiguration {
137
137
  */
138
138
  export interface CreateHostInput {
139
139
  /**
140
- * <p>The name of the host to be created. The name must be unique in the calling AWS
141
- * account.</p>
140
+ * <p>The name of the host to be created.</p>
142
141
  */
143
142
  Name: string | undefined;
144
143
  /**
@@ -224,18 +223,18 @@ export declare const ConnectionStatus: {
224
223
  export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
225
224
  /**
226
225
  * @public
227
- * <p>A resource that is used to connect third-party source providers with services like AWS CodePipeline.</p>
226
+ * <p>A resource that is used to connect third-party source providers with services like CodePipeline.</p>
228
227
  * <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
228
  * connection in the console.</p>
230
229
  */
231
230
  export interface Connection {
232
231
  /**
233
- * <p>The name of the connection. Connection names must be unique in an AWS user account.</p>
232
+ * <p>The name of the connection. Connection names must be unique in an Amazon Web Services account.</p>
234
233
  */
235
234
  ConnectionName?: string;
236
235
  /**
237
236
  * <p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection
238
- * reference when the connection is shared between AWS services.</p>
237
+ * reference when the connection is shared between Amazon Web Services.</p>
239
238
  * <note>
240
239
  * <p>The ARN is never reused if the connection is deleted.</p>
241
240
  * </note>
@@ -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.379.1",
4
+ "version": "3.381.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",