Skip to content

/AWS1/CL_DZN=>CREATEDATASOURCE()

About CreateDataSource

Creates an Amazon DataZone data source.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/DZNNAME /AWS1/DZNNAME

The name of the data source.

IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID /AWS1/DZNDOMAINID

The ID of the Amazon DataZone domain where the data source is created.

IV_PROJECTIDENTIFIER TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The identifier of the Amazon DataZone project in which you want to add this data source.

IV_TYPE TYPE /AWS1/DZNDATASOURCETYPE /AWS1/DZNDATASOURCETYPE

The type of the data source.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/DZNDESCRIPTION /AWS1/DZNDESCRIPTION

The description of the data source.

IV_ENVIRONMENTIDENTIFIER TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The unique identifier of the Amazon DataZone environment to which the data source publishes assets.

IV_CONNECTIONIDENTIFIER TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

The ID of the connection.

IO_CONFIGURATION TYPE REF TO /AWS1/CL_DZNDATASRCCONFINPUT /AWS1/CL_DZNDATASRCCONFINPUT

Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration.

IO_RECOMMENDATION TYPE REF TO /AWS1/CL_DZNRECOMMENDATIONCONF /AWS1/CL_DZNRECOMMENDATIONCONF

Specifies whether the business name generation is to be enabled for this data source.

IV_ENABLESETTING TYPE /AWS1/DZNENABLESETTING /AWS1/DZNENABLESETTING

Specifies whether the data source is enabled.

IO_SCHEDULE TYPE REF TO /AWS1/CL_DZNSCHEDULECONF /AWS1/CL_DZNSCHEDULECONF

The schedule of the data source runs.

IV_PUBLISHONIMPORT TYPE /AWS1/DZNBOOLEAN /AWS1/DZNBOOLEAN

Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.

IT_ASSETFORMSINPUT TYPE /AWS1/CL_DZNFORMINPUT=>TT_FORMINPUTLIST TT_FORMINPUTLIST

The metadata forms that are to be attached to the assets that this data source works with.

IV_CLIENTTOKEN TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DZNCREATEDATASRCOUT /AWS1/CL_DZNCREATEDATASRCOUT

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC