@aws-sdk/client-ecr 3.1168.0 → 3.1170.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1167.0";
72
+ var version = "3.1169.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -881,7 +881,7 @@ const _DPTCRe = "DescribePullThroughCacheRules";
881
881
  const _DPTUE = "DeregisterPullTimeUpdateExclusion";
882
882
  const _DPTUER = "DeregisterPullTimeUpdateExclusionRequest";
883
883
  const _DPTUERe = "DeregisterPullTimeUpdateExclusionResponse";
884
- const _DR = "DeleteRepository";
884
+ const _DR = "DeleteReplication";
885
885
  const _DRBR = "DescribeReplicationBackfillResults";
886
886
  const _DRBRR = "DescribeReplicationBackfillResultsRequest";
887
887
  const _DRBRRe = "DescribeReplicationBackfillResultsResponse";
@@ -903,8 +903,9 @@ const _DRRes = "DescribeRegistryRequest";
903
903
  const _DRResc = "DescribeRegistryResponse";
904
904
  const _DRRescr = "DescribeRepositoriesRequest";
905
905
  const _DRRescri = "DescribeRepositoriesResponse";
906
- const _DRe = "DescribeRegistry";
907
- const _DRes = "DescribeRepositories";
906
+ const _DRe = "DeleteRepository";
907
+ const _DRes = "DescribeRegistry";
908
+ const _DResc = "DescribeRepositories";
908
909
  const _DSC = "DeleteSigningConfiguration";
909
910
  const _DSCR = "DeleteSigningConfigurationRequest";
910
911
  const _DSCRe = "DeleteSigningConfigurationResponse";
@@ -1181,6 +1182,7 @@ const _cRA = "customRoleArn";
1181
1182
  const _cRC = "completedReplicationCount";
1182
1183
  const _cv = "cvss";
1183
1184
  const _d = "description";
1185
+ const _dR = "deleteReplication";
1184
1186
  const _dU = "downloadUrl";
1185
1187
  const _de = "destination";
1186
1188
  const _des = "destinations";
@@ -1196,6 +1198,7 @@ const _eITC = "expiringImageTotalCount";
1196
1198
  const _eRP = "ecrRepositoryPrefix";
1197
1199
  const _eRPc = "ecrRepositoryPrefixes";
1198
1200
  const _eT = "encryptionType";
1201
+ const _en = "enabled";
1199
1202
  const _ep = "epoch";
1200
1203
  const _f = "failures";
1201
1204
  const _fA = "findingArn";
@@ -1810,6 +1813,11 @@ var DeleteRegistryPolicyResponse$ = [3, n0, _DRPRe,
1810
1813
  [_rI, _pT],
1811
1814
  [0, 0]
1812
1815
  ];
1816
+ var DeleteReplication$ = [3, n0, _DR,
1817
+ 0,
1818
+ [_en],
1819
+ [2], 1
1820
+ ];
1813
1821
  var DeleteRepositoryCreationTemplateRequest$ = [3, n0, _DRCTR,
1814
1822
  0,
1815
1823
  [_pr],
@@ -2382,8 +2390,8 @@ var ReplicationDestination$ = [3, n0, _RD,
2382
2390
  ];
2383
2391
  var ReplicationRule$ = [3, n0, _RR,
2384
2392
  0,
2385
- [_des, _rF],
2386
- [() => ReplicationDestinationList, () => RepositoryFilterList], 1
2393
+ [_des, _rF, _dR],
2394
+ [() => ReplicationDestinationList, () => RepositoryFilterList, () => DeleteReplication$], 1
2387
2395
  ];
2388
2396
  var Repository$ = [3, n0, _Rep,
2389
2397
  0,
@@ -2723,7 +2731,7 @@ var DeletePullThroughCacheRule$ = [9, n0, _DPTCR,
2723
2731
  var DeleteRegistryPolicy$ = [9, n0, _DRP,
2724
2732
  0, () => DeleteRegistryPolicyRequest$, () => DeleteRegistryPolicyResponse$
2725
2733
  ];
2726
- var DeleteRepository$ = [9, n0, _DR,
2734
+ var DeleteRepository$ = [9, n0, _DRe,
2727
2735
  0, () => DeleteRepositoryRequest$, () => DeleteRepositoryResponse$
2728
2736
  ];
2729
2737
  var DeleteRepositoryCreationTemplate$ = [9, n0, _DRCT,
@@ -2753,13 +2761,13 @@ var DescribeImageSigningStatus$ = [9, n0, _DISS,
2753
2761
  var DescribePullThroughCacheRules$ = [9, n0, _DPTCRe,
2754
2762
  0, () => DescribePullThroughCacheRulesRequest$, () => DescribePullThroughCacheRulesResponse$
2755
2763
  ];
2756
- var DescribeRegistry$ = [9, n0, _DRe,
2764
+ var DescribeRegistry$ = [9, n0, _DRes,
2757
2765
  0, () => DescribeRegistryRequest$, () => DescribeRegistryResponse$
2758
2766
  ];
2759
2767
  var DescribeReplicationBackfillResults$ = [9, n0, _DRBR,
2760
2768
  0, () => DescribeReplicationBackfillResultsRequest$, () => DescribeReplicationBackfillResultsResponse$
2761
2769
  ];
2762
- var DescribeRepositories$ = [9, n0, _DRes,
2770
+ var DescribeRepositories$ = [9, n0, _DResc,
2763
2771
  0, () => DescribeRepositoriesRequest$, () => DescribeRepositoriesResponse$
2764
2772
  ];
2765
2773
  var DescribeRepositoryCreationTemplates$ = [9, n0, _DRCTe,
@@ -3612,6 +3620,7 @@ exports.DeleteRegistryPolicy$ = DeleteRegistryPolicy$;
3612
3620
  exports.DeleteRegistryPolicyCommand = DeleteRegistryPolicyCommand;
3613
3621
  exports.DeleteRegistryPolicyRequest$ = DeleteRegistryPolicyRequest$;
3614
3622
  exports.DeleteRegistryPolicyResponse$ = DeleteRegistryPolicyResponse$;
3623
+ exports.DeleteReplication$ = DeleteReplication$;
3615
3624
  exports.DeleteRepository$ = DeleteRepository$;
3616
3625
  exports.DeleteRepositoryCommand = DeleteRepositoryCommand;
3617
3626
  exports.DeleteRepositoryCreationTemplate$ = DeleteRepositoryCreationTemplate$;
@@ -58,7 +58,7 @@ const _DPTCRe = "DescribePullThroughCacheRules";
58
58
  const _DPTUE = "DeregisterPullTimeUpdateExclusion";
59
59
  const _DPTUER = "DeregisterPullTimeUpdateExclusionRequest";
60
60
  const _DPTUERe = "DeregisterPullTimeUpdateExclusionResponse";
61
- const _DR = "DeleteRepository";
61
+ const _DR = "DeleteReplication";
62
62
  const _DRBR = "DescribeReplicationBackfillResults";
63
63
  const _DRBRR = "DescribeReplicationBackfillResultsRequest";
64
64
  const _DRBRRe = "DescribeReplicationBackfillResultsResponse";
@@ -80,8 +80,9 @@ const _DRRes = "DescribeRegistryRequest";
80
80
  const _DRResc = "DescribeRegistryResponse";
81
81
  const _DRRescr = "DescribeRepositoriesRequest";
82
82
  const _DRRescri = "DescribeRepositoriesResponse";
83
- const _DRe = "DescribeRegistry";
84
- const _DRes = "DescribeRepositories";
83
+ const _DRe = "DeleteRepository";
84
+ const _DRes = "DescribeRegistry";
85
+ const _DResc = "DescribeRepositories";
85
86
  const _DSC = "DeleteSigningConfiguration";
86
87
  const _DSCR = "DeleteSigningConfigurationRequest";
87
88
  const _DSCRe = "DeleteSigningConfigurationResponse";
@@ -358,6 +359,7 @@ const _cRA = "customRoleArn";
358
359
  const _cRC = "completedReplicationCount";
359
360
  const _cv = "cvss";
360
361
  const _d = "description";
362
+ const _dR = "deleteReplication";
361
363
  const _dU = "downloadUrl";
362
364
  const _de = "destination";
363
365
  const _des = "destinations";
@@ -373,6 +375,7 @@ const _eITC = "expiringImageTotalCount";
373
375
  const _eRP = "ecrRepositoryPrefix";
374
376
  const _eRPc = "ecrRepositoryPrefixes";
375
377
  const _eT = "encryptionType";
378
+ const _en = "enabled";
376
379
  const _ep = "epoch";
377
380
  const _f = "failures";
378
381
  const _fA = "findingArn";
@@ -990,6 +993,11 @@ export var DeleteRegistryPolicyResponse$ = [3, n0, _DRPRe,
990
993
  [_rI, _pT],
991
994
  [0, 0]
992
995
  ];
996
+ export var DeleteReplication$ = [3, n0, _DR,
997
+ 0,
998
+ [_en],
999
+ [2], 1
1000
+ ];
993
1001
  export var DeleteRepositoryCreationTemplateRequest$ = [3, n0, _DRCTR,
994
1002
  0,
995
1003
  [_pr],
@@ -1562,8 +1570,8 @@ export var ReplicationDestination$ = [3, n0, _RD,
1562
1570
  ];
1563
1571
  export var ReplicationRule$ = [3, n0, _RR,
1564
1572
  0,
1565
- [_des, _rF],
1566
- [() => ReplicationDestinationList, () => RepositoryFilterList], 1
1573
+ [_des, _rF, _dR],
1574
+ [() => ReplicationDestinationList, () => RepositoryFilterList, () => DeleteReplication$], 1
1567
1575
  ];
1568
1576
  export var Repository$ = [3, n0, _Rep,
1569
1577
  0,
@@ -1923,7 +1931,7 @@ export var DeletePullThroughCacheRule$ = [9, n0, _DPTCR,
1923
1931
  export var DeleteRegistryPolicy$ = [9, n0, _DRP,
1924
1932
  0, () => DeleteRegistryPolicyRequest$, () => DeleteRegistryPolicyResponse$
1925
1933
  ];
1926
- export var DeleteRepository$ = [9, n0, _DR,
1934
+ export var DeleteRepository$ = [9, n0, _DRe,
1927
1935
  0, () => DeleteRepositoryRequest$, () => DeleteRepositoryResponse$
1928
1936
  ];
1929
1937
  export var DeleteRepositoryCreationTemplate$ = [9, n0, _DRCT,
@@ -1953,13 +1961,13 @@ export var DescribeImageSigningStatus$ = [9, n0, _DISS,
1953
1961
  export var DescribePullThroughCacheRules$ = [9, n0, _DPTCRe,
1954
1962
  0, () => DescribePullThroughCacheRulesRequest$, () => DescribePullThroughCacheRulesResponse$
1955
1963
  ];
1956
- export var DescribeRegistry$ = [9, n0, _DRe,
1964
+ export var DescribeRegistry$ = [9, n0, _DRes,
1957
1965
  0, () => DescribeRegistryRequest$, () => DescribeRegistryResponse$
1958
1966
  ];
1959
1967
  export var DescribeReplicationBackfillResults$ = [9, n0, _DRBR,
1960
1968
  0, () => DescribeReplicationBackfillResultsRequest$, () => DescribeReplicationBackfillResultsResponse$
1961
1969
  ];
1962
- export var DescribeRepositories$ = [9, n0, _DRes,
1970
+ export var DescribeRepositories$ = [9, n0, _DResc,
1963
1971
  0, () => DescribeRepositoriesRequest$, () => DescribeRepositoriesResponse$
1964
1972
  ];
1965
1973
  export var DescribeRepositoryCreationTemplates$ = [9, n0, _DRCTe,
@@ -99,6 +99,9 @@ declare const BatchDeleteImageCommand_base: {
99
99
  * imageIds: [
100
100
  * {
101
101
  * imageTag: "precise"
102
+ * },
103
+ * {
104
+ * imageTag: "trusty"
102
105
  * }
103
106
  * ],
104
107
  * repositoryName: "ubuntu"
@@ -55,6 +55,9 @@ declare const DescribeRegistryCommand_base: {
55
55
  * // filterType: "PREFIX_MATCH", // required
56
56
  * // },
57
57
  * // ],
58
+ * // deleteReplication: { // DeleteReplication
59
+ * // enabled: true || false, // required
60
+ * // },
58
61
  * // },
59
62
  * // ],
60
63
  * // },
@@ -59,6 +59,9 @@ declare const PutReplicationConfigurationCommand_base: {
59
59
  * filterType: "PREFIX_MATCH", // required
60
60
  * },
61
61
  * ],
62
+ * deleteReplication: { // DeleteReplication
63
+ * enabled: true || false, // required
64
+ * },
62
65
  * },
63
66
  * ],
64
67
  * },
@@ -81,6 +84,9 @@ declare const PutReplicationConfigurationCommand_base: {
81
84
  * // filterType: "PREFIX_MATCH", // required
82
85
  * // },
83
86
  * // ],
87
+ * // deleteReplication: { // DeleteReplication
88
+ * // enabled: true || false, // required
89
+ * // },
84
90
  * // },
85
91
  * // ],
86
92
  * // },
@@ -2358,6 +2358,22 @@ export interface DescribePullThroughCacheRulesResponse {
2358
2358
  */
2359
2359
  export interface DescribeRegistryRequest {
2360
2360
  }
2361
+ /**
2362
+ * <p>The delete replication configuration for a replication rule. When delete replication
2363
+ * is enabled, the service replicates image deletions and image tag removals in the source
2364
+ * registry to the replication destinations.</p>
2365
+ * @public
2366
+ */
2367
+ export interface DeleteReplication {
2368
+ /**
2369
+ * <p>Specifies whether delete replication is enabled. If set to <code>true</code>, the
2370
+ * service replicates image deletions and image tag removals from the source registry to
2371
+ * each replication destination. If set to <code>false</code>, the service does not
2372
+ * replicate image deletions or image tag removals.</p>
2373
+ * @public
2374
+ */
2375
+ enabled: boolean | undefined;
2376
+ }
2361
2377
  /**
2362
2378
  * <p>An array of objects representing the destination for a replication rule.</p>
2363
2379
  * @public
@@ -2416,6 +2432,15 @@ export interface ReplicationRule {
2416
2432
  * @public
2417
2433
  */
2418
2434
  repositoryFilters?: RepositoryFilter[] | undefined;
2435
+ /**
2436
+ * <p>The delete replication settings for the replication rule. When delete replication is
2437
+ * enabled, the service replicates image deletions and image tag removals from the source
2438
+ * registry to the replication destinations. If you do not specify this parameter, the
2439
+ * service does not replicate image deletions or image tag removals for the replication
2440
+ * rule.</p>
2441
+ * @public
2442
+ */
2443
+ deleteReplication?: DeleteReplication | undefined;
2419
2444
  }
2420
2445
  /**
2421
2446
  * <p>The replication configuration for a registry.</p>
@@ -85,6 +85,7 @@ export declare var DeletePullThroughCacheRuleRequest$: StaticStructureSchema;
85
85
  export declare var DeletePullThroughCacheRuleResponse$: StaticStructureSchema;
86
86
  export declare var DeleteRegistryPolicyRequest$: StaticStructureSchema;
87
87
  export declare var DeleteRegistryPolicyResponse$: StaticStructureSchema;
88
+ export declare var DeleteReplication$: StaticStructureSchema;
88
89
  export declare var DeleteRepositoryCreationTemplateRequest$: StaticStructureSchema;
89
90
  export declare var DeleteRepositoryCreationTemplateResponse$: StaticStructureSchema;
90
91
  export declare var DeleteRepositoryPolicyRequest$: StaticStructureSchema;
@@ -505,6 +505,9 @@ export interface DescribePullThroughCacheRulesResponse {
505
505
  nextToken?: string | undefined;
506
506
  }
507
507
  export interface DescribeRegistryRequest {}
508
+ export interface DeleteReplication {
509
+ enabled: boolean | undefined;
510
+ }
508
511
  export interface ReplicationDestination {
509
512
  region: string | undefined;
510
513
  registryId: string | undefined;
@@ -516,6 +519,7 @@ export interface RepositoryFilter {
516
519
  export interface ReplicationRule {
517
520
  destinations: ReplicationDestination[] | undefined;
518
521
  repositoryFilters?: RepositoryFilter[] | undefined;
522
+ deleteReplication?: DeleteReplication | undefined;
519
523
  }
520
524
  export interface ReplicationConfiguration {
521
525
  rules: ReplicationRule[] | undefined;
@@ -80,6 +80,7 @@ export declare var DeletePullThroughCacheRuleRequest$: StaticStructureSchema;
80
80
  export declare var DeletePullThroughCacheRuleResponse$: StaticStructureSchema;
81
81
  export declare var DeleteRegistryPolicyRequest$: StaticStructureSchema;
82
82
  export declare var DeleteRegistryPolicyResponse$: StaticStructureSchema;
83
+ export declare var DeleteReplication$: StaticStructureSchema;
83
84
  export declare var DeleteRepositoryCreationTemplateRequest$: StaticStructureSchema;
84
85
  export declare var DeleteRepositoryCreationTemplateResponse$: StaticStructureSchema;
85
86
  export declare var DeleteRepositoryPolicyRequest$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecr",
3
- "version": "3.1168.0",
3
+ "version": "3.1170.0",
4
4
  "description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ecr",
6
6
  "license": "Apache-2.0",