@aws-sdk/client-ecr 3.716.0 → 3.719.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.
@@ -6,7 +6,7 @@ const util_endpoints_2 = require("@smithy/util-endpoints");
6
6
  const ruleset_1 = require("./ruleset");
7
7
  const cache = new util_endpoints_2.EndpointCache({
8
8
  size: 50,
9
- params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
9
+ params: ["Region", "UseDualStack", "UseFIPS"],
10
10
  });
11
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
12
12
  return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const v = "required", w = "fn", x = "argv", y = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [v]: false, "type": "String" }, j = { [v]: true, "default": false, "type": "Boolean" }, k = { [y]: "Endpoint" }, l = { [w]: c, [x]: [{ [y]: "UseFIPS" }, true] }, m = { [w]: c, [x]: [{ [y]: "UseDualStack" }, true] }, n = {}, o = { [w]: "getAttr", [x]: [{ [y]: g }, "supportsFIPS"] }, p = { [w]: c, [x]: [true, { [w]: "getAttr", [x]: [{ [y]: g }, "supportsDualStack"] }] }, q = { [w]: "getAttr", [x]: [{ [y]: g }, "name"] }, r = { "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, s = [l], t = [m], u = [{ [y]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [w]: b, [x]: [k] }], rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [w]: b, [x]: u }], rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [w]: c, [x]: [a, o] }, p], rules: [{ endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: s, rules: [{ conditions: [{ [w]: c, [x]: [o, a] }], rules: [{ conditions: [{ [w]: h, [x]: [q, "aws"] }], endpoint: r, type: e }, { conditions: [{ [w]: h, [x]: [q, "aws-us-gov"] }], endpoint: r, type: e }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: t, rules: [{ conditions: [p], rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
+ const m = "fn", n = "argv", o = "ref";
5
+ const a = false, b = "PartitionResult", c = "endpoint", d = "tree", e = "error", f = { "required": true, "default": false, "type": "Boolean" }, g = { [m]: "booleanEquals", [n]: [{ [o]: "UseFIPS" }, true] }, h = { [m]: "booleanEquals", [n]: [{ [o]: "UseDualStack" }, true] }, i = { [m]: "booleanEquals", [n]: [true, { [m]: "getAttr", [n]: [{ [o]: b }, "supportsFIPS"] }] }, j = { [m]: "booleanEquals", [n]: [true, { [m]: "getAttr", [n]: [{ [o]: b }, "supportsDualStack"] }] }, k = {}, l = [{ [o]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: "String" }, UseFIPS: f, UseDualStack: f }, rules: [{ conditions: [{ [m]: "isSet", [n]: l }, { [m]: "aws.partition", [n]: l, assign: b }], rules: [{ conditions: [g, h], rules: [{ conditions: [i, j], rules: [{ endpoint: { url: "https://ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: c }], type: d }, { error: "FIPS and dualstack are enabled, but this partition does not support one or both", type: e }], type: d }, { conditions: [h], rules: [{ conditions: [j], rules: [{ endpoint: { url: "https://ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: c }], type: d }, { error: "Dualstack is enabled but this partition does not support dualstack", type: e }], type: d }, { conditions: [g], rules: [{ conditions: [i], rules: [{ endpoint: { url: "https://ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: c }], type: d }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: d }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: c }], type: d }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -163,14 +163,13 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
163
163
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
164
164
  return {
165
165
  ...options,
166
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
167
166
  useFipsEndpoint: options.useFipsEndpoint ?? false,
167
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
168
168
  defaultSigningName: "ecr"
169
169
  };
170
170
  }, "resolveClientEndpointParameters");
171
171
  var commonParams = {
172
172
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
173
- Endpoint: { type: "builtInParams", name: "endpoint" },
174
173
  Region: { type: "builtInParams", name: "region" },
175
174
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
176
175
  };
@@ -1,14 +1,13 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
2
  return {
3
3
  ...options,
4
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
5
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
6
6
  defaultSigningName: "ecr",
7
7
  };
8
8
  };
9
9
  export const commonParams = {
10
10
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
11
  Region: { type: "builtInParams", name: "region" },
13
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
13
  };
@@ -3,7 +3,7 @@ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy
3
3
  import { ruleSet } from "./ruleset";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
6
- params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
6
+ params: ["Region", "UseDualStack", "UseFIPS"],
7
7
  });
8
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
9
  return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
@@ -1,4 +1,4 @@
1
- const v = "required", w = "fn", x = "argv", y = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [v]: false, "type": "String" }, j = { [v]: true, "default": false, "type": "Boolean" }, k = { [y]: "Endpoint" }, l = { [w]: c, [x]: [{ [y]: "UseFIPS" }, true] }, m = { [w]: c, [x]: [{ [y]: "UseDualStack" }, true] }, n = {}, o = { [w]: "getAttr", [x]: [{ [y]: g }, "supportsFIPS"] }, p = { [w]: c, [x]: [true, { [w]: "getAttr", [x]: [{ [y]: g }, "supportsDualStack"] }] }, q = { [w]: "getAttr", [x]: [{ [y]: g }, "name"] }, r = { "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, s = [l], t = [m], u = [{ [y]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [w]: b, [x]: [k] }], rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [w]: b, [x]: u }], rules: [{ conditions: [{ [w]: "aws.partition", [x]: u, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [w]: c, [x]: [a, o] }, p], rules: [{ endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: s, rules: [{ conditions: [{ [w]: c, [x]: [o, a] }], rules: [{ conditions: [{ [w]: h, [x]: [q, "aws"] }], endpoint: r, type: e }, { conditions: [{ [w]: h, [x]: [q, "aws-us-gov"] }], endpoint: r, type: e }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: t, rules: [{ conditions: [p], rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
1
+ const m = "fn", n = "argv", o = "ref";
2
+ const a = false, b = "PartitionResult", c = "endpoint", d = "tree", e = "error", f = { "required": true, "default": false, "type": "Boolean" }, g = { [m]: "booleanEquals", [n]: [{ [o]: "UseFIPS" }, true] }, h = { [m]: "booleanEquals", [n]: [{ [o]: "UseDualStack" }, true] }, i = { [m]: "booleanEquals", [n]: [true, { [m]: "getAttr", [n]: [{ [o]: b }, "supportsFIPS"] }] }, j = { [m]: "booleanEquals", [n]: [true, { [m]: "getAttr", [n]: [{ [o]: b }, "supportsDualStack"] }] }, k = {}, l = [{ [o]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: "String" }, UseFIPS: f, UseDualStack: f }, rules: [{ conditions: [{ [m]: "isSet", [n]: l }, { [m]: "aws.partition", [n]: l, assign: b }], rules: [{ conditions: [g, h], rules: [{ conditions: [i, j], rules: [{ endpoint: { url: "https://ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: c }], type: d }, { error: "FIPS and dualstack are enabled, but this partition does not support one or both", type: e }], type: d }, { conditions: [h], rules: [{ conditions: [j], rules: [{ endpoint: { url: "https://ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: c }], type: d }, { error: "Dualstack is enabled but this partition does not support dualstack", type: e }], type: d }, { conditions: [g], rules: [{ conditions: [i], rules: [{ endpoint: { url: "https://ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: c }], type: d }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: d }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: c }], type: d }] };
4
4
  export const ruleSet = _data;
@@ -27,7 +27,7 @@ declare const GetAccountSettingCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the basic scan type version name.</p>
30
+ * <p>Retrieves the account setting value for the specified setting name.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const PutAccountSettingCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Allows you to change the basic scan type version by setting the <code>name</code>
31
- * parameter to either <code>CLAIR</code> to <code>AWS_NATIVE</code>.</p>
30
+ * <p>Allows you to change the basic scan type version or registry policy scope.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -1,12 +1,11 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
6
  region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
7
  useFipsEndpoint?: boolean | Provider<boolean>;
9
- endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
9
  }
11
10
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
11
  defaultSigningName: string;
@@ -19,10 +18,6 @@ export declare const commonParams: {
19
18
  readonly type: "builtInParams";
20
19
  readonly name: "useFipsEndpoint";
21
20
  };
22
- readonly Endpoint: {
23
- readonly type: "builtInParams";
24
- readonly name: "endpoint";
25
- };
26
21
  readonly Region: {
27
22
  readonly type: "builtInParams";
28
23
  readonly name: "region";
@@ -34,7 +29,6 @@ export declare const commonParams: {
34
29
  };
35
30
  export interface EndpointParameters extends __EndpointParameters {
36
31
  Region?: string;
37
- UseDualStack?: boolean;
38
32
  UseFIPS?: boolean;
39
- Endpoint?: string;
33
+ UseDualStack?: boolean;
40
34
  }
@@ -841,14 +841,14 @@ export interface EncryptionConfiguration {
841
841
  * for Amazon ECR, or specify your own KMS key, which you already created.</p>
842
842
  * <p>If you use the <code>KMS_DSSE</code> encryption type, the contents of the repository
843
843
  * will be encrypted with two layers of encryption using server-side encryption with the
844
- * KMS Management Service key stored in KMS. Similar to the <code>KMS</code> encryption type, you
845
- * can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS
846
- * key, which you've already created. </p>
844
+ * KMS Management Service key stored in KMS. Similar to the <code>KMS</code> encryption
845
+ * type, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your
846
+ * own KMS key, which you've already created. </p>
847
847
  * <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
848
848
  * with Amazon S3-managed encryption keys which encrypts the images in the repository using an
849
849
  * AES256 encryption algorithm.</p>
850
850
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html">Amazon ECR encryption at
851
- * rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
851
+ * rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
852
852
  * @public
853
853
  */
854
854
  encryptionType: EncryptionType | undefined;
@@ -2809,7 +2809,8 @@ export interface DescribeRepositoryCreationTemplatesResponse {
2809
2809
  */
2810
2810
  export interface GetAccountSettingRequest {
2811
2811
  /**
2812
- * <p>Basic scan type version name. </p>
2812
+ * <p>The name of the account setting, such as <code>BASIC_SCAN_TYPE_VERSION</code> or
2813
+ * <code>REGISTRY_POLICY_SCOPE</code>. </p>
2813
2814
  * @public
2814
2815
  */
2815
2816
  name: string | undefined;
@@ -2819,13 +2820,15 @@ export interface GetAccountSettingRequest {
2819
2820
  */
2820
2821
  export interface GetAccountSettingResponse {
2821
2822
  /**
2822
- * <p>Retrieves the basic scan type version name.</p>
2823
+ * <p>Retrieves the name of the account setting.</p>
2823
2824
  * @public
2824
2825
  */
2825
2826
  name?: string | undefined;
2826
2827
  /**
2827
- * <p>Retrieves the value that specifies what basic scan type is being used:
2828
- * <code>AWS_NATIVE</code> or <code>CLAIR</code>.</p>
2828
+ * <p>The setting value for the setting name. The following are valid values for the basic scan
2829
+ * type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are valid
2830
+ * values for the registry policy scope being used: <code>V1</code> or
2831
+ * <code>V2</code>.</p>
2829
2832
  * @public
2830
2833
  */
2831
2834
  value?: string | undefined;
@@ -3469,13 +3472,16 @@ export interface ListTagsForResourceResponse {
3469
3472
  */
3470
3473
  export interface PutAccountSettingRequest {
3471
3474
  /**
3472
- * <p>Basic scan type version name. </p>
3475
+ * <p>The name of the account setting, such as <code>BASIC_SCAN_TYPE_VERSION</code> or
3476
+ * <code>REGISTRY_POLICY_SCOPE</code>. </p>
3473
3477
  * @public
3474
3478
  */
3475
3479
  name: string | undefined;
3476
3480
  /**
3477
- * <p>Setting value that determines what basic scan type is being used:
3478
- * <code>AWS_NATIVE</code> or <code>CLAIR</code>.</p>
3481
+ * <p>Setting value that is specified. The following are valid values for the basic scan
3482
+ * type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are valid
3483
+ * values for the registry policy scope being used: <code>V1</code> or
3484
+ * <code>V2</code>.</p>
3479
3485
  * @public
3480
3486
  */
3481
3487
  value: string | undefined;
@@ -3485,13 +3491,12 @@ export interface PutAccountSettingRequest {
3485
3491
  */
3486
3492
  export interface PutAccountSettingResponse {
3487
3493
  /**
3488
- * <p>Retrieves the the basic scan type version name.</p>
3494
+ * <p>Retrieves the name of the account setting.</p>
3489
3495
  * @public
3490
3496
  */
3491
3497
  name?: string | undefined;
3492
3498
  /**
3493
- * <p>Retrieves the basic scan type value, either <code>AWS_NATIVE</code> or
3494
- * <code>-</code>.</p>
3499
+ * <p>Retrieves the value of the specified account setting.</p>
3495
3500
  * @public
3496
3501
  */
3497
3502
  value?: string | undefined;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
32
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
33
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
34
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
37
  logger?: import("@smithy/types").Logger | undefined;
38
38
  }) => import("@smithy/types").EndpointV2;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
32
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
33
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
34
34
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
- endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
37
  logger?: import("@smithy/types").Logger | undefined;
38
38
  }) => import("@smithy/types").EndpointV2;
@@ -1,20 +1,11 @@
1
1
  import {
2
- Endpoint,
3
2
  EndpointParameters as __EndpointParameters,
4
- EndpointV2,
5
3
  Provider,
6
4
  } from "@smithy/types";
7
5
  export interface ClientInputEndpointParameters {
8
6
  region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
7
  useFipsEndpoint?: boolean | Provider<boolean>;
11
- endpoint?:
12
- | string
13
- | Provider<string>
14
- | Endpoint
15
- | Provider<Endpoint>
16
- | EndpointV2
17
- | Provider<EndpointV2>;
8
+ useDualstackEndpoint?: boolean | Provider<boolean>;
18
9
  }
19
10
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
11
  defaultSigningName: string;
@@ -30,10 +21,6 @@ export declare const commonParams: {
30
21
  readonly type: "builtInParams";
31
22
  readonly name: "useFipsEndpoint";
32
23
  };
33
- readonly Endpoint: {
34
- readonly type: "builtInParams";
35
- readonly name: "endpoint";
36
- };
37
24
  readonly Region: {
38
25
  readonly type: "builtInParams";
39
26
  readonly name: "region";
@@ -45,7 +32,6 @@ export declare const commonParams: {
45
32
  };
46
33
  export interface EndpointParameters extends __EndpointParameters {
47
34
  Region?: string;
48
- UseDualStack?: boolean;
49
35
  UseFIPS?: boolean;
50
- Endpoint?: string;
36
+ UseDualStack?: boolean;
51
37
  }
@@ -46,21 +46,11 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
46
46
  | import("@smithy/types").RetryStrategyV2
47
47
  | undefined;
48
48
  endpoint?:
49
- | ((
50
- | string
51
- | import("@smithy/types").Endpoint
52
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
- | import("@smithy/types").EndpointV2
54
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
- ) &
56
- (
57
- | string
58
- | import("@smithy/types").Provider<string>
59
- | import("@smithy/types").Endpoint
60
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
- | import("@smithy/types").EndpointV2
62
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
- ))
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
54
  | undefined;
65
55
  endpointProvider: (
66
56
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -47,21 +47,11 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
47
47
  | import("@smithy/types").RetryStrategyV2
48
48
  | undefined;
49
49
  endpoint?:
50
- | ((
51
- | string
52
- | import("@smithy/types").Endpoint
53
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
54
- | import("@smithy/types").EndpointV2
55
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
- ) &
57
- (
58
- | string
59
- | import("@smithy/types").Provider<string>
60
- | import("@smithy/types").Endpoint
61
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
- | import("@smithy/types").EndpointV2
63
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
- ))
50
+ | string
51
+ | import("@smithy/types").Endpoint
52
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
+ | import("@smithy/types").EndpointV2
54
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
55
  | undefined;
66
56
  endpointProvider: (
67
57
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecr",
3
3
  "description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.719.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecr",