@aws-sdk/client-ecr 3.775.0 → 3.777.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 +1 -0
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +10 -10
- package/dist-types/commands/BatchGetImageCommand.d.ts +18 -14
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +1 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +8 -8
- package/dist-types/commands/CreateRepositoryCreationTemplateCommand.d.ts +1 -55
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +9 -9
- package/dist-types/commands/DeleteRepositoryCreationTemplateCommand.d.ts +1 -25
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +7 -7
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +1 -0
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +11 -11
- package/dist-types/commands/DescribeRepositoryCreationTemplatesCommand.d.ts +1 -48
- package/dist-types/commands/GetAccountSettingCommand.d.ts +1 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -20
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +1 -0
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +17 -7
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -0
- package/dist-types/commands/ListImagesCommand.d.ts +7 -7
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -0
- package/dist-types/commands/PutImageCommand.d.ts +1 -0
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -0
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -0
- package/dist-types/commands/StartImageScanCommand.d.ts +1 -0
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdatePullThroughCacheRuleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRepositoryCreationTemplateCommand.d.ts +1 -46
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -0
- package/dist-types/commands/ValidatePullThroughCacheRuleCommand.d.ts +1 -0
- package/package.json +2 -2
|
@@ -90,6 +90,7 @@ declare const BatchCheckLayerAvailabilityCommand_base: {
|
|
|
90
90
|
* @throws {@link ECRServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
92
92
|
*
|
|
93
|
+
*
|
|
93
94
|
* @public
|
|
94
95
|
*/
|
|
95
96
|
export declare class BatchCheckLayerAvailabilityCommand extends BatchCheckLayerAvailabilityCommand_base {
|
|
@@ -92,34 +92,34 @@ declare const BatchDeleteImageCommand_base: {
|
|
|
92
92
|
* @throws {@link ECRServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
94
94
|
*
|
|
95
|
-
*
|
|
95
|
+
*
|
|
96
96
|
* @example To delete multiple images
|
|
97
97
|
* ```javascript
|
|
98
98
|
* // This example deletes images with the tags precise and trusty in a repository called ubuntu in the default registry for an account.
|
|
99
99
|
* const input = {
|
|
100
|
-
*
|
|
100
|
+
* imageIds: [
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* imageTag: "precise"
|
|
103
103
|
* }
|
|
104
104
|
* ],
|
|
105
|
-
*
|
|
105
|
+
* repositoryName: "ubuntu"
|
|
106
106
|
* };
|
|
107
107
|
* const command = new BatchDeleteImageCommand(input);
|
|
108
108
|
* const response = await client.send(command);
|
|
109
|
-
* /* response
|
|
109
|
+
* /* response is
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
112
|
-
*
|
|
111
|
+
* failures: [],
|
|
112
|
+
* imageIds: [
|
|
113
113
|
* {
|
|
114
|
-
*
|
|
115
|
-
*
|
|
114
|
+
* imageDigest: "sha256:examplee6d1e504117a17000003d3753086354a38375961f2e665416ef4b1b2f",
|
|
115
|
+
* imageTag: "precise"
|
|
116
116
|
* }
|
|
117
117
|
* ]
|
|
118
118
|
* }
|
|
119
119
|
* *\/
|
|
120
|
-
* // example id: batchdeleteimages-example-1470860541707
|
|
121
120
|
* ```
|
|
122
121
|
*
|
|
122
|
+
* @public
|
|
123
123
|
*/
|
|
124
124
|
export declare class BatchDeleteImageCommand extends BatchDeleteImageCommand_base {
|
|
125
125
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -109,39 +109,43 @@ declare const BatchGetImageCommand_base: {
|
|
|
109
109
|
* @throws {@link ECRServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
111
111
|
*
|
|
112
|
-
*
|
|
112
|
+
*
|
|
113
113
|
* @example To obtain multiple images in a single request
|
|
114
114
|
* ```javascript
|
|
115
115
|
* // This example obtains information for an image with a specified image digest ID from the repository named ubuntu in the current account.
|
|
116
116
|
* const input = {
|
|
117
|
-
*
|
|
117
|
+
* imageIds: [
|
|
118
118
|
* {
|
|
119
|
-
*
|
|
119
|
+
* imageTag: "precise"
|
|
120
120
|
* }
|
|
121
121
|
* ],
|
|
122
|
-
*
|
|
122
|
+
* repositoryName: "ubuntu"
|
|
123
123
|
* };
|
|
124
124
|
* const command = new BatchGetImageCommand(input);
|
|
125
125
|
* const response = await client.send(command);
|
|
126
|
-
* /* response
|
|
126
|
+
* /* response is
|
|
127
127
|
* {
|
|
128
|
-
*
|
|
129
|
-
*
|
|
128
|
+
* failures: [],
|
|
129
|
+
* images: [
|
|
130
130
|
* {
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
131
|
+
* imageId: {
|
|
132
|
+
* imageDigest: "sha256:example76bdff6d83a09ba2a818f0d00000063724a9ac3ba5019c56f74ebf42a",
|
|
133
|
+
* imageTag: "precise"
|
|
134
134
|
* },
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
135
|
+
* imageManifest: `{
|
|
136
|
+
* "schemaVersion": 1,
|
|
137
|
+
* "name": "ubuntu",
|
|
138
|
+
* "tag": "precise",
|
|
139
|
+
* ...`,
|
|
140
|
+
* registryId: "244698725403",
|
|
141
|
+
* repositoryName: "ubuntu"
|
|
138
142
|
* }
|
|
139
143
|
* ]
|
|
140
144
|
* }
|
|
141
145
|
* *\/
|
|
142
|
-
* // example id: batchgetimage-example-1470862771437
|
|
143
146
|
* ```
|
|
144
147
|
*
|
|
148
|
+
* @public
|
|
145
149
|
*/
|
|
146
150
|
export declare class BatchGetImageCommand extends BatchGetImageCommand_base {
|
|
147
151
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,6 +90,7 @@ declare const BatchGetRepositoryScanningConfigurationCommand_base: {
|
|
|
90
90
|
* @throws {@link ECRServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
92
92
|
*
|
|
93
|
+
*
|
|
93
94
|
* @public
|
|
94
95
|
*/
|
|
95
96
|
export declare class BatchGetRepositoryScanningConfigurationCommand extends BatchGetRepositoryScanningConfigurationCommand_base {
|
|
@@ -101,6 +101,7 @@ declare const CompleteLayerUploadCommand_base: {
|
|
|
101
101
|
* @throws {@link ECRServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
103
103
|
*
|
|
104
|
+
*
|
|
104
105
|
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class CompleteLayerUploadCommand extends CompleteLayerUploadCommand_base {
|
|
@@ -104,6 +104,7 @@ declare const CreatePullThroughCacheRuleCommand_base: {
|
|
|
104
104
|
* @throws {@link ECRServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
106
106
|
*
|
|
107
|
+
*
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class CreatePullThroughCacheRuleCommand extends CreatePullThroughCacheRuleCommand_base {
|
|
@@ -110,27 +110,27 @@ declare const CreateRepositoryCommand_base: {
|
|
|
110
110
|
* @throws {@link ECRServiceException}
|
|
111
111
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
112
112
|
*
|
|
113
|
-
*
|
|
113
|
+
*
|
|
114
114
|
* @example To create a new repository
|
|
115
115
|
* ```javascript
|
|
116
116
|
* // This example creates a repository called nginx-web-app inside the project-a namespace in the default registry for an account.
|
|
117
117
|
* const input = {
|
|
118
|
-
*
|
|
118
|
+
* repositoryName: "project-a/nginx-web-app"
|
|
119
119
|
* };
|
|
120
120
|
* const command = new CreateRepositoryCommand(input);
|
|
121
121
|
* const response = await client.send(command);
|
|
122
|
-
* /* response
|
|
122
|
+
* /* response is
|
|
123
123
|
* {
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
124
|
+
* repository: {
|
|
125
|
+
* registryId: "012345678901",
|
|
126
|
+
* repositoryArn: "arn:aws:ecr:us-west-2:012345678901:repository/project-a/nginx-web-app",
|
|
127
|
+
* repositoryName: "project-a/nginx-web-app"
|
|
128
128
|
* }
|
|
129
129
|
* }
|
|
130
130
|
* *\/
|
|
131
|
-
* // example id: createrepository-example-1470863688724
|
|
132
131
|
* ```
|
|
133
132
|
*
|
|
133
|
+
* @public
|
|
134
134
|
*/
|
|
135
135
|
export declare class CreateRepositoryCommand extends CreateRepositoryCommand_base {
|
|
136
136
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -118,62 +118,8 @@ declare const CreateRepositoryCreationTemplateCommand_base: {
|
|
|
118
118
|
* @throws {@link ECRServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
120
120
|
*
|
|
121
|
-
* @public
|
|
122
|
-
* @example Create a new repository creation template
|
|
123
|
-
* ```javascript
|
|
124
|
-
* // This example creates a repository creation template.
|
|
125
|
-
* const input = {
|
|
126
|
-
* "appliedFor": [
|
|
127
|
-
* "REPLICATION",
|
|
128
|
-
* "PULL_THROUGH_CACHE"
|
|
129
|
-
* ],
|
|
130
|
-
* "description": "Repos for testing images",
|
|
131
|
-
* "encryptionConfiguration": {
|
|
132
|
-
* "encryptionType": "AES256"
|
|
133
|
-
* },
|
|
134
|
-
* "imageTagMutability": "MUTABLE",
|
|
135
|
-
* "lifecyclePolicy": "{\r\n \"rules\": [\r\n {\r\n \"rulePriority\": 1,\r\n \"description\": \"Expire images older than 14 days\",\r\n \"selection\": {\r\n \"tagStatus\": \"untagged\",\r\n \"countType\": \"sinceImagePushed\",\r\n \"countUnit\": \"days\",\r\n \"countNumber\": 14\r\n },\r\n \"action\": {\r\n \"type\": \"expire\"\r\n }\r\n }\r\n ]\r\n}",
|
|
136
|
-
* "prefix": "eng/test",
|
|
137
|
-
* "repositoryPolicy": "{\r\n \"Version\": \"2012-10-17\",\r\n \"Statement\": [\r\n {\r\n \"Sid\": \"LambdaECRPullPolicy\",\r\n \"Effect\": \"Allow\",\r\n \"Principal\": {\r\n \"Service\": \"lambda.amazonaws.com\"\r\n },\r\n \"Action\": \"ecr:BatchGetImage\"\r\n }\r\n ]\r\n}",
|
|
138
|
-
* "resourceTags": [
|
|
139
|
-
* {
|
|
140
|
-
* "Key": "environment",
|
|
141
|
-
* "Value": "test"
|
|
142
|
-
* }
|
|
143
|
-
* ]
|
|
144
|
-
* };
|
|
145
|
-
* const command = new CreateRepositoryCreationTemplateCommand(input);
|
|
146
|
-
* const response = await client.send(command);
|
|
147
|
-
* /* response ==
|
|
148
|
-
* {
|
|
149
|
-
* "registryId": "012345678901",
|
|
150
|
-
* "repositoryCreationTemplate": {
|
|
151
|
-
* "appliedFor": [
|
|
152
|
-
* "REPLICATION",
|
|
153
|
-
* "PULL_THROUGH_CACHE"
|
|
154
|
-
* ],
|
|
155
|
-
* "createdAt": "2023-12-16T17:29:02-07:00",
|
|
156
|
-
* "description": "Repos for testing images",
|
|
157
|
-
* "encryptionConfiguration": {
|
|
158
|
-
* "encryptionType": "AES256"
|
|
159
|
-
* },
|
|
160
|
-
* "imageTagMutability": "MUTABLE",
|
|
161
|
-
* "lifecyclePolicy": "{\r\n \"rules\": [\r\n {\r\n \"rulePriority\": 1,\r\n \"description\": \"Expire images older than 14 days\",\r\n \"selection\": {\r\n \"tagStatus\": \"untagged\",\r\n \"countType\": \"sinceImagePushed\",\r\n \"countUnit\": \"days\",\r\n \"countNumber\": 14\r\n },\r\n \"action\": {\r\n \"type\": \"expire\"\r\n }\r\n }\r\n ]\r\n}",
|
|
162
|
-
* "prefix": "eng/test",
|
|
163
|
-
* "repositoryPolicy": "{\n \"Version\" : \"2012-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"LambdaECRPullPolicy\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"Service\" : \"lambda.amazonaws.com\"\n },\n \"Action\" : \"ecr:BatchGetImage\"\n } ]\n}",
|
|
164
|
-
* "resourceTags": [
|
|
165
|
-
* {
|
|
166
|
-
* "Key": "environment",
|
|
167
|
-
* "Value": "test"
|
|
168
|
-
* }
|
|
169
|
-
* ],
|
|
170
|
-
* "updatedAt": "2023-12-16T17:29:02-07:00"
|
|
171
|
-
* }
|
|
172
|
-
* }
|
|
173
|
-
* *\/
|
|
174
|
-
* // example id: create-a-new-repository-creation-template-1713296923053
|
|
175
|
-
* ```
|
|
176
121
|
*
|
|
122
|
+
* @public
|
|
177
123
|
*/
|
|
178
124
|
export declare class CreateRepositoryCreationTemplateCommand extends CreateRepositoryCreationTemplateCommand_base {
|
|
179
125
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -76,6 +76,7 @@ declare const DeleteLifecyclePolicyCommand_base: {
|
|
|
76
76
|
* @throws {@link ECRServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class DeleteLifecyclePolicyCommand extends DeleteLifecyclePolicyCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const DeletePullThroughCacheRuleCommand_base: {
|
|
|
75
75
|
* @throws {@link ECRServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class DeletePullThroughCacheRuleCommand extends DeletePullThroughCacheRuleCommand_base {
|
|
@@ -66,6 +66,7 @@ declare const DeleteRegistryPolicyCommand_base: {
|
|
|
66
66
|
* @throws {@link ECRServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
68
68
|
*
|
|
69
|
+
*
|
|
69
70
|
* @public
|
|
70
71
|
*/
|
|
71
72
|
export declare class DeleteRegistryPolicyCommand extends DeleteRegistryPolicyCommand_base {
|
|
@@ -90,28 +90,28 @@ declare const DeleteRepositoryCommand_base: {
|
|
|
90
90
|
* @throws {@link ECRServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To force delete a repository
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // This example force deletes a repository named ubuntu in the default registry for an account. The force parameter is required if the repository contains images.
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
98
|
+
* force: true,
|
|
99
|
+
* repositoryName: "ubuntu"
|
|
100
100
|
* };
|
|
101
101
|
* const command = new DeleteRepositoryCommand(input);
|
|
102
102
|
* const response = await client.send(command);
|
|
103
|
-
* /* response
|
|
103
|
+
* /* response is
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
105
|
+
* repository: {
|
|
106
|
+
* registryId: "012345678901",
|
|
107
|
+
* repositoryArn: "arn:aws:ecr:us-west-2:012345678901:repository/ubuntu",
|
|
108
|
+
* repositoryName: "ubuntu"
|
|
109
109
|
* }
|
|
110
110
|
* }
|
|
111
111
|
* *\/
|
|
112
|
-
* // example id: deleterepository-example-1470863805703
|
|
113
112
|
* ```
|
|
114
113
|
*
|
|
114
|
+
* @public
|
|
115
115
|
*/
|
|
116
116
|
export declare class DeleteRepositoryCommand extends DeleteRepositoryCommand_base {
|
|
117
117
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -91,32 +91,8 @@ declare const DeleteRepositoryCreationTemplateCommand_base: {
|
|
|
91
91
|
* @throws {@link ECRServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
93
93
|
*
|
|
94
|
-
* @public
|
|
95
|
-
* @example Delete a repository creation template
|
|
96
|
-
* ```javascript
|
|
97
|
-
* // This example deletes a repository creation template.
|
|
98
|
-
* const input = {
|
|
99
|
-
* "prefix": "eng"
|
|
100
|
-
* };
|
|
101
|
-
* const command = new DeleteRepositoryCreationTemplateCommand(input);
|
|
102
|
-
* const response = await client.send(command);
|
|
103
|
-
* /* response ==
|
|
104
|
-
* {
|
|
105
|
-
* "registryId": "012345678901",
|
|
106
|
-
* "repositoryCreationTemplate": {
|
|
107
|
-
* "createdAt": "2023-12-03T16:27:57.933000-08:00",
|
|
108
|
-
* "encryptionConfiguration": {
|
|
109
|
-
* "encryptionType": "AES256"
|
|
110
|
-
* },
|
|
111
|
-
* "imageTagMutability": "MUTABLE",
|
|
112
|
-
* "prefix": "eng",
|
|
113
|
-
* "updatedAt": "2023-12-03T16:27:57.933000-08:00"
|
|
114
|
-
* }
|
|
115
|
-
* }
|
|
116
|
-
* *\/
|
|
117
|
-
* // example id: delete-a-repository-creation-template-1713298142230
|
|
118
|
-
* ```
|
|
119
94
|
*
|
|
95
|
+
* @public
|
|
120
96
|
*/
|
|
121
97
|
export declare class DeleteRepositoryCreationTemplateCommand extends DeleteRepositoryCreationTemplateCommand_base {
|
|
122
98
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,25 +72,25 @@ declare const DeleteRepositoryPolicyCommand_base: {
|
|
|
72
72
|
* @throws {@link ECRServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example To delete the policy associated with a repository
|
|
77
77
|
* ```javascript
|
|
78
78
|
* // This example deletes the policy associated with the repository named ubuntu in the current account.
|
|
79
79
|
* const input = {
|
|
80
|
-
*
|
|
80
|
+
* repositoryName: "ubuntu"
|
|
81
81
|
* };
|
|
82
82
|
* const command = new DeleteRepositoryPolicyCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
-
* /* response
|
|
84
|
+
* /* response is
|
|
85
85
|
* {
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
86
|
+
* policyText: "{ ... }",
|
|
87
|
+
* registryId: "012345678901",
|
|
88
|
+
* repositoryName: "ubuntu"
|
|
89
89
|
* }
|
|
90
90
|
* *\/
|
|
91
|
-
* // example id: deleterepositorypolicy-example-1470866943748
|
|
92
91
|
* ```
|
|
93
92
|
*
|
|
93
|
+
* @public
|
|
94
94
|
*/
|
|
95
95
|
export declare class DeleteRepositoryPolicyCommand extends DeleteRepositoryPolicyCommand_base {
|
|
96
96
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -88,6 +88,7 @@ declare const DescribeImageReplicationStatusCommand_base: {
|
|
|
88
88
|
* @throws {@link ECRServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class DescribeImageReplicationStatusCommand extends DescribeImageReplicationStatusCommand_base {
|
|
@@ -208,6 +208,7 @@ declare const DescribeImageScanFindingsCommand_base: {
|
|
|
208
208
|
* @throws {@link ECRServiceException}
|
|
209
209
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
210
210
|
*
|
|
211
|
+
*
|
|
211
212
|
* @public
|
|
212
213
|
*/
|
|
213
214
|
export declare class DescribeImageScanFindingsCommand extends DescribeImageScanFindingsCommand_base {
|
|
@@ -112,6 +112,7 @@ declare const DescribeImagesCommand_base: {
|
|
|
112
112
|
* @throws {@link ECRServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
114
114
|
*
|
|
115
|
+
*
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
118
|
export declare class DescribeImagesCommand extends DescribeImagesCommand_base {
|
|
@@ -86,6 +86,7 @@ declare const DescribePullThroughCacheRulesCommand_base: {
|
|
|
86
86
|
* @throws {@link ECRServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
88
88
|
*
|
|
89
|
+
*
|
|
89
90
|
* @public
|
|
90
91
|
*/
|
|
91
92
|
export declare class DescribePullThroughCacheRulesCommand extends DescribePullThroughCacheRulesCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const DescribeRegistryCommand_base: {
|
|
|
82
82
|
* @throws {@link ECRServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class DescribeRegistryCommand extends DescribeRegistryCommand_base {
|
|
@@ -87,32 +87,32 @@ declare const DescribeRepositoriesCommand_base: {
|
|
|
87
87
|
* @throws {@link ECRServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To describe all repositories in the current account
|
|
92
92
|
* ```javascript
|
|
93
93
|
* // The following example obtains a list and description of all repositories in the default registry to which the current user has access.
|
|
94
|
-
* const input = {};
|
|
94
|
+
* const input = { /* empty *\/ };
|
|
95
95
|
* const command = new DescribeRepositoriesCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* repositories: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
101
|
+
* registryId: "012345678910",
|
|
102
|
+
* repositoryArn: "arn:aws:ecr:us-west-2:012345678910:repository/ubuntu",
|
|
103
|
+
* repositoryName: "ubuntu"
|
|
104
104
|
* },
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
106
|
+
* registryId: "012345678910",
|
|
107
|
+
* repositoryArn: "arn:aws:ecr:us-west-2:012345678910:repository/test",
|
|
108
|
+
* repositoryName: "test"
|
|
109
109
|
* }
|
|
110
110
|
* ]
|
|
111
111
|
* }
|
|
112
112
|
* *\/
|
|
113
|
-
* // example id: describe-repositories-1470856017467
|
|
114
113
|
* ```
|
|
115
114
|
*
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
export declare class DescribeRepositoriesCommand extends DescribeRepositoriesCommand_base {
|
|
118
118
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -96,55 +96,8 @@ declare const DescribeRepositoryCreationTemplatesCommand_base: {
|
|
|
96
96
|
* @throws {@link ECRServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
98
98
|
*
|
|
99
|
-
* @public
|
|
100
|
-
* @example Describe a repository creation template
|
|
101
|
-
* ```javascript
|
|
102
|
-
* // This example describes the contents of a repository creation template.
|
|
103
|
-
* const input = {
|
|
104
|
-
* "maxResults": 123,
|
|
105
|
-
* "nextToken": "",
|
|
106
|
-
* "prefixes": [
|
|
107
|
-
* "eng"
|
|
108
|
-
* ]
|
|
109
|
-
* };
|
|
110
|
-
* const command = new DescribeRepositoryCreationTemplatesCommand(input);
|
|
111
|
-
* const response = await client.send(command);
|
|
112
|
-
* /* response ==
|
|
113
|
-
* {
|
|
114
|
-
* "nextToken": "",
|
|
115
|
-
* "registryId": "012345678901",
|
|
116
|
-
* "repositoryCreationTemplates": [
|
|
117
|
-
* {
|
|
118
|
-
* "appliedFor": [
|
|
119
|
-
* "PULL_THROUGH_CACHE",
|
|
120
|
-
* "REPLICATION"
|
|
121
|
-
* ],
|
|
122
|
-
* "createdAt": "2023-12-16T17:29:02-07:00",
|
|
123
|
-
* "encryptionConfiguration": {
|
|
124
|
-
* "encryptionType": "AES256"
|
|
125
|
-
* },
|
|
126
|
-
* "imageTagMutability": "MUTABLE",
|
|
127
|
-
* "prefix": "eng/test",
|
|
128
|
-
* "updatedAt": "2023-12-16T19:55:02-07:00"
|
|
129
|
-
* },
|
|
130
|
-
* {
|
|
131
|
-
* "appliedFor": [
|
|
132
|
-
* "REPLICATION"
|
|
133
|
-
* ],
|
|
134
|
-
* "createdAt": "2023-12-14T17:29:02-07:00",
|
|
135
|
-
* "encryptionConfiguration": {
|
|
136
|
-
* "encryptionType": "AES256"
|
|
137
|
-
* },
|
|
138
|
-
* "imageTagMutability": "IMMUTABLE",
|
|
139
|
-
* "prefix": "eng/replication-test",
|
|
140
|
-
* "updatedAt": "2023-12-14T19:55:02-07:00"
|
|
141
|
-
* }
|
|
142
|
-
* ]
|
|
143
|
-
* }
|
|
144
|
-
* *\/
|
|
145
|
-
* // example id: describe-a-repository-creation-template-1713298784302
|
|
146
|
-
* ```
|
|
147
99
|
*
|
|
100
|
+
* @public
|
|
148
101
|
*/
|
|
149
102
|
export declare class DescribeRepositoryCreationTemplatesCommand extends DescribeRepositoryCreationTemplatesCommand_base {
|
|
150
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,6 +65,7 @@ declare const GetAccountSettingCommand_base: {
|
|
|
65
65
|
* @throws {@link ECRServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
67
67
|
*
|
|
68
|
+
*
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class GetAccountSettingCommand extends GetAccountSettingCommand_base {
|
|
@@ -76,27 +76,8 @@ declare const GetAuthorizationTokenCommand_base: {
|
|
|
76
76
|
* @throws {@link ECRServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
78
78
|
*
|
|
79
|
-
* @public
|
|
80
|
-
* @example To obtain an authorization token
|
|
81
|
-
* ```javascript
|
|
82
|
-
* // This example gets an authorization token for your default registry.
|
|
83
|
-
* const input = {};
|
|
84
|
-
* const command = new GetAuthorizationTokenCommand(input);
|
|
85
|
-
* const response = await client.send(command);
|
|
86
|
-
* /* response ==
|
|
87
|
-
* {
|
|
88
|
-
* "authorizationData": [
|
|
89
|
-
* {
|
|
90
|
-
* "authorizationToken": "QVdTOkNEXAMPLE",
|
|
91
|
-
* "expiresAt": "2022-05-17T06:56:13.652000+00:00",
|
|
92
|
-
* "proxyEndpoint": "https://012345678901.dkr.ecr.us-west-2.amazonaws.com"
|
|
93
|
-
* }
|
|
94
|
-
* ]
|
|
95
|
-
* }
|
|
96
|
-
* *\/
|
|
97
|
-
* // example id: getauthorizationtoken-example-1470867047084
|
|
98
|
-
* ```
|
|
99
79
|
*
|
|
80
|
+
* @public
|
|
100
81
|
*/
|
|
101
82
|
export declare class GetAuthorizationTokenCommand extends GetAuthorizationTokenCommand_base {
|
|
102
83
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,6 +87,7 @@ declare const GetDownloadUrlForLayerCommand_base: {
|
|
|
87
87
|
* @throws {@link ECRServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class GetDownloadUrlForLayerCommand extends GetDownloadUrlForLayerCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const GetLifecyclePolicyCommand_base: {
|
|
|
76
76
|
* @throws {@link ECRServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class GetLifecyclePolicyCommand extends GetLifecyclePolicyCommand_base {
|
|
@@ -104,6 +104,7 @@ declare const GetLifecyclePolicyPreviewCommand_base: {
|
|
|
104
104
|
* @throws {@link ECRServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
106
106
|
*
|
|
107
|
+
*
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class GetLifecyclePolicyPreviewCommand extends GetLifecyclePolicyPreviewCommand_base {
|
|
@@ -66,6 +66,7 @@ declare const GetRegistryPolicyCommand_base: {
|
|
|
66
66
|
* @throws {@link ECRServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
68
68
|
*
|
|
69
|
+
*
|
|
69
70
|
* @public
|
|
70
71
|
*/
|
|
71
72
|
export declare class GetRegistryPolicyCommand extends GetRegistryPolicyCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const GetRegistryScanningConfigurationCommand_base: {
|
|
|
76
76
|
* @throws {@link ECRServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class GetRegistryScanningConfigurationCommand extends GetRegistryScanningConfigurationCommand_base {
|
|
@@ -72,25 +72,35 @@ declare const GetRepositoryPolicyCommand_base: {
|
|
|
72
72
|
* @throws {@link ECRServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example To get the current policy for a repository
|
|
77
77
|
* ```javascript
|
|
78
78
|
* // This example obtains the repository policy for the repository named ubuntu.
|
|
79
79
|
* const input = {
|
|
80
|
-
*
|
|
80
|
+
* repositoryName: "ubuntu"
|
|
81
81
|
* };
|
|
82
82
|
* const command = new GetRepositoryPolicyCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
-
* /* response
|
|
84
|
+
* /* response is
|
|
85
85
|
* {
|
|
86
|
-
*
|
|
87
|
-
* "
|
|
88
|
-
* "
|
|
86
|
+
* policyText: `{
|
|
87
|
+
* "Version" : "2008-10-17",
|
|
88
|
+
* "Statement" : [ {
|
|
89
|
+
* "Sid" : "new statement",
|
|
90
|
+
* "Effect" : "Allow",
|
|
91
|
+
* "Principal" : {
|
|
92
|
+
* "AWS" : "arn:aws:iam::012345678901:role/CodeDeployDemo"
|
|
93
|
+
* },
|
|
94
|
+
* "Action" : [ "ecr:GetDownloadUrlForLayer", "ecr:BatchGetImage", "ecr:BatchCheckLayerAvailability" ]
|
|
95
|
+
* } ]
|
|
96
|
+
* }`,
|
|
97
|
+
* registryId: "012345678901",
|
|
98
|
+
* repositoryName: "ubuntu"
|
|
89
99
|
* }
|
|
90
100
|
* *\/
|
|
91
|
-
* // example id: getrepositorypolicy-example-1470867669211
|
|
92
101
|
* ```
|
|
93
102
|
*
|
|
103
|
+
* @public
|
|
94
104
|
*/
|
|
95
105
|
export declare class GetRepositoryPolicyCommand extends GetRepositoryPolicyCommand_base {
|
|
96
106
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,6 +77,7 @@ declare const InitiateLayerUploadCommand_base: {
|
|
|
77
77
|
* @throws {@link ECRServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class InitiateLayerUploadCommand extends InitiateLayerUploadCommand_base {
|
|
@@ -83,28 +83,28 @@ declare const ListImagesCommand_base: {
|
|
|
83
83
|
* @throws {@link ECRServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To list all images in a repository
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // This example lists all of the images in the repository named ubuntu in the default registry in the current account.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* repositoryName: "ubuntu"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new ListImagesCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
-
* /* response
|
|
95
|
+
* /* response is
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
97
|
+
* imageIds: [
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
99
|
+
* imageDigest: "sha256:764f63476bdff6d83a09ba2a818f0d35757063724a9ac3ba5019c56f74ebf42a",
|
|
100
|
+
* imageTag: "precise"
|
|
101
101
|
* }
|
|
102
102
|
* ]
|
|
103
103
|
* }
|
|
104
104
|
* *\/
|
|
105
|
-
* // example id: listimages-example-1470868161594
|
|
106
105
|
* ```
|
|
107
106
|
*
|
|
107
|
+
* @public
|
|
108
108
|
*/
|
|
109
109
|
export declare class ListImagesCommand extends ListImagesCommand_base {
|
|
110
110
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -70,6 +70,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
70
70
|
* @throws {@link ECRServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -71,6 +71,7 @@ declare const PutAccountSettingCommand_base: {
|
|
|
71
71
|
* @throws {@link ECRServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class PutAccountSettingCommand extends PutAccountSettingCommand_base {
|
|
@@ -113,6 +113,7 @@ declare const PutImageCommand_base: {
|
|
|
113
113
|
* @throws {@link ECRServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class PutImageCommand extends PutImageCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const PutImageScanningConfigurationCommand_base: {
|
|
|
81
81
|
* @throws {@link ECRServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class PutImageScanningConfigurationCommand extends PutImageScanningConfigurationCommand_base {
|
|
@@ -71,6 +71,7 @@ declare const PutImageTagMutabilityCommand_base: {
|
|
|
71
71
|
* @throws {@link ECRServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class PutImageTagMutabilityCommand extends PutImageTagMutabilityCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const PutLifecyclePolicyCommand_base: {
|
|
|
74
74
|
* @throws {@link ECRServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class PutLifecyclePolicyCommand extends PutLifecyclePolicyCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const PutRegistryPolicyCommand_base: {
|
|
|
67
67
|
* @throws {@link ECRServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class PutRegistryPolicyCommand extends PutRegistryPolicyCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const PutRegistryScanningConfigurationCommand_base: {
|
|
|
88
88
|
* @throws {@link ECRServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class PutRegistryScanningConfigurationCommand extends PutRegistryScanningConfigurationCommand_base {
|
|
@@ -108,6 +108,7 @@ declare const PutReplicationConfigurationCommand_base: {
|
|
|
108
108
|
* @throws {@link ECRServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
110
110
|
*
|
|
111
|
+
*
|
|
111
112
|
* @public
|
|
112
113
|
*/
|
|
113
114
|
export declare class PutReplicationConfigurationCommand extends PutReplicationConfigurationCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const SetRepositoryPolicyCommand_base: {
|
|
|
72
72
|
* @throws {@link ECRServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class SetRepositoryPolicyCommand extends SetRepositoryPolicyCommand_base {
|
|
@@ -98,6 +98,7 @@ declare const StartImageScanCommand_base: {
|
|
|
98
98
|
* @throws {@link ECRServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
100
100
|
*
|
|
101
|
+
*
|
|
101
102
|
* @public
|
|
102
103
|
*/
|
|
103
104
|
export declare class StartImageScanCommand extends StartImageScanCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const StartLifecyclePolicyPreviewCommand_base: {
|
|
|
82
82
|
* @throws {@link ECRServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class StartLifecyclePolicyPreviewCommand extends StartLifecyclePolicyPreviewCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const TagResourceCommand_base: {
|
|
|
78
78
|
* @throws {@link ECRServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const UntagResourceCommand_base: {
|
|
|
74
74
|
* @throws {@link ECRServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const UpdatePullThroughCacheRuleCommand_base: {
|
|
|
88
88
|
* @throws {@link ECRServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class UpdatePullThroughCacheRuleCommand extends UpdatePullThroughCacheRuleCommand_base {
|
|
@@ -109,53 +109,8 @@ declare const UpdateRepositoryCreationTemplateCommand_base: {
|
|
|
109
109
|
* @throws {@link ECRServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
111
111
|
*
|
|
112
|
-
* @public
|
|
113
|
-
* @example Update a repository creation template
|
|
114
|
-
* ```javascript
|
|
115
|
-
* // This example updates a repository creation template.
|
|
116
|
-
* const input = {
|
|
117
|
-
* "appliedFor": [
|
|
118
|
-
* "REPLICATION"
|
|
119
|
-
* ],
|
|
120
|
-
* "prefix": "eng/test",
|
|
121
|
-
* "resourceTags": [
|
|
122
|
-
* {
|
|
123
|
-
* "Key": "environment",
|
|
124
|
-
* "Value": "test"
|
|
125
|
-
* }
|
|
126
|
-
* ]
|
|
127
|
-
* };
|
|
128
|
-
* const command = new UpdateRepositoryCreationTemplateCommand(input);
|
|
129
|
-
* const response = await client.send(command);
|
|
130
|
-
* /* response ==
|
|
131
|
-
* {
|
|
132
|
-
* "registryId": "012345678901",
|
|
133
|
-
* "repositoryCreationTemplate": {
|
|
134
|
-
* "appliedFor": [
|
|
135
|
-
* "REPLICATION"
|
|
136
|
-
* ],
|
|
137
|
-
* "createdAt": "2023-12-16T17:29:02-07:00",
|
|
138
|
-
* "description": "Repos for testing images",
|
|
139
|
-
* "encryptionConfiguration": {
|
|
140
|
-
* "encryptionType": "AES256"
|
|
141
|
-
* },
|
|
142
|
-
* "imageTagMutability": "MUTABLE",
|
|
143
|
-
* "lifecyclePolicy": "{\r\n \"rules\": [\r\n {\r\n \"rulePriority\": 1,\r\n \"description\": \"Expire images older than 14 days\",\r\n \"selection\": {\r\n \"tagStatus\": \"untagged\",\r\n \"countType\": \"sinceImagePushed\",\r\n \"countUnit\": \"days\",\r\n \"countNumber\": 14\r\n },\r\n \"action\": {\r\n \"type\": \"expire\"\r\n }\r\n }\r\n ]\r\n}",
|
|
144
|
-
* "prefix": "eng/test",
|
|
145
|
-
* "repositoryPolicy": "{\n \"Version\" : \"2012-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"LambdaECRPullPolicy\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"Service\" : \"lambda.amazonaws.com\"\n },\n \"Action\" : \"ecr:BatchGetImage\"\n } ]\n}",
|
|
146
|
-
* "resourceTags": [
|
|
147
|
-
* {
|
|
148
|
-
* "Key": "environment",
|
|
149
|
-
* "Value": "test"
|
|
150
|
-
* }
|
|
151
|
-
* ],
|
|
152
|
-
* "updatedAt": "2023-12-16T19:55:02-07:00"
|
|
153
|
-
* }
|
|
154
|
-
* }
|
|
155
|
-
* *\/
|
|
156
|
-
* // example id: update-a-repository-creation-template-1713299261276
|
|
157
|
-
* ```
|
|
158
112
|
*
|
|
113
|
+
* @public
|
|
159
114
|
*/
|
|
160
115
|
export declare class UpdateRepositoryCreationTemplateCommand extends UpdateRepositoryCreationTemplateCommand_base {
|
|
161
116
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -96,6 +96,7 @@ declare const UploadLayerPartCommand_base: {
|
|
|
96
96
|
* @throws {@link ECRServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
98
98
|
*
|
|
99
|
+
*
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class UploadLayerPartCommand extends UploadLayerPartCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const ValidatePullThroughCacheRuleCommand_base: {
|
|
|
79
79
|
* @throws {@link ECRServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class ValidatePullThroughCacheRuleCommand extends ValidatePullThroughCacheRuleCommand_base {
|
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.
|
|
4
|
+
"version": "3.777.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecr",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|