@aws-sdk/client-ecr 3.408.0 → 3.410.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.
Files changed (54) hide show
  1. package/dist-cjs/endpoint/ruleset.js +2 -2
  2. package/dist-cjs/protocols/Aws_json1_1.js +15 -0
  3. package/dist-cjs/runtimeExtensions.js +3 -0
  4. package/dist-es/endpoint/ruleset.js +2 -2
  5. package/dist-es/protocols/Aws_json1_1.js +15 -0
  6. package/dist-es/runtimeExtensions.js +3 -0
  7. package/dist-types/ECR.d.ts +2 -2
  8. package/dist-types/ECRClient.d.ts +2 -2
  9. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +4 -4
  10. package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -3
  11. package/dist-types/commands/BatchGetImageCommand.d.ts +2 -2
  12. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +3 -3
  13. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateRepositoryCommand.d.ts +6 -6
  15. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -2
  17. package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeImagesCommand.d.ts +4 -4
  20. package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -2
  22. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
  23. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +2 -2
  24. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +3 -0
  25. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +6 -3
  26. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +3 -3
  27. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +2 -2
  28. package/dist-types/commands/ListImagesCommand.d.ts +2 -2
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  30. package/dist-types/commands/PutImageCommand.d.ts +2 -3
  31. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +2 -2
  32. package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +2 -2
  33. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +3 -0
  34. package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
  35. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +6 -6
  36. package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +4 -4
  37. package/dist-types/commands/StartImageScanCommand.d.ts +1 -1
  38. package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +4 -1
  39. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  40. package/dist-types/commands/UploadLayerPartCommand.d.ts +2 -2
  41. package/dist-types/extensionConfiguration.d.ts +2 -1
  42. package/dist-types/index.d.ts +2 -2
  43. package/dist-types/models/models_0.d.ts +26 -23
  44. package/dist-types/runtimeConfig.browser.d.ts +4 -1
  45. package/dist-types/runtimeConfig.d.ts +4 -1
  46. package/dist-types/runtimeConfig.native.d.ts +4 -1
  47. package/dist-types/runtimeExtensions.d.ts +1 -1
  48. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  49. package/dist-types/ts3.4/models/models_0.d.ts +2 -2
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  53. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  54. package/package.json +29 -29
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const t = "required", u = "fn", v = "argv", w = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [t]: false, "type": "String" }, g = { [t]: true, "default": false, "type": "Boolean" }, h = { [w]: "Region" }, i = { [w]: "Endpoint" }, j = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, k = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, l = {}, m = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: a }, "supportsFIPS"] }] }, n = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: a }, "supportsDualStack"] }] }, o = { [u]: "getAttr", [v]: [{ [w]: a }, "name"] }, p = { "url": "https://ecr-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, q = [i], r = [j], s = [k];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [h], assign: a }], type: b, rules: [{ conditions: [{ [u]: "isSet", [v]: q }, { [u]: "parseURL", [v]: q, assign: "url" }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://api.ecr-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: r, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [u]: e, [v]: [h, "dkr-us-east-2"] }], endpoint: { url: "https://ecr-fips.us-east-2.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-east-1"] }], endpoint: { url: "https://ecr-fips.us-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-west-2"] }], endpoint: { url: "https://ecr-fips.us-west-2.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-west-1"] }], endpoint: { url: "https://ecr-fips.us-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: ["aws", o] }], endpoint: p, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-gov-east-1"] }], endpoint: { url: "https://ecr-fips.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-gov-west-1"] }], endpoint: { url: "https://ecr-fips.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: ["aws-us-gov", o] }], endpoint: p, type: d }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] };
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [t]: false, "type": "String" }, h = { [t]: true, "default": false, "type": "Boolean" }, i = { [w]: "Endpoint" }, j = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, k = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, l = {}, m = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsFIPS"] }] }, n = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsDualStack"] }] }, o = { [u]: "getAttr", [v]: [{ [w]: e }, "name"] }, p = { "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, q = [j], r = [k], s = [{ [w]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [u]: a, [v]: [i] }], type: b, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [u]: a, [v]: s }], type: b, rules: [{ conditions: [{ [u]: "aws.partition", [v]: s, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://api.ecr-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: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [u]: f, [v]: ["aws", o] }], endpoint: p, type: d }, { conditions: [{ [u]: f, [v]: ["aws-us-gov", o] }], endpoint: p, type: d }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -641,6 +641,9 @@ const de_DeleteLifecyclePolicyCommandError = async (output, context) => {
641
641
  case "ServerException":
642
642
  case "com.amazonaws.ecr#ServerException":
643
643
  throw await de_ServerExceptionRes(parsedOutput, context);
644
+ case "ValidationException":
645
+ case "com.amazonaws.ecr#ValidationException":
646
+ throw await de_ValidationExceptionRes(parsedOutput, context);
644
647
  default:
645
648
  const parsedBody = parsedOutput.body;
646
649
  return throwDefaultError({
@@ -1190,6 +1193,9 @@ const de_GetLifecyclePolicyCommandError = async (output, context) => {
1190
1193
  case "ServerException":
1191
1194
  case "com.amazonaws.ecr#ServerException":
1192
1195
  throw await de_ServerExceptionRes(parsedOutput, context);
1196
+ case "ValidationException":
1197
+ case "com.amazonaws.ecr#ValidationException":
1198
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1193
1199
  default:
1194
1200
  const parsedBody = parsedOutput.body;
1195
1201
  return throwDefaultError({
@@ -1232,6 +1238,9 @@ const de_GetLifecyclePolicyPreviewCommandError = async (output, context) => {
1232
1238
  case "ServerException":
1233
1239
  case "com.amazonaws.ecr#ServerException":
1234
1240
  throw await de_ServerExceptionRes(parsedOutput, context);
1241
+ case "ValidationException":
1242
+ case "com.amazonaws.ecr#ValidationException":
1243
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1235
1244
  default:
1236
1245
  const parsedBody = parsedOutput.body;
1237
1246
  return throwDefaultError({
@@ -1655,6 +1664,9 @@ const de_PutLifecyclePolicyCommandError = async (output, context) => {
1655
1664
  case "ServerException":
1656
1665
  case "com.amazonaws.ecr#ServerException":
1657
1666
  throw await de_ServerExceptionRes(parsedOutput, context);
1667
+ case "ValidationException":
1668
+ case "com.amazonaws.ecr#ValidationException":
1669
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1658
1670
  default:
1659
1671
  const parsedBody = parsedOutput.body;
1660
1672
  return throwDefaultError({
@@ -1907,6 +1919,9 @@ const de_StartLifecyclePolicyPreviewCommandError = async (output, context) => {
1907
1919
  case "ServerException":
1908
1920
  case "com.amazonaws.ecr#ServerException":
1909
1921
  throw await de_ServerExceptionRes(parsedOutput, context);
1922
+ case "ValidationException":
1923
+ case "com.amazonaws.ecr#ValidationException":
1924
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1910
1925
  default:
1911
1926
  const parsedBody = parsedOutput.body;
1912
1927
  return throwDefaultError({
@@ -1,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const protocol_http_1 = require("@smithy/protocol-http");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const asPartial = (t) => t;
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
8
  const extensionConfiguration = {
8
9
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
9
11
  };
10
12
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
13
  return {
12
14
  ...runtimeConfig,
13
15
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
14
17
  };
15
18
  };
16
19
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,4 +1,4 @@
1
1
  const t = "required", u = "fn", v = "argv", w = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [t]: false, "type": "String" }, g = { [t]: true, "default": false, "type": "Boolean" }, h = { [w]: "Region" }, i = { [w]: "Endpoint" }, j = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, k = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, l = {}, m = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: a }, "supportsFIPS"] }] }, n = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: a }, "supportsDualStack"] }] }, o = { [u]: "getAttr", [v]: [{ [w]: a }, "name"] }, p = { "url": "https://ecr-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, q = [i], r = [j], s = [k];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [h], assign: a }], type: b, rules: [{ conditions: [{ [u]: "isSet", [v]: q }, { [u]: "parseURL", [v]: q, assign: "url" }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://api.ecr-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: r, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [u]: e, [v]: [h, "dkr-us-east-2"] }], endpoint: { url: "https://ecr-fips.us-east-2.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-east-1"] }], endpoint: { url: "https://ecr-fips.us-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-west-2"] }], endpoint: { url: "https://ecr-fips.us-west-2.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-west-1"] }], endpoint: { url: "https://ecr-fips.us-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: ["aws", o] }], endpoint: p, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-gov-east-1"] }], endpoint: { url: "https://ecr-fips.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: [h, "dkr-us-gov-west-1"] }], endpoint: { url: "https://ecr-fips.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [u]: e, [v]: ["aws-us-gov", o] }], endpoint: p, type: d }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] };
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [t]: false, "type": "String" }, h = { [t]: true, "default": false, "type": "Boolean" }, i = { [w]: "Endpoint" }, j = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, k = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, l = {}, m = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsFIPS"] }] }, n = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsDualStack"] }] }, o = { [u]: "getAttr", [v]: [{ [w]: e }, "name"] }, p = { "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, q = [j], r = [k], s = [{ [w]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [u]: a, [v]: [i] }], type: b, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [u]: a, [v]: s }], type: b, rules: [{ conditions: [{ [u]: "aws.partition", [v]: s, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://api.ecr-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: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [u]: f, [v]: ["aws", o] }], endpoint: p, type: d }, { conditions: [{ [u]: f, [v]: ["aws-us-gov", o] }], endpoint: p, type: d }, { endpoint: { url: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -588,6 +588,9 @@ const de_DeleteLifecyclePolicyCommandError = async (output, context) => {
588
588
  case "ServerException":
589
589
  case "com.amazonaws.ecr#ServerException":
590
590
  throw await de_ServerExceptionRes(parsedOutput, context);
591
+ case "ValidationException":
592
+ case "com.amazonaws.ecr#ValidationException":
593
+ throw await de_ValidationExceptionRes(parsedOutput, context);
591
594
  default:
592
595
  const parsedBody = parsedOutput.body;
593
596
  return throwDefaultError({
@@ -1124,6 +1127,9 @@ const de_GetLifecyclePolicyCommandError = async (output, context) => {
1124
1127
  case "ServerException":
1125
1128
  case "com.amazonaws.ecr#ServerException":
1126
1129
  throw await de_ServerExceptionRes(parsedOutput, context);
1130
+ case "ValidationException":
1131
+ case "com.amazonaws.ecr#ValidationException":
1132
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1127
1133
  default:
1128
1134
  const parsedBody = parsedOutput.body;
1129
1135
  return throwDefaultError({
@@ -1165,6 +1171,9 @@ const de_GetLifecyclePolicyPreviewCommandError = async (output, context) => {
1165
1171
  case "ServerException":
1166
1172
  case "com.amazonaws.ecr#ServerException":
1167
1173
  throw await de_ServerExceptionRes(parsedOutput, context);
1174
+ case "ValidationException":
1175
+ case "com.amazonaws.ecr#ValidationException":
1176
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1168
1177
  default:
1169
1178
  const parsedBody = parsedOutput.body;
1170
1179
  return throwDefaultError({
@@ -1578,6 +1587,9 @@ const de_PutLifecyclePolicyCommandError = async (output, context) => {
1578
1587
  case "ServerException":
1579
1588
  case "com.amazonaws.ecr#ServerException":
1580
1589
  throw await de_ServerExceptionRes(parsedOutput, context);
1590
+ case "ValidationException":
1591
+ case "com.amazonaws.ecr#ValidationException":
1592
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1581
1593
  default:
1582
1594
  const parsedBody = parsedOutput.body;
1583
1595
  return throwDefaultError({
@@ -1824,6 +1836,9 @@ const de_StartLifecyclePolicyPreviewCommandError = async (output, context) => {
1824
1836
  case "ServerException":
1825
1837
  case "com.amazonaws.ecr#ServerException":
1826
1838
  throw await de_ServerExceptionRes(parsedOutput, context);
1839
+ case "ValidationException":
1840
+ case "com.amazonaws.ecr#ValidationException":
1841
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1827
1842
  default:
1828
1843
  const parsedBody = parsedOutput.body;
1829
1844
  return throwDefaultError({
@@ -1,12 +1,15 @@
1
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
1
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
3
  const asPartial = (t) => t;
3
4
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
5
  const extensionConfiguration = {
5
6
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
6
8
  };
7
9
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
10
  return {
9
11
  ...runtimeConfig,
10
12
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
11
14
  };
12
15
  };
@@ -292,13 +292,13 @@ export interface ECR {
292
292
  /**
293
293
  * @public
294
294
  * <fullname>Amazon Elastic Container Registry</fullname>
295
- * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
295
+ * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
296
296
  * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
297
297
  * provides a secure, scalable, and reliable registry for your Docker or Open Container
298
298
  * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
299
299
  * permissions using IAM so that specific users or Amazon EC2 instances can access
300
300
  * repositories and images.</p>
301
- * <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
301
+ * <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
302
302
  * <i>Amazon Web Services General Reference</i>.</p>
303
303
  */
304
304
  export declare class ECR extends ECRClient implements ECR {
@@ -192,13 +192,13 @@ export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {
192
192
  /**
193
193
  * @public
194
194
  * <fullname>Amazon Elastic Container Registry</fullname>
195
- * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
195
+ * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
196
196
  * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
197
197
  * provides a secure, scalable, and reliable registry for your Docker or Open Container
198
198
  * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
199
199
  * permissions using IAM so that specific users or Amazon EC2 instances can access
200
200
  * repositories and images.</p>
201
- * <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
201
+ * <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
202
202
  * <i>Amazon Web Services General Reference</i>.</p>
203
203
  */
204
204
  export declare class ECRClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECRClientResolvedConfig> {
@@ -24,10 +24,10 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
24
24
  /**
25
25
  * @public
26
26
  * <p>Checks the availability of one or more image layers in a repository.</p>
27
- * <p>When an image is pushed to a repository, each image layer is checked to verify if it
27
+ * <p>When an image is pushed to a repository, each image layer is checked to verify if it
28
28
  * has been uploaded before. If it has been uploaded, then the image layer is
29
29
  * skipped.</p>
30
- * <note>
30
+ * <note>
31
31
  * <p>This operation is used by the Amazon ECR proxy and is not generally used by
32
32
  * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
33
33
  * </note>
@@ -50,7 +50,7 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
50
50
  * // layers: [ // LayerList
51
51
  * // { // Layer
52
52
  * // layerDigest: "STRING_VALUE",
53
- * // layerAvailability: "STRING_VALUE",
53
+ * // layerAvailability: "AVAILABLE" || "UNAVAILABLE",
54
54
  * // layerSize: Number("long"),
55
55
  * // mediaType: "STRING_VALUE",
56
56
  * // },
@@ -58,7 +58,7 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
58
58
  * // failures: [ // LayerFailureList
59
59
  * // { // LayerFailure
60
60
  * // layerDigest: "STRING_VALUE",
61
- * // failureCode: "STRING_VALUE",
61
+ * // failureCode: "InvalidLayerDigest" || "MissingLayerDigest",
62
62
  * // failureReason: "STRING_VALUE",
63
63
  * // },
64
64
  * // ],
@@ -25,9 +25,9 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
25
25
  * @public
26
26
  * <p>Deletes a list of specified images within a repository. Images are specified with
27
27
  * either an <code>imageTag</code> or <code>imageDigest</code>.</p>
28
- * <p>You can remove a tag from an image by specifying the image's tag in your request. When
28
+ * <p>You can remove a tag from an image by specifying the image's tag in your request. When
29
29
  * you remove the last tag from an image, the image is deleted from your repository.</p>
30
- * <p>You can completely delete an image (and all of its tags) by specifying the image's
30
+ * <p>You can completely delete an image (and all of its tags) by specifying the image's
31
31
  * digest in your request.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -60,7 +60,7 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
60
60
  * // imageDigest: "STRING_VALUE",
61
61
  * // imageTag: "STRING_VALUE",
62
62
  * // },
63
- * // failureCode: "STRING_VALUE",
63
+ * // failureCode: "InvalidImageDigest" || "InvalidImageTag" || "ImageTagDoesNotMatchDigest" || "ImageNotFound" || "MissingDigestAndTag" || "ImageReferencedByManifestList" || "KmsError",
64
64
  * // failureReason: "STRING_VALUE",
65
65
  * // },
66
66
  * // ],
@@ -25,7 +25,7 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
25
25
  * @public
26
26
  * <p>Gets detailed information for an image. Images are specified with either an
27
27
  * <code>imageTag</code> or <code>imageDigest</code>.</p>
28
- * <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
28
+ * <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
29
29
  * manifest.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -67,7 +67,7 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
67
67
  * // imageDigest: "STRING_VALUE",
68
68
  * // imageTag: "STRING_VALUE",
69
69
  * // },
70
- * // failureCode: "STRING_VALUE",
70
+ * // failureCode: "InvalidImageDigest" || "InvalidImageTag" || "ImageTagDoesNotMatchDigest" || "ImageNotFound" || "MissingDigestAndTag" || "ImageReferencedByManifestList" || "KmsError",
71
71
  * // failureReason: "STRING_VALUE",
72
72
  * // },
73
73
  * // ],
@@ -43,11 +43,11 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
43
43
  * // repositoryArn: "STRING_VALUE",
44
44
  * // repositoryName: "STRING_VALUE",
45
45
  * // scanOnPush: true || false,
46
- * // scanFrequency: "STRING_VALUE",
46
+ * // scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL",
47
47
  * // appliedScanFilters: [ // ScanningRepositoryFilterList
48
48
  * // { // ScanningRepositoryFilter
49
49
  * // filter: "STRING_VALUE", // required
50
- * // filterType: "STRING_VALUE", // required
50
+ * // filterType: "WILDCARD", // required
51
51
  * // },
52
52
  * // ],
53
53
  * // },
@@ -55,7 +55,7 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
55
55
  * // failures: [ // RepositoryScanningConfigurationFailureList
56
56
  * // { // RepositoryScanningConfigurationFailure
57
57
  * // repositoryName: "STRING_VALUE",
58
- * // failureCode: "STRING_VALUE",
58
+ * // failureCode: "REPOSITORY_NOT_FOUND",
59
59
  * // failureReason: "STRING_VALUE",
60
60
  * // },
61
61
  * // ],
@@ -26,9 +26,9 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
26
26
  * <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
27
27
  * repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
28
28
  * of the image layer for data validation purposes.</p>
29
- * <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
29
+ * <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
30
30
  * layer to verify that the upload has completed.</p>
31
- * <note>
31
+ * <note>
32
32
  * <p>This operation is used by the Amazon ECR proxy and is not generally used by
33
33
  * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
34
34
  * </note>
@@ -36,16 +36,16 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
36
36
  * repositoryName: "STRING_VALUE", // required
37
37
  * tags: [ // TagList
38
38
  * { // Tag
39
- * Key: "STRING_VALUE",
40
- * Value: "STRING_VALUE",
39
+ * Key: "STRING_VALUE", // required
40
+ * Value: "STRING_VALUE", // required
41
41
  * },
42
42
  * ],
43
- * imageTagMutability: "STRING_VALUE",
43
+ * imageTagMutability: "MUTABLE" || "IMMUTABLE",
44
44
  * imageScanningConfiguration: { // ImageScanningConfiguration
45
45
  * scanOnPush: true || false,
46
46
  * },
47
47
  * encryptionConfiguration: { // EncryptionConfiguration
48
- * encryptionType: "STRING_VALUE", // required
48
+ * encryptionType: "AES256" || "KMS", // required
49
49
  * kmsKey: "STRING_VALUE",
50
50
  * },
51
51
  * };
@@ -58,12 +58,12 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
58
58
  * // repositoryName: "STRING_VALUE",
59
59
  * // repositoryUri: "STRING_VALUE",
60
60
  * // createdAt: new Date("TIMESTAMP"),
61
- * // imageTagMutability: "STRING_VALUE",
61
+ * // imageTagMutability: "MUTABLE" || "IMMUTABLE",
62
62
  * // imageScanningConfiguration: { // ImageScanningConfiguration
63
63
  * // scanOnPush: true || false,
64
64
  * // },
65
65
  * // encryptionConfiguration: { // EncryptionConfiguration
66
- * // encryptionType: "STRING_VALUE", // required
66
+ * // encryptionType: "AES256" || "KMS", // required
67
67
  * // kmsKey: "STRING_VALUE",
68
68
  * // },
69
69
  * // },
@@ -66,6 +66,9 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
66
66
  * @throws {@link ServerException} (server fault)
67
67
  * <p>These errors are usually caused by a server-side issue.</p>
68
68
  *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>There was an exception validating this request.</p>
71
+ *
69
72
  * @throws {@link ECRServiceException}
70
73
  * <p>Base exception class for all service exceptions from ECR service.</p>
71
74
  *
@@ -46,12 +46,12 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
46
46
  * // repositoryName: "STRING_VALUE",
47
47
  * // repositoryUri: "STRING_VALUE",
48
48
  * // createdAt: new Date("TIMESTAMP"),
49
- * // imageTagMutability: "STRING_VALUE",
49
+ * // imageTagMutability: "MUTABLE" || "IMMUTABLE",
50
50
  * // imageScanningConfiguration: { // ImageScanningConfiguration
51
51
  * // scanOnPush: true || false,
52
52
  * // },
53
53
  * // encryptionConfiguration: { // EncryptionConfiguration
54
- * // encryptionType: "STRING_VALUE", // required
54
+ * // encryptionType: "AES256" || "KMS", // required
55
55
  * // kmsKey: "STRING_VALUE",
56
56
  * // },
57
57
  * // },
@@ -50,7 +50,7 @@ export interface DescribeImageReplicationStatusCommandOutput extends DescribeIma
50
50
  * // { // ImageReplicationStatus
51
51
  * // region: "STRING_VALUE",
52
52
  * // registryId: "STRING_VALUE",
53
- * // status: "STRING_VALUE",
53
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED",
54
54
  * // failureCode: "STRING_VALUE",
55
55
  * // },
56
56
  * // ],
@@ -50,7 +50,7 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca
50
50
  * // imageTag: "STRING_VALUE",
51
51
  * // },
52
52
  * // imageScanStatus: { // ImageScanStatus
53
- * // status: "STRING_VALUE",
53
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE",
54
54
  * // description: "STRING_VALUE",
55
55
  * // },
56
56
  * // imageScanFindings: { // ImageScanFindings
@@ -64,7 +64,7 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca
64
64
  * // name: "STRING_VALUE",
65
65
  * // description: "STRING_VALUE",
66
66
  * // uri: "STRING_VALUE",
67
- * // severity: "STRING_VALUE",
67
+ * // severity: "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL" || "UNDEFINED",
68
68
  * // attributes: [ // AttributeList
69
69
  * // { // Attribute
70
70
  * // key: "STRING_VALUE", // required
@@ -24,12 +24,12 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns metadata about the images in a repository.</p>
27
- * <note>
27
+ * <note>
28
28
  * <p>Beginning with Docker version 1.9, the Docker client compresses image layers
29
29
  * before pushing them to a V2 Docker registry. The output of the <code>docker
30
30
  * images</code> command shows the uncompressed image size, so it may return a
31
31
  * larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
32
- * </note>
32
+ * </note>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -48,7 +48,7 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
48
48
  * nextToken: "STRING_VALUE",
49
49
  * maxResults: Number("int"),
50
50
  * filter: { // DescribeImagesFilter
51
- * tagStatus: "STRING_VALUE",
51
+ * tagStatus: "TAGGED" || "UNTAGGED" || "ANY",
52
52
  * },
53
53
  * };
54
54
  * const command = new DescribeImagesCommand(input);
@@ -65,7 +65,7 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
65
65
  * // imageSizeInBytes: Number("long"),
66
66
  * // imagePushedAt: new Date("TIMESTAMP"),
67
67
  * // imageScanStatus: { // ImageScanStatus
68
- * // status: "STRING_VALUE",
68
+ * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE",
69
69
  * // description: "STRING_VALUE",
70
70
  * // },
71
71
  * // imageScanFindingsSummary: { // ImageScanFindingsSummary
@@ -49,7 +49,7 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
49
49
  * // repositoryFilters: [ // RepositoryFilterList
50
50
  * // { // RepositoryFilter
51
51
  * // filter: "STRING_VALUE", // required
52
- * // filterType: "STRING_VALUE", // required
52
+ * // filterType: "PREFIX_MATCH", // required
53
53
  * // },
54
54
  * // ],
55
55
  * // },
@@ -48,12 +48,12 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
48
48
  * // repositoryName: "STRING_VALUE",
49
49
  * // repositoryUri: "STRING_VALUE",
50
50
  * // createdAt: new Date("TIMESTAMP"),
51
- * // imageTagMutability: "STRING_VALUE",
51
+ * // imageTagMutability: "MUTABLE" || "IMMUTABLE",
52
52
  * // imageScanningConfiguration: { // ImageScanningConfiguration
53
53
  * // scanOnPush: true || false,
54
54
  * // },
55
55
  * // encryptionConfiguration: { // EncryptionConfiguration
56
- * // encryptionType: "STRING_VALUE", // required
56
+ * // encryptionType: "AES256" || "KMS", // required
57
57
  * // kmsKey: "STRING_VALUE",
58
58
  * // },
59
59
  * // },
@@ -26,7 +26,7 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
26
26
  * <p>Retrieves an authorization token. An authorization token represents your IAM
27
27
  * authentication credentials and can be used to access any Amazon ECR registry that your IAM
28
28
  * principal has access to. The authorization token is valid for 12 hours.</p>
29
- * <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
29
+ * <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
30
30
  * decoded and used in a <code>docker login</code> command to authenticate to a registry.
31
31
  * The CLI offers an <code>get-login-password</code> command that simplifies the login
32
32
  * process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth">Registry
@@ -25,9 +25,9 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa
25
25
  * @public
26
26
  * <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
27
27
  * only get URLs for image layers that are referenced in an image.</p>
28
- * <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
28
+ * <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
29
29
  * that is not already cached.</p>
30
- * <note>
30
+ * <note>
31
31
  * <p>This operation is used by the Amazon ECR proxy and is not generally used by
32
32
  * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
33
33
  * </note>
@@ -66,6 +66,9 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
66
66
  * @throws {@link ServerException} (server fault)
67
67
  * <p>These errors are usually caused by a server-side issue.</p>
68
68
  *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>There was an exception validating this request.</p>
71
+ *
69
72
  * @throws {@link ECRServiceException}
70
73
  * <p>Base exception class for all service exceptions from ECR service.</p>
71
74
  *
@@ -43,7 +43,7 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
43
43
  * nextToken: "STRING_VALUE",
44
44
  * maxResults: Number("int"),
45
45
  * filter: { // LifecyclePolicyPreviewFilter
46
- * tagStatus: "STRING_VALUE",
46
+ * tagStatus: "TAGGED" || "UNTAGGED" || "ANY",
47
47
  * },
48
48
  * };
49
49
  * const command = new GetLifecyclePolicyPreviewCommand(input);
@@ -52,7 +52,7 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
52
52
  * // registryId: "STRING_VALUE",
53
53
  * // repositoryName: "STRING_VALUE",
54
54
  * // lifecyclePolicyText: "STRING_VALUE",
55
- * // status: "STRING_VALUE",
55
+ * // status: "IN_PROGRESS" || "COMPLETE" || "EXPIRED" || "FAILED",
56
56
  * // nextToken: "STRING_VALUE",
57
57
  * // previewResults: [ // LifecyclePolicyPreviewResultList
58
58
  * // { // LifecyclePolicyPreviewResult
@@ -62,7 +62,7 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
62
62
  * // imageDigest: "STRING_VALUE",
63
63
  * // imagePushedAt: new Date("TIMESTAMP"),
64
64
  * // action: { // LifecyclePolicyRuleAction
65
- * // type: "STRING_VALUE",
65
+ * // type: "EXPIRE",
66
66
  * // },
67
67
  * // appliedRulePriority: Number("int"),
68
68
  * // },
@@ -94,6 +94,9 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
94
94
  * @throws {@link ServerException} (server fault)
95
95
  * <p>These errors are usually caused by a server-side issue.</p>
96
96
  *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p>There was an exception validating this request.</p>
99
+ *
97
100
  * @throws {@link ECRServiceException}
98
101
  * <p>Base exception class for all service exceptions from ECR service.</p>
99
102
  *
@@ -36,14 +36,14 @@ export interface GetRegistryScanningConfigurationCommandOutput extends GetRegist
36
36
  * // { // GetRegistryScanningConfigurationResponse
37
37
  * // registryId: "STRING_VALUE",
38
38
  * // scanningConfiguration: { // RegistryScanningConfiguration
39
- * // scanType: "STRING_VALUE",
39
+ * // scanType: "BASIC" || "ENHANCED",
40
40
  * // rules: [ // RegistryScanningRuleList
41
41
  * // { // RegistryScanningRule
42
- * // scanFrequency: "STRING_VALUE", // required
42
+ * // scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", // required
43
43
  * // repositoryFilters: [ // ScanningRepositoryFilterList // required
44
44
  * // { // ScanningRepositoryFilter
45
45
  * // filter: "STRING_VALUE", // required
46
- * // filterType: "STRING_VALUE", // required
46
+ * // filterType: "WILDCARD", // required
47
47
  * // },
48
48
  * // ],
49
49
  * // },
@@ -24,10 +24,10 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
24
24
  /**
25
25
  * @public
26
26
  * <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
27
- * <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
27
+ * <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
28
28
  * that has not already been uploaded. Whether or not an image layer has been uploaded is
29
29
  * determined by the BatchCheckLayerAvailability API action.</p>
30
- * <note>
30
+ * <note>
31
31
  * <p>This operation is used by the Amazon ECR proxy and is not generally used by
32
32
  * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
33
33
  * </note>
@@ -24,7 +24,7 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
24
24
  /**
25
25
  * @public
26
26
  * <p>Lists all the image IDs for the specified repository.</p>
27
- * <p>You can filter images based on whether or not they are tagged by using the
27
+ * <p>You can filter images based on whether or not they are tagged by using the
28
28
  * <code>tagStatus</code> filter and specifying either <code>TAGGED</code>,
29
29
  * <code>UNTAGGED</code> or <code>ANY</code>. For example, you can filter your results
30
30
  * to return only <code>UNTAGGED</code> images and then pipe that result to a <a>BatchDeleteImage</a> operation to delete them. Or, you can filter your
@@ -42,7 +42,7 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
42
42
  * nextToken: "STRING_VALUE",
43
43
  * maxResults: Number("int"),
44
44
  * filter: { // ListImagesFilter
45
- * tagStatus: "STRING_VALUE",
45
+ * tagStatus: "TAGGED" || "UNTAGGED" || "ANY",
46
46
  * },
47
47
  * };
48
48
  * const command = new ListImagesCommand(input);