Skip to content

/AWS1/CL_RSH=>DESCRDATASHARESFORCONSUMER()

About DescribeDataSharesForConsumer

Returns a list of datashares where the account identifier being called is a consumer account identifier.

Method Signature

IMPORTING

Optional arguments:

IV_CONSUMERARN TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.

IV_STATUS TYPE /AWS1/RSHDATASHARESTATFORCONS /AWS1/RSHDATASHARESTATFORCONS

An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.

IV_MAXRECORDS TYPE /AWS1/RSHINTEGEROPTIONAL /AWS1/RSHINTEGEROPTIONAL

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

IV_MARKER TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RSHDSCDATASHARESFOR01 /AWS1/CL_RSHDSCDATASHARESFOR01