alliance_lead_contacts
Creates, updates, deletes, gets or lists an alliance_lead_contacts resource.
Overview
| Name | alliance_lead_contacts |
| Type | Resource |
| Id | aws.partnercentral_account.alliance_lead_contacts |
Fields
The following fields are returned by SELECT queries:
- get_alliance_lead_contact
| Name | Datatype | Description |
|---|---|---|
alliance_lead_contact | object | The alliance lead contact information including name, email, and business title. |
arn | string | The 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>) |
catalog | string | The catalog identifier for the partner account. (pattern: <code>[a-zA-Z0-9-]+</code>) |
id | string | The unique identifier of the partner account. (pattern: <code>partner-[A-Za-z0-9]{13}</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_alliance_lead_contact | select | region | Retrieves the alliance lead contact information for a partner account. | |
put_alliance_lead_contact | replace | region, Identifier, AllianceLeadContact | Creates or updates the alliance lead contact information for a partner account. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_alliance_lead_contact
Retrieves the alliance lead contact information for a partner account.
SELECT
alliance_lead_contact,
arn,
catalog,
id
FROM aws.partnercentral_account.alliance_lead_contacts
WHERE region = '{{ region }}' -- required
;
REPLACE examples
- put_alliance_lead_contact
Creates or updates the alliance lead contact information for a partner account.
REPLACE aws.partnercentral_account.alliance_lead_contacts
SET
Catalog = '{{ Catalog }}',
Identifier = '{{ Identifier }}',
AllianceLeadContact = '{{ AllianceLeadContact }}',
EmailVerificationCode = '{{ EmailVerificationCode }}'
WHERE
region = '{{ region }}' --required
AND Identifier = '{{ Identifier }}' --required
AND AllianceLeadContact = '{{ AllianceLeadContact }}' --required
RETURNING
alliance_lead_contact,
arn,
catalog,
id;