Skip to content

Type definitions#

Index > Account > Type definitions

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

AcceptPrimaryEmailUpdateRequestRequestTypeDef#

# AcceptPrimaryEmailUpdateRequestRequestTypeDef definition

class AcceptPrimaryEmailUpdateRequestRequestTypeDef(TypedDict):
    AccountId: str,
    Otp: str,
    PrimaryEmail: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

AlternateContactTypeDef#

# AlternateContactTypeDef definition

class AlternateContactTypeDef(TypedDict):
    AlternateContactType: NotRequired[AlternateContactTypeType],  # (1)
    EmailAddress: NotRequired[str],
    Name: NotRequired[str],
    PhoneNumber: NotRequired[str],
    Title: NotRequired[str],
  1. See AlternateContactTypeType

ContactInformationTypeDef#

# ContactInformationTypeDef 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#

# DeleteAlternateContactRequestRequestTypeDef definition

class DeleteAlternateContactRequestRequestTypeDef(TypedDict):
    AlternateContactType: AlternateContactTypeType,  # (1)
    AccountId: NotRequired[str],
  1. See AlternateContactTypeType

DisableRegionRequestRequestTypeDef#

# DisableRegionRequestRequestTypeDef definition

class DisableRegionRequestRequestTypeDef(TypedDict):
    RegionName: str,
    AccountId: NotRequired[str],

EnableRegionRequestRequestTypeDef#

# EnableRegionRequestRequestTypeDef definition

class EnableRegionRequestRequestTypeDef(TypedDict):
    RegionName: str,
    AccountId: NotRequired[str],

GetAlternateContactRequestRequestTypeDef#

# GetAlternateContactRequestRequestTypeDef definition

class GetAlternateContactRequestRequestTypeDef(TypedDict):
    AlternateContactType: AlternateContactTypeType,  # (1)
    AccountId: NotRequired[str],
  1. See AlternateContactTypeType

GetContactInformationRequestRequestTypeDef#

# GetContactInformationRequestRequestTypeDef definition

class GetContactInformationRequestRequestTypeDef(TypedDict):
    AccountId: NotRequired[str],

GetPrimaryEmailRequestRequestTypeDef#

# GetPrimaryEmailRequestRequestTypeDef definition

class GetPrimaryEmailRequestRequestTypeDef(TypedDict):
    AccountId: str,

GetRegionOptStatusRequestRequestTypeDef#

# GetRegionOptStatusRequestRequestTypeDef definition

class GetRegionOptStatusRequestRequestTypeDef(TypedDict):
    RegionName: str,
    AccountId: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListRegionsRequestRequestTypeDef#

# ListRegionsRequestRequestTypeDef definition

class ListRegionsRequestRequestTypeDef(TypedDict):
    AccountId: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    RegionOptStatusContains: NotRequired[Sequence[RegionOptStatusType]],  # (1)
  1. See RegionOptStatusType

RegionTypeDef#

# RegionTypeDef definition

class RegionTypeDef(TypedDict):
    RegionName: NotRequired[str],
    RegionOptStatus: NotRequired[RegionOptStatusType],  # (1)
  1. See RegionOptStatusType

PutAlternateContactRequestRequestTypeDef#

# PutAlternateContactRequestRequestTypeDef definition

class PutAlternateContactRequestRequestTypeDef(TypedDict):
    AlternateContactType: AlternateContactTypeType,  # (1)
    EmailAddress: str,
    Name: str,
    PhoneNumber: str,
    Title: str,
    AccountId: NotRequired[str],
  1. See AlternateContactTypeType

StartPrimaryEmailUpdateRequestRequestTypeDef#

# StartPrimaryEmailUpdateRequestRequestTypeDef definition

class StartPrimaryEmailUpdateRequestRequestTypeDef(TypedDict):
    AccountId: str,
    PrimaryEmail: str,

AcceptPrimaryEmailUpdateResponseTypeDef#

# AcceptPrimaryEmailUpdateResponseTypeDef definition

class AcceptPrimaryEmailUpdateResponseTypeDef(TypedDict):
    Status: PrimaryEmailUpdateStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PrimaryEmailUpdateStatusType
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

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

GetPrimaryEmailResponseTypeDef#

# GetPrimaryEmailResponseTypeDef definition

class GetPrimaryEmailResponseTypeDef(TypedDict):
    PrimaryEmail: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetRegionOptStatusResponseTypeDef#

# GetRegionOptStatusResponseTypeDef definition

class GetRegionOptStatusResponseTypeDef(TypedDict):
    RegionName: str,
    RegionOptStatus: RegionOptStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegionOptStatusType
  2. See ResponseMetadataTypeDef

StartPrimaryEmailUpdateResponseTypeDef#

# StartPrimaryEmailUpdateResponseTypeDef definition

class StartPrimaryEmailUpdateResponseTypeDef(TypedDict):
    Status: PrimaryEmailUpdateStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PrimaryEmailUpdateStatusType
  2. See ResponseMetadataTypeDef

GetAlternateContactResponseTypeDef#

# GetAlternateContactResponseTypeDef definition

class GetAlternateContactResponseTypeDef(TypedDict):
    AlternateContact: AlternateContactTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlternateContactTypeDef
  2. See ResponseMetadataTypeDef

GetContactInformationResponseTypeDef#

# GetContactInformationResponseTypeDef definition

class GetContactInformationResponseTypeDef(TypedDict):
    ContactInformation: ContactInformationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContactInformationTypeDef
  2. See ResponseMetadataTypeDef

PutContactInformationRequestRequestTypeDef#

# PutContactInformationRequestRequestTypeDef definition

class PutContactInformationRequestRequestTypeDef(TypedDict):
    ContactInformation: ContactInformationTypeDef,  # (1)
    AccountId: NotRequired[str],
  1. See ContactInformationTypeDef

ListRegionsRequestListRegionsPaginateTypeDef#

# ListRegionsRequestListRegionsPaginateTypeDef definition

class ListRegionsRequestListRegionsPaginateTypeDef(TypedDict):
    AccountId: NotRequired[str],
    RegionOptStatusContains: NotRequired[Sequence[RegionOptStatusType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See RegionOptStatusType
  2. See PaginatorConfigTypeDef

ListRegionsResponseTypeDef#

# ListRegionsResponseTypeDef definition

class ListRegionsResponseTypeDef(TypedDict):
    Regions: List[RegionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See RegionTypeDef
  2. See ResponseMetadataTypeDef