@aws-sdk/client-ecr 3.954.0 → 3.955.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.
package/dist-cjs/index.js CHANGED
@@ -3547,6 +3547,7 @@ const ImageTagMutabilityExclusionFilterType = {
3547
3547
  WILDCARD: "WILDCARD",
3548
3548
  };
3549
3549
  const RCTAppliedFor = {
3550
+ CREATE_ON_PUSH: "CREATE_ON_PUSH",
3550
3551
  PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE",
3551
3552
  REPLICATION: "REPLICATION",
3552
3553
  };
package/dist-es/index.js CHANGED
@@ -6,4 +6,5 @@ export * from "./pagination";
6
6
  export * from "./waiters";
7
7
  export * from "./models/enums";
8
8
  export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { ECRServiceException } from "./models/ECRServiceException";
@@ -56,6 +56,7 @@ export const ImageTagMutabilityExclusionFilterType = {
56
56
  WILDCARD: "WILDCARD",
57
57
  };
58
58
  export const RCTAppliedFor = {
59
+ CREATE_ON_PUSH: "CREATE_ON_PUSH",
59
60
  PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE",
60
61
  REPLICATION: "REPLICATION",
61
62
  };
@@ -63,7 +63,7 @@ declare const CreateRepositoryCreationTemplateCommand_base: {
63
63
  * repositoryPolicy: "STRING_VALUE",
64
64
  * lifecyclePolicy: "STRING_VALUE",
65
65
  * appliedFor: [ // RCTAppliedForList // required
66
- * "REPLICATION" || "PULL_THROUGH_CACHE",
66
+ * "REPLICATION" || "PULL_THROUGH_CACHE" || "CREATE_ON_PUSH",
67
67
  * ],
68
68
  * customRoleArn: "STRING_VALUE",
69
69
  * };
@@ -94,7 +94,7 @@ declare const CreateRepositoryCreationTemplateCommand_base: {
94
94
  * // repositoryPolicy: "STRING_VALUE",
95
95
  * // lifecyclePolicy: "STRING_VALUE",
96
96
  * // appliedFor: [ // RCTAppliedForList
97
- * // "REPLICATION" || "PULL_THROUGH_CACHE",
97
+ * // "REPLICATION" || "PULL_THROUGH_CACHE" || "CREATE_ON_PUSH",
98
98
  * // ],
99
99
  * // customRoleArn: "STRING_VALUE",
100
100
  * // createdAt: new Date("TIMESTAMP"),
@@ -66,7 +66,7 @@ declare const DeleteRepositoryCreationTemplateCommand_base: {
66
66
  * // repositoryPolicy: "STRING_VALUE",
67
67
  * // lifecyclePolicy: "STRING_VALUE",
68
68
  * // appliedFor: [ // RCTAppliedForList
69
- * // "REPLICATION" || "PULL_THROUGH_CACHE",
69
+ * // "REPLICATION" || "PULL_THROUGH_CACHE" || "CREATE_ON_PUSH",
70
70
  * // ],
71
71
  * // customRoleArn: "STRING_VALUE",
72
72
  * // createdAt: new Date("TIMESTAMP"),
@@ -73,7 +73,7 @@ declare const DescribeRepositoryCreationTemplatesCommand_base: {
73
73
  * // repositoryPolicy: "STRING_VALUE",
74
74
  * // lifecyclePolicy: "STRING_VALUE",
75
75
  * // appliedFor: [ // RCTAppliedForList
76
- * // "REPLICATION" || "PULL_THROUGH_CACHE",
76
+ * // "REPLICATION" || "PULL_THROUGH_CACHE" || "CREATE_ON_PUSH",
77
77
  * // ],
78
78
  * // customRoleArn: "STRING_VALUE",
79
79
  * // createdAt: new Date("TIMESTAMP"),
@@ -59,7 +59,7 @@ declare const UpdateRepositoryCreationTemplateCommand_base: {
59
59
  * repositoryPolicy: "STRING_VALUE",
60
60
  * lifecyclePolicy: "STRING_VALUE",
61
61
  * appliedFor: [ // RCTAppliedForList
62
- * "REPLICATION" || "PULL_THROUGH_CACHE",
62
+ * "REPLICATION" || "PULL_THROUGH_CACHE" || "CREATE_ON_PUSH",
63
63
  * ],
64
64
  * customRoleArn: "STRING_VALUE",
65
65
  * };
@@ -90,7 +90,7 @@ declare const UpdateRepositoryCreationTemplateCommand_base: {
90
90
  * // repositoryPolicy: "STRING_VALUE",
91
91
  * // lifecyclePolicy: "STRING_VALUE",
92
92
  * // appliedFor: [ // RCTAppliedForList
93
- * // "REPLICATION" || "PULL_THROUGH_CACHE",
93
+ * // "REPLICATION" || "PULL_THROUGH_CACHE" || "CREATE_ON_PUSH",
94
94
  * // ],
95
95
  * // customRoleArn: "STRING_VALUE",
96
96
  * // createdAt: new Date("TIMESTAMP"),
@@ -22,5 +22,5 @@ export * from "./pagination";
22
22
  export * from "./waiters";
23
23
  export * from "./models/enums";
24
24
  export * from "./models/errors";
25
- export type * from "./models/models_0";
25
+ export * from "./models/models_0";
26
26
  export { ECRServiceException } from "./models/ECRServiceException";
@@ -140,6 +140,7 @@ export type ImageTagMutabilityExclusionFilterType = (typeof ImageTagMutabilityEx
140
140
  * @enum
141
141
  */
142
142
  export declare const RCTAppliedFor: {
143
+ readonly CREATE_ON_PUSH: "CREATE_ON_PUSH";
143
144
  readonly PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE";
144
145
  readonly REPLICATION: "REPLICATION";
145
146
  };
@@ -845,8 +845,8 @@ export interface CreateRepositoryCreationTemplateRequest {
845
845
  lifecyclePolicy?: string | undefined;
846
846
  /**
847
847
  * <p>A list of enumerable strings representing the Amazon ECR repository creation scenarios that
848
- * this template will apply towards. The two supported scenarios are
849
- * <code>PULL_THROUGH_CACHE</code> and <code>REPLICATION</code>
848
+ * this template will apply towards. The supported scenarios are
849
+ * <code>PULL_THROUGH_CACHE</code>, <code>REPLICATION</code>, and <code>CREATE_ON_PUSH</code>
850
850
  * </p>
851
851
  * @public
852
852
  */
@@ -916,8 +916,8 @@ export interface RepositoryCreationTemplate {
916
916
  lifecyclePolicy?: string | undefined;
917
917
  /**
918
918
  * <p>A list of enumerable Strings representing the repository creation scenarios that this
919
- * template will apply towards. The two supported scenarios are PULL_THROUGH_CACHE and
920
- * REPLICATION</p>
919
+ * template will apply towards. The supported scenarios are PULL_THROUGH_CACHE, REPLICATION, and
920
+ * CREATE_ON_PUSH</p>
921
921
  * @public
922
922
  */
923
923
  appliedFor?: RCTAppliedFor[] | undefined;
@@ -4108,8 +4108,8 @@ export interface UpdateRepositoryCreationTemplateRequest {
4108
4108
  lifecyclePolicy?: string | undefined;
4109
4109
  /**
4110
4110
  * <p>Updates the list of enumerable strings representing the Amazon ECR repository creation
4111
- * scenarios that this template will apply towards. The two supported scenarios are
4112
- * <code>PULL_THROUGH_CACHE</code> and <code>REPLICATION</code>
4111
+ * scenarios that this template will apply towards. The supported scenarios are
4112
+ * <code>PULL_THROUGH_CACHE</code>, <code>REPLICATION</code>, and <code>CREATE_ON_PUSH</code>
4113
4113
  * </p>
4114
4114
  * @public
4115
4115
  */
@@ -75,6 +75,7 @@ export declare const ImageTagMutabilityExclusionFilterType: {
75
75
  export type ImageTagMutabilityExclusionFilterType =
76
76
  (typeof ImageTagMutabilityExclusionFilterType)[keyof typeof ImageTagMutabilityExclusionFilterType];
77
77
  export declare const RCTAppliedFor: {
78
+ readonly CREATE_ON_PUSH: "CREATE_ON_PUSH";
78
79
  readonly PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE";
79
80
  readonly REPLICATION: "REPLICATION";
80
81
  };
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.954.0",
4
+ "version": "3.955.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecr",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.954.0",
25
- "@aws-sdk/credential-provider-node": "3.954.0",
25
+ "@aws-sdk/credential-provider-node": "3.955.0",
26
26
  "@aws-sdk/middleware-host-header": "3.953.0",
27
27
  "@aws-sdk/middleware-logger": "3.953.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.953.0",