Skip to content

/AWS1/CL_RSH=>ASSOCIATEDATASHARECONSUMER()

About AssociateDataShareConsumer

From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.

Method Signature

IMPORTING

Required arguments:

IV_DATASHAREARN TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

Optional arguments:

IV_ASSOCIATEENTIREACCOUNT TYPE /AWS1/RSHBOOLEANOPTIONAL /AWS1/RSHBOOLEANOPTIONAL

A value that specifies whether the datashare is associated with the entire account.

IV_CONSUMERARN TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.

IV_CONSUMERREGION TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.

IV_ALLOWWRITES TYPE /AWS1/RSHBOOLEANOPTIONAL /AWS1/RSHBOOLEANOPTIONAL

If set to true, allows write operations for a datashare.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RSHDATASHARE /AWS1/CL_RSHDATASHARE