@aws-sdk/client-ecr 3.413.0 → 3.418.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 (87) hide show
  1. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +5 -0
  2. package/dist-cjs/commands/BatchDeleteImageCommand.js +5 -0
  3. package/dist-cjs/commands/BatchGetImageCommand.js +5 -0
  4. package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +5 -0
  5. package/dist-cjs/commands/CompleteLayerUploadCommand.js +5 -0
  6. package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +5 -0
  7. package/dist-cjs/commands/CreateRepositoryCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +5 -0
  9. package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteRepositoryCommand.js +5 -0
  12. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +5 -0
  13. package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +5 -0
  14. package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +5 -0
  15. package/dist-cjs/commands/DescribeImagesCommand.js +5 -0
  16. package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +5 -0
  17. package/dist-cjs/commands/DescribeRegistryCommand.js +5 -0
  18. package/dist-cjs/commands/DescribeRepositoriesCommand.js +5 -0
  19. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +5 -0
  20. package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +5 -0
  21. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +5 -0
  22. package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +5 -0
  23. package/dist-cjs/commands/GetRegistryPolicyCommand.js +5 -0
  24. package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +5 -0
  25. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +5 -0
  26. package/dist-cjs/commands/InitiateLayerUploadCommand.js +5 -0
  27. package/dist-cjs/commands/ListImagesCommand.js +5 -0
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  29. package/dist-cjs/commands/PutImageCommand.js +5 -0
  30. package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +5 -0
  31. package/dist-cjs/commands/PutImageTagMutabilityCommand.js +5 -0
  32. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +5 -0
  33. package/dist-cjs/commands/PutRegistryPolicyCommand.js +5 -0
  34. package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +5 -0
  35. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +5 -0
  36. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +5 -0
  37. package/dist-cjs/commands/StartImageScanCommand.js +5 -0
  38. package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +5 -0
  39. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  40. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  41. package/dist-cjs/commands/UploadLayerPartCommand.js +5 -0
  42. package/dist-cjs/runtimeExtensions.js +3 -0
  43. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +5 -0
  44. package/dist-es/commands/BatchDeleteImageCommand.js +5 -0
  45. package/dist-es/commands/BatchGetImageCommand.js +5 -0
  46. package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +5 -0
  47. package/dist-es/commands/CompleteLayerUploadCommand.js +5 -0
  48. package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +5 -0
  49. package/dist-es/commands/CreateRepositoryCommand.js +5 -0
  50. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +5 -0
  51. package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +5 -0
  52. package/dist-es/commands/DeleteRegistryPolicyCommand.js +5 -0
  53. package/dist-es/commands/DeleteRepositoryCommand.js +5 -0
  54. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +5 -0
  55. package/dist-es/commands/DescribeImageReplicationStatusCommand.js +5 -0
  56. package/dist-es/commands/DescribeImageScanFindingsCommand.js +5 -0
  57. package/dist-es/commands/DescribeImagesCommand.js +5 -0
  58. package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +5 -0
  59. package/dist-es/commands/DescribeRegistryCommand.js +5 -0
  60. package/dist-es/commands/DescribeRepositoriesCommand.js +5 -0
  61. package/dist-es/commands/GetAuthorizationTokenCommand.js +5 -0
  62. package/dist-es/commands/GetDownloadUrlForLayerCommand.js +5 -0
  63. package/dist-es/commands/GetLifecyclePolicyCommand.js +5 -0
  64. package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +5 -0
  65. package/dist-es/commands/GetRegistryPolicyCommand.js +5 -0
  66. package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +5 -0
  67. package/dist-es/commands/GetRepositoryPolicyCommand.js +5 -0
  68. package/dist-es/commands/InitiateLayerUploadCommand.js +5 -0
  69. package/dist-es/commands/ListImagesCommand.js +5 -0
  70. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  71. package/dist-es/commands/PutImageCommand.js +5 -0
  72. package/dist-es/commands/PutImageScanningConfigurationCommand.js +5 -0
  73. package/dist-es/commands/PutImageTagMutabilityCommand.js +5 -0
  74. package/dist-es/commands/PutLifecyclePolicyCommand.js +5 -0
  75. package/dist-es/commands/PutRegistryPolicyCommand.js +5 -0
  76. package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +5 -0
  77. package/dist-es/commands/PutReplicationConfigurationCommand.js +5 -0
  78. package/dist-es/commands/SetRepositoryPolicyCommand.js +5 -0
  79. package/dist-es/commands/StartImageScanCommand.js +5 -0
  80. package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +5 -0
  81. package/dist-es/commands/TagResourceCommand.js +5 -0
  82. package/dist-es/commands/UntagResourceCommand.js +5 -0
  83. package/dist-es/commands/UploadLayerPartCommand.js +5 -0
  84. package/dist-es/runtimeExtensions.js +3 -0
  85. package/dist-types/extensionConfiguration.d.ts +2 -1
  86. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  87. package/package.json +32 -31
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetRegistryPolicyCommand, se_GetRegistryPolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetRegistryPolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetRegistryPolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "GetRegistryPolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetRegistryScanningConfigurationCommand, se_GetRegistryScanningConfigurationCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetRegistryScanningConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetRegistryScanningConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "GetRegistryScanningConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetRepositoryPolicyCommand, se_GetRepositoryPolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetRepositoryPolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetRepositoryPolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "GetRepositoryPolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_InitiateLayerUploadCommand, se_InitiateLayerUploadCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class InitiateLayerUploadCommand extends $Command {
@@ -29,6 +30,10 @@ export class InitiateLayerUploadCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "InitiateLayerUpload",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListImagesCommand, se_ListImagesCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListImagesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListImagesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "ListImages",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListTagsForResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "ListTagsForResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutImageCommand, se_PutImageCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutImageCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutImageCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "PutImage",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutImageScanningConfigurationCommand, se_PutImageScanningConfigurationCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutImageScanningConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutImageScanningConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "PutImageScanningConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutImageTagMutabilityCommand, se_PutImageTagMutabilityCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutImageTagMutabilityCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutImageTagMutabilityCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "PutImageTagMutability",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutLifecyclePolicyCommand, se_PutLifecyclePolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutLifecyclePolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutLifecyclePolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "PutLifecyclePolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutRegistryPolicyCommand, se_PutRegistryPolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutRegistryPolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutRegistryPolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "PutRegistryPolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutRegistryScanningConfigurationCommand, se_PutRegistryScanningConfigurationCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutRegistryScanningConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutRegistryScanningConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "PutRegistryScanningConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutReplicationConfigurationCommand, se_PutReplicationConfigurationCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutReplicationConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutReplicationConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "PutReplicationConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SetRepositoryPolicyCommand, se_SetRepositoryPolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class SetRepositoryPolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class SetRepositoryPolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "SetRepositoryPolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartImageScanCommand, se_StartImageScanCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StartImageScanCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartImageScanCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "StartImageScan",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartLifecyclePolicyPreviewCommand, se_StartLifecyclePolicyPreviewCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StartLifecyclePolicyPreviewCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartLifecyclePolicyPreviewCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "StartLifecyclePolicyPreview",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UploadLayerPartCommand, se_UploadLayerPartCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UploadLayerPartCommand extends $Command {
@@ -29,6 +30,10 @@ export class UploadLayerPartCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonEC2ContainerRegistry_V20150921",
35
+ operation: "UploadLayerPart",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface ECRExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface ECRExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface ECRExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
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.413.0",
4
+ "version": "3.418.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,40 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.413.0",
25
- "@aws-sdk/credential-provider-node": "3.413.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/types": "3.413.0",
32
- "@aws-sdk/util-endpoints": "3.413.0",
33
- "@aws-sdk/util-user-agent-browser": "3.413.0",
34
- "@aws-sdk/util-user-agent-node": "3.413.0",
35
- "@smithy/config-resolver": "^2.0.8",
36
- "@smithy/fetch-http-handler": "^2.1.3",
37
- "@smithy/hash-node": "^2.0.7",
38
- "@smithy/invalid-dependency": "^2.0.7",
39
- "@smithy/middleware-content-length": "^2.0.9",
40
- "@smithy/middleware-endpoint": "^2.0.7",
41
- "@smithy/middleware-retry": "^2.0.10",
42
- "@smithy/middleware-serde": "^2.0.7",
43
- "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.10",
45
- "@smithy/node-http-handler": "^2.1.3",
46
- "@smithy/protocol-http": "^3.0.3",
47
- "@smithy/smithy-client": "^2.1.4",
48
- "@smithy/types": "^2.3.1",
49
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.418.0",
25
+ "@aws-sdk/credential-provider-node": "3.418.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
50
51
  "@smithy/util-base64": "^2.0.0",
51
52
  "@smithy/util-body-length-browser": "^2.0.0",
52
53
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.8",
54
- "@smithy/util-defaults-mode-node": "^2.0.10",
55
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
56
57
  "@smithy/util-utf8": "^2.0.0",
57
- "@smithy/util-waiter": "^2.0.7",
58
+ "@smithy/util-waiter": "^2.0.9",
58
59
  "tslib": "^2.5.0"
59
60
  },
60
61
  "devDependencies": {