@aws-sdk/client-apprunner 3.271.0 → 3.274.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const r = "fn", s = "argv", t = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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://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 }] }] };
7
7
  exports.ruleSet = _data;
@@ -195,6 +195,7 @@ var OperationType;
195
195
  OperationType["PAUSE_SERVICE"] = "PAUSE_SERVICE";
196
196
  OperationType["RESUME_SERVICE"] = "RESUME_SERVICE";
197
197
  OperationType["START_DEPLOYMENT"] = "START_DEPLOYMENT";
198
+ OperationType["UPDATE_SERVICE"] = "UPDATE_SERVICE";
198
199
  })(OperationType = exports.OperationType || (exports.OperationType = {}));
199
200
  const AssociateCustomDomainRequestFilterSensitiveLog = (obj) => ({
200
201
  ...obj,
@@ -1,4 +1,4 @@
1
- const r = "fn", s = "argv", t = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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://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 }] }] };
4
4
  export const ruleSet = _data;
@@ -185,6 +185,7 @@ export var OperationType;
185
185
  OperationType["PAUSE_SERVICE"] = "PAUSE_SERVICE";
186
186
  OperationType["RESUME_SERVICE"] = "RESUME_SERVICE";
187
187
  OperationType["START_DEPLOYMENT"] = "START_DEPLOYMENT";
188
+ OperationType["UPDATE_SERVICE"] = "UPDATE_SERVICE";
188
189
  })(OperationType || (OperationType = {}));
189
190
  export const AssociateCustomDomainRequestFilterSensitiveLog = (obj) => ({
190
191
  ...obj,
@@ -37,9 +37,6 @@ import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./command
37
37
  import { UpdateVpcIngressConnectionCommandInput, UpdateVpcIngressConnectionCommandOutput } from "./commands/UpdateVpcIngressConnectionCommand";
38
38
  /**
39
39
  * <fullname>App Runner</fullname>
40
- *
41
- *
42
- *
43
40
  * <p>App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code
44
41
  * to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to
45
42
  * provision and configure Amazon Web Services resources.</p>
@@ -159,9 +159,6 @@ export interface AppRunnerClientResolvedConfig extends AppRunnerClientResolvedCo
159
159
  }
160
160
  /**
161
161
  * <fullname>App Runner</fullname>
162
- *
163
- *
164
- *
165
162
  * <p>App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code
166
163
  * to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to
167
164
  * provision and configure Amazon Web Services resources.</p>
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -1591,7 +1591,8 @@ export declare enum OperationType {
1591
1591
  DELETE_SERVICE = "DELETE_SERVICE",
1592
1592
  PAUSE_SERVICE = "PAUSE_SERVICE",
1593
1593
  RESUME_SERVICE = "RESUME_SERVICE",
1594
- START_DEPLOYMENT = "START_DEPLOYMENT"
1594
+ START_DEPLOYMENT = "START_DEPLOYMENT",
1595
+ UPDATE_SERVICE = "UPDATE_SERVICE"
1595
1596
  }
1596
1597
  /**
1597
1598
  * <p>Provides summary information for an operation that occurred on an App Runner service.</p>
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -524,6 +524,7 @@ export declare enum OperationType {
524
524
  PAUSE_SERVICE = "PAUSE_SERVICE",
525
525
  RESUME_SERVICE = "RESUME_SERVICE",
526
526
  START_DEPLOYMENT = "START_DEPLOYMENT",
527
+ UPDATE_SERVICE = "UPDATE_SERVICE",
527
528
  }
528
529
  export interface OperationSummary {
529
530
  Id?: string;
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.271.0",
4
+ "version": "3.274.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",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.271.0",
24
- "@aws-sdk/config-resolver": "3.271.0",
25
- "@aws-sdk/credential-provider-node": "3.271.0",
26
- "@aws-sdk/fetch-http-handler": "3.271.0",
27
- "@aws-sdk/hash-node": "3.271.0",
28
- "@aws-sdk/invalid-dependency": "3.271.0",
29
- "@aws-sdk/middleware-content-length": "3.271.0",
30
- "@aws-sdk/middleware-endpoint": "3.271.0",
31
- "@aws-sdk/middleware-host-header": "3.271.0",
32
- "@aws-sdk/middleware-logger": "3.271.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.271.0",
34
- "@aws-sdk/middleware-retry": "3.271.0",
35
- "@aws-sdk/middleware-serde": "3.271.0",
36
- "@aws-sdk/middleware-signing": "3.271.0",
37
- "@aws-sdk/middleware-stack": "3.271.0",
38
- "@aws-sdk/middleware-user-agent": "3.271.0",
39
- "@aws-sdk/node-config-provider": "3.271.0",
40
- "@aws-sdk/node-http-handler": "3.271.0",
41
- "@aws-sdk/protocol-http": "3.271.0",
42
- "@aws-sdk/smithy-client": "3.271.0",
43
- "@aws-sdk/types": "3.271.0",
44
- "@aws-sdk/url-parser": "3.271.0",
23
+ "@aws-sdk/client-sts": "3.272.0",
24
+ "@aws-sdk/config-resolver": "3.272.0",
25
+ "@aws-sdk/credential-provider-node": "3.272.0",
26
+ "@aws-sdk/fetch-http-handler": "3.272.0",
27
+ "@aws-sdk/hash-node": "3.272.0",
28
+ "@aws-sdk/invalid-dependency": "3.272.0",
29
+ "@aws-sdk/middleware-content-length": "3.272.0",
30
+ "@aws-sdk/middleware-endpoint": "3.272.0",
31
+ "@aws-sdk/middleware-host-header": "3.272.0",
32
+ "@aws-sdk/middleware-logger": "3.272.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.272.0",
34
+ "@aws-sdk/middleware-retry": "3.272.0",
35
+ "@aws-sdk/middleware-serde": "3.272.0",
36
+ "@aws-sdk/middleware-signing": "3.272.0",
37
+ "@aws-sdk/middleware-stack": "3.272.0",
38
+ "@aws-sdk/middleware-user-agent": "3.272.0",
39
+ "@aws-sdk/node-config-provider": "3.272.0",
40
+ "@aws-sdk/node-http-handler": "3.272.0",
41
+ "@aws-sdk/protocol-http": "3.272.0",
42
+ "@aws-sdk/smithy-client": "3.272.0",
43
+ "@aws-sdk/types": "3.272.0",
44
+ "@aws-sdk/url-parser": "3.272.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.271.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.271.0",
50
- "@aws-sdk/util-endpoints": "3.271.0",
51
- "@aws-sdk/util-retry": "3.271.0",
52
- "@aws-sdk/util-user-agent-browser": "3.271.0",
53
- "@aws-sdk/util-user-agent-node": "3.271.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.272.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.272.0",
50
+ "@aws-sdk/util-endpoints": "3.272.0",
51
+ "@aws-sdk/util-retry": "3.272.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.272.0",
53
+ "@aws-sdk/util-user-agent-node": "3.272.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },