getProfile

abstract suspend fun getProfile(input: GetProfileRequest = GetProfileRequest { }): GetProfileResponse

Returns information about the profile of the Amazon Lightsail account that makes the request. The response includes the profile type and, for accounts enrolled in the Lightsail partner program, the partner membership details.