@aws-sdk/client-ecr 3.952.0 → 3.954.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 (78) hide show
  1. package/dist-cjs/index.js +1003 -718
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +2 -2
  4. package/dist-es/commands/BatchDeleteImageCommand.js +2 -2
  5. package/dist-es/commands/BatchGetImageCommand.js +2 -2
  6. package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +2 -2
  7. package/dist-es/commands/CompleteLayerUploadCommand.js +2 -2
  8. package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +2 -2
  9. package/dist-es/commands/CreateRepositoryCommand.js +2 -2
  10. package/dist-es/commands/CreateRepositoryCreationTemplateCommand.js +2 -2
  11. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -2
  12. package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +2 -2
  13. package/dist-es/commands/DeleteRegistryPolicyCommand.js +2 -2
  14. package/dist-es/commands/DeleteRepositoryCommand.js +2 -2
  15. package/dist-es/commands/DeleteRepositoryCreationTemplateCommand.js +2 -2
  16. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +2 -2
  17. package/dist-es/commands/DeleteSigningConfigurationCommand.js +2 -2
  18. package/dist-es/commands/DeregisterPullTimeUpdateExclusionCommand.js +2 -2
  19. package/dist-es/commands/DescribeImageReplicationStatusCommand.js +2 -2
  20. package/dist-es/commands/DescribeImageScanFindingsCommand.js +2 -2
  21. package/dist-es/commands/DescribeImageSigningStatusCommand.js +2 -2
  22. package/dist-es/commands/DescribeImagesCommand.js +2 -2
  23. package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +2 -2
  24. package/dist-es/commands/DescribeRegistryCommand.js +2 -2
  25. package/dist-es/commands/DescribeRepositoriesCommand.js +2 -2
  26. package/dist-es/commands/DescribeRepositoryCreationTemplatesCommand.js +2 -2
  27. package/dist-es/commands/GetAccountSettingCommand.js +2 -2
  28. package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -2
  29. package/dist-es/commands/GetDownloadUrlForLayerCommand.js +2 -2
  30. package/dist-es/commands/GetLifecyclePolicyCommand.js +2 -2
  31. package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +2 -2
  32. package/dist-es/commands/GetRegistryPolicyCommand.js +2 -2
  33. package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +2 -2
  34. package/dist-es/commands/GetRepositoryPolicyCommand.js +2 -2
  35. package/dist-es/commands/GetSigningConfigurationCommand.js +2 -2
  36. package/dist-es/commands/InitiateLayerUploadCommand.js +2 -2
  37. package/dist-es/commands/ListImageReferrersCommand.js +2 -2
  38. package/dist-es/commands/ListImagesCommand.js +2 -2
  39. package/dist-es/commands/ListPullTimeUpdateExclusionsCommand.js +2 -2
  40. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  41. package/dist-es/commands/PutAccountSettingCommand.js +2 -2
  42. package/dist-es/commands/PutImageCommand.js +2 -2
  43. package/dist-es/commands/PutImageScanningConfigurationCommand.js +2 -2
  44. package/dist-es/commands/PutImageTagMutabilityCommand.js +2 -2
  45. package/dist-es/commands/PutLifecyclePolicyCommand.js +2 -2
  46. package/dist-es/commands/PutRegistryPolicyCommand.js +2 -2
  47. package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +2 -2
  48. package/dist-es/commands/PutReplicationConfigurationCommand.js +2 -2
  49. package/dist-es/commands/PutSigningConfigurationCommand.js +2 -2
  50. package/dist-es/commands/RegisterPullTimeUpdateExclusionCommand.js +2 -2
  51. package/dist-es/commands/SetRepositoryPolicyCommand.js +2 -2
  52. package/dist-es/commands/StartImageScanCommand.js +2 -2
  53. package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +2 -2
  54. package/dist-es/commands/TagResourceCommand.js +2 -2
  55. package/dist-es/commands/UntagResourceCommand.js +2 -2
  56. package/dist-es/commands/UpdateImageStorageClassCommand.js +2 -2
  57. package/dist-es/commands/UpdatePullThroughCacheRuleCommand.js +2 -2
  58. package/dist-es/commands/UpdateRepositoryCreationTemplateCommand.js +2 -2
  59. package/dist-es/commands/UploadLayerPartCommand.js +2 -2
  60. package/dist-es/commands/ValidatePullThroughCacheRuleCommand.js +2 -2
  61. package/dist-es/index.js +1 -0
  62. package/dist-es/runtimeConfig.shared.js +7 -6
  63. package/dist-es/schemas/schemas_0.js +550 -542
  64. package/dist-types/ECRClient.d.ts +1 -10
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  67. package/dist-types/runtimeConfig.d.ts +6 -2
  68. package/dist-types/runtimeConfig.native.d.ts +6 -2
  69. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  70. package/dist-types/schemas/schemas_0.d.ts +278 -330
  71. package/dist-types/ts3.4/ECRClient.d.ts +0 -4
  72. package/dist-types/ts3.4/index.d.ts +1 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  77. package/dist-types/ts3.4/schemas/schemas_0.d.ts +277 -330
  78. package/package.json +35 -35
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListImageReferrers } from "../schemas/schemas_0";
4
+ import { ListImageReferrers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListImageReferrersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListImageReferrersCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "ListImageReferrers", {})
13
13
  .n("ECRClient", "ListImageReferrersCommand")
14
- .sc(ListImageReferrers)
14
+ .sc(ListImageReferrers$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListImages } from "../schemas/schemas_0";
4
+ import { ListImages$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListImagesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListImagesCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "ListImages", {})
13
13
  .n("ECRClient", "ListImagesCommand")
14
- .sc(ListImages)
14
+ .sc(ListImages$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPullTimeUpdateExclusions } from "../schemas/schemas_0";
4
+ import { ListPullTimeUpdateExclusions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPullTimeUpdateExclusionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPullTimeUpdateExclusionsCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "ListPullTimeUpdateExclusions", {})
13
13
  .n("ECRClient", "ListPullTimeUpdateExclusionsCommand")
14
- .sc(ListPullTimeUpdateExclusions)
14
+ .sc(ListPullTimeUpdateExclusions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "ListTagsForResource", {})
13
13
  .n("ECRClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutAccountSetting } from "../schemas/schemas_0";
4
+ import { PutAccountSetting$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutAccountSettingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutAccountSettingCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutAccountSetting", {})
13
13
  .n("ECRClient", "PutAccountSettingCommand")
14
- .sc(PutAccountSetting)
14
+ .sc(PutAccountSetting$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutImage } from "../schemas/schemas_0";
4
+ import { PutImage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutImageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutImageCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutImage", {})
13
13
  .n("ECRClient", "PutImageCommand")
14
- .sc(PutImage)
14
+ .sc(PutImage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutImageScanningConfiguration } from "../schemas/schemas_0";
4
+ import { PutImageScanningConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutImageScanningConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutImageScanningConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutImageScanningConfiguration", {})
13
13
  .n("ECRClient", "PutImageScanningConfigurationCommand")
14
- .sc(PutImageScanningConfiguration)
14
+ .sc(PutImageScanningConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutImageTagMutability } from "../schemas/schemas_0";
4
+ import { PutImageTagMutability$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutImageTagMutabilityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutImageTagMutabilityCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutImageTagMutability", {})
13
13
  .n("ECRClient", "PutImageTagMutabilityCommand")
14
- .sc(PutImageTagMutability)
14
+ .sc(PutImageTagMutability$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutLifecyclePolicy } from "../schemas/schemas_0";
4
+ import { PutLifecyclePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutLifecyclePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutLifecyclePolicyCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutLifecyclePolicy", {})
13
13
  .n("ECRClient", "PutLifecyclePolicyCommand")
14
- .sc(PutLifecyclePolicy)
14
+ .sc(PutLifecyclePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutRegistryPolicy } from "../schemas/schemas_0";
4
+ import { PutRegistryPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutRegistryPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutRegistryPolicyCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutRegistryPolicy", {})
13
13
  .n("ECRClient", "PutRegistryPolicyCommand")
14
- .sc(PutRegistryPolicy)
14
+ .sc(PutRegistryPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutRegistryScanningConfiguration } from "../schemas/schemas_0";
4
+ import { PutRegistryScanningConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutRegistryScanningConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutRegistryScanningConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutRegistryScanningConfiguration", {})
13
13
  .n("ECRClient", "PutRegistryScanningConfigurationCommand")
14
- .sc(PutRegistryScanningConfiguration)
14
+ .sc(PutRegistryScanningConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutReplicationConfiguration } from "../schemas/schemas_0";
4
+ import { PutReplicationConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutReplicationConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutReplicationConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutReplicationConfiguration", {})
13
13
  .n("ECRClient", "PutReplicationConfigurationCommand")
14
- .sc(PutReplicationConfiguration)
14
+ .sc(PutReplicationConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSigningConfiguration } from "../schemas/schemas_0";
4
+ import { PutSigningConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSigningConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSigningConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "PutSigningConfiguration", {})
13
13
  .n("ECRClient", "PutSigningConfigurationCommand")
14
- .sc(PutSigningConfiguration)
14
+ .sc(PutSigningConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RegisterPullTimeUpdateExclusion } from "../schemas/schemas_0";
4
+ import { RegisterPullTimeUpdateExclusion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterPullTimeUpdateExclusionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterPullTimeUpdateExclusionCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "RegisterPullTimeUpdateExclusion", {})
13
13
  .n("ECRClient", "RegisterPullTimeUpdateExclusionCommand")
14
- .sc(RegisterPullTimeUpdateExclusion)
14
+ .sc(RegisterPullTimeUpdateExclusion$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SetRepositoryPolicy } from "../schemas/schemas_0";
4
+ import { SetRepositoryPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SetRepositoryPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SetRepositoryPolicyCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "SetRepositoryPolicy", {})
13
13
  .n("ECRClient", "SetRepositoryPolicyCommand")
14
- .sc(SetRepositoryPolicy)
14
+ .sc(SetRepositoryPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartImageScan } from "../schemas/schemas_0";
4
+ import { StartImageScan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartImageScanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartImageScanCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "StartImageScan", {})
13
13
  .n("ECRClient", "StartImageScanCommand")
14
- .sc(StartImageScan)
14
+ .sc(StartImageScan$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartLifecyclePolicyPreview } from "../schemas/schemas_0";
4
+ import { StartLifecyclePolicyPreview$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartLifecyclePolicyPreviewCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartLifecyclePolicyPreviewCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "StartLifecyclePolicyPreview", {})
13
13
  .n("ECRClient", "StartLifecyclePolicyPreviewCommand")
14
- .sc(StartLifecyclePolicyPreview)
14
+ .sc(StartLifecyclePolicyPreview$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "TagResource", {})
13
13
  .n("ECRClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "UntagResource", {})
13
13
  .n("ECRClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateImageStorageClass } from "../schemas/schemas_0";
4
+ import { UpdateImageStorageClass$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateImageStorageClassCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateImageStorageClassCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "UpdateImageStorageClass", {})
13
13
  .n("ECRClient", "UpdateImageStorageClassCommand")
14
- .sc(UpdateImageStorageClass)
14
+ .sc(UpdateImageStorageClass$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePullThroughCacheRule } from "../schemas/schemas_0";
4
+ import { UpdatePullThroughCacheRule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePullThroughCacheRuleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePullThroughCacheRuleCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "UpdatePullThroughCacheRule", {})
13
13
  .n("ECRClient", "UpdatePullThroughCacheRuleCommand")
14
- .sc(UpdatePullThroughCacheRule)
14
+ .sc(UpdatePullThroughCacheRule$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRepositoryCreationTemplate } from "../schemas/schemas_0";
4
+ import { UpdateRepositoryCreationTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRepositoryCreationTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRepositoryCreationTemplateCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "UpdateRepositoryCreationTemplate", {})
13
13
  .n("ECRClient", "UpdateRepositoryCreationTemplateCommand")
14
- .sc(UpdateRepositoryCreationTemplate)
14
+ .sc(UpdateRepositoryCreationTemplate$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UploadLayerPart } from "../schemas/schemas_0";
4
+ import { UploadLayerPart$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UploadLayerPartCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UploadLayerPartCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "UploadLayerPart", {})
13
13
  .n("ECRClient", "UploadLayerPartCommand")
14
- .sc(UploadLayerPart)
14
+ .sc(UploadLayerPart$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ValidatePullThroughCacheRule } from "../schemas/schemas_0";
4
+ import { ValidatePullThroughCacheRule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ValidatePullThroughCacheRuleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ValidatePullThroughCacheRuleCommand extends $Command
11
11
  })
12
12
  .s("AmazonEC2ContainerRegistry_V20150921", "ValidatePullThroughCacheRule", {})
13
13
  .n("ECRClient", "ValidatePullThroughCacheRuleCommand")
14
- .sc(ValidatePullThroughCacheRule)
14
+ .sc(ValidatePullThroughCacheRule$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ECRClient";
2
2
  export * from "./ECR";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.ecr",
29
- serviceTarget: "AmazonEC2ContainerRegistry_V20150921",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.ecr",
29
+ xmlNamespace: "http://ecr.amazonaws.com/doc/2015-09-21/",
30
+ version: "2015-09-21",
31
+ serviceTarget: "AmazonEC2ContainerRegistry_V20150921",
32
+ },
32
33
  serviceId: config?.serviceId ?? "ECR",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,