Skip to main content

connection_invitations

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

Overview

Nameconnection_invitations
TypeResource
Idaws.partnercentral_account.connection_invitations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the connection invitation. (pattern: <code>arn:[a-zA-Z0-9-]+:partnercentral:[a-z0-9-]*::catalog/[a-zA-Z]+/connection-invitation/pacinv-[A-Za-z0-9]{13}</code>)
catalogstringThe catalog identifier where the connection invitation exists. (pattern: <code>[a-zA-Z0-9-]+</code>)
connection_idstringThe identifier of the connection associated with this invitation. (pattern: <code>pac-[A-Za-z0-9]{13}</code>)
connection_typestringThe type of connection being requested in the invitation. (OPPORTUNITY_COLLABORATION, SUBSIDIARY)
created_atstring (date-time)The timestamp when the connection invitation was created.
expires_atstring (date-time)The timestamp when the connection invitation will expire.
idstringThe unique identifier of the connection invitation. (pattern: <code>pacinv-[A-Za-z0-9]{13}</code>)
invitation_messagestringThe custom message included with the connection invitation. (pattern: <code>[\u0020-\u007E\u00A0-\uD7FF\uE000-\uFFFD\n]+</code>)
inviter_emailstringThe email address of the person who sent the connection invitation. (pattern: <code>[a-zA-Z0-9.!#$%&'+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)</code>)
inviter_namestringThe name of the person who sent the connection invitation. (pattern: <code>[\u0020-\u007E\u00A0-\uD7FF\uE000-\uFFFD]+</code>)
other_participant_identifierstringThe identifier of the other participant in the connection invitation. (pattern: <code>[a-zA-Z0-9-]+</code>)
participant_typestringThe type of participant (inviter or invitee) in the connection invitation. (SENDER, RECEIVER)
statusstringThe current status of the connection invitation. (PENDING, ACCEPTED, REJECTED, CANCELED, EXPIRED)
updated_atstring (date-time)The timestamp when the connection invitation was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_connection_invitationselectregionRetrieves detailed information about a specific connection invitation.
list_connection_invitationsselectregionLists connection invitations for the partner account, with optional filtering by status, type, and other criteria.
create_connection_invitationinsertregion, ClientToken, ConnectionType, Email, Message, Name, ReceiverIdentifierCreates a new connection invitation to establish a partnership with another organization.

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 connection invitation.

SELECT
arn,
catalog,
connection_id,
connection_type,
created_at,
expires_at,
id,
invitation_message,
inviter_email,
inviter_name,
other_participant_identifier,
participant_type,
status,
updated_at
FROM aws.partnercentral_account.connection_invitations
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new connection invitation to establish a partnership with another organization.

INSERT INTO aws.partnercentral_account.connection_invitations (
Catalog,
ClientToken,
ConnectionType,
Email,
Message,
Name,
ReceiverIdentifier,
region
)
SELECT
'{{ Catalog }}',
'{{ ClientToken }}' /* required */,
'{{ ConnectionType }}' /* required */,
'{{ Email }}' /* required */,
'{{ Message }}' /* required */,
'{{ Name }}' /* required */,
'{{ ReceiverIdentifier }}' /* required */,
'{{ region }}'
RETURNING
arn,
catalog,
connection_id,
connection_type,
created_at,
expires_at,
id,
invitation_message,
inviter_email,
inviter_name,
other_participant_identifier,
participant_type,
status,
updated_at
;