2424 from aws_lambda_typing .context import Context
2525 from aws_lambda_typing .events import CloudFormationCustomResourceEvent
2626 from mypy_boto3_account import AccountClient
27- from mypy_boto3_account .type_defs import DeleteAlternateContactRequestRequestTypeDef , PutAlternateContactRequestRequestTypeDef
27+ from mypy_boto3_account .type_defs import DeleteAlternateContactRequestTypeDef , PutAlternateContactRequestTypeDef
2828 from mypy_boto3_organizations import OrganizationsClient
2929 from mypy_boto3_organizations .type_defs import AccountTypeDef , DescribeAccountResponseTypeDef , TagTypeDef
3030 from mypy_boto3_sns import SNSClient
@@ -156,7 +156,7 @@ def add_alternate_contact(
156156 phone: Phone number for the alternate contact
157157 title: Title for the alternate contact
158158 """
159- contact_parameters : PutAlternateContactRequestRequestTypeDef = {
159+ contact_parameters : PutAlternateContactRequestTypeDef = {
160160 "AlternateContactType" : contact_type ,
161161 "EmailAddress" : email ,
162162 "Name" : name ,
@@ -178,7 +178,7 @@ def delete_alternate_contact(
178178 aws_account: AWS account to update
179179 contact_type: Alternate contact type you want to update
180180 """
181- contact_parameters : DeleteAlternateContactRequestRequestTypeDef = {"AlternateContactType" : contact_type }
181+ contact_parameters : DeleteAlternateContactRequestTypeDef = {"AlternateContactType" : contact_type }
182182 try :
183183 account_client .delete_alternate_contact (** contact_parameters )
184184 LOGGER .info (f"Deleted { contact_type } Alternate Contact for account: { aws_account ['Id' ]} ({ aws_account ['Name' ]} )" )
0 commit comments