@aws-sdk/client-ecr 3.325.0 → 3.327.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-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +20 -0
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +21 -0
- package/dist-types/commands/BatchGetImageCommand.d.ts +27 -0
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +26 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +9 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +9 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +20 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +9 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +9 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +7 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +20 -0
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +8 -0
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +18 -0
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +129 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +32 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +14 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +24 -0
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +23 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +12 -0
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +7 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +26 -0
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +7 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +8 -0
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +7 -0
- package/dist-types/commands/ListImagesCommand.d.ts +12 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/PutImageCommand.d.ts +15 -0
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +8 -0
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +8 -0
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +7 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +19 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +23 -0
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +8 -0
- package/dist-types/commands/StartImageScanCommand.d.ts +15 -0
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +9 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UploadLayerPartCommand.d.ts +9 -0
- package/package.json +7 -7
|
@@ -42,6 +42,24 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new BatchCheckLayerAvailabilityCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // BatchCheckLayerAvailabilityResponse
|
|
46
|
+
* // layers: [ // LayerList
|
|
47
|
+
* // { // Layer
|
|
48
|
+
* // layerDigest: "STRING_VALUE",
|
|
49
|
+
* // layerAvailability: "STRING_VALUE",
|
|
50
|
+
* // layerSize: Number("long"),
|
|
51
|
+
* // mediaType: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // failures: [ // LayerFailureList
|
|
55
|
+
* // { // LayerFailure
|
|
56
|
+
* // layerDigest: "STRING_VALUE",
|
|
57
|
+
* // failureCode: "STRING_VALUE",
|
|
58
|
+
* // failureReason: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
45
63
|
* ```
|
|
46
64
|
*
|
|
47
65
|
* @param BatchCheckLayerAvailabilityCommandInput - {@link BatchCheckLayerAvailabilityCommandInput}
|
|
@@ -61,6 +79,8 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
61
79
|
* @throws {@link ServerException} (server fault)
|
|
62
80
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
63
81
|
*
|
|
82
|
+
* @throws {@link ECRServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
64
84
|
*
|
|
65
85
|
*/
|
|
66
86
|
export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -43,6 +43,25 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new BatchDeleteImageCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // BatchDeleteImageResponse
|
|
47
|
+
* // imageIds: [ // ImageIdentifierList
|
|
48
|
+
* // { // ImageIdentifier
|
|
49
|
+
* // imageDigest: "STRING_VALUE",
|
|
50
|
+
* // imageTag: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // failures: [ // ImageFailureList
|
|
54
|
+
* // { // ImageFailure
|
|
55
|
+
* // imageId: {
|
|
56
|
+
* // imageDigest: "STRING_VALUE",
|
|
57
|
+
* // imageTag: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // failureCode: "STRING_VALUE",
|
|
60
|
+
* // failureReason: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
46
65
|
* ```
|
|
47
66
|
*
|
|
48
67
|
* @param BatchDeleteImageCommandInput - {@link BatchDeleteImageCommandInput}
|
|
@@ -62,6 +81,8 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
62
81
|
* @throws {@link ServerException} (server fault)
|
|
63
82
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
64
83
|
*
|
|
84
|
+
* @throws {@link ECRServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
65
86
|
*
|
|
66
87
|
* @example To delete multiple images
|
|
67
88
|
* ```javascript
|
|
@@ -44,6 +44,31 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new BatchGetImageCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // { // BatchGetImageResponse
|
|
48
|
+
* // images: [ // ImageList
|
|
49
|
+
* // { // Image
|
|
50
|
+
* // registryId: "STRING_VALUE",
|
|
51
|
+
* // repositoryName: "STRING_VALUE",
|
|
52
|
+
* // imageId: { // ImageIdentifier
|
|
53
|
+
* // imageDigest: "STRING_VALUE",
|
|
54
|
+
* // imageTag: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // imageManifest: "STRING_VALUE",
|
|
57
|
+
* // imageManifestMediaType: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // failures: [ // ImageFailureList
|
|
61
|
+
* // { // ImageFailure
|
|
62
|
+
* // imageId: {
|
|
63
|
+
* // imageDigest: "STRING_VALUE",
|
|
64
|
+
* // imageTag: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // failureCode: "STRING_VALUE",
|
|
67
|
+
* // failureReason: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
47
72
|
* ```
|
|
48
73
|
*
|
|
49
74
|
* @param BatchGetImageCommandInput - {@link BatchGetImageCommandInput}
|
|
@@ -63,6 +88,8 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
|
|
|
63
88
|
* @throws {@link ServerException} (server fault)
|
|
64
89
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
65
90
|
*
|
|
91
|
+
* @throws {@link ECRServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
66
93
|
*
|
|
67
94
|
* @example To obtain multiple images in a single request
|
|
68
95
|
* ```javascript
|
|
@@ -33,6 +33,30 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new BatchGetRepositoryScanningConfigurationCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // BatchGetRepositoryScanningConfigurationResponse
|
|
37
|
+
* // scanningConfigurations: [ // RepositoryScanningConfigurationList
|
|
38
|
+
* // { // RepositoryScanningConfiguration
|
|
39
|
+
* // repositoryArn: "STRING_VALUE",
|
|
40
|
+
* // repositoryName: "STRING_VALUE",
|
|
41
|
+
* // scanOnPush: true || false,
|
|
42
|
+
* // scanFrequency: "STRING_VALUE",
|
|
43
|
+
* // appliedScanFilters: [ // ScanningRepositoryFilterList
|
|
44
|
+
* // { // ScanningRepositoryFilter
|
|
45
|
+
* // filter: "STRING_VALUE", // required
|
|
46
|
+
* // filterType: "STRING_VALUE", // required
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // failures: [ // RepositoryScanningConfigurationFailureList
|
|
52
|
+
* // { // RepositoryScanningConfigurationFailure
|
|
53
|
+
* // repositoryName: "STRING_VALUE",
|
|
54
|
+
* // failureCode: "STRING_VALUE",
|
|
55
|
+
* // failureReason: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
36
60
|
* ```
|
|
37
61
|
*
|
|
38
62
|
* @param BatchGetRepositoryScanningConfigurationCommandInput - {@link BatchGetRepositoryScanningConfigurationCommandInput}
|
|
@@ -55,6 +79,8 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
|
|
|
55
79
|
* @throws {@link ValidationException} (client fault)
|
|
56
80
|
* <p>There was an exception validating this request.</p>
|
|
57
81
|
*
|
|
82
|
+
* @throws {@link ECRServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
58
84
|
*
|
|
59
85
|
*/
|
|
60
86
|
export declare class BatchGetRepositoryScanningConfigurationCommand extends $Command<BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -44,6 +44,13 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new CompleteLayerUploadCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // { // CompleteLayerUploadResponse
|
|
48
|
+
* // registryId: "STRING_VALUE",
|
|
49
|
+
* // repositoryName: "STRING_VALUE",
|
|
50
|
+
* // uploadId: "STRING_VALUE",
|
|
51
|
+
* // layerDigest: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
47
54
|
* ```
|
|
48
55
|
*
|
|
49
56
|
* @param CompleteLayerUploadCommandInput - {@link CompleteLayerUploadCommandInput}
|
|
@@ -83,6 +90,8 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
83
90
|
* <p>The upload could not be found, or the specified upload ID is not valid for this
|
|
84
91
|
* repository.</p>
|
|
85
92
|
*
|
|
93
|
+
* @throws {@link ECRServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
86
95
|
*
|
|
87
96
|
*/
|
|
88
97
|
export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -34,6 +34,13 @@ export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThrou
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new CreatePullThroughCacheRuleCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // CreatePullThroughCacheRuleResponse
|
|
38
|
+
* // ecrRepositoryPrefix: "STRING_VALUE",
|
|
39
|
+
* // upstreamRegistryUrl: "STRING_VALUE",
|
|
40
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
41
|
+
* // registryId: "STRING_VALUE",
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
37
44
|
* ```
|
|
38
45
|
*
|
|
39
46
|
* @param CreatePullThroughCacheRuleCommandInput - {@link CreatePullThroughCacheRuleCommandInput}
|
|
@@ -64,6 +71,8 @@ export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThrou
|
|
|
64
71
|
* @throws {@link ValidationException} (client fault)
|
|
65
72
|
* <p>There was an exception validating this request.</p>
|
|
66
73
|
*
|
|
74
|
+
* @throws {@link ECRServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
67
76
|
*
|
|
68
77
|
*/
|
|
69
78
|
export declare class CreatePullThroughCacheRuleCommand extends $Command<CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -47,6 +47,24 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new CreateRepositoryCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateRepositoryResponse
|
|
51
|
+
* // repository: { // Repository
|
|
52
|
+
* // repositoryArn: "STRING_VALUE",
|
|
53
|
+
* // registryId: "STRING_VALUE",
|
|
54
|
+
* // repositoryName: "STRING_VALUE",
|
|
55
|
+
* // repositoryUri: "STRING_VALUE",
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // imageTagMutability: "STRING_VALUE",
|
|
58
|
+
* // imageScanningConfiguration: { // ImageScanningConfiguration
|
|
59
|
+
* // scanOnPush: true || false,
|
|
60
|
+
* // },
|
|
61
|
+
* // encryptionConfiguration: { // EncryptionConfiguration
|
|
62
|
+
* // encryptionType: "STRING_VALUE", // required
|
|
63
|
+
* // kmsKey: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
50
68
|
* ```
|
|
51
69
|
*
|
|
52
70
|
* @param CreateRepositoryCommandInput - {@link CreateRepositoryCommandInput}
|
|
@@ -81,6 +99,8 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
|
|
|
81
99
|
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
82
100
|
* can be applied to a repository is 50.</p>
|
|
83
101
|
*
|
|
102
|
+
* @throws {@link ECRServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
84
104
|
*
|
|
85
105
|
* @example To create a new repository
|
|
86
106
|
* ```javascript
|
|
@@ -32,6 +32,13 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteLifecyclePolicyCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DeleteLifecyclePolicyResponse
|
|
36
|
+
* // registryId: "STRING_VALUE",
|
|
37
|
+
* // repositoryName: "STRING_VALUE",
|
|
38
|
+
* // lifecyclePolicyText: "STRING_VALUE",
|
|
39
|
+
* // lastEvaluatedAt: new Date("TIMESTAMP"),
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
35
42
|
* ```
|
|
36
43
|
*
|
|
37
44
|
* @param DeleteLifecyclePolicyCommandInput - {@link DeleteLifecyclePolicyCommandInput}
|
|
@@ -55,6 +62,8 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
55
62
|
* @throws {@link ServerException} (server fault)
|
|
56
63
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
57
64
|
*
|
|
65
|
+
* @throws {@link ECRServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
58
67
|
*
|
|
59
68
|
*/
|
|
60
69
|
export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -32,6 +32,13 @@ export interface DeletePullThroughCacheRuleCommandOutput extends DeletePullThrou
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeletePullThroughCacheRuleCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DeletePullThroughCacheRuleResponse
|
|
36
|
+
* // ecrRepositoryPrefix: "STRING_VALUE",
|
|
37
|
+
* // upstreamRegistryUrl: "STRING_VALUE",
|
|
38
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
39
|
+
* // registryId: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
35
42
|
* ```
|
|
36
43
|
*
|
|
37
44
|
* @param DeletePullThroughCacheRuleCommandInput - {@link DeletePullThroughCacheRuleCommandInput}
|
|
@@ -54,6 +61,8 @@ export interface DeletePullThroughCacheRuleCommandOutput extends DeletePullThrou
|
|
|
54
61
|
* @throws {@link ValidationException} (client fault)
|
|
55
62
|
* <p>There was an exception validating this request.</p>
|
|
56
63
|
*
|
|
64
|
+
* @throws {@link ECRServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
57
66
|
*
|
|
58
67
|
*/
|
|
59
68
|
export declare class DeletePullThroughCacheRuleCommand extends $Command<DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -29,6 +29,11 @@ export interface DeleteRegistryPolicyCommandOutput extends DeleteRegistryPolicyR
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new DeleteRegistryPolicyCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // { // DeleteRegistryPolicyResponse
|
|
33
|
+
* // registryId: "STRING_VALUE",
|
|
34
|
+
* // policyText: "STRING_VALUE",
|
|
35
|
+
* // };
|
|
36
|
+
*
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
34
39
|
* @param DeleteRegistryPolicyCommandInput - {@link DeleteRegistryPolicyCommandInput}
|
|
@@ -50,6 +55,8 @@ export interface DeleteRegistryPolicyCommandOutput extends DeleteRegistryPolicyR
|
|
|
50
55
|
* @throws {@link ValidationException} (client fault)
|
|
51
56
|
* <p>There was an exception validating this request.</p>
|
|
52
57
|
*
|
|
58
|
+
* @throws {@link ECRServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
53
60
|
*
|
|
54
61
|
*/
|
|
55
62
|
export declare class DeleteRegistryPolicyCommand extends $Command<DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -35,6 +35,24 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteRepositoryCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DeleteRepositoryResponse
|
|
39
|
+
* // repository: { // Repository
|
|
40
|
+
* // repositoryArn: "STRING_VALUE",
|
|
41
|
+
* // registryId: "STRING_VALUE",
|
|
42
|
+
* // repositoryName: "STRING_VALUE",
|
|
43
|
+
* // repositoryUri: "STRING_VALUE",
|
|
44
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
45
|
+
* // imageTagMutability: "STRING_VALUE",
|
|
46
|
+
* // imageScanningConfiguration: { // ImageScanningConfiguration
|
|
47
|
+
* // scanOnPush: true || false,
|
|
48
|
+
* // },
|
|
49
|
+
* // encryptionConfiguration: { // EncryptionConfiguration
|
|
50
|
+
* // encryptionType: "STRING_VALUE", // required
|
|
51
|
+
* // kmsKey: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
38
56
|
* ```
|
|
39
57
|
*
|
|
40
58
|
* @param DeleteRepositoryCommandInput - {@link DeleteRepositoryCommandInput}
|
|
@@ -61,6 +79,8 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
|
|
|
61
79
|
* @throws {@link ServerException} (server fault)
|
|
62
80
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
63
81
|
*
|
|
82
|
+
* @throws {@link ECRServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
64
84
|
*
|
|
65
85
|
* @example To force delete a repository
|
|
66
86
|
* ```javascript
|
|
@@ -32,6 +32,12 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteRepositoryPolicyCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DeleteRepositoryPolicyResponse
|
|
36
|
+
* // registryId: "STRING_VALUE",
|
|
37
|
+
* // repositoryName: "STRING_VALUE",
|
|
38
|
+
* // policyText: "STRING_VALUE",
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
35
41
|
* ```
|
|
36
42
|
*
|
|
37
43
|
* @param DeleteRepositoryPolicyCommandInput - {@link DeleteRepositoryPolicyCommandInput}
|
|
@@ -55,6 +61,8 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
|
|
|
55
61
|
* @throws {@link ServerException} (server fault)
|
|
56
62
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
57
63
|
*
|
|
64
|
+
* @throws {@link ECRServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
58
66
|
*
|
|
59
67
|
* @example To delete the policy associated with a repository
|
|
60
68
|
* ```javascript
|
|
@@ -36,6 +36,22 @@ export interface DescribeImageReplicationStatusCommandOutput extends DescribeIma
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DescribeImageReplicationStatusCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeImageReplicationStatusResponse
|
|
40
|
+
* // repositoryName: "STRING_VALUE",
|
|
41
|
+
* // imageId: { // ImageIdentifier
|
|
42
|
+
* // imageDigest: "STRING_VALUE",
|
|
43
|
+
* // imageTag: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // replicationStatuses: [ // ImageReplicationStatusList
|
|
46
|
+
* // { // ImageReplicationStatus
|
|
47
|
+
* // region: "STRING_VALUE",
|
|
48
|
+
* // registryId: "STRING_VALUE",
|
|
49
|
+
* // status: "STRING_VALUE",
|
|
50
|
+
* // failureCode: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
39
55
|
* ```
|
|
40
56
|
*
|
|
41
57
|
* @param DescribeImageReplicationStatusCommandInput - {@link DescribeImageReplicationStatusCommandInput}
|
|
@@ -61,6 +77,8 @@ export interface DescribeImageReplicationStatusCommandOutput extends DescribeIma
|
|
|
61
77
|
* @throws {@link ValidationException} (client fault)
|
|
62
78
|
* <p>There was an exception validating this request.</p>
|
|
63
79
|
*
|
|
80
|
+
* @throws {@link ECRServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
64
82
|
*
|
|
65
83
|
*/
|
|
66
84
|
export declare class DescribeImageReplicationStatusCommand extends $Command<DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -38,6 +38,133 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new DescribeImageScanFindingsCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeImageScanFindingsResponse
|
|
42
|
+
* // registryId: "STRING_VALUE",
|
|
43
|
+
* // repositoryName: "STRING_VALUE",
|
|
44
|
+
* // imageId: { // ImageIdentifier
|
|
45
|
+
* // imageDigest: "STRING_VALUE",
|
|
46
|
+
* // imageTag: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // imageScanStatus: { // ImageScanStatus
|
|
49
|
+
* // status: "STRING_VALUE",
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // imageScanFindings: { // ImageScanFindings
|
|
53
|
+
* // imageScanCompletedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // vulnerabilitySourceUpdatedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // findingSeverityCounts: { // FindingSeverityCounts
|
|
56
|
+
* // "<keys>": Number("int"),
|
|
57
|
+
* // },
|
|
58
|
+
* // findings: [ // ImageScanFindingList
|
|
59
|
+
* // { // ImageScanFinding
|
|
60
|
+
* // name: "STRING_VALUE",
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // uri: "STRING_VALUE",
|
|
63
|
+
* // severity: "STRING_VALUE",
|
|
64
|
+
* // attributes: [ // AttributeList
|
|
65
|
+
* // { // Attribute
|
|
66
|
+
* // key: "STRING_VALUE", // required
|
|
67
|
+
* // value: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // enhancedFindings: [ // EnhancedImageScanFindingList
|
|
73
|
+
* // { // EnhancedImageScanFinding
|
|
74
|
+
* // awsAccountId: "STRING_VALUE",
|
|
75
|
+
* // description: "STRING_VALUE",
|
|
76
|
+
* // findingArn: "STRING_VALUE",
|
|
77
|
+
* // firstObservedAt: new Date("TIMESTAMP"),
|
|
78
|
+
* // lastObservedAt: new Date("TIMESTAMP"),
|
|
79
|
+
* // packageVulnerabilityDetails: { // PackageVulnerabilityDetails
|
|
80
|
+
* // cvss: [ // CvssScoreList
|
|
81
|
+
* // { // CvssScore
|
|
82
|
+
* // baseScore: Number("double"),
|
|
83
|
+
* // scoringVector: "STRING_VALUE",
|
|
84
|
+
* // source: "STRING_VALUE",
|
|
85
|
+
* // version: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // referenceUrls: [ // ReferenceUrlsList
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // relatedVulnerabilities: [ // RelatedVulnerabilitiesList
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // source: "STRING_VALUE",
|
|
95
|
+
* // sourceUrl: "STRING_VALUE",
|
|
96
|
+
* // vendorCreatedAt: new Date("TIMESTAMP"),
|
|
97
|
+
* // vendorSeverity: "STRING_VALUE",
|
|
98
|
+
* // vendorUpdatedAt: new Date("TIMESTAMP"),
|
|
99
|
+
* // vulnerabilityId: "STRING_VALUE",
|
|
100
|
+
* // vulnerablePackages: [ // VulnerablePackagesList
|
|
101
|
+
* // { // VulnerablePackage
|
|
102
|
+
* // arch: "STRING_VALUE",
|
|
103
|
+
* // epoch: Number("int"),
|
|
104
|
+
* // filePath: "STRING_VALUE",
|
|
105
|
+
* // name: "STRING_VALUE",
|
|
106
|
+
* // packageManager: "STRING_VALUE",
|
|
107
|
+
* // release: "STRING_VALUE",
|
|
108
|
+
* // sourceLayerHash: "STRING_VALUE",
|
|
109
|
+
* // version: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // },
|
|
113
|
+
* // remediation: { // Remediation
|
|
114
|
+
* // recommendation: { // Recommendation
|
|
115
|
+
* // url: "STRING_VALUE",
|
|
116
|
+
* // text: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // resources: [ // ResourceList
|
|
120
|
+
* // { // Resource
|
|
121
|
+
* // details: { // ResourceDetails
|
|
122
|
+
* // awsEcrContainerImage: { // AwsEcrContainerImageDetails
|
|
123
|
+
* // architecture: "STRING_VALUE",
|
|
124
|
+
* // author: "STRING_VALUE",
|
|
125
|
+
* // imageHash: "STRING_VALUE",
|
|
126
|
+
* // imageTags: [ // ImageTagsList
|
|
127
|
+
* // "STRING_VALUE",
|
|
128
|
+
* // ],
|
|
129
|
+
* // platform: "STRING_VALUE",
|
|
130
|
+
* // pushedAt: new Date("TIMESTAMP"),
|
|
131
|
+
* // registry: "STRING_VALUE",
|
|
132
|
+
* // repositoryName: "STRING_VALUE",
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // id: "STRING_VALUE",
|
|
136
|
+
* // tags: { // Tags
|
|
137
|
+
* // "<keys>": "STRING_VALUE",
|
|
138
|
+
* // },
|
|
139
|
+
* // type: "STRING_VALUE",
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // score: Number("double"),
|
|
143
|
+
* // scoreDetails: { // ScoreDetails
|
|
144
|
+
* // cvss: { // CvssScoreDetails
|
|
145
|
+
* // adjustments: [ // CvssScoreAdjustmentList
|
|
146
|
+
* // { // CvssScoreAdjustment
|
|
147
|
+
* // metric: "STRING_VALUE",
|
|
148
|
+
* // reason: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // score: Number("double"),
|
|
152
|
+
* // scoreSource: "STRING_VALUE",
|
|
153
|
+
* // scoringVector: "STRING_VALUE",
|
|
154
|
+
* // version: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // severity: "STRING_VALUE",
|
|
158
|
+
* // status: "STRING_VALUE",
|
|
159
|
+
* // title: "STRING_VALUE",
|
|
160
|
+
* // type: "STRING_VALUE",
|
|
161
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // },
|
|
165
|
+
* // nextToken: "STRING_VALUE",
|
|
166
|
+
* // };
|
|
167
|
+
*
|
|
41
168
|
* ```
|
|
42
169
|
*
|
|
43
170
|
* @param DescribeImageScanFindingsCommandInput - {@link DescribeImageScanFindingsCommandInput}
|
|
@@ -67,6 +194,8 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca
|
|
|
67
194
|
* @throws {@link ValidationException} (client fault)
|
|
68
195
|
* <p>There was an exception validating this request.</p>
|
|
69
196
|
*
|
|
197
|
+
* @throws {@link ECRServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
70
199
|
*
|
|
71
200
|
*/
|
|
72
201
|
export declare class DescribeImageScanFindingsCommand extends $Command<DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -49,6 +49,36 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
|
|
|
49
49
|
* };
|
|
50
50
|
* const command = new DescribeImagesCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // { // DescribeImagesResponse
|
|
53
|
+
* // imageDetails: [ // ImageDetailList
|
|
54
|
+
* // { // ImageDetail
|
|
55
|
+
* // registryId: "STRING_VALUE",
|
|
56
|
+
* // repositoryName: "STRING_VALUE",
|
|
57
|
+
* // imageDigest: "STRING_VALUE",
|
|
58
|
+
* // imageTags: [ // ImageTagList
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // imageSizeInBytes: Number("long"),
|
|
62
|
+
* // imagePushedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // imageScanStatus: { // ImageScanStatus
|
|
64
|
+
* // status: "STRING_VALUE",
|
|
65
|
+
* // description: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // imageScanFindingsSummary: { // ImageScanFindingsSummary
|
|
68
|
+
* // imageScanCompletedAt: new Date("TIMESTAMP"),
|
|
69
|
+
* // vulnerabilitySourceUpdatedAt: new Date("TIMESTAMP"),
|
|
70
|
+
* // findingSeverityCounts: { // FindingSeverityCounts
|
|
71
|
+
* // "<keys>": Number("int"),
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // imageManifestMediaType: "STRING_VALUE",
|
|
75
|
+
* // artifactMediaType: "STRING_VALUE",
|
|
76
|
+
* // lastRecordedPullTime: new Date("TIMESTAMP"),
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // nextToken: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
52
82
|
* ```
|
|
53
83
|
*
|
|
54
84
|
* @param DescribeImagesCommandInput - {@link DescribeImagesCommandInput}
|
|
@@ -71,6 +101,8 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
|
|
|
71
101
|
* @throws {@link ServerException} (server fault)
|
|
72
102
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
73
103
|
*
|
|
104
|
+
* @throws {@link ECRServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
74
106
|
*
|
|
75
107
|
*/
|
|
76
108
|
export declare class DescribeImagesCommand extends $Command<DescribeImagesCommandInput, DescribeImagesCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -36,6 +36,18 @@ export interface DescribePullThroughCacheRulesCommandOutput extends DescribePull
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DescribePullThroughCacheRulesCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribePullThroughCacheRulesResponse
|
|
40
|
+
* // pullThroughCacheRules: [ // PullThroughCacheRuleList
|
|
41
|
+
* // { // PullThroughCacheRule
|
|
42
|
+
* // ecrRepositoryPrefix: "STRING_VALUE",
|
|
43
|
+
* // upstreamRegistryUrl: "STRING_VALUE",
|
|
44
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
45
|
+
* // registryId: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // nextToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
39
51
|
* ```
|
|
40
52
|
*
|
|
41
53
|
* @param DescribePullThroughCacheRulesCommandInput - {@link DescribePullThroughCacheRulesCommandInput}
|
|
@@ -58,6 +70,8 @@ export interface DescribePullThroughCacheRulesCommandOutput extends DescribePull
|
|
|
58
70
|
* @throws {@link ValidationException} (client fault)
|
|
59
71
|
* <p>There was an exception validating this request.</p>
|
|
60
72
|
*
|
|
73
|
+
* @throws {@link ECRServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
61
75
|
*
|
|
62
76
|
*/
|
|
63
77
|
export declare class DescribePullThroughCacheRulesCommand extends $Command<DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -31,6 +31,28 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
|
|
|
31
31
|
* const input = {};
|
|
32
32
|
* const command = new DescribeRegistryCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeRegistryResponse
|
|
35
|
+
* // registryId: "STRING_VALUE",
|
|
36
|
+
* // replicationConfiguration: { // ReplicationConfiguration
|
|
37
|
+
* // rules: [ // ReplicationRuleList // required
|
|
38
|
+
* // { // ReplicationRule
|
|
39
|
+
* // destinations: [ // ReplicationDestinationList // required
|
|
40
|
+
* // { // ReplicationDestination
|
|
41
|
+
* // region: "STRING_VALUE", // required
|
|
42
|
+
* // registryId: "STRING_VALUE", // required
|
|
43
|
+
* // },
|
|
44
|
+
* // ],
|
|
45
|
+
* // repositoryFilters: [ // RepositoryFilterList
|
|
46
|
+
* // { // RepositoryFilter
|
|
47
|
+
* // filter: "STRING_VALUE", // required
|
|
48
|
+
* // filterType: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
34
56
|
* ```
|
|
35
57
|
*
|
|
36
58
|
* @param DescribeRegistryCommandInput - {@link DescribeRegistryCommandInput}
|
|
@@ -49,6 +71,8 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
|
|
|
49
71
|
* @throws {@link ValidationException} (client fault)
|
|
50
72
|
* <p>There was an exception validating this request.</p>
|
|
51
73
|
*
|
|
74
|
+
* @throws {@link ECRServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
52
76
|
*
|
|
53
77
|
*/
|
|
54
78
|
export declare class DescribeRegistryCommand extends $Command<DescribeRegistryCommandInput, DescribeRegistryCommandOutput, ECRClientResolvedConfig> {
|