Skip to content

/AWS1/CL_CWE=>CREATEAPIDESTINATION()

About CreateApiDestination

Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/CWEAPIDESTINATIONNAME /AWS1/CWEAPIDESTINATIONNAME

The name for the API destination to create.

IV_CONNECTIONARN TYPE /AWS1/CWECONNECTIONARN /AWS1/CWECONNECTIONARN

The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.

IV_INVOCATIONENDPOINT TYPE /AWS1/CWEHTTPSENDPOINT /AWS1/CWEHTTPSENDPOINT

The URL to the HTTP invocation endpoint for the API destination.

IV_HTTPMETHOD TYPE /AWS1/CWEAPIDSTHTTPMETHOD /AWS1/CWEAPIDSTHTTPMETHOD

The method to use for the request to the HTTP invocation endpoint.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/CWEAPIDSTDESCRIPTION /AWS1/CWEAPIDSTDESCRIPTION

A description for the API destination to create.

IV_INVCRATELIMITPERSECOND TYPE /AWS1/CWEAPIDSTINVCRLIMPERSEC /AWS1/CWEAPIDSTINVCRLIMPERSEC

The maximum number of requests per second to send to the HTTP invocation endpoint.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWECREATEAPIDSTRSP /AWS1/CL_CWECREATEAPIDSTRSP