Skip to content

S3Outposts module

Index > S3Outposts

Auto-generated documentation for S3Outposts type annotations stubs module types-aiobotocore-s3outposts.

How to install

From PyPI with pip

Install types-aioboto3 for S3Outposts service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[s3outposts]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[s3outposts]'


# standalone installation
python -m pip install types-aiobotocore-s3outposts

How to uninstall

python -m pip uninstall -y types-aiobotocore-s3outposts

Usage

Code samples can be found in Examples.

S3OutpostsClient

Type annotations and code completion for session.client("s3outposts") as S3OutpostsClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_s3outposts.client import S3OutpostsClient


session = Session()
async with session.client("s3outposts") as client:
    client: S3OutpostsClient

Paginators

Type annotations and code completion for paginators from session.client("s3outposts").get_paginator("...").

Usage example
from types_aiobotocore_s3outposts.paginator import ListEndpointsPaginator

def get_list_endpoints_paginator() -> ListEndpointsPaginator:
    return client.get_paginator("list_endpoints"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_s3outposts.literals import EndpointAccessTypeType

def get_value() -> EndpointAccessTypeType:
    return "CustomerOwnedIp"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_s3outposts.type_defs import CreateEndpointRequestRequestTypeDef

def get_value() -> CreateEndpointRequestRequestTypeDef:
    return {
        "OutpostId": ...,
        "SubnetId": ...,
        "SecurityGroupId": ...,
    }