Skip to content

S3Outposts module#

Index > S3Outposts

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

How to install#

You can generate type annotations for boto3 package locally with mypy_boto3_builder. Use uv for build isolation.

  1. Run mypy-boto3-builder in your package root directory: uvx --with 'boto3==1.35.86' mypy_boto3_builder
  2. Select boto3 AWS SDK.
  3. Add S3Outposts service.
  4. Use provided commands to install generated packages.

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and S3Outposts.

From PyPI with pip#

Install types-boto3 for S3Outposts service.

# install with boto3 type annotations
python -m pip install 'types-boto3[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-boto3-lite[s3outposts]'

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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

S3OutpostsClient#

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

# S3OutpostsClient usage example

from boto3.session import Session

from types_boto3_s3outposts.client import S3OutpostsClient

def get_client() -> S3OutpostsClient:
    return Session().client("s3outposts")

Paginators#

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

# ListEndpointsPaginator usage example

from boto3.session import Session

from types_boto3_s3outposts.paginator import ListEndpointsPaginator

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

Literals#

Type annotations for literals used in methods and schema.

# EndpointAccessTypeType usage example

from types_boto3_s3outposts.literals import EndpointAccessTypeType

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

Type definitions#

Type annotations for type definitions used in methods and schema.