This repository was archived by the owner on Mar 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
localstack-core/localstack/services/s3control Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1+ from localstack .aws .api import CommonServiceException
2+
3+
4+ class NoSuchResource (CommonServiceException ):
5+ def __init__ (self , message = None ):
6+ super ().__init__ ("NoSuchResource" , status_code = 404 , message = message )
Original file line number Diff line number Diff line change 1- from localstack .aws .api import CommonServiceException , RequestContext
1+ from localstack .aws .api import RequestContext
22from localstack .aws .api .s3control import (
33 AccountId ,
44 ListTagsForResourceResult ,
1414from localstack .state import StateVisitor
1515
1616
17- class NoSuchResource (CommonServiceException ):
18- def __init__ (self , message = None ):
19- super ().__init__ ("NoSuchResource" , status_code = 404 , message = message )
20-
21-
2217class S3ControlProvider (S3ControlApi ):
2318 def accept_state_visitor (self , visitor : StateVisitor ):
2419 from moto .s3control .models import s3control_backends
Original file line number Diff line number Diff line change 44from localstack .services .s3 .exceptions import MalformedXML
55from localstack .services .s3 .models import s3_stores
66from localstack .services .s3 .utils import TAG_REGEX
7- from localstack .services .s3control .provider import NoSuchResource
7+ from localstack .services .s3control .exceptions import NoSuchResource
88
99
1010def validate_arn_for_tagging (
You can’t perform that action at this time.
0 commit comments