Skip to content

PutAlternateContactRequest

Source code in docs_src/capo_account/types/put_alternate_contact_request.py
class PutAlternateContactRequest(TypedDict, closed=True):
    name: "capo_account.types.name.Name"
    """<p>Specifies a name for the alternate contact.</p>"""
    title: "capo_account.types.title.Title"
    """<p>Specifies a title for the alternate contact.</p>"""
    email_address: "capo_account.types.email_address.EmailAddress"
    """<p>Specifies an email address for the alternate contact. </p>"""
    phone_number: "capo_account.types.phone_number.PhoneNumber"
    """<p>Specifies a phone number for the alternate contact.</p>"""
    alternate_contact_type: (
        "capo_account.types.alternate_contact_type.AlternateContactType"
    )
    """<p>Specifies which alternate contact you want to create or update.</p>"""
    account_id: NotRequired["capo_account.types.account_id.AccountId"]
    """<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features enabled</a>, and the organization must have <a href="https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html">trusted access</a> enabled for the Account Management service, and optionally a <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.

If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.

To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated administrator account assigned.

The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter.

To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

alternate_contact_type instance-attribute

alternate_contact_type: AlternateContactType

Specifies which alternate contact you want to create or update.

email_address instance-attribute

email_address: EmailAddress

Specifies an email address for the alternate contact.

name instance-attribute

name: Name

Specifies a name for the alternate contact.

phone_number instance-attribute

phone_number: PhoneNumber

Specifies a phone number for the alternate contact.

title instance-attribute

title: Title

Specifies a title for the alternate contact.