S3Outposts module#
Index > S3Outposts
Auto-generated documentation for S3Outposts type annotations stubs module types-boto3-s3outposts.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
S3Outposts
service. - 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"
- EndpointAccessTypeType
- EndpointStatusType
- ListEndpointsPaginatorName
- ListOutpostsWithS3PaginatorName
- ListSharedEndpointsPaginatorName
- S3OutpostsServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- CreateEndpointRequestRequestTypeDef
- ResponseMetadataTypeDef
- DeleteEndpointRequestRequestTypeDef
- FailedReasonTypeDef
- NetworkInterfaceTypeDef
- PaginatorConfigTypeDef
- ListEndpointsRequestRequestTypeDef
- ListOutpostsWithS3RequestRequestTypeDef
- OutpostTypeDef
- ListSharedEndpointsRequestRequestTypeDef
- CreateEndpointResultTypeDef
- EmptyResponseMetadataTypeDef
- EndpointTypeDef
- ListEndpointsRequestPaginateTypeDef
- ListOutpostsWithS3RequestPaginateTypeDef
- ListSharedEndpointsRequestPaginateTypeDef
- ListOutpostsWithS3ResultTypeDef
- ListEndpointsResultTypeDef
- ListSharedEndpointsResultTypeDef