@aws-sdk/client-ecr 3.168.0 → 3.170.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 (67) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/ECR.d.ts +748 -210
  3. package/dist-types/ts3.4/ECRClient.d.ts +374 -114
  4. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +41 -17
  5. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +37 -17
  6. package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +37 -17
  7. package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +38 -17
  9. package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +37 -17
  11. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +37 -17
  15. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +41 -17
  16. package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +41 -17
  18. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +41 -17
  20. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +37 -17
  21. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +41 -17
  22. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +41 -17
  23. package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +38 -17
  25. package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +38 -17
  27. package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +41 -17
  28. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +38 -17
  29. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +38 -17
  30. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +34 -17
  31. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  32. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +41 -17
  34. package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +41 -17
  35. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +38 -17
  36. package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +38 -17
  37. package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +41 -17
  38. package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +41 -17
  39. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +38 -17
  40. package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +37 -17
  41. package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +41 -17
  42. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  43. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  44. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +37 -17
  45. package/dist-types/ts3.4/commands/index.d.ts +41 -41
  46. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  47. package/dist-types/ts3.4/index.d.ts +7 -7
  48. package/dist-types/ts3.4/models/ECRServiceException.d.ts +8 -6
  49. package/dist-types/ts3.4/models/index.d.ts +1 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +1835 -1637
  51. package/dist-types/ts3.4/pagination/DescribeImageScanFindingsPaginator.d.ts +11 -4
  52. package/dist-types/ts3.4/pagination/DescribeImagesPaginator.d.ts +11 -4
  53. package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/DescribeRepositoriesPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  57. package/dist-types/ts3.4/pagination/ListImagesPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/index.d.ts +7 -7
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +497 -125
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  64. package/dist-types/ts3.4/waiters/index.d.ts +2 -2
  65. package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +13 -7
  66. package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +13 -7
  67. package/package.json +35 -35
@@ -1,114 +1,374 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
10
- import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
11
- import { BatchGetImageCommandInput, BatchGetImageCommandOutput } from "./commands/BatchGetImageCommand";
12
- import { BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput } from "./commands/BatchGetRepositoryScanningConfigurationCommand";
13
- import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "./commands/CompleteLayerUploadCommand";
14
- import { CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput } from "./commands/CreatePullThroughCacheRuleCommand";
15
- import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
16
- import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
17
- import { DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput } from "./commands/DeletePullThroughCacheRuleCommand";
18
- import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "./commands/DeleteRegistryPolicyCommand";
19
- import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
20
- import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "./commands/DeleteRepositoryPolicyCommand";
21
- import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "./commands/DescribeImageReplicationStatusCommand";
22
- import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "./commands/DescribeImageScanFindingsCommand";
23
- import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
24
- import { DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput } from "./commands/DescribePullThroughCacheRulesCommand";
25
- import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
26
- import { DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput } from "./commands/DescribeRepositoriesCommand";
27
- import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
28
- import { GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput } from "./commands/GetDownloadUrlForLayerCommand";
29
- import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
30
- import { GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput } from "./commands/GetLifecyclePolicyPreviewCommand";
31
- import { GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput } from "./commands/GetRegistryPolicyCommand";
32
- import { GetRegistryScanningConfigurationCommandInput, GetRegistryScanningConfigurationCommandOutput } from "./commands/GetRegistryScanningConfigurationCommand";
33
- import { GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput } from "./commands/GetRepositoryPolicyCommand";
34
- import { InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput } from "./commands/InitiateLayerUploadCommand";
35
- import { ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
36
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
37
- import { PutImageCommandInput, PutImageCommandOutput } from "./commands/PutImageCommand";
38
- import { PutImageScanningConfigurationCommandInput, PutImageScanningConfigurationCommandOutput } from "./commands/PutImageScanningConfigurationCommand";
39
- import { PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput } from "./commands/PutImageTagMutabilityCommand";
40
- import { PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput } from "./commands/PutLifecyclePolicyCommand";
41
- import { PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput } from "./commands/PutRegistryPolicyCommand";
42
- import { PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput } from "./commands/PutRegistryScanningConfigurationCommand";
43
- import { PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput } from "./commands/PutReplicationConfigurationCommand";
44
- import { SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput } from "./commands/SetRepositoryPolicyCommand";
45
- import { StartImageScanCommandInput, StartImageScanCommandOutput } from "./commands/StartImageScanCommand";
46
- import { StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput } from "./commands/StartLifecyclePolicyPreviewCommand";
47
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
48
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
49
- import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
50
- export declare type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | BatchGetRepositoryScanningConfigurationCommandInput | CompleteLayerUploadCommandInput | CreatePullThroughCacheRuleCommandInput | CreateRepositoryCommandInput | DeleteLifecyclePolicyCommandInput | DeletePullThroughCacheRuleCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageReplicationStatusCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribePullThroughCacheRulesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRegistryScanningConfigurationCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutRegistryScanningConfigurationCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
51
- export declare type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | BatchGetRepositoryScanningConfigurationCommandOutput | CompleteLayerUploadCommandOutput | CreatePullThroughCacheRuleCommandOutput | CreateRepositoryCommandOutput | DeleteLifecyclePolicyCommandOutput | DeletePullThroughCacheRuleCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageReplicationStatusCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribePullThroughCacheRulesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRegistryScanningConfigurationCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutRegistryScanningConfigurationCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
52
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
53
-
54
- requestHandler?: __HttpHandler;
55
-
56
- sha256?: __HashConstructor;
57
-
58
- urlParser?: __UrlParser;
59
-
60
- bodyLengthChecker?: __BodyLengthCalculator;
61
-
62
- streamCollector?: __StreamCollector;
63
-
64
- base64Decoder?: __Decoder;
65
-
66
- base64Encoder?: __Encoder;
67
-
68
- utf8Decoder?: __Decoder;
69
-
70
- utf8Encoder?: __Encoder;
71
-
72
- runtime?: string;
73
-
74
- disableHostPrefix?: boolean;
75
-
76
- maxAttempts?: number | __Provider<number>;
77
-
78
- retryMode?: string | __Provider<string>;
79
-
80
- logger?: __Logger;
81
-
82
- useDualstackEndpoint?: boolean | __Provider<boolean>;
83
-
84
- useFipsEndpoint?: boolean | __Provider<boolean>;
85
-
86
- serviceId?: string;
87
-
88
- region?: string | __Provider<string>;
89
-
90
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
91
-
92
- regionInfoProvider?: RegionInfoProvider;
93
-
94
- defaultUserAgentProvider?: Provider<__UserAgent>;
95
-
96
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
97
- }
98
- declare type ECRClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
99
-
100
- export interface ECRClientConfig extends ECRClientConfigType {
101
- }
102
- declare type ECRClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
103
-
104
- export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {
105
- }
106
-
107
- export declare class ECRClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECRClientResolvedConfig> {
108
-
109
- readonly config: ECRClientResolvedConfig;
110
- constructor(configuration: ECRClientConfig);
111
-
112
- destroy(): void;
113
- }
114
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ BatchCheckLayerAvailabilityCommandInput,
47
+ BatchCheckLayerAvailabilityCommandOutput,
48
+ } from "./commands/BatchCheckLayerAvailabilityCommand";
49
+ import {
50
+ BatchDeleteImageCommandInput,
51
+ BatchDeleteImageCommandOutput,
52
+ } from "./commands/BatchDeleteImageCommand";
53
+ import {
54
+ BatchGetImageCommandInput,
55
+ BatchGetImageCommandOutput,
56
+ } from "./commands/BatchGetImageCommand";
57
+ import {
58
+ BatchGetRepositoryScanningConfigurationCommandInput,
59
+ BatchGetRepositoryScanningConfigurationCommandOutput,
60
+ } from "./commands/BatchGetRepositoryScanningConfigurationCommand";
61
+ import {
62
+ CompleteLayerUploadCommandInput,
63
+ CompleteLayerUploadCommandOutput,
64
+ } from "./commands/CompleteLayerUploadCommand";
65
+ import {
66
+ CreatePullThroughCacheRuleCommandInput,
67
+ CreatePullThroughCacheRuleCommandOutput,
68
+ } from "./commands/CreatePullThroughCacheRuleCommand";
69
+ import {
70
+ CreateRepositoryCommandInput,
71
+ CreateRepositoryCommandOutput,
72
+ } from "./commands/CreateRepositoryCommand";
73
+ import {
74
+ DeleteLifecyclePolicyCommandInput,
75
+ DeleteLifecyclePolicyCommandOutput,
76
+ } from "./commands/DeleteLifecyclePolicyCommand";
77
+ import {
78
+ DeletePullThroughCacheRuleCommandInput,
79
+ DeletePullThroughCacheRuleCommandOutput,
80
+ } from "./commands/DeletePullThroughCacheRuleCommand";
81
+ import {
82
+ DeleteRegistryPolicyCommandInput,
83
+ DeleteRegistryPolicyCommandOutput,
84
+ } from "./commands/DeleteRegistryPolicyCommand";
85
+ import {
86
+ DeleteRepositoryCommandInput,
87
+ DeleteRepositoryCommandOutput,
88
+ } from "./commands/DeleteRepositoryCommand";
89
+ import {
90
+ DeleteRepositoryPolicyCommandInput,
91
+ DeleteRepositoryPolicyCommandOutput,
92
+ } from "./commands/DeleteRepositoryPolicyCommand";
93
+ import {
94
+ DescribeImageReplicationStatusCommandInput,
95
+ DescribeImageReplicationStatusCommandOutput,
96
+ } from "./commands/DescribeImageReplicationStatusCommand";
97
+ import {
98
+ DescribeImageScanFindingsCommandInput,
99
+ DescribeImageScanFindingsCommandOutput,
100
+ } from "./commands/DescribeImageScanFindingsCommand";
101
+ import {
102
+ DescribeImagesCommandInput,
103
+ DescribeImagesCommandOutput,
104
+ } from "./commands/DescribeImagesCommand";
105
+ import {
106
+ DescribePullThroughCacheRulesCommandInput,
107
+ DescribePullThroughCacheRulesCommandOutput,
108
+ } from "./commands/DescribePullThroughCacheRulesCommand";
109
+ import {
110
+ DescribeRegistryCommandInput,
111
+ DescribeRegistryCommandOutput,
112
+ } from "./commands/DescribeRegistryCommand";
113
+ import {
114
+ DescribeRepositoriesCommandInput,
115
+ DescribeRepositoriesCommandOutput,
116
+ } from "./commands/DescribeRepositoriesCommand";
117
+ import {
118
+ GetAuthorizationTokenCommandInput,
119
+ GetAuthorizationTokenCommandOutput,
120
+ } from "./commands/GetAuthorizationTokenCommand";
121
+ import {
122
+ GetDownloadUrlForLayerCommandInput,
123
+ GetDownloadUrlForLayerCommandOutput,
124
+ } from "./commands/GetDownloadUrlForLayerCommand";
125
+ import {
126
+ GetLifecyclePolicyCommandInput,
127
+ GetLifecyclePolicyCommandOutput,
128
+ } from "./commands/GetLifecyclePolicyCommand";
129
+ import {
130
+ GetLifecyclePolicyPreviewCommandInput,
131
+ GetLifecyclePolicyPreviewCommandOutput,
132
+ } from "./commands/GetLifecyclePolicyPreviewCommand";
133
+ import {
134
+ GetRegistryPolicyCommandInput,
135
+ GetRegistryPolicyCommandOutput,
136
+ } from "./commands/GetRegistryPolicyCommand";
137
+ import {
138
+ GetRegistryScanningConfigurationCommandInput,
139
+ GetRegistryScanningConfigurationCommandOutput,
140
+ } from "./commands/GetRegistryScanningConfigurationCommand";
141
+ import {
142
+ GetRepositoryPolicyCommandInput,
143
+ GetRepositoryPolicyCommandOutput,
144
+ } from "./commands/GetRepositoryPolicyCommand";
145
+ import {
146
+ InitiateLayerUploadCommandInput,
147
+ InitiateLayerUploadCommandOutput,
148
+ } from "./commands/InitiateLayerUploadCommand";
149
+ import {
150
+ ListImagesCommandInput,
151
+ ListImagesCommandOutput,
152
+ } from "./commands/ListImagesCommand";
153
+ import {
154
+ ListTagsForResourceCommandInput,
155
+ ListTagsForResourceCommandOutput,
156
+ } from "./commands/ListTagsForResourceCommand";
157
+ import {
158
+ PutImageCommandInput,
159
+ PutImageCommandOutput,
160
+ } from "./commands/PutImageCommand";
161
+ import {
162
+ PutImageScanningConfigurationCommandInput,
163
+ PutImageScanningConfigurationCommandOutput,
164
+ } from "./commands/PutImageScanningConfigurationCommand";
165
+ import {
166
+ PutImageTagMutabilityCommandInput,
167
+ PutImageTagMutabilityCommandOutput,
168
+ } from "./commands/PutImageTagMutabilityCommand";
169
+ import {
170
+ PutLifecyclePolicyCommandInput,
171
+ PutLifecyclePolicyCommandOutput,
172
+ } from "./commands/PutLifecyclePolicyCommand";
173
+ import {
174
+ PutRegistryPolicyCommandInput,
175
+ PutRegistryPolicyCommandOutput,
176
+ } from "./commands/PutRegistryPolicyCommand";
177
+ import {
178
+ PutRegistryScanningConfigurationCommandInput,
179
+ PutRegistryScanningConfigurationCommandOutput,
180
+ } from "./commands/PutRegistryScanningConfigurationCommand";
181
+ import {
182
+ PutReplicationConfigurationCommandInput,
183
+ PutReplicationConfigurationCommandOutput,
184
+ } from "./commands/PutReplicationConfigurationCommand";
185
+ import {
186
+ SetRepositoryPolicyCommandInput,
187
+ SetRepositoryPolicyCommandOutput,
188
+ } from "./commands/SetRepositoryPolicyCommand";
189
+ import {
190
+ StartImageScanCommandInput,
191
+ StartImageScanCommandOutput,
192
+ } from "./commands/StartImageScanCommand";
193
+ import {
194
+ StartLifecyclePolicyPreviewCommandInput,
195
+ StartLifecyclePolicyPreviewCommandOutput,
196
+ } from "./commands/StartLifecyclePolicyPreviewCommand";
197
+ import {
198
+ TagResourceCommandInput,
199
+ TagResourceCommandOutput,
200
+ } from "./commands/TagResourceCommand";
201
+ import {
202
+ UntagResourceCommandInput,
203
+ UntagResourceCommandOutput,
204
+ } from "./commands/UntagResourceCommand";
205
+ import {
206
+ UploadLayerPartCommandInput,
207
+ UploadLayerPartCommandOutput,
208
+ } from "./commands/UploadLayerPartCommand";
209
+ export declare type ServiceInputTypes =
210
+ | BatchCheckLayerAvailabilityCommandInput
211
+ | BatchDeleteImageCommandInput
212
+ | BatchGetImageCommandInput
213
+ | BatchGetRepositoryScanningConfigurationCommandInput
214
+ | CompleteLayerUploadCommandInput
215
+ | CreatePullThroughCacheRuleCommandInput
216
+ | CreateRepositoryCommandInput
217
+ | DeleteLifecyclePolicyCommandInput
218
+ | DeletePullThroughCacheRuleCommandInput
219
+ | DeleteRegistryPolicyCommandInput
220
+ | DeleteRepositoryCommandInput
221
+ | DeleteRepositoryPolicyCommandInput
222
+ | DescribeImageReplicationStatusCommandInput
223
+ | DescribeImageScanFindingsCommandInput
224
+ | DescribeImagesCommandInput
225
+ | DescribePullThroughCacheRulesCommandInput
226
+ | DescribeRegistryCommandInput
227
+ | DescribeRepositoriesCommandInput
228
+ | GetAuthorizationTokenCommandInput
229
+ | GetDownloadUrlForLayerCommandInput
230
+ | GetLifecyclePolicyCommandInput
231
+ | GetLifecyclePolicyPreviewCommandInput
232
+ | GetRegistryPolicyCommandInput
233
+ | GetRegistryScanningConfigurationCommandInput
234
+ | GetRepositoryPolicyCommandInput
235
+ | InitiateLayerUploadCommandInput
236
+ | ListImagesCommandInput
237
+ | ListTagsForResourceCommandInput
238
+ | PutImageCommandInput
239
+ | PutImageScanningConfigurationCommandInput
240
+ | PutImageTagMutabilityCommandInput
241
+ | PutLifecyclePolicyCommandInput
242
+ | PutRegistryPolicyCommandInput
243
+ | PutRegistryScanningConfigurationCommandInput
244
+ | PutReplicationConfigurationCommandInput
245
+ | SetRepositoryPolicyCommandInput
246
+ | StartImageScanCommandInput
247
+ | StartLifecyclePolicyPreviewCommandInput
248
+ | TagResourceCommandInput
249
+ | UntagResourceCommandInput
250
+ | UploadLayerPartCommandInput;
251
+ export declare type ServiceOutputTypes =
252
+ | BatchCheckLayerAvailabilityCommandOutput
253
+ | BatchDeleteImageCommandOutput
254
+ | BatchGetImageCommandOutput
255
+ | BatchGetRepositoryScanningConfigurationCommandOutput
256
+ | CompleteLayerUploadCommandOutput
257
+ | CreatePullThroughCacheRuleCommandOutput
258
+ | CreateRepositoryCommandOutput
259
+ | DeleteLifecyclePolicyCommandOutput
260
+ | DeletePullThroughCacheRuleCommandOutput
261
+ | DeleteRegistryPolicyCommandOutput
262
+ | DeleteRepositoryCommandOutput
263
+ | DeleteRepositoryPolicyCommandOutput
264
+ | DescribeImageReplicationStatusCommandOutput
265
+ | DescribeImageScanFindingsCommandOutput
266
+ | DescribeImagesCommandOutput
267
+ | DescribePullThroughCacheRulesCommandOutput
268
+ | DescribeRegistryCommandOutput
269
+ | DescribeRepositoriesCommandOutput
270
+ | GetAuthorizationTokenCommandOutput
271
+ | GetDownloadUrlForLayerCommandOutput
272
+ | GetLifecyclePolicyCommandOutput
273
+ | GetLifecyclePolicyPreviewCommandOutput
274
+ | GetRegistryPolicyCommandOutput
275
+ | GetRegistryScanningConfigurationCommandOutput
276
+ | GetRepositoryPolicyCommandOutput
277
+ | InitiateLayerUploadCommandOutput
278
+ | ListImagesCommandOutput
279
+ | ListTagsForResourceCommandOutput
280
+ | PutImageCommandOutput
281
+ | PutImageScanningConfigurationCommandOutput
282
+ | PutImageTagMutabilityCommandOutput
283
+ | PutLifecyclePolicyCommandOutput
284
+ | PutRegistryPolicyCommandOutput
285
+ | PutRegistryScanningConfigurationCommandOutput
286
+ | PutReplicationConfigurationCommandOutput
287
+ | SetRepositoryPolicyCommandOutput
288
+ | StartImageScanCommandOutput
289
+ | StartLifecyclePolicyPreviewCommandOutput
290
+ | TagResourceCommandOutput
291
+ | UntagResourceCommandOutput
292
+ | UploadLayerPartCommandOutput;
293
+ export interface ClientDefaults
294
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
295
+ requestHandler?: __HttpHandler;
296
+
297
+ sha256?: __HashConstructor;
298
+
299
+ urlParser?: __UrlParser;
300
+
301
+ bodyLengthChecker?: __BodyLengthCalculator;
302
+
303
+ streamCollector?: __StreamCollector;
304
+
305
+ base64Decoder?: __Decoder;
306
+
307
+ base64Encoder?: __Encoder;
308
+
309
+ utf8Decoder?: __Decoder;
310
+
311
+ utf8Encoder?: __Encoder;
312
+
313
+ runtime?: string;
314
+
315
+ disableHostPrefix?: boolean;
316
+
317
+ maxAttempts?: number | __Provider<number>;
318
+
319
+ retryMode?: string | __Provider<string>;
320
+
321
+ logger?: __Logger;
322
+
323
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
324
+
325
+ useFipsEndpoint?: boolean | __Provider<boolean>;
326
+
327
+ serviceId?: string;
328
+
329
+ region?: string | __Provider<string>;
330
+
331
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
332
+
333
+ regionInfoProvider?: RegionInfoProvider;
334
+
335
+ defaultUserAgentProvider?: Provider<__UserAgent>;
336
+
337
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
338
+ }
339
+ declare type ECRClientConfigType = Partial<
340
+ __SmithyConfiguration<__HttpHandlerOptions>
341
+ > &
342
+ ClientDefaults &
343
+ RegionInputConfig &
344
+ EndpointsInputConfig &
345
+ RetryInputConfig &
346
+ HostHeaderInputConfig &
347
+ AwsAuthInputConfig &
348
+ UserAgentInputConfig;
349
+
350
+ export interface ECRClientConfig extends ECRClientConfigType {}
351
+ declare type ECRClientResolvedConfigType =
352
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
353
+ Required<ClientDefaults> &
354
+ RegionResolvedConfig &
355
+ EndpointsResolvedConfig &
356
+ RetryResolvedConfig &
357
+ HostHeaderResolvedConfig &
358
+ AwsAuthResolvedConfig &
359
+ UserAgentResolvedConfig;
360
+
361
+ export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {}
362
+
363
+ export declare class ECRClient extends __Client<
364
+ __HttpHandlerOptions,
365
+ ServiceInputTypes,
366
+ ServiceOutputTypes,
367
+ ECRClientResolvedConfig
368
+ > {
369
+ readonly config: ECRClientResolvedConfig;
370
+ constructor(configuration: ECRClientConfig);
371
+
372
+ destroy(): void;
373
+ }
374
+ export {};
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
4
- import { BatchCheckLayerAvailabilityRequest, BatchCheckLayerAvailabilityResponse } from "../models/models_0";
5
- export interface BatchCheckLayerAvailabilityCommandInput extends BatchCheckLayerAvailabilityRequest {
6
- }
7
- export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLayerAvailabilityResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRClientResolvedConfig> {
11
- readonly input: BatchCheckLayerAvailabilityCommandInput;
12
- constructor(input: BatchCheckLayerAvailabilityCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ECRClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../ECRClient";
13
+ import {
14
+ BatchCheckLayerAvailabilityRequest,
15
+ BatchCheckLayerAvailabilityResponse,
16
+ } from "../models/models_0";
17
+ export interface BatchCheckLayerAvailabilityCommandInput
18
+ extends BatchCheckLayerAvailabilityRequest {}
19
+ export interface BatchCheckLayerAvailabilityCommandOutput
20
+ extends BatchCheckLayerAvailabilityResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class BatchCheckLayerAvailabilityCommand extends $Command<
24
+ BatchCheckLayerAvailabilityCommandInput,
25
+ BatchCheckLayerAvailabilityCommandOutput,
26
+ ECRClientResolvedConfig
27
+ > {
28
+ readonly input: BatchCheckLayerAvailabilityCommandInput;
29
+ constructor(input: BatchCheckLayerAvailabilityCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ECRClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ BatchCheckLayerAvailabilityCommandInput,
37
+ BatchCheckLayerAvailabilityCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,37 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
4
- import { BatchDeleteImageRequest, BatchDeleteImageResponse } from "../models/models_0";
5
- export interface BatchDeleteImageCommandInput extends BatchDeleteImageRequest {
6
- }
7
- export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class BatchDeleteImageCommand extends $Command<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput, ECRClientResolvedConfig> {
11
- readonly input: BatchDeleteImageCommandInput;
12
- constructor(input: BatchDeleteImageCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ECRClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../ECRClient";
13
+ import {
14
+ BatchDeleteImageRequest,
15
+ BatchDeleteImageResponse,
16
+ } from "../models/models_0";
17
+ export interface BatchDeleteImageCommandInput extends BatchDeleteImageRequest {}
18
+ export interface BatchDeleteImageCommandOutput
19
+ extends BatchDeleteImageResponse,
20
+ __MetadataBearer {}
21
+
22
+ export declare class BatchDeleteImageCommand extends $Command<
23
+ BatchDeleteImageCommandInput,
24
+ BatchDeleteImageCommandOutput,
25
+ ECRClientResolvedConfig
26
+ > {
27
+ readonly input: BatchDeleteImageCommandInput;
28
+ constructor(input: BatchDeleteImageCommandInput);
29
+
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: ECRClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }