Skip to main content

channel_handshakes

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

Overview

Namechannel_handshakes
TypeResource
Idaws.partnercentral_channel.channel_handshakes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the handshake. (pattern: <code>ch-[a-z0-9]{13}</code>)
arnstringThe Amazon Resource Name (ARN) of the handshake.
associated_resource_idstringThe identifier of the resource associated with the handshake. (pattern: <code>(pma|rs)-[a-z0-9]{13}</code>)
catalogstringThe catalog identifier associated with the handshake. (pattern: <code>[a-zA-Z]*</code>)
created_atstring (date-time)The timestamp when the handshake was created.
detailobjectDetailed information about the handshake.
handshake_typestringThe type of the handshake. (START_SERVICE_PERIOD, REVOKE_SERVICE_PERIOD, PROGRAM_MANAGEMENT_ACCOUNT)
owner_account_idstringThe AWS account ID of the handshake owner. (pattern: <code>[0-9]*</code>)
receiver_account_idstringThe AWS account ID of the handshake receiver. (pattern: <code>[0-9]*</code>)
sender_account_idstringThe AWS account ID of the handshake sender. (pattern: <code>[0-9]*</code>)
sender_display_namestringThe display name of the handshake sender. (pattern: <code>[\x00-\x7E\xA9\xAE\xA2-\xA5\u202F]+</code>)
statusstringThe current status of the handshake. (PENDING, ACCEPTED, REJECTED, CANCELED, EXPIRED)
updated_atstring (date-time)The timestamp when the handshake was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_channel_handshakesselectregionLists channel handshakes based on specified criteria.
create_channel_handshakeinsertregion, handshakeType, catalog, associatedResourceIdentifierCreates a new channel handshake request to establish a partnership with another AWS 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.

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

SELECT examples

Lists channel handshakes based on specified criteria.

SELECT
id,
arn,
associated_resource_id,
catalog,
created_at,
detail,
handshake_type,
owner_account_id,
receiver_account_id,
sender_account_id,
sender_display_name,
status,
updated_at
FROM aws.partnercentral_channel.channel_handshakes
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new channel handshake request to establish a partnership with another AWS account.

INSERT INTO aws.partnercentral_channel.channel_handshakes (
handshakeType,
catalog,
associatedResourceIdentifier,
payload,
clientToken,
tags,
region
)
SELECT
'{{ handshakeType }}' /* required */,
'{{ catalog }}' /* required */,
'{{ associatedResourceIdentifier }}' /* required */,
'{{ payload }}',
'{{ clientToken }}',
'{{ tags }}',
'{{ region }}'
RETURNING
channel_handshake_detail
;