| 
									
										
										
										
											2021-08-24 11:49:45 -04:00
										 |  |  | """{{ service_class }}Backend class with methods for supported APIs.""" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-28 12:22:48 -01:00
										 |  |  | from moto.core import BaseBackend, BackendDict, BaseModel | 
					
						
							| 
									
										
										
										
											2017-09-20 03:14:14 +09:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class {{ service_class }}Backend(BaseBackend): | 
					
						
							| 
									
										
										
										
											2021-08-24 11:49:45 -04:00
										 |  |  |     """Implementation of {{ service_class }} APIs.""" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-04 11:30:16 +00:00
										 |  |  |     def __init__(self, region_name, account_id): | 
					
						
							|  |  |  |         super().__init__(region_name, account_id) | 
					
						
							| 
									
										
										
										
											2017-09-20 03:14:14 +09:00
										 |  |  | 
 | 
					
						
							|  |  |  |     # add methods from here | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-24 20:02:45 -01:00
										 |  |  | {{ escaped_service }}_backends = BackendDict({{ service_class }}Backend, "{{ service }}") |