Skip to content

GetProfileResult

Source code in docs_src/capo_lightsail/types/get_profile_result.py
class GetProfileResult(TypedDict, closed=True):
    profile_type: "capo_lightsail.types.profile_type.ProfileType"
    """<p>The type of the profile.</p> <p>The following profile types are possible:</p> <ul> <li> <p> <code>Lightsailor</code> – The account is not enrolled in the Lightsail partner program.</p> </li> <li> <p> <code>LightsailPartner</code> – The account is enrolled in the Lightsail partner program.</p> </li> </ul>"""
    partner: NotRequired["capo_lightsail.types.partner_info.PartnerInfo"]
    """<p>An object that describes the partner membership of the account, such as the tier of the membership, its status, and when the account was enrolled.</p> <p>This parameter is returned only for accounts that have a <code>profileType</code> of <code>LightsailPartner</code>.</p>"""

partner instance-attribute

partner: NotRequired[PartnerInfo]

An object that describes the partner membership of the account, such as the tier of the membership, its status, and when the account was enrolled.

This parameter is returned only for accounts that have a profileType of LightsailPartner.

profile_type instance-attribute

profile_type: ProfileType

The type of the profile.

The following profile types are possible:

  • Lightsailor – The account is not enrolled in the Lightsail partner program.

  • LightsailPartner – The account is enrolled in the Lightsail partner program.