Skip to main content

partners

Creates, updates, deletes, gets or lists a partners resource.

Overview

Namepartners
TypeResource
Idaws.partnercentral_account.partners

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the partner account. (pattern: <code>arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[A-Za-z-_]+/partner/partner-[A-Za-z0-9]{13}</code>)
aws_training_certification_email_domainsarrayThe list of verified email domains associated with AWS training and certification credentials for the partner organization.
catalogstringThe catalog identifier for the partner account. (pattern: <code>[a-zA-Z0-9-]+</code>)
created_atstring (date-time)The timestamp when the partner account was created.
idstringThe unique identifier of the partner account. (pattern: <code>partner-[A-Za-z0-9]{13}</code>)
legal_namestringThe legal name of the partner organization. (pattern: <code>[\u0020-\u007E\u00A0-\uD7FF\uE000-\uFFFD]+</code>)
profileobjectThe partner profile information including display name, description, and other public details.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_partnerselectregionRetrieves detailed information about a specific partner account.
list_partnersselectregionLists partner accounts in the catalog, providing a summary view of all partners.
create_partnerinsertregion, LegalName, PrimarySolutionType, AllianceLeadContact, EmailVerificationCodeCreates a new partner account in the AWS Partner Network with the specified details and configuration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves detailed information about a specific partner account.

SELECT
arn,
aws_training_certification_email_domains,
catalog,
created_at,
id,
legal_name,
profile
FROM aws.partnercentral_account.partners
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new partner account in the AWS Partner Network with the specified details and configuration.

INSERT INTO aws.partnercentral_account.partners (
Catalog,
ClientToken,
LegalName,
PrimarySolutionType,
AllianceLeadContact,
EmailVerificationCode,
Tags,
region
)
SELECT
'{{ Catalog }}',
'{{ ClientToken }}',
'{{ LegalName }}' /* required */,
'{{ PrimarySolutionType }}' /* required */,
'{{ AllianceLeadContact }}' /* required */,
'{{ EmailVerificationCode }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
alliance_lead_contact,
arn,
aws_training_certification_email_domains,
catalog,
created_at,
id,
legal_name,
profile
;