@aws-sdk/client-ecr-public 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 (24) 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/CompleteLayerUploadCommand.d.ts +9 -0
  4. package/dist-types/commands/CreateRepositoryCommand.d.ts +25 -0
  5. package/dist-types/commands/DeleteRepositoryCommand.d.ts +12 -0
  6. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +8 -0
  7. package/dist-types/commands/DescribeImageTagsCommand.d.ts +19 -0
  8. package/dist-types/commands/DescribeImagesCommand.d.ts +20 -0
  9. package/dist-types/commands/DescribeRegistriesCommand.d.ts +22 -0
  10. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +15 -0
  11. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +9 -0
  12. package/dist-types/commands/GetRegistryCatalogDataCommand.d.ts +8 -0
  13. package/dist-types/commands/GetRepositoryCatalogDataCommand.d.ts +18 -0
  14. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +8 -0
  15. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +7 -0
  16. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  17. package/dist-types/commands/PutImageCommand.d.ts +15 -0
  18. package/dist-types/commands/PutRegistryCatalogDataCommand.d.ts +8 -0
  19. package/dist-types/commands/PutRepositoryCatalogDataCommand.d.ts +18 -0
  20. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +8 -0
  21. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  22. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  23. package/dist-types/commands/UploadLayerPartCommand.d.ts +9 -0
  24. package/package.json +16 -16
@@ -41,6 +41,24 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
41
41
  * };
42
42
  * const command = new BatchCheckLayerAvailabilityCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // BatchCheckLayerAvailabilityResponse
45
+ * // layers: [ // LayerList
46
+ * // { // Layer
47
+ * // layerDigest: "STRING_VALUE",
48
+ * // layerAvailability: "AVAILABLE" || "UNAVAILABLE",
49
+ * // layerSize: Number("long"),
50
+ * // mediaType: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // failures: [ // LayerFailureList
54
+ * // { // LayerFailure
55
+ * // layerDigest: "STRING_VALUE",
56
+ * // failureCode: "InvalidLayerDigest" || "MissingLayerDigest",
57
+ * // failureReason: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // };
61
+ *
44
62
  * ```
45
63
  *
46
64
  * @param BatchCheckLayerAvailabilityCommandInput - {@link BatchCheckLayerAvailabilityCommandInput}
@@ -66,6 +84,8 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
66
84
  * @throws {@link UnsupportedCommandException} (client fault)
67
85
  * <p>The action isn't supported in this Region.</p>
68
86
  *
87
+ * @throws {@link ECRPUBLICServiceException}
88
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
69
89
  *
70
90
  */
71
91
  export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -44,6 +44,25 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
44
44
  * };
45
45
  * const command = new BatchDeleteImageCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // BatchDeleteImageResponse
48
+ * // imageIds: [ // ImageIdentifierList
49
+ * // { // ImageIdentifier
50
+ * // imageDigest: "STRING_VALUE",
51
+ * // imageTag: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // failures: [ // ImageFailureList
55
+ * // { // ImageFailure
56
+ * // imageId: {
57
+ * // imageDigest: "STRING_VALUE",
58
+ * // imageTag: "STRING_VALUE",
59
+ * // },
60
+ * // failureCode: "InvalidImageDigest" || "InvalidImageTag" || "ImageTagDoesNotMatchDigest" || "ImageNotFound" || "MissingDigestAndTag" || "ImageReferencedByManifestList" || "KmsError",
61
+ * // failureReason: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
47
66
  * ```
48
67
  *
49
68
  * @param BatchDeleteImageCommandInput - {@link BatchDeleteImageCommandInput}
@@ -66,6 +85,8 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
66
85
  * @throws {@link UnsupportedCommandException} (client fault)
67
86
  * <p>The action isn't supported in this Region.</p>
68
87
  *
88
+ * @throws {@link ECRPUBLICServiceException}
89
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
69
90
  *
70
91
  */
71
92
  export declare class BatchDeleteImageCommand extends $Command<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -43,6 +43,13 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
43
43
  * };
44
44
  * const command = new CompleteLayerUploadCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // CompleteLayerUploadResponse
47
+ * // registryId: "STRING_VALUE",
48
+ * // repositoryName: "STRING_VALUE",
49
+ * // uploadId: "STRING_VALUE",
50
+ * // layerDigest: "STRING_VALUE",
51
+ * // };
52
+ *
46
53
  * ```
47
54
  *
48
55
  * @param CompleteLayerUploadCommandInput - {@link CompleteLayerUploadCommandInput}
@@ -85,6 +92,8 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
85
92
  * <p>The upload can't be found, or the specified upload ID isn't valid for this
86
93
  * repository.</p>
87
94
  *
95
+ * @throws {@link ECRPUBLICServiceException}
96
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
88
97
  *
89
98
  */
90
99
  export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -50,6 +50,29 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
50
50
  * };
51
51
  * const command = new CreateRepositoryCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // CreateRepositoryResponse
54
+ * // repository: { // Repository
55
+ * // repositoryArn: "STRING_VALUE",
56
+ * // registryId: "STRING_VALUE",
57
+ * // repositoryName: "STRING_VALUE",
58
+ * // repositoryUri: "STRING_VALUE",
59
+ * // createdAt: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // catalogData: { // RepositoryCatalogData
62
+ * // description: "STRING_VALUE",
63
+ * // architectures: [ // ArchitectureList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // operatingSystems: [ // OperatingSystemList
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // logoUrl: "STRING_VALUE",
70
+ * // aboutText: "STRING_VALUE",
71
+ * // usageText: "STRING_VALUE",
72
+ * // marketplaceCertified: true || false,
73
+ * // },
74
+ * // };
75
+ *
53
76
  * ```
54
77
  *
55
78
  * @param CreateRepositoryCommandInput - {@link CreateRepositoryCommandInput}
@@ -83,6 +106,8 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
83
106
  * @throws {@link UnsupportedCommandException} (client fault)
84
107
  * <p>The action isn't supported in this Region.</p>
85
108
  *
109
+ * @throws {@link ECRPUBLICServiceException}
110
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
86
111
  *
87
112
  */
88
113
  export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -35,6 +35,16 @@ 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
+ * // },
46
+ * // };
47
+ *
38
48
  * ```
39
49
  *
40
50
  * @param DeleteRepositoryCommandInput - {@link DeleteRepositoryCommandInput}
@@ -61,6 +71,8 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
61
71
  * @throws {@link UnsupportedCommandException} (client fault)
62
72
  * <p>The action isn't supported in this Region.</p>
63
73
  *
74
+ * @throws {@link ECRPUBLICServiceException}
75
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
64
76
  *
65
77
  */
66
78
  export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -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}
@@ -58,6 +64,8 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
58
64
  * @throws {@link UnsupportedCommandException} (client fault)
59
65
  * <p>The action isn't supported in this Region.</p>
60
66
  *
67
+ * @throws {@link ECRPUBLICServiceException}
68
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
61
69
  *
62
70
  */
63
71
  export declare class DeleteRepositoryPolicyCommand extends $Command<DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -34,6 +34,23 @@ export interface DescribeImageTagsCommandOutput extends DescribeImageTagsRespons
34
34
  * };
35
35
  * const command = new DescribeImageTagsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DescribeImageTagsResponse
38
+ * // imageTagDetails: [ // ImageTagDetailList
39
+ * // { // ImageTagDetail
40
+ * // imageTag: "STRING_VALUE",
41
+ * // createdAt: new Date("TIMESTAMP"),
42
+ * // imageDetail: { // ReferencedImageDetail
43
+ * // imageDigest: "STRING_VALUE",
44
+ * // imageSizeInBytes: Number("long"),
45
+ * // imagePushedAt: new Date("TIMESTAMP"),
46
+ * // imageManifestMediaType: "STRING_VALUE",
47
+ * // artifactMediaType: "STRING_VALUE",
48
+ * // },
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
37
54
  * ```
38
55
  *
39
56
  * @param DescribeImageTagsCommandInput - {@link DescribeImageTagsCommandInput}
@@ -56,6 +73,8 @@ export interface DescribeImageTagsCommandOutput extends DescribeImageTagsRespons
56
73
  * @throws {@link UnsupportedCommandException} (client fault)
57
74
  * <p>The action isn't supported in this Region.</p>
58
75
  *
76
+ * @throws {@link ECRPUBLICServiceException}
77
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
59
78
  *
60
79
  */
61
80
  export declare class DescribeImageTagsCommand extends $Command<DescribeImageTagsCommandInput, DescribeImageTagsCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -47,6 +47,24 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
47
47
  * };
48
48
  * const command = new DescribeImagesCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // DescribeImagesResponse
51
+ * // imageDetails: [ // ImageDetailList
52
+ * // { // ImageDetail
53
+ * // registryId: "STRING_VALUE",
54
+ * // repositoryName: "STRING_VALUE",
55
+ * // imageDigest: "STRING_VALUE",
56
+ * // imageTags: [ // ImageTagList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // imageSizeInBytes: Number("long"),
60
+ * // imagePushedAt: new Date("TIMESTAMP"),
61
+ * // imageManifestMediaType: "STRING_VALUE",
62
+ * // artifactMediaType: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // nextToken: "STRING_VALUE",
66
+ * // };
67
+ *
50
68
  * ```
51
69
  *
52
70
  * @param DescribeImagesCommandInput - {@link DescribeImagesCommandInput}
@@ -72,6 +90,8 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
72
90
  * @throws {@link UnsupportedCommandException} (client fault)
73
91
  * <p>The action isn't supported in this Region.</p>
74
92
  *
93
+ * @throws {@link ECRPUBLICServiceException}
94
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
75
95
  *
76
96
  */
77
97
  export declare class DescribeImagesCommand extends $Command<DescribeImagesCommandInput, DescribeImagesCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -32,6 +32,26 @@ export interface DescribeRegistriesCommandOutput extends DescribeRegistriesRespo
32
32
  * };
33
33
  * const command = new DescribeRegistriesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeRegistriesResponse
36
+ * // registries: [ // RegistryList // required
37
+ * // { // Registry
38
+ * // registryId: "STRING_VALUE", // required
39
+ * // registryArn: "STRING_VALUE", // required
40
+ * // registryUri: "STRING_VALUE", // required
41
+ * // verified: true || false, // required
42
+ * // aliases: [ // RegistryAliasList // required
43
+ * // { // RegistryAlias
44
+ * // name: "STRING_VALUE", // required
45
+ * // status: "ACTIVE" || "PENDING" || "REJECTED", // required
46
+ * // primaryRegistryAlias: true || false, // required
47
+ * // defaultRegistryAlias: true || false, // required
48
+ * // },
49
+ * // ],
50
+ * // },
51
+ * // ],
52
+ * // nextToken: "STRING_VALUE",
53
+ * // };
54
+ *
35
55
  * ```
36
56
  *
37
57
  * @param DescribeRegistriesCommandInput - {@link DescribeRegistriesCommandInput}
@@ -50,6 +70,8 @@ export interface DescribeRegistriesCommandOutput extends DescribeRegistriesRespo
50
70
  * @throws {@link UnsupportedCommandException} (client fault)
51
71
  * <p>The action isn't supported in this Region.</p>
52
72
  *
73
+ * @throws {@link ECRPUBLICServiceException}
74
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
53
75
  *
54
76
  */
55
77
  export declare class DescribeRegistriesCommand extends $Command<DescribeRegistriesCommandInput, DescribeRegistriesCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -36,6 +36,19 @@ 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
+ * // },
48
+ * // ],
49
+ * // nextToken: "STRING_VALUE",
50
+ * // };
51
+ *
39
52
  * ```
40
53
  *
41
54
  * @param DescribeRepositoriesCommandInput - {@link DescribeRepositoriesCommandInput}
@@ -58,6 +71,8 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
58
71
  * @throws {@link UnsupportedCommandException} (client fault)
59
72
  * <p>The action isn't supported in this Region.</p>
60
73
  *
74
+ * @throws {@link ECRPUBLICServiceException}
75
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
61
76
  *
62
77
  */
63
78
  export declare class DescribeRepositoriesCommand extends $Command<DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -33,6 +33,13 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
33
33
  * const input = {};
34
34
  * const command = new GetAuthorizationTokenCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetAuthorizationTokenResponse
37
+ * // authorizationData: { // AuthorizationData
38
+ * // authorizationToken: "STRING_VALUE",
39
+ * // expiresAt: new Date("TIMESTAMP"),
40
+ * // },
41
+ * // };
42
+ *
36
43
  * ```
37
44
  *
38
45
  * @param GetAuthorizationTokenCommandInput - {@link GetAuthorizationTokenCommandInput}
@@ -51,6 +58,8 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
51
58
  * @throws {@link UnsupportedCommandException} (client fault)
52
59
  * <p>The action isn't supported in this Region.</p>
53
60
  *
61
+ * @throws {@link ECRPUBLICServiceException}
62
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
54
63
  *
55
64
  */
56
65
  export declare class GetAuthorizationTokenCommand extends $Command<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -29,6 +29,12 @@ export interface GetRegistryCatalogDataCommandOutput extends GetRegistryCatalogD
29
29
  * const input = {};
30
30
  * const command = new GetRegistryCatalogDataCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetRegistryCatalogDataResponse
33
+ * // registryCatalogData: { // RegistryCatalogData
34
+ * // displayName: "STRING_VALUE",
35
+ * // },
36
+ * // };
37
+ *
32
38
  * ```
33
39
  *
34
40
  * @param GetRegistryCatalogDataCommandInput - {@link GetRegistryCatalogDataCommandInput}
@@ -43,6 +49,8 @@ export interface GetRegistryCatalogDataCommandOutput extends GetRegistryCatalogD
43
49
  * @throws {@link UnsupportedCommandException} (client fault)
44
50
  * <p>The action isn't supported in this Region.</p>
45
51
  *
52
+ * @throws {@link ECRPUBLICServiceException}
53
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
46
54
  *
47
55
  */
48
56
  export declare class GetRegistryCatalogDataCommand extends $Command<GetRegistryCatalogDataCommandInput, GetRegistryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -33,6 +33,22 @@ export interface GetRepositoryCatalogDataCommandOutput extends GetRepositoryCata
33
33
  * };
34
34
  * const command = new GetRepositoryCatalogDataCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetRepositoryCatalogDataResponse
37
+ * // catalogData: { // RepositoryCatalogData
38
+ * // description: "STRING_VALUE",
39
+ * // architectures: [ // ArchitectureList
40
+ * // "STRING_VALUE",
41
+ * // ],
42
+ * // operatingSystems: [ // OperatingSystemList
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // logoUrl: "STRING_VALUE",
46
+ * // aboutText: "STRING_VALUE",
47
+ * // usageText: "STRING_VALUE",
48
+ * // marketplaceCertified: true || false,
49
+ * // },
50
+ * // };
51
+ *
36
52
  * ```
37
53
  *
38
54
  * @param GetRepositoryCatalogDataCommandInput - {@link GetRepositoryCatalogDataCommandInput}
@@ -58,6 +74,8 @@ export interface GetRepositoryCatalogDataCommandOutput extends GetRepositoryCata
58
74
  * @throws {@link UnsupportedCommandException} (client fault)
59
75
  * <p>The action isn't supported in this Region.</p>
60
76
  *
77
+ * @throws {@link ECRPUBLICServiceException}
78
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
61
79
  *
62
80
  */
63
81
  export declare class GetRepositoryCatalogDataCommand extends $Command<GetRepositoryCatalogDataCommandInput, GetRepositoryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -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}
@@ -58,6 +64,8 @@ export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyRes
58
64
  * @throws {@link UnsupportedCommandException} (client fault)
59
65
  * <p>The action isn't supported in this Region.</p>
60
66
  *
67
+ * @throws {@link ECRPUBLICServiceException}
68
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
61
69
  *
62
70
  */
63
71
  export declare class GetRepositoryPolicyCommand extends $Command<GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -38,6 +38,11 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
38
38
  * };
39
39
  * const command = new InitiateLayerUploadCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // InitiateLayerUploadResponse
42
+ * // uploadId: "STRING_VALUE",
43
+ * // partSize: Number("long"),
44
+ * // };
45
+ *
41
46
  * ```
42
47
  *
43
48
  * @param InitiateLayerUploadCommandInput - {@link InitiateLayerUploadCommandInput}
@@ -63,6 +68,8 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
63
68
  * @throws {@link UnsupportedCommandException} (client fault)
64
69
  * <p>The action isn't supported in this Region.</p>
65
70
  *
71
+ * @throws {@link ECRPUBLICServiceException}
72
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
66
73
  *
67
74
  */
68
75
  export declare class InitiateLayerUploadCommand extends $Command<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -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}
@@ -53,6 +62,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
53
62
  * @throws {@link UnsupportedCommandException} (client fault)
54
63
  * <p>The action isn't supported in this Region.</p>
55
64
  *
65
+ * @throws {@link ECRPUBLICServiceException}
66
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
56
67
  *
57
68
  */
58
69
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -42,6 +42,19 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
42
42
  * };
43
43
  * const command = new PutImageCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // PutImageResponse
46
+ * // image: { // Image
47
+ * // registryId: "STRING_VALUE",
48
+ * // repositoryName: "STRING_VALUE",
49
+ * // imageId: { // ImageIdentifier
50
+ * // imageDigest: "STRING_VALUE",
51
+ * // imageTag: "STRING_VALUE",
52
+ * // },
53
+ * // imageManifest: "STRING_VALUE",
54
+ * // imageManifestMediaType: "STRING_VALUE",
55
+ * // },
56
+ * // };
57
+ *
45
58
  * ```
46
59
  *
47
60
  * @param PutImageCommandInput - {@link PutImageCommandInput}
@@ -91,6 +104,8 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
91
104
  * @throws {@link UnsupportedCommandException} (client fault)
92
105
  * <p>The action isn't supported in this Region.</p>
93
106
  *
107
+ * @throws {@link ECRPUBLICServiceException}
108
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
94
109
  *
95
110
  */
96
111
  export declare class PutImageCommand extends $Command<PutImageCommandInput, PutImageCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface PutRegistryCatalogDataCommandOutput extends PutRegistryCatalogD
31
31
  * };
32
32
  * const command = new PutRegistryCatalogDataCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // PutRegistryCatalogDataResponse
35
+ * // registryCatalogData: { // RegistryCatalogData
36
+ * // displayName: "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param PutRegistryCatalogDataCommandInput - {@link PutRegistryCatalogDataCommandInput}
@@ -49,6 +55,8 @@ export interface PutRegistryCatalogDataCommandOutput extends PutRegistryCatalogD
49
55
  * @throws {@link UnsupportedCommandException} (client fault)
50
56
  * <p>The action isn't supported in this Region.</p>
51
57
  *
58
+ * @throws {@link ECRPUBLICServiceException}
59
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
52
60
  *
53
61
  */
54
62
  export declare class PutRegistryCatalogDataCommand extends $Command<PutRegistryCatalogDataCommandInput, PutRegistryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -44,6 +44,22 @@ export interface PutRepositoryCatalogDataCommandOutput extends PutRepositoryCata
44
44
  * };
45
45
  * const command = new PutRepositoryCatalogDataCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // PutRepositoryCatalogDataResponse
48
+ * // catalogData: { // RepositoryCatalogData
49
+ * // description: "STRING_VALUE",
50
+ * // architectures: [ // ArchitectureList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // operatingSystems: [ // OperatingSystemList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // logoUrl: "STRING_VALUE",
57
+ * // aboutText: "STRING_VALUE",
58
+ * // usageText: "STRING_VALUE",
59
+ * // marketplaceCertified: true || false,
60
+ * // },
61
+ * // };
62
+ *
47
63
  * ```
48
64
  *
49
65
  * @param PutRepositoryCatalogDataCommandInput - {@link PutRepositoryCatalogDataCommandInput}
@@ -66,6 +82,8 @@ export interface PutRepositoryCatalogDataCommandOutput extends PutRepositoryCata
66
82
  * @throws {@link UnsupportedCommandException} (client fault)
67
83
  * <p>The action isn't supported in this Region.</p>
68
84
  *
85
+ * @throws {@link ECRPUBLICServiceException}
86
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
69
87
  *
70
88
  */
71
89
  export declare class PutRepositoryCatalogDataCommand extends $Command<PutRepositoryCatalogDataCommandInput, PutRepositoryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -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}
@@ -58,6 +64,8 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
58
64
  * @throws {@link UnsupportedCommandException} (client fault)
59
65
  * <p>The action isn't supported in this Region.</p>
60
66
  *
67
+ * @throws {@link ECRPUBLICServiceException}
68
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
61
69
  *
62
70
  */
63
71
  export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
40
40
  * };
41
41
  * const command = new TagResourceCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -69,6 +71,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
69
71
  * @throws {@link UnsupportedCommandException} (client fault)
70
72
  * <p>The action isn't supported in this Region.</p>
71
73
  *
74
+ * @throws {@link ECRPUBLICServiceException}
75
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
72
76
  *
73
77
  */
74
78
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -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}
@@ -63,6 +65,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
63
65
  * @throws {@link UnsupportedCommandException} (client fault)
64
66
  * <p>The action isn't supported in this Region.</p>
65
67
  *
68
+ * @throws {@link ECRPUBLICServiceException}
69
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
66
70
  *
67
71
  */
68
72
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRPUBLICClientResolvedConfig> {
@@ -42,6 +42,13 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
42
42
  * };
43
43
  * const command = new UploadLayerPartCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // UploadLayerPartResponse
46
+ * // registryId: "STRING_VALUE",
47
+ * // repositoryName: "STRING_VALUE",
48
+ * // uploadId: "STRING_VALUE",
49
+ * // lastByteReceived: Number("long"),
50
+ * // };
51
+ *
45
52
  * ```
46
53
  *
47
54
  * @param UploadLayerPartCommandInput - {@link UploadLayerPartCommandInput}
@@ -80,6 +87,8 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
80
87
  * <p>The upload can't be found, or the specified upload ID isn't valid for this
81
88
  * repository.</p>
82
89
  *
90
+ * @throws {@link ECRPUBLICServiceException}
91
+ * <p>Base exception class for all service exceptions from ECRPUBLIC service.</p>
83
92
  *
84
93
  */
85
94
  export declare class UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRPUBLICClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecr-public",
3
3
  "description": "AWS SDK for JavaScript Ecr Public Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",