@aws-sdk/client-ecr 3.1136.0 → 3.1138.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.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -229,10 +230,13 @@ import {
229
230
  ValidatePullThroughCacheRuleCommandOutput,
230
231
  } from "./commands/ValidatePullThroughCacheRuleCommand";
231
232
  import { ECRClient } from "./ECRClient";
233
+ export interface ECRRequestOptions extends __HttpHandlerOptions {
234
+ metricsRecorder?: __MetricsRecorder<unknown>;
235
+ }
232
236
  export interface ECR {
233
237
  batchCheckLayerAvailability(
234
238
  args: BatchCheckLayerAvailabilityCommandInput,
235
- options?: __HttpHandlerOptions,
239
+ options?: ECRRequestOptions,
236
240
  ): Promise<BatchCheckLayerAvailabilityCommandOutput>;
237
241
  batchCheckLayerAvailability(
238
242
  args: BatchCheckLayerAvailabilityCommandInput,
@@ -240,12 +244,12 @@ export interface ECR {
240
244
  ): void;
241
245
  batchCheckLayerAvailability(
242
246
  args: BatchCheckLayerAvailabilityCommandInput,
243
- options: __HttpHandlerOptions,
247
+ options: ECRRequestOptions,
244
248
  cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void,
245
249
  ): void;
246
250
  batchDeleteImage(
247
251
  args: BatchDeleteImageCommandInput,
248
- options?: __HttpHandlerOptions,
252
+ options?: ECRRequestOptions,
249
253
  ): Promise<BatchDeleteImageCommandOutput>;
250
254
  batchDeleteImage(
251
255
  args: BatchDeleteImageCommandInput,
@@ -253,12 +257,12 @@ export interface ECR {
253
257
  ): void;
254
258
  batchDeleteImage(
255
259
  args: BatchDeleteImageCommandInput,
256
- options: __HttpHandlerOptions,
260
+ options: ECRRequestOptions,
257
261
  cb: (err: any, data?: BatchDeleteImageCommandOutput) => void,
258
262
  ): void;
259
263
  batchGetImage(
260
264
  args: BatchGetImageCommandInput,
261
- options?: __HttpHandlerOptions,
265
+ options?: ECRRequestOptions,
262
266
  ): Promise<BatchGetImageCommandOutput>;
263
267
  batchGetImage(
264
268
  args: BatchGetImageCommandInput,
@@ -266,12 +270,12 @@ export interface ECR {
266
270
  ): void;
267
271
  batchGetImage(
268
272
  args: BatchGetImageCommandInput,
269
- options: __HttpHandlerOptions,
273
+ options: ECRRequestOptions,
270
274
  cb: (err: any, data?: BatchGetImageCommandOutput) => void,
271
275
  ): void;
272
276
  batchGetRepositoryScanningConfiguration(
273
277
  args: BatchGetRepositoryScanningConfigurationCommandInput,
274
- options?: __HttpHandlerOptions,
278
+ options?: ECRRequestOptions,
275
279
  ): Promise<BatchGetRepositoryScanningConfigurationCommandOutput>;
276
280
  batchGetRepositoryScanningConfiguration(
277
281
  args: BatchGetRepositoryScanningConfigurationCommandInput,
@@ -279,12 +283,12 @@ export interface ECR {
279
283
  ): void;
280
284
  batchGetRepositoryScanningConfiguration(
281
285
  args: BatchGetRepositoryScanningConfigurationCommandInput,
282
- options: __HttpHandlerOptions,
286
+ options: ECRRequestOptions,
283
287
  cb: (err: any, data?: BatchGetRepositoryScanningConfigurationCommandOutput) => void,
284
288
  ): void;
285
289
  completeLayerUpload(
286
290
  args: CompleteLayerUploadCommandInput,
287
- options?: __HttpHandlerOptions,
291
+ options?: ECRRequestOptions,
288
292
  ): Promise<CompleteLayerUploadCommandOutput>;
289
293
  completeLayerUpload(
290
294
  args: CompleteLayerUploadCommandInput,
@@ -292,12 +296,12 @@ export interface ECR {
292
296
  ): void;
293
297
  completeLayerUpload(
294
298
  args: CompleteLayerUploadCommandInput,
295
- options: __HttpHandlerOptions,
299
+ options: ECRRequestOptions,
296
300
  cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void,
297
301
  ): void;
298
302
  createPullThroughCacheRule(
299
303
  args: CreatePullThroughCacheRuleCommandInput,
300
- options?: __HttpHandlerOptions,
304
+ options?: ECRRequestOptions,
301
305
  ): Promise<CreatePullThroughCacheRuleCommandOutput>;
302
306
  createPullThroughCacheRule(
303
307
  args: CreatePullThroughCacheRuleCommandInput,
@@ -305,12 +309,12 @@ export interface ECR {
305
309
  ): void;
306
310
  createPullThroughCacheRule(
307
311
  args: CreatePullThroughCacheRuleCommandInput,
308
- options: __HttpHandlerOptions,
312
+ options: ECRRequestOptions,
309
313
  cb: (err: any, data?: CreatePullThroughCacheRuleCommandOutput) => void,
310
314
  ): void;
311
315
  createRepository(
312
316
  args: CreateRepositoryCommandInput,
313
- options?: __HttpHandlerOptions,
317
+ options?: ECRRequestOptions,
314
318
  ): Promise<CreateRepositoryCommandOutput>;
315
319
  createRepository(
316
320
  args: CreateRepositoryCommandInput,
@@ -318,12 +322,12 @@ export interface ECR {
318
322
  ): void;
319
323
  createRepository(
320
324
  args: CreateRepositoryCommandInput,
321
- options: __HttpHandlerOptions,
325
+ options: ECRRequestOptions,
322
326
  cb: (err: any, data?: CreateRepositoryCommandOutput) => void,
323
327
  ): void;
324
328
  createRepositoryCreationTemplate(
325
329
  args: CreateRepositoryCreationTemplateCommandInput,
326
- options?: __HttpHandlerOptions,
330
+ options?: ECRRequestOptions,
327
331
  ): Promise<CreateRepositoryCreationTemplateCommandOutput>;
328
332
  createRepositoryCreationTemplate(
329
333
  args: CreateRepositoryCreationTemplateCommandInput,
@@ -331,12 +335,12 @@ export interface ECR {
331
335
  ): void;
332
336
  createRepositoryCreationTemplate(
333
337
  args: CreateRepositoryCreationTemplateCommandInput,
334
- options: __HttpHandlerOptions,
338
+ options: ECRRequestOptions,
335
339
  cb: (err: any, data?: CreateRepositoryCreationTemplateCommandOutput) => void,
336
340
  ): void;
337
341
  deleteLifecyclePolicy(
338
342
  args: DeleteLifecyclePolicyCommandInput,
339
- options?: __HttpHandlerOptions,
343
+ options?: ECRRequestOptions,
340
344
  ): Promise<DeleteLifecyclePolicyCommandOutput>;
341
345
  deleteLifecyclePolicy(
342
346
  args: DeleteLifecyclePolicyCommandInput,
@@ -344,12 +348,12 @@ export interface ECR {
344
348
  ): void;
345
349
  deleteLifecyclePolicy(
346
350
  args: DeleteLifecyclePolicyCommandInput,
347
- options: __HttpHandlerOptions,
351
+ options: ECRRequestOptions,
348
352
  cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void,
349
353
  ): void;
350
354
  deletePullThroughCacheRule(
351
355
  args: DeletePullThroughCacheRuleCommandInput,
352
- options?: __HttpHandlerOptions,
356
+ options?: ECRRequestOptions,
353
357
  ): Promise<DeletePullThroughCacheRuleCommandOutput>;
354
358
  deletePullThroughCacheRule(
355
359
  args: DeletePullThroughCacheRuleCommandInput,
@@ -357,13 +361,13 @@ export interface ECR {
357
361
  ): void;
358
362
  deletePullThroughCacheRule(
359
363
  args: DeletePullThroughCacheRuleCommandInput,
360
- options: __HttpHandlerOptions,
364
+ options: ECRRequestOptions,
361
365
  cb: (err: any, data?: DeletePullThroughCacheRuleCommandOutput) => void,
362
366
  ): void;
363
367
  deleteRegistryPolicy(): Promise<DeleteRegistryPolicyCommandOutput>;
364
368
  deleteRegistryPolicy(
365
369
  args: DeleteRegistryPolicyCommandInput,
366
- options?: __HttpHandlerOptions,
370
+ options?: ECRRequestOptions,
367
371
  ): Promise<DeleteRegistryPolicyCommandOutput>;
368
372
  deleteRegistryPolicy(
369
373
  args: DeleteRegistryPolicyCommandInput,
@@ -371,12 +375,12 @@ export interface ECR {
371
375
  ): void;
372
376
  deleteRegistryPolicy(
373
377
  args: DeleteRegistryPolicyCommandInput,
374
- options: __HttpHandlerOptions,
378
+ options: ECRRequestOptions,
375
379
  cb: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void,
376
380
  ): void;
377
381
  deleteRepository(
378
382
  args: DeleteRepositoryCommandInput,
379
- options?: __HttpHandlerOptions,
383
+ options?: ECRRequestOptions,
380
384
  ): Promise<DeleteRepositoryCommandOutput>;
381
385
  deleteRepository(
382
386
  args: DeleteRepositoryCommandInput,
@@ -384,12 +388,12 @@ export interface ECR {
384
388
  ): void;
385
389
  deleteRepository(
386
390
  args: DeleteRepositoryCommandInput,
387
- options: __HttpHandlerOptions,
391
+ options: ECRRequestOptions,
388
392
  cb: (err: any, data?: DeleteRepositoryCommandOutput) => void,
389
393
  ): void;
390
394
  deleteRepositoryCreationTemplate(
391
395
  args: DeleteRepositoryCreationTemplateCommandInput,
392
- options?: __HttpHandlerOptions,
396
+ options?: ECRRequestOptions,
393
397
  ): Promise<DeleteRepositoryCreationTemplateCommandOutput>;
394
398
  deleteRepositoryCreationTemplate(
395
399
  args: DeleteRepositoryCreationTemplateCommandInput,
@@ -397,12 +401,12 @@ export interface ECR {
397
401
  ): void;
398
402
  deleteRepositoryCreationTemplate(
399
403
  args: DeleteRepositoryCreationTemplateCommandInput,
400
- options: __HttpHandlerOptions,
404
+ options: ECRRequestOptions,
401
405
  cb: (err: any, data?: DeleteRepositoryCreationTemplateCommandOutput) => void,
402
406
  ): void;
403
407
  deleteRepositoryPolicy(
404
408
  args: DeleteRepositoryPolicyCommandInput,
405
- options?: __HttpHandlerOptions,
409
+ options?: ECRRequestOptions,
406
410
  ): Promise<DeleteRepositoryPolicyCommandOutput>;
407
411
  deleteRepositoryPolicy(
408
412
  args: DeleteRepositoryPolicyCommandInput,
@@ -410,13 +414,13 @@ export interface ECR {
410
414
  ): void;
411
415
  deleteRepositoryPolicy(
412
416
  args: DeleteRepositoryPolicyCommandInput,
413
- options: __HttpHandlerOptions,
417
+ options: ECRRequestOptions,
414
418
  cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void,
415
419
  ): void;
416
420
  deleteSigningConfiguration(): Promise<DeleteSigningConfigurationCommandOutput>;
417
421
  deleteSigningConfiguration(
418
422
  args: DeleteSigningConfigurationCommandInput,
419
- options?: __HttpHandlerOptions,
423
+ options?: ECRRequestOptions,
420
424
  ): Promise<DeleteSigningConfigurationCommandOutput>;
421
425
  deleteSigningConfiguration(
422
426
  args: DeleteSigningConfigurationCommandInput,
@@ -424,12 +428,12 @@ export interface ECR {
424
428
  ): void;
425
429
  deleteSigningConfiguration(
426
430
  args: DeleteSigningConfigurationCommandInput,
427
- options: __HttpHandlerOptions,
431
+ options: ECRRequestOptions,
428
432
  cb: (err: any, data?: DeleteSigningConfigurationCommandOutput) => void,
429
433
  ): void;
430
434
  deregisterPullTimeUpdateExclusion(
431
435
  args: DeregisterPullTimeUpdateExclusionCommandInput,
432
- options?: __HttpHandlerOptions,
436
+ options?: ECRRequestOptions,
433
437
  ): Promise<DeregisterPullTimeUpdateExclusionCommandOutput>;
434
438
  deregisterPullTimeUpdateExclusion(
435
439
  args: DeregisterPullTimeUpdateExclusionCommandInput,
@@ -437,12 +441,12 @@ export interface ECR {
437
441
  ): void;
438
442
  deregisterPullTimeUpdateExclusion(
439
443
  args: DeregisterPullTimeUpdateExclusionCommandInput,
440
- options: __HttpHandlerOptions,
444
+ options: ECRRequestOptions,
441
445
  cb: (err: any, data?: DeregisterPullTimeUpdateExclusionCommandOutput) => void,
442
446
  ): void;
443
447
  describeImageReplicationStatus(
444
448
  args: DescribeImageReplicationStatusCommandInput,
445
- options?: __HttpHandlerOptions,
449
+ options?: ECRRequestOptions,
446
450
  ): Promise<DescribeImageReplicationStatusCommandOutput>;
447
451
  describeImageReplicationStatus(
448
452
  args: DescribeImageReplicationStatusCommandInput,
@@ -450,12 +454,12 @@ export interface ECR {
450
454
  ): void;
451
455
  describeImageReplicationStatus(
452
456
  args: DescribeImageReplicationStatusCommandInput,
453
- options: __HttpHandlerOptions,
457
+ options: ECRRequestOptions,
454
458
  cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void,
455
459
  ): void;
456
460
  describeImages(
457
461
  args: DescribeImagesCommandInput,
458
- options?: __HttpHandlerOptions,
462
+ options?: ECRRequestOptions,
459
463
  ): Promise<DescribeImagesCommandOutput>;
460
464
  describeImages(
461
465
  args: DescribeImagesCommandInput,
@@ -463,12 +467,12 @@ export interface ECR {
463
467
  ): void;
464
468
  describeImages(
465
469
  args: DescribeImagesCommandInput,
466
- options: __HttpHandlerOptions,
470
+ options: ECRRequestOptions,
467
471
  cb: (err: any, data?: DescribeImagesCommandOutput) => void,
468
472
  ): void;
469
473
  describeImageScanFindings(
470
474
  args: DescribeImageScanFindingsCommandInput,
471
- options?: __HttpHandlerOptions,
475
+ options?: ECRRequestOptions,
472
476
  ): Promise<DescribeImageScanFindingsCommandOutput>;
473
477
  describeImageScanFindings(
474
478
  args: DescribeImageScanFindingsCommandInput,
@@ -476,12 +480,12 @@ export interface ECR {
476
480
  ): void;
477
481
  describeImageScanFindings(
478
482
  args: DescribeImageScanFindingsCommandInput,
479
- options: __HttpHandlerOptions,
483
+ options: ECRRequestOptions,
480
484
  cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void,
481
485
  ): void;
482
486
  describeImageSigningStatus(
483
487
  args: DescribeImageSigningStatusCommandInput,
484
- options?: __HttpHandlerOptions,
488
+ options?: ECRRequestOptions,
485
489
  ): Promise<DescribeImageSigningStatusCommandOutput>;
486
490
  describeImageSigningStatus(
487
491
  args: DescribeImageSigningStatusCommandInput,
@@ -489,13 +493,13 @@ export interface ECR {
489
493
  ): void;
490
494
  describeImageSigningStatus(
491
495
  args: DescribeImageSigningStatusCommandInput,
492
- options: __HttpHandlerOptions,
496
+ options: ECRRequestOptions,
493
497
  cb: (err: any, data?: DescribeImageSigningStatusCommandOutput) => void,
494
498
  ): void;
495
499
  describePullThroughCacheRules(): Promise<DescribePullThroughCacheRulesCommandOutput>;
496
500
  describePullThroughCacheRules(
497
501
  args: DescribePullThroughCacheRulesCommandInput,
498
- options?: __HttpHandlerOptions,
502
+ options?: ECRRequestOptions,
499
503
  ): Promise<DescribePullThroughCacheRulesCommandOutput>;
500
504
  describePullThroughCacheRules(
501
505
  args: DescribePullThroughCacheRulesCommandInput,
@@ -503,13 +507,13 @@ export interface ECR {
503
507
  ): void;
504
508
  describePullThroughCacheRules(
505
509
  args: DescribePullThroughCacheRulesCommandInput,
506
- options: __HttpHandlerOptions,
510
+ options: ECRRequestOptions,
507
511
  cb: (err: any, data?: DescribePullThroughCacheRulesCommandOutput) => void,
508
512
  ): void;
509
513
  describeRegistry(): Promise<DescribeRegistryCommandOutput>;
510
514
  describeRegistry(
511
515
  args: DescribeRegistryCommandInput,
512
- options?: __HttpHandlerOptions,
516
+ options?: ECRRequestOptions,
513
517
  ): Promise<DescribeRegistryCommandOutput>;
514
518
  describeRegistry(
515
519
  args: DescribeRegistryCommandInput,
@@ -517,13 +521,13 @@ export interface ECR {
517
521
  ): void;
518
522
  describeRegistry(
519
523
  args: DescribeRegistryCommandInput,
520
- options: __HttpHandlerOptions,
524
+ options: ECRRequestOptions,
521
525
  cb: (err: any, data?: DescribeRegistryCommandOutput) => void,
522
526
  ): void;
523
527
  describeRepositories(): Promise<DescribeRepositoriesCommandOutput>;
524
528
  describeRepositories(
525
529
  args: DescribeRepositoriesCommandInput,
526
- options?: __HttpHandlerOptions,
530
+ options?: ECRRequestOptions,
527
531
  ): Promise<DescribeRepositoriesCommandOutput>;
528
532
  describeRepositories(
529
533
  args: DescribeRepositoriesCommandInput,
@@ -531,13 +535,13 @@ export interface ECR {
531
535
  ): void;
532
536
  describeRepositories(
533
537
  args: DescribeRepositoriesCommandInput,
534
- options: __HttpHandlerOptions,
538
+ options: ECRRequestOptions,
535
539
  cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void,
536
540
  ): void;
537
541
  describeRepositoryCreationTemplates(): Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
538
542
  describeRepositoryCreationTemplates(
539
543
  args: DescribeRepositoryCreationTemplatesCommandInput,
540
- options?: __HttpHandlerOptions,
544
+ options?: ECRRequestOptions,
541
545
  ): Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
542
546
  describeRepositoryCreationTemplates(
543
547
  args: DescribeRepositoryCreationTemplatesCommandInput,
@@ -545,12 +549,12 @@ export interface ECR {
545
549
  ): void;
546
550
  describeRepositoryCreationTemplates(
547
551
  args: DescribeRepositoryCreationTemplatesCommandInput,
548
- options: __HttpHandlerOptions,
552
+ options: ECRRequestOptions,
549
553
  cb: (err: any, data?: DescribeRepositoryCreationTemplatesCommandOutput) => void,
550
554
  ): void;
551
555
  getAccountSetting(
552
556
  args: GetAccountSettingCommandInput,
553
- options?: __HttpHandlerOptions,
557
+ options?: ECRRequestOptions,
554
558
  ): Promise<GetAccountSettingCommandOutput>;
555
559
  getAccountSetting(
556
560
  args: GetAccountSettingCommandInput,
@@ -558,13 +562,13 @@ export interface ECR {
558
562
  ): void;
559
563
  getAccountSetting(
560
564
  args: GetAccountSettingCommandInput,
561
- options: __HttpHandlerOptions,
565
+ options: ECRRequestOptions,
562
566
  cb: (err: any, data?: GetAccountSettingCommandOutput) => void,
563
567
  ): void;
564
568
  getAuthorizationToken(): Promise<GetAuthorizationTokenCommandOutput>;
565
569
  getAuthorizationToken(
566
570
  args: GetAuthorizationTokenCommandInput,
567
- options?: __HttpHandlerOptions,
571
+ options?: ECRRequestOptions,
568
572
  ): Promise<GetAuthorizationTokenCommandOutput>;
569
573
  getAuthorizationToken(
570
574
  args: GetAuthorizationTokenCommandInput,
@@ -572,12 +576,12 @@ export interface ECR {
572
576
  ): void;
573
577
  getAuthorizationToken(
574
578
  args: GetAuthorizationTokenCommandInput,
575
- options: __HttpHandlerOptions,
579
+ options: ECRRequestOptions,
576
580
  cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void,
577
581
  ): void;
578
582
  getDownloadUrlForLayer(
579
583
  args: GetDownloadUrlForLayerCommandInput,
580
- options?: __HttpHandlerOptions,
584
+ options?: ECRRequestOptions,
581
585
  ): Promise<GetDownloadUrlForLayerCommandOutput>;
582
586
  getDownloadUrlForLayer(
583
587
  args: GetDownloadUrlForLayerCommandInput,
@@ -585,12 +589,12 @@ export interface ECR {
585
589
  ): void;
586
590
  getDownloadUrlForLayer(
587
591
  args: GetDownloadUrlForLayerCommandInput,
588
- options: __HttpHandlerOptions,
592
+ options: ECRRequestOptions,
589
593
  cb: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void,
590
594
  ): void;
591
595
  getLifecyclePolicy(
592
596
  args: GetLifecyclePolicyCommandInput,
593
- options?: __HttpHandlerOptions,
597
+ options?: ECRRequestOptions,
594
598
  ): Promise<GetLifecyclePolicyCommandOutput>;
595
599
  getLifecyclePolicy(
596
600
  args: GetLifecyclePolicyCommandInput,
@@ -598,12 +602,12 @@ export interface ECR {
598
602
  ): void;
599
603
  getLifecyclePolicy(
600
604
  args: GetLifecyclePolicyCommandInput,
601
- options: __HttpHandlerOptions,
605
+ options: ECRRequestOptions,
602
606
  cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void,
603
607
  ): void;
604
608
  getLifecyclePolicyPreview(
605
609
  args: GetLifecyclePolicyPreviewCommandInput,
606
- options?: __HttpHandlerOptions,
610
+ options?: ECRRequestOptions,
607
611
  ): Promise<GetLifecyclePolicyPreviewCommandOutput>;
608
612
  getLifecyclePolicyPreview(
609
613
  args: GetLifecyclePolicyPreviewCommandInput,
@@ -611,13 +615,13 @@ export interface ECR {
611
615
  ): void;
612
616
  getLifecyclePolicyPreview(
613
617
  args: GetLifecyclePolicyPreviewCommandInput,
614
- options: __HttpHandlerOptions,
618
+ options: ECRRequestOptions,
615
619
  cb: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void,
616
620
  ): void;
617
621
  getRegistryPolicy(): Promise<GetRegistryPolicyCommandOutput>;
618
622
  getRegistryPolicy(
619
623
  args: GetRegistryPolicyCommandInput,
620
- options?: __HttpHandlerOptions,
624
+ options?: ECRRequestOptions,
621
625
  ): Promise<GetRegistryPolicyCommandOutput>;
622
626
  getRegistryPolicy(
623
627
  args: GetRegistryPolicyCommandInput,
@@ -625,13 +629,13 @@ export interface ECR {
625
629
  ): void;
626
630
  getRegistryPolicy(
627
631
  args: GetRegistryPolicyCommandInput,
628
- options: __HttpHandlerOptions,
632
+ options: ECRRequestOptions,
629
633
  cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void,
630
634
  ): void;
631
635
  getRegistryScanningConfiguration(): Promise<GetRegistryScanningConfigurationCommandOutput>;
632
636
  getRegistryScanningConfiguration(
633
637
  args: GetRegistryScanningConfigurationCommandInput,
634
- options?: __HttpHandlerOptions,
638
+ options?: ECRRequestOptions,
635
639
  ): Promise<GetRegistryScanningConfigurationCommandOutput>;
636
640
  getRegistryScanningConfiguration(
637
641
  args: GetRegistryScanningConfigurationCommandInput,
@@ -639,12 +643,12 @@ export interface ECR {
639
643
  ): void;
640
644
  getRegistryScanningConfiguration(
641
645
  args: GetRegistryScanningConfigurationCommandInput,
642
- options: __HttpHandlerOptions,
646
+ options: ECRRequestOptions,
643
647
  cb: (err: any, data?: GetRegistryScanningConfigurationCommandOutput) => void,
644
648
  ): void;
645
649
  getRepositoryPolicy(
646
650
  args: GetRepositoryPolicyCommandInput,
647
- options?: __HttpHandlerOptions,
651
+ options?: ECRRequestOptions,
648
652
  ): Promise<GetRepositoryPolicyCommandOutput>;
649
653
  getRepositoryPolicy(
650
654
  args: GetRepositoryPolicyCommandInput,
@@ -652,13 +656,13 @@ export interface ECR {
652
656
  ): void;
653
657
  getRepositoryPolicy(
654
658
  args: GetRepositoryPolicyCommandInput,
655
- options: __HttpHandlerOptions,
659
+ options: ECRRequestOptions,
656
660
  cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void,
657
661
  ): void;
658
662
  getSigningConfiguration(): Promise<GetSigningConfigurationCommandOutput>;
659
663
  getSigningConfiguration(
660
664
  args: GetSigningConfigurationCommandInput,
661
- options?: __HttpHandlerOptions,
665
+ options?: ECRRequestOptions,
662
666
  ): Promise<GetSigningConfigurationCommandOutput>;
663
667
  getSigningConfiguration(
664
668
  args: GetSigningConfigurationCommandInput,
@@ -666,12 +670,12 @@ export interface ECR {
666
670
  ): void;
667
671
  getSigningConfiguration(
668
672
  args: GetSigningConfigurationCommandInput,
669
- options: __HttpHandlerOptions,
673
+ options: ECRRequestOptions,
670
674
  cb: (err: any, data?: GetSigningConfigurationCommandOutput) => void,
671
675
  ): void;
672
676
  initiateLayerUpload(
673
677
  args: InitiateLayerUploadCommandInput,
674
- options?: __HttpHandlerOptions,
678
+ options?: ECRRequestOptions,
675
679
  ): Promise<InitiateLayerUploadCommandOutput>;
676
680
  initiateLayerUpload(
677
681
  args: InitiateLayerUploadCommandInput,
@@ -679,12 +683,12 @@ export interface ECR {
679
683
  ): void;
680
684
  initiateLayerUpload(
681
685
  args: InitiateLayerUploadCommandInput,
682
- options: __HttpHandlerOptions,
686
+ options: ECRRequestOptions,
683
687
  cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void,
684
688
  ): void;
685
689
  listImageReferrers(
686
690
  args: ListImageReferrersCommandInput,
687
- options?: __HttpHandlerOptions,
691
+ options?: ECRRequestOptions,
688
692
  ): Promise<ListImageReferrersCommandOutput>;
689
693
  listImageReferrers(
690
694
  args: ListImageReferrersCommandInput,
@@ -692,12 +696,12 @@ export interface ECR {
692
696
  ): void;
693
697
  listImageReferrers(
694
698
  args: ListImageReferrersCommandInput,
695
- options: __HttpHandlerOptions,
699
+ options: ECRRequestOptions,
696
700
  cb: (err: any, data?: ListImageReferrersCommandOutput) => void,
697
701
  ): void;
698
702
  listImages(
699
703
  args: ListImagesCommandInput,
700
- options?: __HttpHandlerOptions,
704
+ options?: ECRRequestOptions,
701
705
  ): Promise<ListImagesCommandOutput>;
702
706
  listImages(
703
707
  args: ListImagesCommandInput,
@@ -705,13 +709,13 @@ export interface ECR {
705
709
  ): void;
706
710
  listImages(
707
711
  args: ListImagesCommandInput,
708
- options: __HttpHandlerOptions,
712
+ options: ECRRequestOptions,
709
713
  cb: (err: any, data?: ListImagesCommandOutput) => void,
710
714
  ): void;
711
715
  listPullTimeUpdateExclusions(): Promise<ListPullTimeUpdateExclusionsCommandOutput>;
712
716
  listPullTimeUpdateExclusions(
713
717
  args: ListPullTimeUpdateExclusionsCommandInput,
714
- options?: __HttpHandlerOptions,
718
+ options?: ECRRequestOptions,
715
719
  ): Promise<ListPullTimeUpdateExclusionsCommandOutput>;
716
720
  listPullTimeUpdateExclusions(
717
721
  args: ListPullTimeUpdateExclusionsCommandInput,
@@ -719,12 +723,12 @@ export interface ECR {
719
723
  ): void;
720
724
  listPullTimeUpdateExclusions(
721
725
  args: ListPullTimeUpdateExclusionsCommandInput,
722
- options: __HttpHandlerOptions,
726
+ options: ECRRequestOptions,
723
727
  cb: (err: any, data?: ListPullTimeUpdateExclusionsCommandOutput) => void,
724
728
  ): void;
725
729
  listTagsForResource(
726
730
  args: ListTagsForResourceCommandInput,
727
- options?: __HttpHandlerOptions,
731
+ options?: ECRRequestOptions,
728
732
  ): Promise<ListTagsForResourceCommandOutput>;
729
733
  listTagsForResource(
730
734
  args: ListTagsForResourceCommandInput,
@@ -732,12 +736,12 @@ export interface ECR {
732
736
  ): void;
733
737
  listTagsForResource(
734
738
  args: ListTagsForResourceCommandInput,
735
- options: __HttpHandlerOptions,
739
+ options: ECRRequestOptions,
736
740
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
737
741
  ): void;
738
742
  putAccountSetting(
739
743
  args: PutAccountSettingCommandInput,
740
- options?: __HttpHandlerOptions,
744
+ options?: ECRRequestOptions,
741
745
  ): Promise<PutAccountSettingCommandOutput>;
742
746
  putAccountSetting(
743
747
  args: PutAccountSettingCommandInput,
@@ -745,22 +749,19 @@ export interface ECR {
745
749
  ): void;
746
750
  putAccountSetting(
747
751
  args: PutAccountSettingCommandInput,
748
- options: __HttpHandlerOptions,
752
+ options: ECRRequestOptions,
749
753
  cb: (err: any, data?: PutAccountSettingCommandOutput) => void,
750
754
  ): void;
751
- putImage(
752
- args: PutImageCommandInput,
753
- options?: __HttpHandlerOptions,
754
- ): Promise<PutImageCommandOutput>;
755
+ putImage(args: PutImageCommandInput, options?: ECRRequestOptions): Promise<PutImageCommandOutput>;
755
756
  putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
756
757
  putImage(
757
758
  args: PutImageCommandInput,
758
- options: __HttpHandlerOptions,
759
+ options: ECRRequestOptions,
759
760
  cb: (err: any, data?: PutImageCommandOutput) => void,
760
761
  ): void;
761
762
  putImageScanningConfiguration(
762
763
  args: PutImageScanningConfigurationCommandInput,
763
- options?: __HttpHandlerOptions,
764
+ options?: ECRRequestOptions,
764
765
  ): Promise<PutImageScanningConfigurationCommandOutput>;
765
766
  putImageScanningConfiguration(
766
767
  args: PutImageScanningConfigurationCommandInput,
@@ -768,12 +769,12 @@ export interface ECR {
768
769
  ): void;
769
770
  putImageScanningConfiguration(
770
771
  args: PutImageScanningConfigurationCommandInput,
771
- options: __HttpHandlerOptions,
772
+ options: ECRRequestOptions,
772
773
  cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void,
773
774
  ): void;
774
775
  putImageTagMutability(
775
776
  args: PutImageTagMutabilityCommandInput,
776
- options?: __HttpHandlerOptions,
777
+ options?: ECRRequestOptions,
777
778
  ): Promise<PutImageTagMutabilityCommandOutput>;
778
779
  putImageTagMutability(
779
780
  args: PutImageTagMutabilityCommandInput,
@@ -781,12 +782,12 @@ export interface ECR {
781
782
  ): void;
782
783
  putImageTagMutability(
783
784
  args: PutImageTagMutabilityCommandInput,
784
- options: __HttpHandlerOptions,
785
+ options: ECRRequestOptions,
785
786
  cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void,
786
787
  ): void;
787
788
  putLifecyclePolicy(
788
789
  args: PutLifecyclePolicyCommandInput,
789
- options?: __HttpHandlerOptions,
790
+ options?: ECRRequestOptions,
790
791
  ): Promise<PutLifecyclePolicyCommandOutput>;
791
792
  putLifecyclePolicy(
792
793
  args: PutLifecyclePolicyCommandInput,
@@ -794,12 +795,12 @@ export interface ECR {
794
795
  ): void;
795
796
  putLifecyclePolicy(
796
797
  args: PutLifecyclePolicyCommandInput,
797
- options: __HttpHandlerOptions,
798
+ options: ECRRequestOptions,
798
799
  cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void,
799
800
  ): void;
800
801
  putRegistryPolicy(
801
802
  args: PutRegistryPolicyCommandInput,
802
- options?: __HttpHandlerOptions,
803
+ options?: ECRRequestOptions,
803
804
  ): Promise<PutRegistryPolicyCommandOutput>;
804
805
  putRegistryPolicy(
805
806
  args: PutRegistryPolicyCommandInput,
@@ -807,13 +808,13 @@ export interface ECR {
807
808
  ): void;
808
809
  putRegistryPolicy(
809
810
  args: PutRegistryPolicyCommandInput,
810
- options: __HttpHandlerOptions,
811
+ options: ECRRequestOptions,
811
812
  cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void,
812
813
  ): void;
813
814
  putRegistryScanningConfiguration(): Promise<PutRegistryScanningConfigurationCommandOutput>;
814
815
  putRegistryScanningConfiguration(
815
816
  args: PutRegistryScanningConfigurationCommandInput,
816
- options?: __HttpHandlerOptions,
817
+ options?: ECRRequestOptions,
817
818
  ): Promise<PutRegistryScanningConfigurationCommandOutput>;
818
819
  putRegistryScanningConfiguration(
819
820
  args: PutRegistryScanningConfigurationCommandInput,
@@ -821,12 +822,12 @@ export interface ECR {
821
822
  ): void;
822
823
  putRegistryScanningConfiguration(
823
824
  args: PutRegistryScanningConfigurationCommandInput,
824
- options: __HttpHandlerOptions,
825
+ options: ECRRequestOptions,
825
826
  cb: (err: any, data?: PutRegistryScanningConfigurationCommandOutput) => void,
826
827
  ): void;
827
828
  putReplicationConfiguration(
828
829
  args: PutReplicationConfigurationCommandInput,
829
- options?: __HttpHandlerOptions,
830
+ options?: ECRRequestOptions,
830
831
  ): Promise<PutReplicationConfigurationCommandOutput>;
831
832
  putReplicationConfiguration(
832
833
  args: PutReplicationConfigurationCommandInput,
@@ -834,12 +835,12 @@ export interface ECR {
834
835
  ): void;
835
836
  putReplicationConfiguration(
836
837
  args: PutReplicationConfigurationCommandInput,
837
- options: __HttpHandlerOptions,
838
+ options: ECRRequestOptions,
838
839
  cb: (err: any, data?: PutReplicationConfigurationCommandOutput) => void,
839
840
  ): void;
840
841
  putSigningConfiguration(
841
842
  args: PutSigningConfigurationCommandInput,
842
- options?: __HttpHandlerOptions,
843
+ options?: ECRRequestOptions,
843
844
  ): Promise<PutSigningConfigurationCommandOutput>;
844
845
  putSigningConfiguration(
845
846
  args: PutSigningConfigurationCommandInput,
@@ -847,12 +848,12 @@ export interface ECR {
847
848
  ): void;
848
849
  putSigningConfiguration(
849
850
  args: PutSigningConfigurationCommandInput,
850
- options: __HttpHandlerOptions,
851
+ options: ECRRequestOptions,
851
852
  cb: (err: any, data?: PutSigningConfigurationCommandOutput) => void,
852
853
  ): void;
853
854
  registerPullTimeUpdateExclusion(
854
855
  args: RegisterPullTimeUpdateExclusionCommandInput,
855
- options?: __HttpHandlerOptions,
856
+ options?: ECRRequestOptions,
856
857
  ): Promise<RegisterPullTimeUpdateExclusionCommandOutput>;
857
858
  registerPullTimeUpdateExclusion(
858
859
  args: RegisterPullTimeUpdateExclusionCommandInput,
@@ -860,12 +861,12 @@ export interface ECR {
860
861
  ): void;
861
862
  registerPullTimeUpdateExclusion(
862
863
  args: RegisterPullTimeUpdateExclusionCommandInput,
863
- options: __HttpHandlerOptions,
864
+ options: ECRRequestOptions,
864
865
  cb: (err: any, data?: RegisterPullTimeUpdateExclusionCommandOutput) => void,
865
866
  ): void;
866
867
  setRepositoryPolicy(
867
868
  args: SetRepositoryPolicyCommandInput,
868
- options?: __HttpHandlerOptions,
869
+ options?: ECRRequestOptions,
869
870
  ): Promise<SetRepositoryPolicyCommandOutput>;
870
871
  setRepositoryPolicy(
871
872
  args: SetRepositoryPolicyCommandInput,
@@ -873,12 +874,12 @@ export interface ECR {
873
874
  ): void;
874
875
  setRepositoryPolicy(
875
876
  args: SetRepositoryPolicyCommandInput,
876
- options: __HttpHandlerOptions,
877
+ options: ECRRequestOptions,
877
878
  cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void,
878
879
  ): void;
879
880
  startImageScan(
880
881
  args: StartImageScanCommandInput,
881
- options?: __HttpHandlerOptions,
882
+ options?: ECRRequestOptions,
882
883
  ): Promise<StartImageScanCommandOutput>;
883
884
  startImageScan(
884
885
  args: StartImageScanCommandInput,
@@ -886,12 +887,12 @@ export interface ECR {
886
887
  ): void;
887
888
  startImageScan(
888
889
  args: StartImageScanCommandInput,
889
- options: __HttpHandlerOptions,
890
+ options: ECRRequestOptions,
890
891
  cb: (err: any, data?: StartImageScanCommandOutput) => void,
891
892
  ): void;
892
893
  startLifecyclePolicyPreview(
893
894
  args: StartLifecyclePolicyPreviewCommandInput,
894
- options?: __HttpHandlerOptions,
895
+ options?: ECRRequestOptions,
895
896
  ): Promise<StartLifecyclePolicyPreviewCommandOutput>;
896
897
  startLifecyclePolicyPreview(
897
898
  args: StartLifecyclePolicyPreviewCommandInput,
@@ -899,12 +900,12 @@ export interface ECR {
899
900
  ): void;
900
901
  startLifecyclePolicyPreview(
901
902
  args: StartLifecyclePolicyPreviewCommandInput,
902
- options: __HttpHandlerOptions,
903
+ options: ECRRequestOptions,
903
904
  cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void,
904
905
  ): void;
905
906
  tagResource(
906
907
  args: TagResourceCommandInput,
907
- options?: __HttpHandlerOptions,
908
+ options?: ECRRequestOptions,
908
909
  ): Promise<TagResourceCommandOutput>;
909
910
  tagResource(
910
911
  args: TagResourceCommandInput,
@@ -912,12 +913,12 @@ export interface ECR {
912
913
  ): void;
913
914
  tagResource(
914
915
  args: TagResourceCommandInput,
915
- options: __HttpHandlerOptions,
916
+ options: ECRRequestOptions,
916
917
  cb: (err: any, data?: TagResourceCommandOutput) => void,
917
918
  ): void;
918
919
  untagResource(
919
920
  args: UntagResourceCommandInput,
920
- options?: __HttpHandlerOptions,
921
+ options?: ECRRequestOptions,
921
922
  ): Promise<UntagResourceCommandOutput>;
922
923
  untagResource(
923
924
  args: UntagResourceCommandInput,
@@ -925,12 +926,12 @@ export interface ECR {
925
926
  ): void;
926
927
  untagResource(
927
928
  args: UntagResourceCommandInput,
928
- options: __HttpHandlerOptions,
929
+ options: ECRRequestOptions,
929
930
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
930
931
  ): void;
931
932
  updateImageStorageClass(
932
933
  args: UpdateImageStorageClassCommandInput,
933
- options?: __HttpHandlerOptions,
934
+ options?: ECRRequestOptions,
934
935
  ): Promise<UpdateImageStorageClassCommandOutput>;
935
936
  updateImageStorageClass(
936
937
  args: UpdateImageStorageClassCommandInput,
@@ -938,12 +939,12 @@ export interface ECR {
938
939
  ): void;
939
940
  updateImageStorageClass(
940
941
  args: UpdateImageStorageClassCommandInput,
941
- options: __HttpHandlerOptions,
942
+ options: ECRRequestOptions,
942
943
  cb: (err: any, data?: UpdateImageStorageClassCommandOutput) => void,
943
944
  ): void;
944
945
  updatePullThroughCacheRule(
945
946
  args: UpdatePullThroughCacheRuleCommandInput,
946
- options?: __HttpHandlerOptions,
947
+ options?: ECRRequestOptions,
947
948
  ): Promise<UpdatePullThroughCacheRuleCommandOutput>;
948
949
  updatePullThroughCacheRule(
949
950
  args: UpdatePullThroughCacheRuleCommandInput,
@@ -951,12 +952,12 @@ export interface ECR {
951
952
  ): void;
952
953
  updatePullThroughCacheRule(
953
954
  args: UpdatePullThroughCacheRuleCommandInput,
954
- options: __HttpHandlerOptions,
955
+ options: ECRRequestOptions,
955
956
  cb: (err: any, data?: UpdatePullThroughCacheRuleCommandOutput) => void,
956
957
  ): void;
957
958
  updateRepositoryCreationTemplate(
958
959
  args: UpdateRepositoryCreationTemplateCommandInput,
959
- options?: __HttpHandlerOptions,
960
+ options?: ECRRequestOptions,
960
961
  ): Promise<UpdateRepositoryCreationTemplateCommandOutput>;
961
962
  updateRepositoryCreationTemplate(
962
963
  args: UpdateRepositoryCreationTemplateCommandInput,
@@ -964,12 +965,12 @@ export interface ECR {
964
965
  ): void;
965
966
  updateRepositoryCreationTemplate(
966
967
  args: UpdateRepositoryCreationTemplateCommandInput,
967
- options: __HttpHandlerOptions,
968
+ options: ECRRequestOptions,
968
969
  cb: (err: any, data?: UpdateRepositoryCreationTemplateCommandOutput) => void,
969
970
  ): void;
970
971
  uploadLayerPart(
971
972
  args: UploadLayerPartCommandInput,
972
- options?: __HttpHandlerOptions,
973
+ options?: ECRRequestOptions,
973
974
  ): Promise<UploadLayerPartCommandOutput>;
974
975
  uploadLayerPart(
975
976
  args: UploadLayerPartCommandInput,
@@ -977,12 +978,12 @@ export interface ECR {
977
978
  ): void;
978
979
  uploadLayerPart(
979
980
  args: UploadLayerPartCommandInput,
980
- options: __HttpHandlerOptions,
981
+ options: ECRRequestOptions,
981
982
  cb: (err: any, data?: UploadLayerPartCommandOutput) => void,
982
983
  ): void;
983
984
  validatePullThroughCacheRule(
984
985
  args: ValidatePullThroughCacheRuleCommandInput,
985
- options?: __HttpHandlerOptions,
986
+ options?: ECRRequestOptions,
986
987
  ): Promise<ValidatePullThroughCacheRuleCommandOutput>;
987
988
  validatePullThroughCacheRule(
988
989
  args: ValidatePullThroughCacheRuleCommandInput,
@@ -990,7 +991,7 @@ export interface ECR {
990
991
  ): void;
991
992
  validatePullThroughCacheRule(
992
993
  args: ValidatePullThroughCacheRuleCommandInput,
993
- options: __HttpHandlerOptions,
994
+ options: ECRRequestOptions,
994
995
  cb: (err: any, data?: ValidatePullThroughCacheRuleCommandOutput) => void,
995
996
  ): void;
996
997
  paginateDescribeImages(