@aws-sdk/client-sagemaker-runtime 3.290.0 → 3.293.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 t = "fn", u = "argv", v = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: d }, "supportsDualStack"] }] }, p = { [t]: "getAttr", [u]: [{ [v]: d }, "name"] }, q = { "url": "https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, o], type: e, rules: [{ endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: h, [u]: ["aws", p] }], endpoint: { url: "https://runtime-fips.sagemaker.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }, { conditions: [{ [t]: h, [u]: ["aws-us-gov", p] }], endpoint: q, type: g }, { endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [o], type: e, rules: [{ endpoint: { url: "https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, o = { [t]: "getAttr", [u]: [{ [v]: e }, "name"] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: ["aws", o] }], endpoint: { url: "https://runtime-fips.sagemaker.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: ["aws-us-gov", o] }], endpoint: { url: "https://runtime.sagemaker.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const t = "fn", u = "argv", v = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: d }, "supportsDualStack"] }] }, p = { [t]: "getAttr", [u]: [{ [v]: d }, "name"] }, q = { "url": "https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, o], type: e, rules: [{ endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: h, [u]: ["aws", p] }], endpoint: { url: "https://runtime-fips.sagemaker.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }, { conditions: [{ [t]: h, [u]: ["aws-us-gov", p] }], endpoint: q, type: g }, { endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [o], type: e, rules: [{ endpoint: { url: "https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, o = { [t]: "getAttr", [u]: [{ [v]: e }, "name"] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: ["aws", o] }], endpoint: { url: "https://runtime-fips.sagemaker.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: ["aws-us-gov", o] }], endpoint: { url: "https://runtime.sagemaker.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -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;
@@ -240,11 +240,11 @@ export interface InvokeEndpointAsyncInput {
240
240
  InputLocation: string | undefined;
241
241
  /**
242
242
  * <p>Maximum age in seconds a request can be in the queue before it is marked as
243
- * expired.</p>
243
+ * expired. The default is 6 hours, or 21,600 seconds.</p>
244
244
  */
245
245
  RequestTTLSeconds?: number;
246
246
  /**
247
- * <p>Maximum amount of time in seconds a request can be processed before it is marked as expired.</p>
247
+ * <p>Maximum amount of time in seconds a request can be processed before it is marked as expired. The default is 15 minutes, or 900 seconds.</p>
248
248
  */
249
249
  InvocationTimeoutSeconds?: number;
250
250
  }
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.290.0",
4
+ "version": "3.293.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,55 +20,50 @@
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.290.0",
24
- "@aws-sdk/config-resolver": "3.290.0",
25
- "@aws-sdk/credential-provider-node": "3.290.0",
26
- "@aws-sdk/fetch-http-handler": "3.290.0",
27
- "@aws-sdk/hash-node": "3.290.0",
28
- "@aws-sdk/invalid-dependency": "3.290.0",
29
- "@aws-sdk/middleware-content-length": "3.290.0",
30
- "@aws-sdk/middleware-endpoint": "3.290.0",
31
- "@aws-sdk/middleware-host-header": "3.290.0",
32
- "@aws-sdk/middleware-logger": "3.290.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
- "@aws-sdk/middleware-retry": "3.290.0",
35
- "@aws-sdk/middleware-serde": "3.290.0",
36
- "@aws-sdk/middleware-signing": "3.290.0",
37
- "@aws-sdk/middleware-stack": "3.290.0",
38
- "@aws-sdk/middleware-user-agent": "3.290.0",
39
- "@aws-sdk/node-config-provider": "3.290.0",
40
- "@aws-sdk/node-http-handler": "3.290.0",
41
- "@aws-sdk/protocol-http": "3.290.0",
42
- "@aws-sdk/smithy-client": "3.290.0",
43
- "@aws-sdk/types": "3.290.0",
44
- "@aws-sdk/url-parser": "3.290.0",
45
- "@aws-sdk/util-base64": "3.208.0",
46
- "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
- "@aws-sdk/util-endpoints": "3.290.0",
51
- "@aws-sdk/util-retry": "3.290.0",
52
- "@aws-sdk/util-user-agent-browser": "3.290.0",
53
- "@aws-sdk/util-user-agent-node": "3.290.0",
54
- "@aws-sdk/util-utf8": "3.254.0",
23
+ "@aws-sdk/client-sts": "3.293.0",
24
+ "@aws-sdk/config-resolver": "3.292.0",
25
+ "@aws-sdk/credential-provider-node": "3.293.0",
26
+ "@aws-sdk/fetch-http-handler": "3.292.0",
27
+ "@aws-sdk/hash-node": "3.292.0",
28
+ "@aws-sdk/invalid-dependency": "3.292.0",
29
+ "@aws-sdk/middleware-content-length": "3.292.0",
30
+ "@aws-sdk/middleware-endpoint": "3.292.0",
31
+ "@aws-sdk/middleware-host-header": "3.292.0",
32
+ "@aws-sdk/middleware-logger": "3.292.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
+ "@aws-sdk/middleware-retry": "3.293.0",
35
+ "@aws-sdk/middleware-serde": "3.292.0",
36
+ "@aws-sdk/middleware-signing": "3.292.0",
37
+ "@aws-sdk/middleware-stack": "3.292.0",
38
+ "@aws-sdk/middleware-user-agent": "3.293.0",
39
+ "@aws-sdk/node-config-provider": "3.292.0",
40
+ "@aws-sdk/node-http-handler": "3.292.0",
41
+ "@aws-sdk/protocol-http": "3.292.0",
42
+ "@aws-sdk/smithy-client": "3.292.0",
43
+ "@aws-sdk/types": "3.292.0",
44
+ "@aws-sdk/url-parser": "3.292.0",
45
+ "@aws-sdk/util-base64": "3.292.0",
46
+ "@aws-sdk/util-body-length-browser": "3.292.0",
47
+ "@aws-sdk/util-body-length-node": "3.292.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
+ "@aws-sdk/util-endpoints": "3.293.0",
51
+ "@aws-sdk/util-retry": "3.292.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
53
+ "@aws-sdk/util-user-agent-node": "3.292.0",
54
+ "@aws-sdk/util-utf8": "3.292.0",
55
55
  "tslib": "^2.3.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.293.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
- "typedoc": "0.19.2",
64
+ "typedoc": "0.23.23",
65
65
  "typescript": "~4.6.2"
66
66
  },
67
- "overrides": {
68
- "typedoc": {
69
- "typescript": "~4.6.2"
70
- }
71
- },
72
67
  "engines": {
73
68
  "node": ">=14.0.0"
74
69
  },