@aws-sdk/client-ecr 3.321.1 → 3.326.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.
Files changed (42) hide show
  1. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +20 -0
  2. package/dist-types/commands/BatchDeleteImageCommand.d.ts +21 -0
  3. package/dist-types/commands/BatchGetImageCommand.d.ts +27 -0
  4. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +26 -0
  5. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +9 -0
  6. package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +9 -0
  7. package/dist-types/commands/CreateRepositoryCommand.d.ts +20 -0
  8. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +9 -0
  9. package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +9 -0
  10. package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +7 -0
  11. package/dist-types/commands/DeleteRepositoryCommand.d.ts +20 -0
  12. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +8 -0
  13. package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +18 -0
  14. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +129 -0
  15. package/dist-types/commands/DescribeImagesCommand.d.ts +32 -0
  16. package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +14 -0
  17. package/dist-types/commands/DescribeRegistryCommand.d.ts +24 -0
  18. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +23 -0
  19. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +12 -0
  20. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +7 -0
  21. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +9 -0
  22. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +26 -0
  23. package/dist-types/commands/GetRegistryPolicyCommand.d.ts +7 -0
  24. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +20 -0
  25. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +8 -0
  26. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +7 -0
  27. package/dist-types/commands/ListImagesCommand.d.ts +12 -0
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  29. package/dist-types/commands/PutImageCommand.d.ts +15 -0
  30. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +10 -0
  31. package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +8 -0
  32. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +8 -0
  33. package/dist-types/commands/PutRegistryPolicyCommand.d.ts +7 -0
  34. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +19 -0
  35. package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +23 -0
  36. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +8 -0
  37. package/dist-types/commands/StartImageScanCommand.d.ts +15 -0
  38. package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +9 -0
  39. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  40. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  41. package/dist-types/commands/UploadLayerPartCommand.d.ts +9 -0
  42. package/package.json +16 -16
@@ -36,6 +36,27 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
36
36
  * };
37
37
  * const command = new DescribeRepositoriesCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DescribeRepositoriesResponse
40
+ * // repositories: [ // RepositoryList
41
+ * // { // Repository
42
+ * // repositoryArn: "STRING_VALUE",
43
+ * // registryId: "STRING_VALUE",
44
+ * // repositoryName: "STRING_VALUE",
45
+ * // repositoryUri: "STRING_VALUE",
46
+ * // createdAt: new Date("TIMESTAMP"),
47
+ * // imageTagMutability: "STRING_VALUE",
48
+ * // imageScanningConfiguration: { // ImageScanningConfiguration
49
+ * // scanOnPush: true || false,
50
+ * // },
51
+ * // encryptionConfiguration: { // EncryptionConfiguration
52
+ * // encryptionType: "STRING_VALUE", // required
53
+ * // kmsKey: "STRING_VALUE",
54
+ * // },
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
39
60
  * ```
40
61
  *
41
62
  * @param DescribeRepositoriesCommandInput - {@link DescribeRepositoriesCommandInput}
@@ -55,6 +76,8 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
55
76
  * @throws {@link ServerException} (server fault)
56
77
  * <p>These errors are usually caused by a server-side issue.</p>
57
78
  *
79
+ * @throws {@link ECRServiceException}
80
+ * <p>Base exception class for all service exceptions from ECR service.</p>
58
81
  *
59
82
  * @example To describe all repositories in the current account
60
83
  * ```javascript
@@ -40,6 +40,16 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
40
40
  * };
41
41
  * const command = new GetAuthorizationTokenCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // GetAuthorizationTokenResponse
44
+ * // authorizationData: [ // AuthorizationDataList
45
+ * // { // AuthorizationData
46
+ * // authorizationToken: "STRING_VALUE",
47
+ * // expiresAt: new Date("TIMESTAMP"),
48
+ * // proxyEndpoint: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param GetAuthorizationTokenCommandInput - {@link GetAuthorizationTokenCommandInput}
@@ -55,6 +65,8 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
55
65
  * @throws {@link ServerException} (server fault)
56
66
  * <p>These errors are usually caused by a server-side issue.</p>
57
67
  *
68
+ * @throws {@link ECRServiceException}
69
+ * <p>Base exception class for all service exceptions from ECR service.</p>
58
70
  *
59
71
  * @example To obtain an authorization token
60
72
  * ```javascript
@@ -40,6 +40,11 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa
40
40
  * };
41
41
  * const command = new GetDownloadUrlForLayerCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // GetDownloadUrlForLayerResponse
44
+ * // downloadUrl: "STRING_VALUE",
45
+ * // layerDigest: "STRING_VALUE",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param GetDownloadUrlForLayerCommandInput - {@link GetDownloadUrlForLayerCommandInput}
@@ -67,6 +72,8 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa
67
72
  * @throws {@link ServerException} (server fault)
68
73
  * <p>These errors are usually caused by a server-side issue.</p>
69
74
  *
75
+ * @throws {@link ECRServiceException}
76
+ * <p>Base exception class for all service exceptions from ECR service.</p>
70
77
  *
71
78
  */
72
79
  export declare class GetDownloadUrlForLayerCommand extends $Command<GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput, ECRClientResolvedConfig> {
@@ -32,6 +32,13 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
32
32
  * };
33
33
  * const command = new GetLifecyclePolicyCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetLifecyclePolicyResponse
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 GetLifecyclePolicyCommandInput - {@link GetLifecyclePolicyCommandInput}
@@ -55,6 +62,8 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
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 GetLifecyclePolicyCommand extends $Command<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
@@ -44,6 +44,30 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
44
44
  * };
45
45
  * const command = new GetLifecyclePolicyPreviewCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // GetLifecyclePolicyPreviewResponse
48
+ * // registryId: "STRING_VALUE",
49
+ * // repositoryName: "STRING_VALUE",
50
+ * // lifecyclePolicyText: "STRING_VALUE",
51
+ * // status: "STRING_VALUE",
52
+ * // nextToken: "STRING_VALUE",
53
+ * // previewResults: [ // LifecyclePolicyPreviewResultList
54
+ * // { // LifecyclePolicyPreviewResult
55
+ * // imageTags: [ // ImageTagList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // imageDigest: "STRING_VALUE",
59
+ * // imagePushedAt: new Date("TIMESTAMP"),
60
+ * // action: { // LifecyclePolicyRuleAction
61
+ * // type: "STRING_VALUE",
62
+ * // },
63
+ * // appliedRulePriority: Number("int"),
64
+ * // },
65
+ * // ],
66
+ * // summary: { // LifecyclePolicyPreviewSummary
67
+ * // expiringImageTotalCount: Number("int"),
68
+ * // },
69
+ * // };
70
+ *
47
71
  * ```
48
72
  *
49
73
  * @param GetLifecyclePolicyPreviewCommandInput - {@link GetLifecyclePolicyPreviewCommandInput}
@@ -66,6 +90,8 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
66
90
  * @throws {@link ServerException} (server fault)
67
91
  * <p>These errors are usually caused by a server-side issue.</p>
68
92
  *
93
+ * @throws {@link ECRServiceException}
94
+ * <p>Base exception class for all service exceptions from ECR service.</p>
69
95
  *
70
96
  */
71
97
  export declare class GetLifecyclePolicyPreviewCommand extends $Command<GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
@@ -29,6 +29,11 @@ export interface GetRegistryPolicyCommandOutput extends GetRegistryPolicyRespons
29
29
  * const input = {};
30
30
  * const command = new GetRegistryPolicyCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetRegistryPolicyResponse
33
+ * // registryId: "STRING_VALUE",
34
+ * // policyText: "STRING_VALUE",
35
+ * // };
36
+ *
32
37
  * ```
33
38
  *
34
39
  * @param GetRegistryPolicyCommandInput - {@link GetRegistryPolicyCommandInput}
@@ -50,6 +55,8 @@ export interface GetRegistryPolicyCommandOutput extends GetRegistryPolicyRespons
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 GetRegistryPolicyCommand extends $Command<GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
@@ -29,6 +29,24 @@ export interface GetRegistryScanningConfigurationCommandOutput extends GetRegist
29
29
  * const input = {};
30
30
  * const command = new GetRegistryScanningConfigurationCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetRegistryScanningConfigurationResponse
33
+ * // registryId: "STRING_VALUE",
34
+ * // scanningConfiguration: { // RegistryScanningConfiguration
35
+ * // scanType: "STRING_VALUE",
36
+ * // rules: [ // RegistryScanningRuleList
37
+ * // { // RegistryScanningRule
38
+ * // scanFrequency: "STRING_VALUE", // required
39
+ * // repositoryFilters: [ // ScanningRepositoryFilterList // required
40
+ * // { // ScanningRepositoryFilter
41
+ * // filter: "STRING_VALUE", // required
42
+ * // filterType: "STRING_VALUE", // required
43
+ * // },
44
+ * // ],
45
+ * // },
46
+ * // ],
47
+ * // },
48
+ * // };
49
+ *
32
50
  * ```
33
51
  *
34
52
  * @param GetRegistryScanningConfigurationCommandInput - {@link GetRegistryScanningConfigurationCommandInput}
@@ -47,6 +65,8 @@ export interface GetRegistryScanningConfigurationCommandOutput extends GetRegist
47
65
  * @throws {@link ValidationException} (client fault)
48
66
  * <p>There was an exception validating this request.</p>
49
67
  *
68
+ * @throws {@link ECRServiceException}
69
+ * <p>Base exception class for all service exceptions from ECR service.</p>
50
70
  *
51
71
  */
52
72
  export declare class GetRegistryScanningConfigurationCommand extends $Command<GetRegistryScanningConfigurationCommandInput, GetRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
@@ -32,6 +32,12 @@ export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyRes
32
32
  * };
33
33
  * const command = new GetRepositoryPolicyCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetRepositoryPolicyResponse
36
+ * // registryId: "STRING_VALUE",
37
+ * // repositoryName: "STRING_VALUE",
38
+ * // policyText: "STRING_VALUE",
39
+ * // };
40
+ *
35
41
  * ```
36
42
  *
37
43
  * @param GetRepositoryPolicyCommandInput - {@link GetRepositoryPolicyCommandInput}
@@ -55,6 +61,8 @@ export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyRes
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 get the current policy for a repository
60
68
  * ```javascript
@@ -39,6 +39,11 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
39
39
  * };
40
40
  * const command = new InitiateLayerUploadCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // InitiateLayerUploadResponse
43
+ * // uploadId: "STRING_VALUE",
44
+ * // partSize: Number("long"),
45
+ * // };
46
+ *
42
47
  * ```
43
48
  *
44
49
  * @param InitiateLayerUploadCommandInput - {@link InitiateLayerUploadCommandInput}
@@ -61,6 +66,8 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
61
66
  * @throws {@link ServerException} (server fault)
62
67
  * <p>These errors are usually caused by a server-side issue.</p>
63
68
  *
69
+ * @throws {@link ECRServiceException}
70
+ * <p>Base exception class for all service exceptions from ECR service.</p>
64
71
  *
65
72
  */
66
73
  export declare class InitiateLayerUploadCommand extends $Command<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput, ECRClientResolvedConfig> {
@@ -43,6 +43,16 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
43
43
  * };
44
44
  * const command = new ListImagesCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // ListImagesResponse
47
+ * // imageIds: [ // ImageIdentifierList
48
+ * // { // ImageIdentifier
49
+ * // imageDigest: "STRING_VALUE",
50
+ * // imageTag: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // nextToken: "STRING_VALUE",
54
+ * // };
55
+ *
46
56
  * ```
47
57
  *
48
58
  * @param ListImagesCommandInput - {@link ListImagesCommandInput}
@@ -62,6 +72,8 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
62
72
  * @throws {@link ServerException} (server fault)
63
73
  * <p>These errors are usually caused by a server-side issue.</p>
64
74
  *
75
+ * @throws {@link ECRServiceException}
76
+ * <p>Base exception class for all service exceptions from ECR service.</p>
65
77
  *
66
78
  * @example To list all images in a repository
67
79
  * ```javascript
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // tags: [ // TagList
36
+ * // { // Tag
37
+ * // Key: "STRING_VALUE",
38
+ * // Value: "STRING_VALUE",
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -50,6 +59,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
50
59
  * @throws {@link ServerException} (server fault)
51
60
  * <p>These errors are usually caused by a server-side issue.</p>
52
61
  *
62
+ * @throws {@link ECRServiceException}
63
+ * <p>Base exception class for all service exceptions from ECR service.</p>
53
64
  *
54
65
  */
55
66
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ECRClientResolvedConfig> {
@@ -44,6 +44,19 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
44
44
  * };
45
45
  * const command = new PutImageCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // PutImageResponse
48
+ * // image: { // Image
49
+ * // registryId: "STRING_VALUE",
50
+ * // repositoryName: "STRING_VALUE",
51
+ * // imageId: { // ImageIdentifier
52
+ * // imageDigest: "STRING_VALUE",
53
+ * // imageTag: "STRING_VALUE",
54
+ * // },
55
+ * // imageManifest: "STRING_VALUE",
56
+ * // imageManifestMediaType: "STRING_VALUE",
57
+ * // },
58
+ * // };
59
+ *
47
60
  * ```
48
61
  *
49
62
  * @param PutImageCommandInput - {@link PutImageCommandInput}
@@ -90,6 +103,8 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
90
103
  * @throws {@link ServerException} (server fault)
91
104
  * <p>These errors are usually caused by a server-side issue.</p>
92
105
  *
106
+ * @throws {@link ECRServiceException}
107
+ * <p>Base exception class for all service exceptions from ECR service.</p>
93
108
  *
94
109
  */
95
110
  export declare class PutImageCommand extends $Command<PutImageCommandInput, PutImageCommandOutput, ECRClientResolvedConfig> {
@@ -40,6 +40,14 @@ export interface PutImageScanningConfigurationCommandOutput extends PutImageScan
40
40
  * };
41
41
  * const command = new PutImageScanningConfigurationCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // PutImageScanningConfigurationResponse
44
+ * // registryId: "STRING_VALUE",
45
+ * // repositoryName: "STRING_VALUE",
46
+ * // imageScanningConfiguration: { // ImageScanningConfiguration
47
+ * // scanOnPush: true || false,
48
+ * // },
49
+ * // };
50
+ *
43
51
  * ```
44
52
  *
45
53
  * @param PutImageScanningConfigurationCommandInput - {@link PutImageScanningConfigurationCommandInput}
@@ -62,6 +70,8 @@ export interface PutImageScanningConfigurationCommandOutput extends PutImageScan
62
70
  * @throws {@link ValidationException} (client fault)
63
71
  * <p>There was an exception validating this request.</p>
64
72
  *
73
+ * @throws {@link ECRServiceException}
74
+ * <p>Base exception class for all service exceptions from ECR service.</p>
65
75
  *
66
76
  */
67
77
  export declare class PutImageScanningConfigurationCommand extends $Command<PutImageScanningConfigurationCommandInput, PutImageScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
@@ -35,6 +35,12 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit
35
35
  * };
36
36
  * const command = new PutImageTagMutabilityCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // PutImageTagMutabilityResponse
39
+ * // registryId: "STRING_VALUE",
40
+ * // repositoryName: "STRING_VALUE",
41
+ * // imageTagMutability: "STRING_VALUE",
42
+ * // };
43
+ *
38
44
  * ```
39
45
  *
40
46
  * @param PutImageTagMutabilityCommandInput - {@link PutImageTagMutabilityCommandInput}
@@ -54,6 +60,8 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit
54
60
  * @throws {@link ServerException} (server fault)
55
61
  * <p>These errors are usually caused by a server-side issue.</p>
56
62
  *
63
+ * @throws {@link ECRServiceException}
64
+ * <p>Base exception class for all service exceptions from ECR service.</p>
57
65
  *
58
66
  */
59
67
  export declare class PutImageTagMutabilityCommand extends $Command<PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput, ECRClientResolvedConfig> {
@@ -35,6 +35,12 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
35
35
  * };
36
36
  * const command = new PutLifecyclePolicyCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // PutLifecyclePolicyResponse
39
+ * // registryId: "STRING_VALUE",
40
+ * // repositoryName: "STRING_VALUE",
41
+ * // lifecyclePolicyText: "STRING_VALUE",
42
+ * // };
43
+ *
38
44
  * ```
39
45
  *
40
46
  * @param PutLifecyclePolicyCommandInput - {@link PutLifecyclePolicyCommandInput}
@@ -54,6 +60,8 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
54
60
  * @throws {@link ServerException} (server fault)
55
61
  * <p>These errors are usually caused by a server-side issue.</p>
56
62
  *
63
+ * @throws {@link ECRServiceException}
64
+ * <p>Base exception class for all service exceptions from ECR service.</p>
57
65
  *
58
66
  */
59
67
  export declare class PutLifecyclePolicyCommand extends $Command<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
@@ -33,6 +33,11 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
33
33
  * };
34
34
  * const command = new PutRegistryPolicyCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // PutRegistryPolicyResponse
37
+ * // registryId: "STRING_VALUE",
38
+ * // policyText: "STRING_VALUE",
39
+ * // };
40
+ *
36
41
  * ```
37
42
  *
38
43
  * @param PutRegistryPolicyCommandInput - {@link PutRegistryPolicyCommandInput}
@@ -51,6 +56,8 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
51
56
  * @throws {@link ValidationException} (client fault)
52
57
  * <p>There was an exception validating this request.</p>
53
58
  *
59
+ * @throws {@link ECRServiceException}
60
+ * <p>Base exception class for all service exceptions from ECR service.</p>
54
61
  *
55
62
  */
56
63
  export declare class PutRegistryPolicyCommand extends $Command<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
@@ -42,6 +42,23 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
42
42
  * };
43
43
  * const command = new PutRegistryScanningConfigurationCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // PutRegistryScanningConfigurationResponse
46
+ * // registryScanningConfiguration: { // RegistryScanningConfiguration
47
+ * // scanType: "STRING_VALUE",
48
+ * // rules: [ // RegistryScanningRuleList
49
+ * // { // RegistryScanningRule
50
+ * // scanFrequency: "STRING_VALUE", // required
51
+ * // repositoryFilters: [ // ScanningRepositoryFilterList // required
52
+ * // { // ScanningRepositoryFilter
53
+ * // filter: "STRING_VALUE", // required
54
+ * // filterType: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // ],
59
+ * // },
60
+ * // };
61
+ *
45
62
  * ```
46
63
  *
47
64
  * @param PutRegistryScanningConfigurationCommandInput - {@link PutRegistryScanningConfigurationCommandInput}
@@ -60,6 +77,8 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
60
77
  * @throws {@link ValidationException} (client fault)
61
78
  * <p>There was an exception validating this request.</p>
62
79
  *
80
+ * @throws {@link ECRServiceException}
81
+ * <p>Base exception class for all service exceptions from ECR service.</p>
63
82
  *
64
83
  */
65
84
  export declare class PutRegistryScanningConfigurationCommand extends $Command<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
@@ -58,6 +58,27 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
58
58
  * };
59
59
  * const command = new PutReplicationConfigurationCommand(input);
60
60
  * const response = await client.send(command);
61
+ * // { // PutReplicationConfigurationResponse
62
+ * // replicationConfiguration: { // ReplicationConfiguration
63
+ * // rules: [ // ReplicationRuleList // required
64
+ * // { // ReplicationRule
65
+ * // destinations: [ // ReplicationDestinationList // required
66
+ * // { // ReplicationDestination
67
+ * // region: "STRING_VALUE", // required
68
+ * // registryId: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // repositoryFilters: [ // RepositoryFilterList
72
+ * // { // RepositoryFilter
73
+ * // filter: "STRING_VALUE", // required
74
+ * // filterType: "STRING_VALUE", // required
75
+ * // },
76
+ * // ],
77
+ * // },
78
+ * // ],
79
+ * // },
80
+ * // };
81
+ *
61
82
  * ```
62
83
  *
63
84
  * @param PutReplicationConfigurationCommandInput - {@link PutReplicationConfigurationCommandInput}
@@ -76,6 +97,8 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
76
97
  * @throws {@link ValidationException} (client fault)
77
98
  * <p>There was an exception validating this request.</p>
78
99
  *
100
+ * @throws {@link ECRServiceException}
101
+ * <p>Base exception class for all service exceptions from ECR service.</p>
79
102
  *
80
103
  */
81
104
  export declare class PutReplicationConfigurationCommand extends $Command<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput, ECRClientResolvedConfig> {
@@ -36,6 +36,12 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
36
36
  * };
37
37
  * const command = new SetRepositoryPolicyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // SetRepositoryPolicyResponse
40
+ * // registryId: "STRING_VALUE",
41
+ * // repositoryName: "STRING_VALUE",
42
+ * // policyText: "STRING_VALUE",
43
+ * // };
44
+ *
39
45
  * ```
40
46
  *
41
47
  * @param SetRepositoryPolicyCommandInput - {@link SetRepositoryPolicyCommandInput}
@@ -55,6 +61,8 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
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
  */
60
68
  export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
@@ -39,6 +39,19 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
39
39
  * };
40
40
  * const command = new StartImageScanCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // StartImageScanResponse
43
+ * // registryId: "STRING_VALUE",
44
+ * // repositoryName: "STRING_VALUE",
45
+ * // imageId: { // ImageIdentifier
46
+ * // imageDigest: "STRING_VALUE",
47
+ * // imageTag: "STRING_VALUE",
48
+ * // },
49
+ * // imageScanStatus: { // ImageScanStatus
50
+ * // status: "STRING_VALUE",
51
+ * // description: "STRING_VALUE",
52
+ * // },
53
+ * // };
54
+ *
42
55
  * ```
43
56
  *
44
57
  * @param StartImageScanCommandInput - {@link StartImageScanCommandInput}
@@ -72,6 +85,8 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
72
85
  * @throws {@link ValidationException} (client fault)
73
86
  * <p>There was an exception validating this request.</p>
74
87
  *
88
+ * @throws {@link ECRServiceException}
89
+ * <p>Base exception class for all service exceptions from ECR service.</p>
75
90
  *
76
91
  */
77
92
  export declare class StartImageScanCommand extends $Command<StartImageScanCommandInput, StartImageScanCommandOutput, ECRClientResolvedConfig> {
@@ -34,6 +34,13 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
34
34
  * };
35
35
  * const command = new StartLifecyclePolicyPreviewCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // StartLifecyclePolicyPreviewResponse
38
+ * // registryId: "STRING_VALUE",
39
+ * // repositoryName: "STRING_VALUE",
40
+ * // lifecyclePolicyText: "STRING_VALUE",
41
+ * // status: "STRING_VALUE",
42
+ * // };
43
+ *
37
44
  * ```
38
45
  *
39
46
  * @param StartLifecyclePolicyPreviewCommandInput - {@link StartLifecyclePolicyPreviewCommandInput}
@@ -61,6 +68,8 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
61
68
  * @throws {@link ServerException} (server fault)
62
69
  * <p>These errors are usually caused by a server-side issue.</p>
63
70
  *
71
+ * @throws {@link ECRServiceException}
72
+ * <p>Base exception class for all service exceptions from ECR service.</p>
64
73
  *
65
74
  */
66
75
  export declare class StartLifecyclePolicyPreviewCommand extends $Command<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
@@ -38,6 +38,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
38
38
  * };
39
39
  * const command = new TagResourceCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -65,6 +67,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
65
67
  * <p>The list of tags on the repository is over the limit. The maximum number of tags that
66
68
  * can be applied to a repository is 50.</p>
67
69
  *
70
+ * @throws {@link ECRServiceException}
71
+ * <p>Base exception class for all service exceptions from ECR service.</p>
68
72
  *
69
73
  */
70
74
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -61,6 +63,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
61
63
  * <p>The list of tags on the repository is over the limit. The maximum number of tags that
62
64
  * can be applied to a repository is 50.</p>
63
65
  *
66
+ * @throws {@link ECRServiceException}
67
+ * <p>Base exception class for all service exceptions from ECR service.</p>
64
68
  *
65
69
  */
66
70
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRClientResolvedConfig> {
@@ -43,6 +43,13 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
43
43
  * };
44
44
  * const command = new UploadLayerPartCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // UploadLayerPartResponse
47
+ * // registryId: "STRING_VALUE",
48
+ * // repositoryName: "STRING_VALUE",
49
+ * // uploadId: "STRING_VALUE",
50
+ * // lastByteReceived: Number("long"),
51
+ * // };
52
+ *
46
53
  * ```
47
54
  *
48
55
  * @param UploadLayerPartCommandInput - {@link UploadLayerPartCommandInput}
@@ -78,6 +85,8 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
78
85
  * <p>The upload could not be found, or the specified upload ID is not valid for this
79
86
  * repository.</p>
80
87
  *
88
+ * @throws {@link ECRServiceException}
89
+ * <p>Base exception class for all service exceptions from ECR service.</p>
81
90
  *
82
91
  */
83
92
  export declare class UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRClientResolvedConfig> {