@aws-sdk/client-apprunner 3.398.0 → 3.405.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/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +5 -4
- package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectionsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +7 -6
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +7 -7
|
@@ -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 }, {
|
|
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 }, {
|
|
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;
|
|
@@ -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.
|
|
29
|
-
* can use the
|
|
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.
|
|
1212
|
-
*
|
|
1213
|
-
*
|
|
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.
|
|
2259
|
-
*
|
|
2260
|
-
*
|
|
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.
|
|
4
|
+
"version": "3.405.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,8 +21,8 @@
|
|
|
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.405.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.405.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/types": "3.398.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.398.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.405.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
37
|
"@smithy/hash-node": "^2.0.5",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/middleware-retry": "^2.0.5",
|
|
42
42
|
"@smithy/middleware-serde": "^2.0.5",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.6",
|
|
45
45
|
"@smithy/node-http-handler": "^2.0.5",
|
|
46
46
|
"@smithy/protocol-http": "^2.0.5",
|
|
47
47
|
"@smithy/smithy-client": "^2.0.5",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.6",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.6",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0"
|