@aws-sdk/client-apprunner 3.398.0 → 3.403.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const q = "required", r = "fn", s = "argv", t = "ref";
5
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://apprunner-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://apprunner-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://apprunner.{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://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
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 }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { 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: [{ endpoint: { url: "https://apprunner-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: [{ endpoint: { url: "https://apprunner-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: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -78,6 +78,7 @@ class ServiceQuotaExceededException extends AppRunnerServiceException_1.AppRunne
78
78
  }
79
79
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
80
80
  exports.ProviderType = {
81
+ BITBUCKET: "BITBUCKET",
81
82
  GITHUB: "GITHUB",
82
83
  };
83
84
  exports.ConnectionStatus = {
@@ -1,4 +1,4 @@
1
1
  const q = "required", r = "fn", s = "argv", t = "ref";
2
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://apprunner-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://apprunner-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://apprunner.{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://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
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 }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { 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: [{ endpoint: { url: "https://apprunner-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: [{ endpoint: { url: "https://apprunner-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: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -71,6 +71,7 @@ export class ServiceQuotaExceededException extends __BaseException {
71
71
  }
72
72
  }
73
73
  export const ProviderType = {
74
+ BITBUCKET: "BITBUCKET",
74
75
  GITHUB: "GITHUB",
75
76
  };
76
77
  export const ConnectionStatus = {
@@ -25,8 +25,9 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
25
25
  * @public
26
26
  * <p>Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from
27
27
  * certain third-party providers. You can share a connection across multiple services.</p>
28
- * <p>A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you
29
- * can use the connection.</p>
28
+ * <p>A connection resource is needed to access GitHub and Bitbucket repositories. Both require
29
+ * a user interface approval process through the App Runner console before you can use the
30
+ * connection.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -35,7 +36,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
35
36
  * const client = new AppRunnerClient(config);
36
37
  * const input = { // CreateConnectionRequest
37
38
  * ConnectionName: "STRING_VALUE", // required
38
- * ProviderType: "GITHUB", // required
39
+ * ProviderType: "GITHUB" || "BITBUCKET", // required
39
40
  * Tags: [ // TagList
40
41
  * { // Tag
41
42
  * Key: "STRING_VALUE",
@@ -49,7 +50,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
49
50
  * // Connection: { // Connection
50
51
  * // ConnectionName: "STRING_VALUE",
51
52
  * // ConnectionArn: "STRING_VALUE",
52
- * // ProviderType: "GITHUB",
53
+ * // ProviderType: "GITHUB" || "BITBUCKET",
53
54
  * // Status: "PENDING_HANDSHAKE" || "AVAILABLE" || "ERROR" || "DELETED",
54
55
  * // CreatedAt: new Date("TIMESTAMP"),
55
56
  * // },
@@ -40,7 +40,7 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse,
40
40
  * // Connection: { // Connection
41
41
  * // ConnectionName: "STRING_VALUE",
42
42
  * // ConnectionArn: "STRING_VALUE",
43
- * // ProviderType: "GITHUB",
43
+ * // ProviderType: "GITHUB" || "BITBUCKET",
44
44
  * // Status: "PENDING_HANDSHAKE" || "AVAILABLE" || "ERROR" || "DELETED",
45
45
  * // CreatedAt: new Date("TIMESTAMP"),
46
46
  * // },
@@ -42,7 +42,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsResponse, _
42
42
  * // { // ConnectionSummary
43
43
  * // ConnectionName: "STRING_VALUE",
44
44
  * // ConnectionArn: "STRING_VALUE",
45
- * // ProviderType: "GITHUB",
45
+ * // ProviderType: "GITHUB" || "BITBUCKET",
46
46
  * // Status: "PENDING_HANDSHAKE" || "AVAILABLE" || "ERROR" || "DELETED",
47
47
  * // CreatedAt: new Date("TIMESTAMP"),
48
48
  * // },
@@ -370,6 +370,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
370
370
  * @enum
371
371
  */
372
372
  export declare const ProviderType: {
373
+ readonly BITBUCKET: "BITBUCKET";
373
374
  readonly GITHUB: "GITHUB";
374
375
  };
375
376
  /**
@@ -1208,9 +1209,9 @@ export interface Service {
1208
1209
  * <ul>
1209
1210
  * <li>
1210
1211
  * <p>
1211
- * <code>CREATE_FAILED</code> – The service failed to create. To troubleshoot this failure, read the failure events and logs, change any
1212
- * parameters that need to be fixed, and retry the call to create the service.</p>
1213
- * <p>The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.</p>
1212
+ * <code>CREATE_FAILED</code> – The service failed to create. The failed service isn't usable, and still counts towards your service quota.
1213
+ * To troubleshoot this failure, read the failure events and logs, change any
1214
+ * parameters that need to be fixed, and rebuild your service using <code>UpdateService</code>.</p>
1214
1215
  * </li>
1215
1216
  * <li>
1216
1217
  * <p>
@@ -2255,9 +2256,9 @@ export interface ServiceSummary {
2255
2256
  * <ul>
2256
2257
  * <li>
2257
2258
  * <p>
2258
- * <code>CREATE_FAILED</code> – The service failed to create. Read the failure events and logs, change any parameters that need to be fixed,
2259
- * and retry the call to create the service.</p>
2260
- * <p>The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.</p>
2259
+ * <code>CREATE_FAILED</code> – The service failed to create. The failed service isn't usable, and still counts towards your service quota.
2260
+ * To troubleshoot this failure, read the failure events and logs, change any
2261
+ * parameters that need to be fixed, and rebuild your service using <code>UpdateService</code>.</p>
2261
2262
  * </li>
2262
2263
  * <li>
2263
2264
  * <p>
@@ -111,6 +111,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
111
111
  );
112
112
  }
113
113
  export declare const ProviderType: {
114
+ readonly BITBUCKET: "BITBUCKET";
114
115
  readonly GITHUB: "GITHUB";
115
116
  };
116
117
  export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-apprunner",
3
3
  "description": "AWS SDK for JavaScript Apprunner Client for Node.js, Browser and React Native",
4
- "version": "3.398.0",
4
+ "version": "3.403.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",