Skip to content

Typed dictionaries

Index > Account > Typed dictionaries

Auto-generated documentation for Account type annotations stubs module mypy-boto3-account.

AlternateContactTypeDef

Usage Example
from mypy_boto3_account.type_defs import AlternateContactTypeDef

def get_value() -> AlternateContactTypeDef:
    return {
        "AlternateContactType": ...,
    }
Definition
class AlternateContactTypeDef(TypedDict):
    AlternateContactType: NotRequired[AlternateContactTypeType],  # (1)
    EmailAddress: NotRequired[str],
    Name: NotRequired[str],
    PhoneNumber: NotRequired[str],
    Title: NotRequired[str],
  1. See AlternateContactTypeType

ContactInformationTypeDef

Usage Example
from mypy_boto3_account.type_defs import ContactInformationTypeDef

def get_value() -> ContactInformationTypeDef:
    return {
        "AddressLine1": ...,
        "City": ...,
        "CountryCode": ...,
        "FullName": ...,
        "PhoneNumber": ...,
        "PostalCode": ...,
    }
Definition
class ContactInformationTypeDef(TypedDict):
    AddressLine1: str,
    City: str,
    CountryCode: str,
    FullName: str,
    PhoneNumber: str,
    PostalCode: str,
    AddressLine2: NotRequired[str],
    AddressLine3: NotRequired[str],
    CompanyName: NotRequired[str],
    DistrictOrCounty: NotRequired[str],
    StateOrRegion: NotRequired[str],
    WebsiteUrl: NotRequired[str],

DeleteAlternateContactRequestRequestTypeDef

Usage Example
from mypy_boto3_account.type_defs import DeleteAlternateContactRequestRequestTypeDef

def get_value() -> DeleteAlternateContactRequestRequestTypeDef:
    return {
        "AlternateContactType": ...,
    }
Definition
class DeleteAlternateContactRequestRequestTypeDef(TypedDict):
    AlternateContactType: AlternateContactTypeType,  # (1)
    AccountId: NotRequired[str],
  1. See AlternateContactTypeType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_account.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

GetAlternateContactRequestRequestTypeDef

Usage Example
from mypy_boto3_account.type_defs import GetAlternateContactRequestRequestTypeDef

def get_value() -> GetAlternateContactRequestRequestTypeDef:
    return {
        "AlternateContactType": ...,
    }
Definition
class GetAlternateContactRequestRequestTypeDef(TypedDict):
    AlternateContactType: AlternateContactTypeType,  # (1)
    AccountId: NotRequired[str],
  1. See AlternateContactTypeType

GetContactInformationRequestRequestTypeDef

Usage Example
from mypy_boto3_account.type_defs import GetContactInformationRequestRequestTypeDef

def get_value() -> GetContactInformationRequestRequestTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class GetContactInformationRequestRequestTypeDef(TypedDict):
    AccountId: NotRequired[str],

PutAlternateContactRequestRequestTypeDef

Usage Example
from mypy_boto3_account.type_defs import PutAlternateContactRequestRequestTypeDef

def get_value() -> PutAlternateContactRequestRequestTypeDef:
    return {
        "AlternateContactType": ...,
        "EmailAddress": ...,
        "Name": ...,
        "PhoneNumber": ...,
        "Title": ...,
    }
Definition
class PutAlternateContactRequestRequestTypeDef(TypedDict):
    AlternateContactType: AlternateContactTypeType,  # (1)
    EmailAddress: str,
    Name: str,
    PhoneNumber: str,
    Title: str,
    AccountId: NotRequired[str],
  1. See AlternateContactTypeType

PutContactInformationRequestRequestTypeDef

Usage Example
from mypy_boto3_account.type_defs import PutContactInformationRequestRequestTypeDef

def get_value() -> PutContactInformationRequestRequestTypeDef:
    return {
        "ContactInformation": ...,
    }
Definition
class PutContactInformationRequestRequestTypeDef(TypedDict):
    ContactInformation: ContactInformationTypeDef,  # (1)
    AccountId: NotRequired[str],
  1. See ContactInformationTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_account.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAlternateContactResponseTypeDef

Usage Example
from mypy_boto3_account.type_defs import GetAlternateContactResponseTypeDef

def get_value() -> GetAlternateContactResponseTypeDef:
    return {
        "AlternateContact": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAlternateContactResponseTypeDef(TypedDict):
    AlternateContact: AlternateContactTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlternateContactTypeDef
  2. See ResponseMetadataTypeDef

GetContactInformationResponseTypeDef

Usage Example
from mypy_boto3_account.type_defs import GetContactInformationResponseTypeDef

def get_value() -> GetContactInformationResponseTypeDef:
    return {
        "ContactInformation": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetContactInformationResponseTypeDef(TypedDict):
    ContactInformation: ContactInformationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContactInformationTypeDef
  2. See ResponseMetadataTypeDef