Typed dictionaries
Auto-generated documentation for Account type annotations stubs module types-aiobotocore-account.
AlternateContactTypeDef
Usage Example
from types_aiobotocore_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],
ContactInformationTypeDef
Usage Example
from types_aiobotocore_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 types_aiobotocore_account.type_defs import DeleteAlternateContactRequestRequestTypeDef
def get_value() -> DeleteAlternateContactRequestRequestTypeDef:
return {
"AlternateContactType": ...,
}
Definition
class DeleteAlternateContactRequestRequestTypeDef(TypedDict):
AlternateContactType: AlternateContactTypeType, # (1)
AccountId: NotRequired[str],
ResponseMetadataTypeDef
Usage Example
from types_aiobotocore_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 types_aiobotocore_account.type_defs import GetAlternateContactRequestRequestTypeDef
def get_value() -> GetAlternateContactRequestRequestTypeDef:
return {
"AlternateContactType": ...,
}
Definition
class GetAlternateContactRequestRequestTypeDef(TypedDict):
AlternateContactType: AlternateContactTypeType, # (1)
AccountId: NotRequired[str],
GetContactInformationRequestRequestTypeDef
Usage Example
from types_aiobotocore_account.type_defs import GetContactInformationRequestRequestTypeDef
def get_value() -> GetContactInformationRequestRequestTypeDef:
return {
"AccountId": ...,
}
PutAlternateContactRequestRequestTypeDef
Usage Example
from types_aiobotocore_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],
PutContactInformationRequestRequestTypeDef
Usage Example
from types_aiobotocore_account.type_defs import PutContactInformationRequestRequestTypeDef
def get_value() -> PutContactInformationRequestRequestTypeDef:
return {
"ContactInformation": ...,
}
Definition
class PutContactInformationRequestRequestTypeDef(TypedDict):
ContactInformation: ContactInformationTypeDef, # (1)
AccountId: NotRequired[str],
EmptyResponseMetadataTypeDef
Usage Example
from types_aiobotocore_account.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetAlternateContactResponseTypeDef
Usage Example
from types_aiobotocore_account.type_defs import GetAlternateContactResponseTypeDef
def get_value() -> GetAlternateContactResponseTypeDef:
return {
"AlternateContact": ...,
"ResponseMetadata": ...,
}
Definition
class GetAlternateContactResponseTypeDef(TypedDict):
AlternateContact: AlternateContactTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetContactInformationResponseTypeDef
Usage Example
from types_aiobotocore_account.type_defs import GetContactInformationResponseTypeDef
def get_value() -> GetContactInformationResponseTypeDef:
return {
"ContactInformation": ...,
"ResponseMetadata": ...,
}