Skip to content

Type definitions#

Index > ElasticInference > Type definitions

Auto-generated documentation for ElasticInference type annotations stubs module mypy-boto3-elastic-inference.

AcceleratorTypeOfferingTypeDef#

# AcceleratorTypeOfferingTypeDef definition

class AcceleratorTypeOfferingTypeDef(TypedDict):
    acceleratorType: NotRequired[str],
    locationType: NotRequired[LocationTypeType],  # (1)
    location: NotRequired[str],
  1. See LocationTypeType

KeyValuePairTypeDef#

# KeyValuePairTypeDef definition

class KeyValuePairTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[int],

MemoryInfoTypeDef#

# MemoryInfoTypeDef definition

class MemoryInfoTypeDef(TypedDict):
    sizeInMiB: NotRequired[int],

DescribeAcceleratorOfferingsRequestRequestTypeDef#

# DescribeAcceleratorOfferingsRequestRequestTypeDef definition

class DescribeAcceleratorOfferingsRequestRequestTypeDef(TypedDict):
    locationType: LocationTypeType,  # (1)
    acceleratorTypes: NotRequired[Sequence[str]],
  1. See LocationTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    name: NotRequired[str],
    values: NotRequired[Sequence[str]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ElasticInferenceAcceleratorHealthTypeDef#

# ElasticInferenceAcceleratorHealthTypeDef definition

class ElasticInferenceAcceleratorHealthTypeDef(TypedDict):
    status: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

AcceleratorTypeTypeDef#

# AcceleratorTypeTypeDef definition

class AcceleratorTypeTypeDef(TypedDict):
    acceleratorTypeName: NotRequired[str],
    memoryInfo: NotRequired[MemoryInfoTypeDef],  # (1)
    throughputInfo: NotRequired[List[KeyValuePairTypeDef]],  # (2)
  1. See MemoryInfoTypeDef
  2. See KeyValuePairTypeDef

DescribeAcceleratorOfferingsResponseTypeDef#

# DescribeAcceleratorOfferingsResponseTypeDef definition

class DescribeAcceleratorOfferingsResponseTypeDef(TypedDict):
    acceleratorTypeOfferings: List[AcceleratorTypeOfferingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AcceleratorTypeOfferingTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResultTypeDef#

# ListTagsForResourceResultTypeDef definition

class ListTagsForResourceResultTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAcceleratorsRequestRequestTypeDef#

# DescribeAcceleratorsRequestRequestTypeDef definition

class DescribeAcceleratorsRequestRequestTypeDef(TypedDict):
    acceleratorIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeAcceleratorsRequestDescribeAcceleratorsPaginateTypeDef#

# DescribeAcceleratorsRequestDescribeAcceleratorsPaginateTypeDef definition

class DescribeAcceleratorsRequestDescribeAcceleratorsPaginateTypeDef(TypedDict):
    acceleratorIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

ElasticInferenceAcceleratorTypeDef#

# ElasticInferenceAcceleratorTypeDef definition

class ElasticInferenceAcceleratorTypeDef(TypedDict):
    acceleratorHealth: NotRequired[ElasticInferenceAcceleratorHealthTypeDef],  # (1)
    acceleratorType: NotRequired[str],
    acceleratorId: NotRequired[str],
    availabilityZone: NotRequired[str],
    attachedResource: NotRequired[str],
  1. See ElasticInferenceAcceleratorHealthTypeDef

DescribeAcceleratorTypesResponseTypeDef#

# DescribeAcceleratorTypesResponseTypeDef definition

class DescribeAcceleratorTypesResponseTypeDef(TypedDict):
    acceleratorTypes: List[AcceleratorTypeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AcceleratorTypeTypeDef
  2. See ResponseMetadataTypeDef

DescribeAcceleratorsResponseTypeDef#

# DescribeAcceleratorsResponseTypeDef definition

class DescribeAcceleratorsResponseTypeDef(TypedDict):
    acceleratorSet: List[ElasticInferenceAcceleratorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ElasticInferenceAcceleratorTypeDef
  2. See ResponseMetadataTypeDef