@aws-sdk/client-ecr 3.1180.0 → 3.1182.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 +17 -15
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +15 -14
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +4 -2
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +1 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePullThroughCacheRuleCommand.d.ts +2 -0
- package/dist-types/commands/ValidatePullThroughCacheRuleCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +68 -8
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +2 -2
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.
|
|
72
|
+
var version = "3.1181.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -1353,6 +1353,7 @@ const _u = "uri";
|
|
|
1353
1353
|
const _uA = "updatedAt";
|
|
1354
1354
|
const _uI = "uploadId";
|
|
1355
1355
|
const _uR = "upstreamRegistry";
|
|
1356
|
+
const _uRA = "upstreamRoleArn";
|
|
1356
1357
|
const _uRP = "upstreamRepositoryPrefix";
|
|
1357
1358
|
const _uRU = "upstreamRegistryUrl";
|
|
1358
1359
|
const _ur = "url";
|
|
@@ -1740,13 +1741,13 @@ var CompleteLayerUploadResponse$ = [3, n0, _CLURo,
|
|
|
1740
1741
|
];
|
|
1741
1742
|
var CreatePullThroughCacheRuleRequest$ = [3, n0, _CPTCRR,
|
|
1742
1743
|
0,
|
|
1743
|
-
[_eRP, _uRU, _rI, _uR, _cA, _cRA, _uRP],
|
|
1744
|
-
[0, 0, 0, 0, 0, 0, 0], 2
|
|
1744
|
+
[_eRP, _uRU, _rI, _uR, _cA, _cRA, _uRA, _uRP],
|
|
1745
|
+
[0, 0, 0, 0, 0, 0, 0, 0], 2
|
|
1745
1746
|
];
|
|
1746
1747
|
var CreatePullThroughCacheRuleResponse$ = [3, n0, _CPTCRRr,
|
|
1747
1748
|
0,
|
|
1748
|
-
[_eRP, _uRU, _cAr, _rI, _uR, _cA, _cRA, _uRP],
|
|
1749
|
-
[0, 0, 4, 0, 0, 0, 0, 0]
|
|
1749
|
+
[_eRP, _uRU, _cAr, _rI, _uR, _cA, _cRA, _uRA, _uRP],
|
|
1750
|
+
[0, 0, 4, 0, 0, 0, 0, 0, 0]
|
|
1750
1751
|
];
|
|
1751
1752
|
var CreateRepositoryCreationTemplateRequest$ = [3, n0, _CRCTR,
|
|
1752
1753
|
0,
|
|
@@ -1800,8 +1801,8 @@ var DeletePullThroughCacheRuleRequest$ = [3, n0, _DPTCRR,
|
|
|
1800
1801
|
];
|
|
1801
1802
|
var DeletePullThroughCacheRuleResponse$ = [3, n0, _DPTCRRe,
|
|
1802
1803
|
0,
|
|
1803
|
-
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRP],
|
|
1804
|
-
[0, 0, 4, 0, 0, 0, 0]
|
|
1804
|
+
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRA, _uRP],
|
|
1805
|
+
[0, 0, 4, 0, 0, 0, 0, 0]
|
|
1805
1806
|
];
|
|
1806
1807
|
var DeleteRegistryPolicyRequest$ = [3, n0, _DRPR,
|
|
1807
1808
|
0,
|
|
@@ -2240,8 +2241,8 @@ var PackageVulnerabilityDetails$ = [3, n0, _PVD,
|
|
|
2240
2241
|
];
|
|
2241
2242
|
var PullThroughCacheRule$ = [3, n0, _PTCR,
|
|
2242
2243
|
0,
|
|
2243
|
-
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRP, _uR, _uA],
|
|
2244
|
-
[0, 0, 4, 0, 0, 0, 0, 0, 4]
|
|
2244
|
+
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRA, _uRP, _uR, _uA],
|
|
2245
|
+
[0, 0, 4, 0, 0, 0, 0, 0, 0, 4]
|
|
2245
2246
|
];
|
|
2246
2247
|
var PutAccountSettingRequest$ = [3, n0, _PASR,
|
|
2247
2248
|
0,
|
|
@@ -2550,13 +2551,13 @@ var UpdateImageStorageClassResponse$ = [3, n0, _UISCRp,
|
|
|
2550
2551
|
];
|
|
2551
2552
|
var UpdatePullThroughCacheRuleRequest$ = [3, n0, _UPTCRR,
|
|
2552
2553
|
0,
|
|
2553
|
-
[_eRP, _rI, _cA, _cRA],
|
|
2554
|
-
[0, 0, 0, 0], 1
|
|
2554
|
+
[_eRP, _rI, _cA, _cRA, _uRA],
|
|
2555
|
+
[0, 0, 0, 0, 0], 1
|
|
2555
2556
|
];
|
|
2556
2557
|
var UpdatePullThroughCacheRuleResponse$ = [3, n0, _UPTCRRp,
|
|
2557
2558
|
0,
|
|
2558
|
-
[_eRP, _rI, _uA, _cA, _cRA, _uRP],
|
|
2559
|
-
[0, 0, 4, 0, 0, 0]
|
|
2559
|
+
[_eRP, _rI, _uA, _cA, _cRA, _uRA, _uRP],
|
|
2560
|
+
[0, 0, 4, 0, 0, 0, 0]
|
|
2560
2561
|
];
|
|
2561
2562
|
var UpdateRepositoryCreationTemplateRequest$ = [3, n0, _URCTR,
|
|
2562
2563
|
0,
|
|
@@ -2585,8 +2586,8 @@ var ValidatePullThroughCacheRuleRequest$ = [3, n0, _VPTCRR,
|
|
|
2585
2586
|
];
|
|
2586
2587
|
var ValidatePullThroughCacheRuleResponse$ = [3, n0, _VPTCRRa,
|
|
2587
2588
|
0,
|
|
2588
|
-
[_eRP, _rI, _uRU, _cA, _cRA, _uRP, _iV, _fa],
|
|
2589
|
-
[0, 0, 0, 0, 0, 0, 2, 0]
|
|
2589
|
+
[_eRP, _rI, _uRU, _cA, _cRA, _uRA, _uRP, _iV, _fa],
|
|
2590
|
+
[0, 0, 0, 0, 0, 0, 0, 2, 0]
|
|
2590
2591
|
];
|
|
2591
2592
|
var VulnerablePackage$ = [3, n0, _VP,
|
|
2592
2593
|
0,
|
|
@@ -3441,6 +3442,7 @@ const UpstreamRegistry = {
|
|
|
3441
3442
|
DockerHub: "docker-hub",
|
|
3442
3443
|
Ecr: "ecr",
|
|
3443
3444
|
EcrPublic: "ecr-public",
|
|
3445
|
+
EcrPublicPremium: "ecr-public-premium",
|
|
3444
3446
|
GitHubContainerRegistry: "github-container-registry",
|
|
3445
3447
|
GitLabContainerRegistry: "gitlab-container-registry",
|
|
3446
3448
|
K8s: "k8s",
|
package/dist-es/models/enums.js
CHANGED
|
@@ -37,6 +37,7 @@ export const UpstreamRegistry = {
|
|
|
37
37
|
DockerHub: "docker-hub",
|
|
38
38
|
Ecr: "ecr",
|
|
39
39
|
EcrPublic: "ecr-public",
|
|
40
|
+
EcrPublicPremium: "ecr-public-premium",
|
|
40
41
|
GitHubContainerRegistry: "github-container-registry",
|
|
41
42
|
GitLabContainerRegistry: "gitlab-container-registry",
|
|
42
43
|
K8s: "k8s",
|
|
@@ -530,6 +530,7 @@ const _u = "uri";
|
|
|
530
530
|
const _uA = "updatedAt";
|
|
531
531
|
const _uI = "uploadId";
|
|
532
532
|
const _uR = "upstreamRegistry";
|
|
533
|
+
const _uRA = "upstreamRoleArn";
|
|
533
534
|
const _uRP = "upstreamRepositoryPrefix";
|
|
534
535
|
const _uRU = "upstreamRegistryUrl";
|
|
535
536
|
const _ur = "url";
|
|
@@ -920,13 +921,13 @@ export var CompleteLayerUploadResponse$ = [3, n0, _CLURo,
|
|
|
920
921
|
];
|
|
921
922
|
export var CreatePullThroughCacheRuleRequest$ = [3, n0, _CPTCRR,
|
|
922
923
|
0,
|
|
923
|
-
[_eRP, _uRU, _rI, _uR, _cA, _cRA, _uRP],
|
|
924
|
-
[0, 0, 0, 0, 0, 0, 0], 2
|
|
924
|
+
[_eRP, _uRU, _rI, _uR, _cA, _cRA, _uRA, _uRP],
|
|
925
|
+
[0, 0, 0, 0, 0, 0, 0, 0], 2
|
|
925
926
|
];
|
|
926
927
|
export var CreatePullThroughCacheRuleResponse$ = [3, n0, _CPTCRRr,
|
|
927
928
|
0,
|
|
928
|
-
[_eRP, _uRU, _cAr, _rI, _uR, _cA, _cRA, _uRP],
|
|
929
|
-
[0, 0, 4, 0, 0, 0, 0, 0]
|
|
929
|
+
[_eRP, _uRU, _cAr, _rI, _uR, _cA, _cRA, _uRA, _uRP],
|
|
930
|
+
[0, 0, 4, 0, 0, 0, 0, 0, 0]
|
|
930
931
|
];
|
|
931
932
|
export var CreateRepositoryCreationTemplateRequest$ = [3, n0, _CRCTR,
|
|
932
933
|
0,
|
|
@@ -980,8 +981,8 @@ export var DeletePullThroughCacheRuleRequest$ = [3, n0, _DPTCRR,
|
|
|
980
981
|
];
|
|
981
982
|
export var DeletePullThroughCacheRuleResponse$ = [3, n0, _DPTCRRe,
|
|
982
983
|
0,
|
|
983
|
-
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRP],
|
|
984
|
-
[0, 0, 4, 0, 0, 0, 0]
|
|
984
|
+
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRA, _uRP],
|
|
985
|
+
[0, 0, 4, 0, 0, 0, 0, 0]
|
|
985
986
|
];
|
|
986
987
|
export var DeleteRegistryPolicyRequest$ = [3, n0, _DRPR,
|
|
987
988
|
0,
|
|
@@ -1420,8 +1421,8 @@ export var PackageVulnerabilityDetails$ = [3, n0, _PVD,
|
|
|
1420
1421
|
];
|
|
1421
1422
|
export var PullThroughCacheRule$ = [3, n0, _PTCR,
|
|
1422
1423
|
0,
|
|
1423
|
-
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRP, _uR, _uA],
|
|
1424
|
-
[0, 0, 4, 0, 0, 0, 0, 0, 4]
|
|
1424
|
+
[_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRA, _uRP, _uR, _uA],
|
|
1425
|
+
[0, 0, 4, 0, 0, 0, 0, 0, 0, 4]
|
|
1425
1426
|
];
|
|
1426
1427
|
export var PutAccountSettingRequest$ = [3, n0, _PASR,
|
|
1427
1428
|
0,
|
|
@@ -1730,13 +1731,13 @@ export var UpdateImageStorageClassResponse$ = [3, n0, _UISCRp,
|
|
|
1730
1731
|
];
|
|
1731
1732
|
export var UpdatePullThroughCacheRuleRequest$ = [3, n0, _UPTCRR,
|
|
1732
1733
|
0,
|
|
1733
|
-
[_eRP, _rI, _cA, _cRA],
|
|
1734
|
-
[0, 0, 0, 0], 1
|
|
1734
|
+
[_eRP, _rI, _cA, _cRA, _uRA],
|
|
1735
|
+
[0, 0, 0, 0, 0], 1
|
|
1735
1736
|
];
|
|
1736
1737
|
export var UpdatePullThroughCacheRuleResponse$ = [3, n0, _UPTCRRp,
|
|
1737
1738
|
0,
|
|
1738
|
-
[_eRP, _rI, _uA, _cA, _cRA, _uRP],
|
|
1739
|
-
[0, 0, 4, 0, 0, 0]
|
|
1739
|
+
[_eRP, _rI, _uA, _cA, _cRA, _uRA, _uRP],
|
|
1740
|
+
[0, 0, 4, 0, 0, 0, 0]
|
|
1740
1741
|
];
|
|
1741
1742
|
export var UpdateRepositoryCreationTemplateRequest$ = [3, n0, _URCTR,
|
|
1742
1743
|
0,
|
|
@@ -1765,8 +1766,8 @@ export var ValidatePullThroughCacheRuleRequest$ = [3, n0, _VPTCRR,
|
|
|
1765
1766
|
];
|
|
1766
1767
|
export var ValidatePullThroughCacheRuleResponse$ = [3, n0, _VPTCRRa,
|
|
1767
1768
|
0,
|
|
1768
|
-
[_eRP, _rI, _uRU, _cA, _cRA, _uRP, _iV, _fa],
|
|
1769
|
-
[0, 0, 0, 0, 0, 0, 2, 0]
|
|
1769
|
+
[_eRP, _rI, _uRU, _cA, _cRA, _uRA, _uRP, _iV, _fa],
|
|
1770
|
+
[0, 0, 0, 0, 0, 0, 0, 2, 0]
|
|
1770
1771
|
];
|
|
1771
1772
|
export var VulnerablePackage$ = [3, n0, _VP,
|
|
1772
1773
|
0,
|
|
@@ -40,9 +40,10 @@ declare const CreatePullThroughCacheRuleCommand_base: {
|
|
|
40
40
|
* ecrRepositoryPrefix: "STRING_VALUE", // required
|
|
41
41
|
* upstreamRegistryUrl: "STRING_VALUE", // required
|
|
42
42
|
* registryId: "STRING_VALUE",
|
|
43
|
-
* upstreamRegistry: "ecr" || "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry" || "chainguard",
|
|
43
|
+
* upstreamRegistry: "ecr" || "ecr-public" || "ecr-public-premium" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry" || "chainguard",
|
|
44
44
|
* credentialArn: "STRING_VALUE",
|
|
45
45
|
* customRoleArn: "STRING_VALUE",
|
|
46
|
+
* upstreamRoleArn: "STRING_VALUE",
|
|
46
47
|
* upstreamRepositoryPrefix: "STRING_VALUE",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new CreatePullThroughCacheRuleCommand(input);
|
|
@@ -52,9 +53,10 @@ declare const CreatePullThroughCacheRuleCommand_base: {
|
|
|
52
53
|
* // upstreamRegistryUrl: "STRING_VALUE",
|
|
53
54
|
* // createdAt: new Date("TIMESTAMP"),
|
|
54
55
|
* // registryId: "STRING_VALUE",
|
|
55
|
-
* // upstreamRegistry: "ecr" || "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry" || "chainguard",
|
|
56
|
+
* // upstreamRegistry: "ecr" || "ecr-public" || "ecr-public-premium" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry" || "chainguard",
|
|
56
57
|
* // credentialArn: "STRING_VALUE",
|
|
57
58
|
* // customRoleArn: "STRING_VALUE",
|
|
59
|
+
* // upstreamRoleArn: "STRING_VALUE",
|
|
58
60
|
* // upstreamRepositoryPrefix: "STRING_VALUE",
|
|
59
61
|
* // };
|
|
60
62
|
*
|
|
@@ -46,6 +46,7 @@ declare const DeletePullThroughCacheRuleCommand_base: {
|
|
|
46
46
|
* // registryId: "STRING_VALUE",
|
|
47
47
|
* // credentialArn: "STRING_VALUE",
|
|
48
48
|
* // customRoleArn: "STRING_VALUE",
|
|
49
|
+
* // upstreamRoleArn: "STRING_VALUE",
|
|
49
50
|
* // upstreamRepositoryPrefix: "STRING_VALUE",
|
|
50
51
|
* // };
|
|
51
52
|
*
|
|
@@ -52,8 +52,9 @@ declare const DescribePullThroughCacheRulesCommand_base: {
|
|
|
52
52
|
* // registryId: "STRING_VALUE",
|
|
53
53
|
* // credentialArn: "STRING_VALUE",
|
|
54
54
|
* // customRoleArn: "STRING_VALUE",
|
|
55
|
+
* // upstreamRoleArn: "STRING_VALUE",
|
|
55
56
|
* // upstreamRepositoryPrefix: "STRING_VALUE",
|
|
56
|
-
* // upstreamRegistry: "ecr" || "ecr-public" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry" || "chainguard",
|
|
57
|
+
* // upstreamRegistry: "ecr" || "ecr-public" || "ecr-public-premium" || "quay" || "k8s" || "docker-hub" || "github-container-registry" || "azure-container-registry" || "gitlab-container-registry" || "chainguard",
|
|
57
58
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
58
59
|
* // },
|
|
59
60
|
* // ],
|
|
@@ -38,6 +38,7 @@ declare const UpdatePullThroughCacheRuleCommand_base: {
|
|
|
38
38
|
* ecrRepositoryPrefix: "STRING_VALUE", // required
|
|
39
39
|
* credentialArn: "STRING_VALUE",
|
|
40
40
|
* customRoleArn: "STRING_VALUE",
|
|
41
|
+
* upstreamRoleArn: "STRING_VALUE",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new UpdatePullThroughCacheRuleCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -47,6 +48,7 @@ declare const UpdatePullThroughCacheRuleCommand_base: {
|
|
|
47
48
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
48
49
|
* // credentialArn: "STRING_VALUE",
|
|
49
50
|
* // customRoleArn: "STRING_VALUE",
|
|
51
|
+
* // upstreamRoleArn: "STRING_VALUE",
|
|
50
52
|
* // upstreamRepositoryPrefix: "STRING_VALUE",
|
|
51
53
|
* // };
|
|
52
54
|
*
|
|
@@ -48,6 +48,7 @@ declare const ValidatePullThroughCacheRuleCommand_base: {
|
|
|
48
48
|
* // upstreamRegistryUrl: "STRING_VALUE",
|
|
49
49
|
* // credentialArn: "STRING_VALUE",
|
|
50
50
|
* // customRoleArn: "STRING_VALUE",
|
|
51
|
+
* // upstreamRoleArn: "STRING_VALUE",
|
|
51
52
|
* // upstreamRepositoryPrefix: "STRING_VALUE",
|
|
52
53
|
* // isValid: true || false,
|
|
53
54
|
* // failure: "STRING_VALUE",
|
|
@@ -89,6 +89,7 @@ export declare const UpstreamRegistry: {
|
|
|
89
89
|
readonly DockerHub: "docker-hub";
|
|
90
90
|
readonly Ecr: "ecr";
|
|
91
91
|
readonly EcrPublic: "ecr-public";
|
|
92
|
+
readonly EcrPublicPremium: "ecr-public-premium";
|
|
92
93
|
readonly GitHubContainerRegistry: "github-container-registry";
|
|
93
94
|
readonly GitLabContainerRegistry: "gitlab-container-registry";
|
|
94
95
|
readonly K8s: "k8s";
|
|
@@ -417,6 +417,11 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
417
417
|
* </p>
|
|
418
418
|
* </li>
|
|
419
419
|
* <li>
|
|
420
|
+
* <p>Amazon ECR Public Premium (<code>ecr-public-premium</code>) –
|
|
421
|
+
* <code>ecr-premium.aws.com</code>, the registry endpoint for Amazon ECR Public Premium
|
|
422
|
+
* images</p>
|
|
423
|
+
* </li>
|
|
424
|
+
* <li>
|
|
420
425
|
* <p>Docker Hub (<code>docker-hub</code>) –
|
|
421
426
|
* <code>registry-1.docker.io</code>
|
|
422
427
|
* </p>
|
|
@@ -461,17 +466,29 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
461
466
|
upstreamRegistry?: UpstreamRegistry | undefined;
|
|
462
467
|
/**
|
|
463
468
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate
|
|
464
|
-
* to the upstream registry
|
|
469
|
+
* to the upstream registry. You can't use this parameter with the Amazon ECR Public Premium upstream
|
|
470
|
+
* registry.</p>
|
|
465
471
|
* @public
|
|
466
472
|
*/
|
|
467
473
|
credentialArn?: string | undefined;
|
|
468
474
|
/**
|
|
469
|
-
* <p>Amazon Resource Name (ARN) of the IAM role
|
|
470
|
-
*
|
|
471
|
-
*
|
|
475
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that Amazon ECR assumes to authenticate to the
|
|
476
|
+
* upstream registry. This role must be in the same account as the registry that you are
|
|
477
|
+
* configuring.</p>
|
|
478
|
+
* <p>For an Amazon ECR Public Premium upstream registry, specify this role together with
|
|
479
|
+
* <code>upstreamRoleArn</code>. If you specify neither role, Amazon ECR uses its service-linked
|
|
480
|
+
* role.</p>
|
|
472
481
|
* @public
|
|
473
482
|
*/
|
|
474
483
|
customRoleArn?: string | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role in the <code>aws</code> partition that Amazon ECR
|
|
486
|
+
* assumes through <code>customRoleArn</code> to authenticate to the Amazon ECR Public Premium upstream
|
|
487
|
+
* registry. You can use this parameter only for the Amazon ECR Public Premium upstream registry, and it
|
|
488
|
+
* requires <code>customRoleArn</code>.</p>
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
upstreamRoleArn?: string | undefined;
|
|
475
492
|
/**
|
|
476
493
|
* <p>The repository name prefix of the upstream registry to match with the upstream
|
|
477
494
|
* repository name. When this field isn't specified, Amazon ECR will use the
|
|
@@ -521,6 +538,12 @@ export interface CreatePullThroughCacheRuleResponse {
|
|
|
521
538
|
* @public
|
|
522
539
|
*/
|
|
523
540
|
customRoleArn?: string | undefined;
|
|
541
|
+
/**
|
|
542
|
+
* <p>The ARN of the IAM role that Amazon ECR assumes to authenticate to the Amazon ECR Public Premium
|
|
543
|
+
* upstream registry.</p>
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
upstreamRoleArn?: string | undefined;
|
|
524
547
|
/**
|
|
525
548
|
* <p>The upstream repository prefix associated with the pull through cache rule.</p>
|
|
526
549
|
* @public
|
|
@@ -1049,6 +1072,12 @@ export interface DeletePullThroughCacheRuleResponse {
|
|
|
1049
1072
|
* @public
|
|
1050
1073
|
*/
|
|
1051
1074
|
customRoleArn?: string | undefined;
|
|
1075
|
+
/**
|
|
1076
|
+
* <p>The ARN of the IAM role that Amazon ECR assumes to authenticate to the Amazon ECR Public Premium
|
|
1077
|
+
* upstream registry.</p>
|
|
1078
|
+
* @public
|
|
1079
|
+
*/
|
|
1080
|
+
upstreamRoleArn?: string | undefined;
|
|
1052
1081
|
/**
|
|
1053
1082
|
* <p>The upstream repository prefix associated with the pull through cache rule.</p>
|
|
1054
1083
|
* @public
|
|
@@ -2316,6 +2345,12 @@ export interface PullThroughCacheRule {
|
|
|
2316
2345
|
* @public
|
|
2317
2346
|
*/
|
|
2318
2347
|
customRoleArn?: string | undefined;
|
|
2348
|
+
/**
|
|
2349
|
+
* <p>The ARN of the IAM role that Amazon ECR assumes to authenticate to the Amazon ECR Public Premium
|
|
2350
|
+
* upstream registry.</p>
|
|
2351
|
+
* @public
|
|
2352
|
+
*/
|
|
2353
|
+
upstreamRoleArn?: string | undefined;
|
|
2319
2354
|
/**
|
|
2320
2355
|
* <p>The upstream repository prefix associated with the pull through cache rule.</p>
|
|
2321
2356
|
* @public
|
|
@@ -4416,17 +4451,30 @@ export interface UpdatePullThroughCacheRuleRequest {
|
|
|
4416
4451
|
ecrRepositoryPrefix: string | undefined;
|
|
4417
4452
|
/**
|
|
4418
4453
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate
|
|
4419
|
-
* to the upstream registry
|
|
4454
|
+
* to the upstream registry. You can't use this parameter with the Amazon ECR Public Premium upstream
|
|
4455
|
+
* registry.</p>
|
|
4420
4456
|
* @public
|
|
4421
4457
|
*/
|
|
4422
4458
|
credentialArn?: string | undefined;
|
|
4423
4459
|
/**
|
|
4424
|
-
* <p>Amazon Resource Name (ARN) of the IAM role
|
|
4425
|
-
*
|
|
4426
|
-
*
|
|
4460
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that Amazon ECR assumes to authenticate to the
|
|
4461
|
+
* upstream registry. This role must be in the same account as the registry that you are
|
|
4462
|
+
* configuring.</p>
|
|
4463
|
+
* <p>For an Amazon ECR Public Premium upstream registry, specify this role together with
|
|
4464
|
+
* <code>upstreamRoleArn</code>. If you specify neither role, Amazon ECR uses its service-linked
|
|
4465
|
+
* role.</p>
|
|
4427
4466
|
* @public
|
|
4428
4467
|
*/
|
|
4429
4468
|
customRoleArn?: string | undefined;
|
|
4469
|
+
/**
|
|
4470
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role in the <code>aws</code> partition that Amazon ECR
|
|
4471
|
+
* assumes through <code>customRoleArn</code> to authenticate to the Amazon ECR Public Premium upstream
|
|
4472
|
+
* registry. You can use this parameter only for the Amazon ECR Public Premium upstream registry, and it
|
|
4473
|
+
* requires <code>customRoleArn</code>. If you omit both <code>customRoleArn</code> and
|
|
4474
|
+
* <code>upstreamRoleArn</code>, Amazon ECR uses its service-linked role.</p>
|
|
4475
|
+
* @public
|
|
4476
|
+
*/
|
|
4477
|
+
upstreamRoleArn?: string | undefined;
|
|
4430
4478
|
}
|
|
4431
4479
|
/**
|
|
4432
4480
|
* @public
|
|
@@ -4459,6 +4507,12 @@ export interface UpdatePullThroughCacheRuleResponse {
|
|
|
4459
4507
|
* @public
|
|
4460
4508
|
*/
|
|
4461
4509
|
customRoleArn?: string | undefined;
|
|
4510
|
+
/**
|
|
4511
|
+
* <p>The ARN of the IAM role that Amazon ECR assumes to authenticate to the Amazon ECR Public Premium
|
|
4512
|
+
* upstream registry.</p>
|
|
4513
|
+
* @public
|
|
4514
|
+
*/
|
|
4515
|
+
upstreamRoleArn?: string | undefined;
|
|
4462
4516
|
/**
|
|
4463
4517
|
* <p>The upstream repository prefix associated with the pull through cache rule.</p>
|
|
4464
4518
|
* @public
|
|
@@ -4665,6 +4719,12 @@ export interface ValidatePullThroughCacheRuleResponse {
|
|
|
4665
4719
|
* @public
|
|
4666
4720
|
*/
|
|
4667
4721
|
customRoleArn?: string | undefined;
|
|
4722
|
+
/**
|
|
4723
|
+
* <p>The ARN of the IAM role that Amazon ECR assumes to authenticate to the Amazon ECR Public Premium
|
|
4724
|
+
* upstream registry.</p>
|
|
4725
|
+
* @public
|
|
4726
|
+
*/
|
|
4727
|
+
upstreamRoleArn?: string | undefined;
|
|
4668
4728
|
/**
|
|
4669
4729
|
* <p>The upstream repository prefix associated with the pull through cache rule.</p>
|
|
4670
4730
|
* @public
|
|
@@ -45,6 +45,7 @@ export declare const UpstreamRegistry: {
|
|
|
45
45
|
readonly DockerHub: "docker-hub";
|
|
46
46
|
readonly Ecr: "ecr";
|
|
47
47
|
readonly EcrPublic: "ecr-public";
|
|
48
|
+
readonly EcrPublicPremium: "ecr-public-premium";
|
|
48
49
|
readonly GitHubContainerRegistry: "github-container-registry";
|
|
49
50
|
readonly GitLabContainerRegistry: "gitlab-container-registry";
|
|
50
51
|
readonly K8s: "k8s";
|
|
@@ -127,6 +127,7 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
127
127
|
upstreamRegistry?: UpstreamRegistry | undefined;
|
|
128
128
|
credentialArn?: string | undefined;
|
|
129
129
|
customRoleArn?: string | undefined;
|
|
130
|
+
upstreamRoleArn?: string | undefined;
|
|
130
131
|
upstreamRepositoryPrefix?: string | undefined;
|
|
131
132
|
}
|
|
132
133
|
export interface CreatePullThroughCacheRuleResponse {
|
|
@@ -137,6 +138,7 @@ export interface CreatePullThroughCacheRuleResponse {
|
|
|
137
138
|
upstreamRegistry?: UpstreamRegistry | undefined;
|
|
138
139
|
credentialArn?: string | undefined;
|
|
139
140
|
customRoleArn?: string | undefined;
|
|
141
|
+
upstreamRoleArn?: string | undefined;
|
|
140
142
|
upstreamRepositoryPrefix?: string | undefined;
|
|
141
143
|
}
|
|
142
144
|
export interface EncryptionConfiguration {
|
|
@@ -232,6 +234,7 @@ export interface DeletePullThroughCacheRuleResponse {
|
|
|
232
234
|
registryId?: string | undefined;
|
|
233
235
|
credentialArn?: string | undefined;
|
|
234
236
|
customRoleArn?: string | undefined;
|
|
237
|
+
upstreamRoleArn?: string | undefined;
|
|
235
238
|
upstreamRepositoryPrefix?: string | undefined;
|
|
236
239
|
}
|
|
237
240
|
export interface DeleteRegistryPolicyRequest {}
|
|
@@ -496,6 +499,7 @@ export interface PullThroughCacheRule {
|
|
|
496
499
|
registryId?: string | undefined;
|
|
497
500
|
credentialArn?: string | undefined;
|
|
498
501
|
customRoleArn?: string | undefined;
|
|
502
|
+
upstreamRoleArn?: string | undefined;
|
|
499
503
|
upstreamRepositoryPrefix?: string | undefined;
|
|
500
504
|
upstreamRegistry?: UpstreamRegistry | undefined;
|
|
501
505
|
updatedAt?: Date | undefined;
|
|
@@ -938,6 +942,7 @@ export interface UpdatePullThroughCacheRuleRequest {
|
|
|
938
942
|
ecrRepositoryPrefix: string | undefined;
|
|
939
943
|
credentialArn?: string | undefined;
|
|
940
944
|
customRoleArn?: string | undefined;
|
|
945
|
+
upstreamRoleArn?: string | undefined;
|
|
941
946
|
}
|
|
942
947
|
export interface UpdatePullThroughCacheRuleResponse {
|
|
943
948
|
ecrRepositoryPrefix?: string | undefined;
|
|
@@ -945,6 +950,7 @@ export interface UpdatePullThroughCacheRuleResponse {
|
|
|
945
950
|
updatedAt?: Date | undefined;
|
|
946
951
|
credentialArn?: string | undefined;
|
|
947
952
|
customRoleArn?: string | undefined;
|
|
953
|
+
upstreamRoleArn?: string | undefined;
|
|
948
954
|
upstreamRepositoryPrefix?: string | undefined;
|
|
949
955
|
}
|
|
950
956
|
export interface UpdateRepositoryCreationTemplateRequest {
|
|
@@ -987,6 +993,7 @@ export interface ValidatePullThroughCacheRuleResponse {
|
|
|
987
993
|
upstreamRegistryUrl?: string | undefined;
|
|
988
994
|
credentialArn?: string | undefined;
|
|
989
995
|
customRoleArn?: string | undefined;
|
|
996
|
+
upstreamRoleArn?: string | undefined;
|
|
990
997
|
upstreamRepositoryPrefix?: string | undefined;
|
|
991
998
|
isValid?: boolean | undefined;
|
|
992
999
|
failure?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1182.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",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@aws-sdk/core": "^3.981.2",
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.100",
|
|
53
53
|
"@aws-sdk/types": "^3.975.1",
|
|
54
54
|
"@smithy/core": "^3.41.1",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.1",
|