"""
Wrapper for aioboto3 EC2 service.

[Documentation](https://youtype.github.io/types_aioboto3_docs/types_aiobotocore_ec2/)

Copyright 2025 Vlad Emelianov

Usage::

    ```python
    from boto34.aioboto3 import Session

    # Wrapper for aioboto3.Session constructor
    # Returns boto34.Session inherited from aioboto3.Session
    session = Session()
    session: boto34.aioboto3.session.Session

    # Type annotated aioboto3.Client
    # Uses the same arguments as aioboto3.client method
    # Returns type annotated aioboto3 EC2 client
    ec2_client = session.ec2.client()
    ec2_client: types_aiobotocore_ec2.client.EC2Client

    # Type annotated aioboto3.Resource
    # Uses the same arguments as aioboto3.resource method
    # returns type annotated aioboto3 EC2 resource
    ec2_resource = session.ec2.resource()
    ec2_resource: types_aiobotocore_ec2.service_resource.EC2ServiceResource
    ```
"""

from __future__ import annotations

from types_aiobotocore_ec2.client import EC2Client
from types_aiobotocore_ec2.service_resource import EC2ServiceResource

from boto34.aioboto3.service_factory import ServiceResourceFactory


class EC2Service(ServiceResourceFactory[EC2Client, EC2ServiceResource]):
    SERVICE_NAME = "ec2"
    _SERVICE_PROP = "ec2"
