aws-sdk-ecr 1.3.0 → 1.69.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,769 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ECR
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchCheckLayerAvailabilityResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchCheckLayerAvailabilityResponse]
78
+ def layers: () -> ::Array[Types::Layer]
79
+ def failures: () -> ::Array[Types::LayerFailure]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#batch_check_layer_availability-instance_method
82
+ def batch_check_layer_availability: (
83
+ ?registry_id: ::String,
84
+ repository_name: ::String,
85
+ layer_digests: Array[::String]
86
+ ) -> _BatchCheckLayerAvailabilityResponseSuccess
87
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCheckLayerAvailabilityResponseSuccess
88
+
89
+ interface _BatchDeleteImageResponseSuccess
90
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteImageResponse]
91
+ def image_ids: () -> ::Array[Types::ImageIdentifier]
92
+ def failures: () -> ::Array[Types::ImageFailure]
93
+ end
94
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#batch_delete_image-instance_method
95
+ def batch_delete_image: (
96
+ ?registry_id: ::String,
97
+ repository_name: ::String,
98
+ image_ids: Array[
99
+ {
100
+ image_digest: ::String?,
101
+ image_tag: ::String?
102
+ },
103
+ ]
104
+ ) -> _BatchDeleteImageResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteImageResponseSuccess
106
+
107
+ interface _BatchGetImageResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetImageResponse]
109
+ def images: () -> ::Array[Types::Image]
110
+ def failures: () -> ::Array[Types::ImageFailure]
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#batch_get_image-instance_method
113
+ def batch_get_image: (
114
+ ?registry_id: ::String,
115
+ repository_name: ::String,
116
+ image_ids: Array[
117
+ {
118
+ image_digest: ::String?,
119
+ image_tag: ::String?
120
+ },
121
+ ],
122
+ ?accepted_media_types: Array[::String]
123
+ ) -> _BatchGetImageResponseSuccess
124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetImageResponseSuccess
125
+
126
+ interface _BatchGetRepositoryScanningConfigurationResponseSuccess
127
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetRepositoryScanningConfigurationResponse]
128
+ def scanning_configurations: () -> ::Array[Types::RepositoryScanningConfiguration]
129
+ def failures: () -> ::Array[Types::RepositoryScanningConfigurationFailure]
130
+ end
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#batch_get_repository_scanning_configuration-instance_method
132
+ def batch_get_repository_scanning_configuration: (
133
+ repository_names: Array[::String]
134
+ ) -> _BatchGetRepositoryScanningConfigurationResponseSuccess
135
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetRepositoryScanningConfigurationResponseSuccess
136
+
137
+ interface _CompleteLayerUploadResponseSuccess
138
+ include ::Seahorse::Client::_ResponseSuccess[Types::CompleteLayerUploadResponse]
139
+ def registry_id: () -> ::String
140
+ def repository_name: () -> ::String
141
+ def upload_id: () -> ::String
142
+ def layer_digest: () -> ::String
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#complete_layer_upload-instance_method
145
+ def complete_layer_upload: (
146
+ ?registry_id: ::String,
147
+ repository_name: ::String,
148
+ upload_id: ::String,
149
+ layer_digests: Array[::String]
150
+ ) -> _CompleteLayerUploadResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteLayerUploadResponseSuccess
152
+
153
+ interface _CreatePullThroughCacheRuleResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePullThroughCacheRuleResponse]
155
+ def ecr_repository_prefix: () -> ::String
156
+ def upstream_registry_url: () -> ::String
157
+ def created_at: () -> ::Time
158
+ def registry_id: () -> ::String
159
+ def upstream_registry: () -> ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
160
+ def credential_arn: () -> ::String
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#create_pull_through_cache_rule-instance_method
163
+ def create_pull_through_cache_rule: (
164
+ ecr_repository_prefix: ::String,
165
+ upstream_registry_url: ::String,
166
+ ?registry_id: ::String,
167
+ ?upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry"),
168
+ ?credential_arn: ::String
169
+ ) -> _CreatePullThroughCacheRuleResponseSuccess
170
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePullThroughCacheRuleResponseSuccess
171
+
172
+ interface _CreateRepositoryResponseSuccess
173
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRepositoryResponse]
174
+ def repository: () -> Types::Repository
175
+ end
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#create_repository-instance_method
177
+ def create_repository: (
178
+ ?registry_id: ::String,
179
+ repository_name: ::String,
180
+ ?tags: Array[
181
+ {
182
+ key: ::String,
183
+ value: ::String
184
+ },
185
+ ],
186
+ ?image_tag_mutability: ("MUTABLE" | "IMMUTABLE"),
187
+ ?image_scanning_configuration: {
188
+ scan_on_push: bool?
189
+ },
190
+ ?encryption_configuration: {
191
+ encryption_type: ("AES256" | "KMS"),
192
+ kms_key: ::String?
193
+ }
194
+ ) -> _CreateRepositoryResponseSuccess
195
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRepositoryResponseSuccess
196
+
197
+ interface _DeleteLifecyclePolicyResponseSuccess
198
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLifecyclePolicyResponse]
199
+ def registry_id: () -> ::String
200
+ def repository_name: () -> ::String
201
+ def lifecycle_policy_text: () -> ::String
202
+ def last_evaluated_at: () -> ::Time
203
+ end
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_lifecycle_policy-instance_method
205
+ def delete_lifecycle_policy: (
206
+ ?registry_id: ::String,
207
+ repository_name: ::String
208
+ ) -> _DeleteLifecyclePolicyResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLifecyclePolicyResponseSuccess
210
+
211
+ interface _DeletePullThroughCacheRuleResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePullThroughCacheRuleResponse]
213
+ def ecr_repository_prefix: () -> ::String
214
+ def upstream_registry_url: () -> ::String
215
+ def created_at: () -> ::Time
216
+ def registry_id: () -> ::String
217
+ def credential_arn: () -> ::String
218
+ end
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_pull_through_cache_rule-instance_method
220
+ def delete_pull_through_cache_rule: (
221
+ ecr_repository_prefix: ::String,
222
+ ?registry_id: ::String
223
+ ) -> _DeletePullThroughCacheRuleResponseSuccess
224
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePullThroughCacheRuleResponseSuccess
225
+
226
+ interface _DeleteRegistryPolicyResponseSuccess
227
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRegistryPolicyResponse]
228
+ def registry_id: () -> ::String
229
+ def policy_text: () -> ::String
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_registry_policy-instance_method
232
+ def delete_registry_policy: (
233
+ ) -> _DeleteRegistryPolicyResponseSuccess
234
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRegistryPolicyResponseSuccess
235
+
236
+ interface _DeleteRepositoryResponseSuccess
237
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryResponse]
238
+ def repository: () -> Types::Repository
239
+ end
240
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_repository-instance_method
241
+ def delete_repository: (
242
+ ?registry_id: ::String,
243
+ repository_name: ::String,
244
+ ?force: bool
245
+ ) -> _DeleteRepositoryResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryResponseSuccess
247
+
248
+ interface _DeleteRepositoryPolicyResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryPolicyResponse]
250
+ def registry_id: () -> ::String
251
+ def repository_name: () -> ::String
252
+ def policy_text: () -> ::String
253
+ end
254
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_repository_policy-instance_method
255
+ def delete_repository_policy: (
256
+ ?registry_id: ::String,
257
+ repository_name: ::String
258
+ ) -> _DeleteRepositoryPolicyResponseSuccess
259
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryPolicyResponseSuccess
260
+
261
+ interface _DescribeImageReplicationStatusResponseSuccess
262
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImageReplicationStatusResponse]
263
+ def repository_name: () -> ::String
264
+ def image_id: () -> Types::ImageIdentifier
265
+ def replication_statuses: () -> ::Array[Types::ImageReplicationStatus]
266
+ end
267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_image_replication_status-instance_method
268
+ def describe_image_replication_status: (
269
+ repository_name: ::String,
270
+ image_id: {
271
+ image_digest: ::String?,
272
+ image_tag: ::String?
273
+ },
274
+ ?registry_id: ::String
275
+ ) -> _DescribeImageReplicationStatusResponseSuccess
276
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImageReplicationStatusResponseSuccess
277
+
278
+ interface _DescribeImageScanFindingsResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImageScanFindingsResponse]
280
+ def registry_id: () -> ::String
281
+ def repository_name: () -> ::String
282
+ def image_id: () -> Types::ImageIdentifier
283
+ def image_scan_status: () -> Types::ImageScanStatus
284
+ def image_scan_findings: () -> Types::ImageScanFindings
285
+ def next_token: () -> ::String
286
+ end
287
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_image_scan_findings-instance_method
288
+ def describe_image_scan_findings: (
289
+ ?registry_id: ::String,
290
+ repository_name: ::String,
291
+ image_id: {
292
+ image_digest: ::String?,
293
+ image_tag: ::String?
294
+ },
295
+ ?next_token: ::String,
296
+ ?max_results: ::Integer
297
+ ) -> _DescribeImageScanFindingsResponseSuccess
298
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImageScanFindingsResponseSuccess
299
+
300
+ interface _DescribeImagesResponseSuccess
301
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImagesResponse]
302
+ def image_details: () -> ::Array[Types::ImageDetail]
303
+ def next_token: () -> ::String
304
+ end
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_images-instance_method
306
+ def describe_images: (
307
+ ?registry_id: ::String,
308
+ repository_name: ::String,
309
+ ?image_ids: Array[
310
+ {
311
+ image_digest: ::String?,
312
+ image_tag: ::String?
313
+ },
314
+ ],
315
+ ?next_token: ::String,
316
+ ?max_results: ::Integer,
317
+ ?filter: {
318
+ tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?
319
+ }
320
+ ) -> _DescribeImagesResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImagesResponseSuccess
322
+
323
+ interface _DescribePullThroughCacheRulesResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribePullThroughCacheRulesResponse]
325
+ def pull_through_cache_rules: () -> ::Array[Types::PullThroughCacheRule]
326
+ def next_token: () -> ::String
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_pull_through_cache_rules-instance_method
329
+ def describe_pull_through_cache_rules: (
330
+ ?registry_id: ::String,
331
+ ?ecr_repository_prefixes: Array[::String],
332
+ ?next_token: ::String,
333
+ ?max_results: ::Integer
334
+ ) -> _DescribePullThroughCacheRulesResponseSuccess
335
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePullThroughCacheRulesResponseSuccess
336
+
337
+ interface _DescribeRegistryResponseSuccess
338
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRegistryResponse]
339
+ def registry_id: () -> ::String
340
+ def replication_configuration: () -> Types::ReplicationConfiguration
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_registry-instance_method
343
+ def describe_registry: (
344
+ ) -> _DescribeRegistryResponseSuccess
345
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRegistryResponseSuccess
346
+
347
+ interface _DescribeRepositoriesResponseSuccess
348
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRepositoriesResponse]
349
+ def repositories: () -> ::Array[Types::Repository]
350
+ def next_token: () -> ::String
351
+ end
352
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_repositories-instance_method
353
+ def describe_repositories: (
354
+ ?registry_id: ::String,
355
+ ?repository_names: Array[::String],
356
+ ?next_token: ::String,
357
+ ?max_results: ::Integer
358
+ ) -> _DescribeRepositoriesResponseSuccess
359
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoriesResponseSuccess
360
+
361
+ interface _GetAuthorizationTokenResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAuthorizationTokenResponse]
363
+ def authorization_data: () -> ::Array[Types::AuthorizationData]
364
+ end
365
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_authorization_token-instance_method
366
+ def get_authorization_token: (
367
+ ?registry_ids: Array[::String]
368
+ ) -> _GetAuthorizationTokenResponseSuccess
369
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAuthorizationTokenResponseSuccess
370
+
371
+ interface _GetDownloadUrlForLayerResponseSuccess
372
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDownloadUrlForLayerResponse]
373
+ def download_url: () -> ::String
374
+ def layer_digest: () -> ::String
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_download_url_for_layer-instance_method
377
+ def get_download_url_for_layer: (
378
+ ?registry_id: ::String,
379
+ repository_name: ::String,
380
+ layer_digest: ::String
381
+ ) -> _GetDownloadUrlForLayerResponseSuccess
382
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDownloadUrlForLayerResponseSuccess
383
+
384
+ interface _GetLifecyclePolicyResponseSuccess
385
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLifecyclePolicyResponse]
386
+ def registry_id: () -> ::String
387
+ def repository_name: () -> ::String
388
+ def lifecycle_policy_text: () -> ::String
389
+ def last_evaluated_at: () -> ::Time
390
+ end
391
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_lifecycle_policy-instance_method
392
+ def get_lifecycle_policy: (
393
+ ?registry_id: ::String,
394
+ repository_name: ::String
395
+ ) -> _GetLifecyclePolicyResponseSuccess
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLifecyclePolicyResponseSuccess
397
+
398
+ interface _GetLifecyclePolicyPreviewResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLifecyclePolicyPreviewResponse]
400
+ def registry_id: () -> ::String
401
+ def repository_name: () -> ::String
402
+ def lifecycle_policy_text: () -> ::String
403
+ def status: () -> ("IN_PROGRESS" | "COMPLETE" | "EXPIRED" | "FAILED")
404
+ def next_token: () -> ::String
405
+ def preview_results: () -> ::Array[Types::LifecyclePolicyPreviewResult]
406
+ def summary: () -> Types::LifecyclePolicyPreviewSummary
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_lifecycle_policy_preview-instance_method
409
+ def get_lifecycle_policy_preview: (
410
+ ?registry_id: ::String,
411
+ repository_name: ::String,
412
+ ?image_ids: Array[
413
+ {
414
+ image_digest: ::String?,
415
+ image_tag: ::String?
416
+ },
417
+ ],
418
+ ?next_token: ::String,
419
+ ?max_results: ::Integer,
420
+ ?filter: {
421
+ tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?
422
+ }
423
+ ) -> _GetLifecyclePolicyPreviewResponseSuccess
424
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLifecyclePolicyPreviewResponseSuccess
425
+
426
+ interface _GetRegistryPolicyResponseSuccess
427
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRegistryPolicyResponse]
428
+ def registry_id: () -> ::String
429
+ def policy_text: () -> ::String
430
+ end
431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_registry_policy-instance_method
432
+ def get_registry_policy: (
433
+ ) -> _GetRegistryPolicyResponseSuccess
434
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegistryPolicyResponseSuccess
435
+
436
+ interface _GetRegistryScanningConfigurationResponseSuccess
437
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRegistryScanningConfigurationResponse]
438
+ def registry_id: () -> ::String
439
+ def scanning_configuration: () -> Types::RegistryScanningConfiguration
440
+ end
441
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_registry_scanning_configuration-instance_method
442
+ def get_registry_scanning_configuration: (
443
+ ) -> _GetRegistryScanningConfigurationResponseSuccess
444
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegistryScanningConfigurationResponseSuccess
445
+
446
+ interface _GetRepositoryPolicyResponseSuccess
447
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryPolicyResponse]
448
+ def registry_id: () -> ::String
449
+ def repository_name: () -> ::String
450
+ def policy_text: () -> ::String
451
+ end
452
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_repository_policy-instance_method
453
+ def get_repository_policy: (
454
+ ?registry_id: ::String,
455
+ repository_name: ::String
456
+ ) -> _GetRepositoryPolicyResponseSuccess
457
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryPolicyResponseSuccess
458
+
459
+ interface _InitiateLayerUploadResponseSuccess
460
+ include ::Seahorse::Client::_ResponseSuccess[Types::InitiateLayerUploadResponse]
461
+ def upload_id: () -> ::String
462
+ def part_size: () -> ::Integer
463
+ end
464
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#initiate_layer_upload-instance_method
465
+ def initiate_layer_upload: (
466
+ ?registry_id: ::String,
467
+ repository_name: ::String
468
+ ) -> _InitiateLayerUploadResponseSuccess
469
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateLayerUploadResponseSuccess
470
+
471
+ interface _ListImagesResponseSuccess
472
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImagesResponse]
473
+ def image_ids: () -> ::Array[Types::ImageIdentifier]
474
+ def next_token: () -> ::String
475
+ end
476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#list_images-instance_method
477
+ def list_images: (
478
+ ?registry_id: ::String,
479
+ repository_name: ::String,
480
+ ?next_token: ::String,
481
+ ?max_results: ::Integer,
482
+ ?filter: {
483
+ tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?
484
+ }
485
+ ) -> _ListImagesResponseSuccess
486
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImagesResponseSuccess
487
+
488
+ interface _ListTagsForResourceResponseSuccess
489
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
490
+ def tags: () -> ::Array[Types::Tag]
491
+ end
492
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#list_tags_for_resource-instance_method
493
+ def list_tags_for_resource: (
494
+ resource_arn: ::String
495
+ ) -> _ListTagsForResourceResponseSuccess
496
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
497
+
498
+ interface _PutImageResponseSuccess
499
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutImageResponse]
500
+ def image: () -> Types::Image
501
+ end
502
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_image-instance_method
503
+ def put_image: (
504
+ ?registry_id: ::String,
505
+ repository_name: ::String,
506
+ image_manifest: ::String,
507
+ ?image_manifest_media_type: ::String,
508
+ ?image_tag: ::String,
509
+ ?image_digest: ::String
510
+ ) -> _PutImageResponseSuccess
511
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutImageResponseSuccess
512
+
513
+ interface _PutImageScanningConfigurationResponseSuccess
514
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutImageScanningConfigurationResponse]
515
+ def registry_id: () -> ::String
516
+ def repository_name: () -> ::String
517
+ def image_scanning_configuration: () -> Types::ImageScanningConfiguration
518
+ end
519
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_image_scanning_configuration-instance_method
520
+ def put_image_scanning_configuration: (
521
+ ?registry_id: ::String,
522
+ repository_name: ::String,
523
+ image_scanning_configuration: {
524
+ scan_on_push: bool?
525
+ }
526
+ ) -> _PutImageScanningConfigurationResponseSuccess
527
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutImageScanningConfigurationResponseSuccess
528
+
529
+ interface _PutImageTagMutabilityResponseSuccess
530
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutImageTagMutabilityResponse]
531
+ def registry_id: () -> ::String
532
+ def repository_name: () -> ::String
533
+ def image_tag_mutability: () -> ("MUTABLE" | "IMMUTABLE")
534
+ end
535
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_image_tag_mutability-instance_method
536
+ def put_image_tag_mutability: (
537
+ ?registry_id: ::String,
538
+ repository_name: ::String,
539
+ image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
540
+ ) -> _PutImageTagMutabilityResponseSuccess
541
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutImageTagMutabilityResponseSuccess
542
+
543
+ interface _PutLifecyclePolicyResponseSuccess
544
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutLifecyclePolicyResponse]
545
+ def registry_id: () -> ::String
546
+ def repository_name: () -> ::String
547
+ def lifecycle_policy_text: () -> ::String
548
+ end
549
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_lifecycle_policy-instance_method
550
+ def put_lifecycle_policy: (
551
+ ?registry_id: ::String,
552
+ repository_name: ::String,
553
+ lifecycle_policy_text: ::String
554
+ ) -> _PutLifecyclePolicyResponseSuccess
555
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLifecyclePolicyResponseSuccess
556
+
557
+ interface _PutRegistryPolicyResponseSuccess
558
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutRegistryPolicyResponse]
559
+ def registry_id: () -> ::String
560
+ def policy_text: () -> ::String
561
+ end
562
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_registry_policy-instance_method
563
+ def put_registry_policy: (
564
+ policy_text: ::String
565
+ ) -> _PutRegistryPolicyResponseSuccess
566
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRegistryPolicyResponseSuccess
567
+
568
+ interface _PutRegistryScanningConfigurationResponseSuccess
569
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutRegistryScanningConfigurationResponse]
570
+ def registry_scanning_configuration: () -> Types::RegistryScanningConfiguration
571
+ end
572
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_registry_scanning_configuration-instance_method
573
+ def put_registry_scanning_configuration: (
574
+ ?scan_type: ("BASIC" | "ENHANCED"),
575
+ ?rules: Array[
576
+ {
577
+ scan_frequency: ("SCAN_ON_PUSH" | "CONTINUOUS_SCAN" | "MANUAL"),
578
+ repository_filters: Array[
579
+ {
580
+ filter: ::String,
581
+ filter_type: ("WILDCARD")
582
+ },
583
+ ]
584
+ },
585
+ ]
586
+ ) -> _PutRegistryScanningConfigurationResponseSuccess
587
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRegistryScanningConfigurationResponseSuccess
588
+
589
+ interface _PutReplicationConfigurationResponseSuccess
590
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutReplicationConfigurationResponse]
591
+ def replication_configuration: () -> Types::ReplicationConfiguration
592
+ end
593
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_replication_configuration-instance_method
594
+ def put_replication_configuration: (
595
+ replication_configuration: {
596
+ rules: Array[
597
+ {
598
+ destinations: Array[
599
+ {
600
+ region: ::String,
601
+ registry_id: ::String
602
+ },
603
+ ],
604
+ repository_filters: Array[
605
+ {
606
+ filter: ::String,
607
+ filter_type: ("PREFIX_MATCH")
608
+ },
609
+ ]?
610
+ },
611
+ ]
612
+ }
613
+ ) -> _PutReplicationConfigurationResponseSuccess
614
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutReplicationConfigurationResponseSuccess
615
+
616
+ interface _SetRepositoryPolicyResponseSuccess
617
+ include ::Seahorse::Client::_ResponseSuccess[Types::SetRepositoryPolicyResponse]
618
+ def registry_id: () -> ::String
619
+ def repository_name: () -> ::String
620
+ def policy_text: () -> ::String
621
+ end
622
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#set_repository_policy-instance_method
623
+ def set_repository_policy: (
624
+ ?registry_id: ::String,
625
+ repository_name: ::String,
626
+ policy_text: ::String,
627
+ ?force: bool
628
+ ) -> _SetRepositoryPolicyResponseSuccess
629
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetRepositoryPolicyResponseSuccess
630
+
631
+ interface _StartImageScanResponseSuccess
632
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartImageScanResponse]
633
+ def registry_id: () -> ::String
634
+ def repository_name: () -> ::String
635
+ def image_id: () -> Types::ImageIdentifier
636
+ def image_scan_status: () -> Types::ImageScanStatus
637
+ end
638
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#start_image_scan-instance_method
639
+ def start_image_scan: (
640
+ ?registry_id: ::String,
641
+ repository_name: ::String,
642
+ image_id: {
643
+ image_digest: ::String?,
644
+ image_tag: ::String?
645
+ }
646
+ ) -> _StartImageScanResponseSuccess
647
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartImageScanResponseSuccess
648
+
649
+ interface _StartLifecyclePolicyPreviewResponseSuccess
650
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartLifecyclePolicyPreviewResponse]
651
+ def registry_id: () -> ::String
652
+ def repository_name: () -> ::String
653
+ def lifecycle_policy_text: () -> ::String
654
+ def status: () -> ("IN_PROGRESS" | "COMPLETE" | "EXPIRED" | "FAILED")
655
+ end
656
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#start_lifecycle_policy_preview-instance_method
657
+ def start_lifecycle_policy_preview: (
658
+ ?registry_id: ::String,
659
+ repository_name: ::String,
660
+ ?lifecycle_policy_text: ::String
661
+ ) -> _StartLifecyclePolicyPreviewResponseSuccess
662
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartLifecyclePolicyPreviewResponseSuccess
663
+
664
+ interface _TagResourceResponseSuccess
665
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
666
+ end
667
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#tag_resource-instance_method
668
+ def tag_resource: (
669
+ resource_arn: ::String,
670
+ tags: Array[
671
+ {
672
+ key: ::String,
673
+ value: ::String
674
+ },
675
+ ]
676
+ ) -> _TagResourceResponseSuccess
677
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
678
+
679
+ interface _UntagResourceResponseSuccess
680
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
681
+ end
682
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#untag_resource-instance_method
683
+ def untag_resource: (
684
+ resource_arn: ::String,
685
+ tag_keys: Array[::String]
686
+ ) -> _UntagResourceResponseSuccess
687
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
688
+
689
+ interface _UpdatePullThroughCacheRuleResponseSuccess
690
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePullThroughCacheRuleResponse]
691
+ def ecr_repository_prefix: () -> ::String
692
+ def registry_id: () -> ::String
693
+ def updated_at: () -> ::Time
694
+ def credential_arn: () -> ::String
695
+ end
696
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#update_pull_through_cache_rule-instance_method
697
+ def update_pull_through_cache_rule: (
698
+ ?registry_id: ::String,
699
+ ecr_repository_prefix: ::String,
700
+ credential_arn: ::String
701
+ ) -> _UpdatePullThroughCacheRuleResponseSuccess
702
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePullThroughCacheRuleResponseSuccess
703
+
704
+ interface _UploadLayerPartResponseSuccess
705
+ include ::Seahorse::Client::_ResponseSuccess[Types::UploadLayerPartResponse]
706
+ def registry_id: () -> ::String
707
+ def repository_name: () -> ::String
708
+ def upload_id: () -> ::String
709
+ def last_byte_received: () -> ::Integer
710
+ end
711
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#upload_layer_part-instance_method
712
+ def upload_layer_part: (
713
+ ?registry_id: ::String,
714
+ repository_name: ::String,
715
+ upload_id: ::String,
716
+ part_first_byte: ::Integer,
717
+ part_last_byte: ::Integer,
718
+ layer_part_blob: ::String
719
+ ) -> _UploadLayerPartResponseSuccess
720
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadLayerPartResponseSuccess
721
+
722
+ interface _ValidatePullThroughCacheRuleResponseSuccess
723
+ include ::Seahorse::Client::_ResponseSuccess[Types::ValidatePullThroughCacheRuleResponse]
724
+ def ecr_repository_prefix: () -> ::String
725
+ def registry_id: () -> ::String
726
+ def upstream_registry_url: () -> ::String
727
+ def credential_arn: () -> ::String
728
+ def is_valid: () -> bool
729
+ def failure: () -> ::String
730
+ end
731
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#validate_pull_through_cache_rule-instance_method
732
+ def validate_pull_through_cache_rule: (
733
+ ecr_repository_prefix: ::String,
734
+ ?registry_id: ::String
735
+ ) -> _ValidatePullThroughCacheRuleResponseSuccess
736
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidatePullThroughCacheRuleResponseSuccess
737
+
738
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#wait_until-instance_method
739
+ def wait_until: (:image_scan_complete waiter_name,
740
+ ?registry_id: ::String,
741
+ repository_name: ::String,
742
+ image_id: {
743
+ image_digest: ::String?,
744
+ image_tag: ::String?
745
+ },
746
+ ?next_token: ::String,
747
+ ?max_results: ::Integer
748
+ ) -> Client::_DescribeImageScanFindingsResponseSuccess
749
+ | (:image_scan_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeImageScanFindingsResponseSuccess
750
+ | (:lifecycle_policy_preview_complete waiter_name,
751
+ ?registry_id: ::String,
752
+ repository_name: ::String,
753
+ ?image_ids: Array[
754
+ {
755
+ image_digest: ::String?,
756
+ image_tag: ::String?
757
+ },
758
+ ],
759
+ ?next_token: ::String,
760
+ ?max_results: ::Integer,
761
+ ?filter: {
762
+ tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?
763
+ }
764
+ ) -> Client::_GetLifecyclePolicyPreviewResponseSuccess
765
+ | (:lifecycle_policy_preview_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetLifecyclePolicyPreviewResponseSuccess
766
+ end
767
+ end
768
+ end
769
+