Skip to content

Type definitions#

Index > S3Outposts > Type definitions

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

CreateEndpointRequestTypeDef#

# CreateEndpointRequestTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import CreateEndpointRequestTypeDef


def get_value() -> CreateEndpointRequestTypeDef:
    return {
        "OutpostId": ...,
    }


# CreateEndpointRequestTypeDef definition

class CreateEndpointRequestTypeDef(TypedDict):
    OutpostId: str,
    SubnetId: str,
    SecurityGroupId: str,
    AccessType: NotRequired[EndpointAccessTypeType],  # (1)
    CustomerOwnedIpv4Pool: NotRequired[str],
  1. See EndpointAccessTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DeleteEndpointRequestTypeDef#

# DeleteEndpointRequestTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import DeleteEndpointRequestTypeDef


def get_value() -> DeleteEndpointRequestTypeDef:
    return {
        "EndpointId": ...,
    }


# DeleteEndpointRequestTypeDef definition

class DeleteEndpointRequestTypeDef(TypedDict):
    EndpointId: str,
    OutpostId: str,

FailedReasonTypeDef#

# FailedReasonTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import FailedReasonTypeDef


def get_value() -> FailedReasonTypeDef:
    return {
        "ErrorCode": ...,
    }


# FailedReasonTypeDef definition

class FailedReasonTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    Message: NotRequired[str],

NetworkInterfaceTypeDef#

# NetworkInterfaceTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import NetworkInterfaceTypeDef


def get_value() -> NetworkInterfaceTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }


# NetworkInterfaceTypeDef definition

class NetworkInterfaceTypeDef(TypedDict):
    NetworkInterfaceId: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListEndpointsRequestTypeDef#

# ListEndpointsRequestTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListEndpointsRequestTypeDef


def get_value() -> ListEndpointsRequestTypeDef:
    return {
        "NextToken": ...,
    }


# ListEndpointsRequestTypeDef definition

class ListEndpointsRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListOutpostsWithS3RequestTypeDef#

# ListOutpostsWithS3RequestTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListOutpostsWithS3RequestTypeDef


def get_value() -> ListOutpostsWithS3RequestTypeDef:
    return {
        "NextToken": ...,
    }


# ListOutpostsWithS3RequestTypeDef definition

class ListOutpostsWithS3RequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

OutpostTypeDef#

# OutpostTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import OutpostTypeDef


def get_value() -> OutpostTypeDef:
    return {
        "OutpostArn": ...,
    }


# OutpostTypeDef definition

class OutpostTypeDef(TypedDict):
    OutpostArn: NotRequired[str],
    S3OutpostArn: NotRequired[str],
    OutpostId: NotRequired[str],
    OwnerId: NotRequired[str],
    CapacityInBytes: NotRequired[int],

ListSharedEndpointsRequestTypeDef#

# ListSharedEndpointsRequestTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListSharedEndpointsRequestTypeDef


def get_value() -> ListSharedEndpointsRequestTypeDef:
    return {
        "OutpostId": ...,
    }


# ListSharedEndpointsRequestTypeDef definition

class ListSharedEndpointsRequestTypeDef(TypedDict):
    OutpostId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

CreateEndpointResultTypeDef#

# CreateEndpointResultTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import CreateEndpointResultTypeDef


def get_value() -> CreateEndpointResultTypeDef:
    return {
        "EndpointArn": ...,
    }


# CreateEndpointResultTypeDef definition

class CreateEndpointResultTypeDef(TypedDict):
    EndpointArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import EmptyResponseMetadataTypeDef


def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }


# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EndpointTypeDef#

# EndpointTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import EndpointTypeDef


def get_value() -> EndpointTypeDef:
    return {
        "EndpointArn": ...,
    }


# EndpointTypeDef definition

class EndpointTypeDef(TypedDict):
    EndpointArn: NotRequired[str],
    OutpostsId: NotRequired[str],
    CidrBlock: NotRequired[str],
    Status: NotRequired[EndpointStatusType],  # (1)
    CreationTime: NotRequired[datetime],
    NetworkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (2)
    VpcId: NotRequired[str],
    SubnetId: NotRequired[str],
    SecurityGroupId: NotRequired[str],
    AccessType: NotRequired[EndpointAccessTypeType],  # (3)
    CustomerOwnedIpv4Pool: NotRequired[str],
    FailedReason: NotRequired[FailedReasonTypeDef],  # (4)
  1. See EndpointStatusType
  2. See NetworkInterfaceTypeDef
  3. See EndpointAccessTypeType
  4. See FailedReasonTypeDef

ListEndpointsRequestPaginateTypeDef#

# ListEndpointsRequestPaginateTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListEndpointsRequestPaginateTypeDef


def get_value() -> ListEndpointsRequestPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListEndpointsRequestPaginateTypeDef definition

class ListEndpointsRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOutpostsWithS3RequestPaginateTypeDef#

# ListOutpostsWithS3RequestPaginateTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListOutpostsWithS3RequestPaginateTypeDef


def get_value() -> ListOutpostsWithS3RequestPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListOutpostsWithS3RequestPaginateTypeDef definition

class ListOutpostsWithS3RequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSharedEndpointsRequestPaginateTypeDef#

# ListSharedEndpointsRequestPaginateTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListSharedEndpointsRequestPaginateTypeDef


def get_value() -> ListSharedEndpointsRequestPaginateTypeDef:
    return {
        "OutpostId": ...,
    }


# ListSharedEndpointsRequestPaginateTypeDef definition

class ListSharedEndpointsRequestPaginateTypeDef(TypedDict):
    OutpostId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOutpostsWithS3ResultTypeDef#

# ListOutpostsWithS3ResultTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListOutpostsWithS3ResultTypeDef


def get_value() -> ListOutpostsWithS3ResultTypeDef:
    return {
        "Outposts": ...,
    }


# ListOutpostsWithS3ResultTypeDef definition

class ListOutpostsWithS3ResultTypeDef(TypedDict):
    Outposts: List[OutpostTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See OutpostTypeDef
  2. See ResponseMetadataTypeDef

ListEndpointsResultTypeDef#

# ListEndpointsResultTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListEndpointsResultTypeDef


def get_value() -> ListEndpointsResultTypeDef:
    return {
        "Endpoints": ...,
    }


# ListEndpointsResultTypeDef definition

class ListEndpointsResultTypeDef(TypedDict):
    Endpoints: List[EndpointTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EndpointTypeDef
  2. See ResponseMetadataTypeDef

ListSharedEndpointsResultTypeDef#

# ListSharedEndpointsResultTypeDef TypedDict usage example

from types_boto3_s3outposts.type_defs import ListSharedEndpointsResultTypeDef


def get_value() -> ListSharedEndpointsResultTypeDef:
    return {
        "Endpoints": ...,
    }


# ListSharedEndpointsResultTypeDef definition

class ListSharedEndpointsResultTypeDef(TypedDict):
    Endpoints: List[EndpointTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EndpointTypeDef
  2. See ResponseMetadataTypeDef