/AWS1/IF_FRH=>LISTDELIVERYSTREAMS()¶
About ListDeliveryStreams¶
Lists your Firehose streams in alphabetical order of their names.
The number of Firehose streams might be too large to return using a single call to
ListDeliveryStreams. You can limit the number of Firehose streams returned,
using the Limit parameter. To determine whether there are more delivery
streams to list, check the value of HasMoreDeliveryStreams in the output. If
there are more Firehose streams to list, you can request them by calling this operation
again and setting the ExclusiveStartDeliveryStreamName parameter to the name
of the last Firehose stream returned in the last call.
Method Signature¶
METHODS /AWS1/IF_FRH~LISTDELIVERYSTREAMS
IMPORTING
!IV_LIMIT TYPE /AWS1/FRHLSTDELIVERYSTRMSINP00 OPTIONAL
!IV_DELIVERYSTREAMTYPE TYPE /AWS1/FRHDELIVERYSTREAMTYPE OPTIONAL
!IV_EXCLUSIVESTRTDELIVERYST00 TYPE /AWS1/FRHDELIVERYSTREAMNAME OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_frhlstdeliverystrms01
RAISING
/AWS1/CX_FRHCLIENTEXC
/AWS1/CX_FRHSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_limit TYPE /AWS1/FRHLSTDELIVERYSTRMSINP00 /AWS1/FRHLSTDELIVERYSTRMSINP00¶
The maximum number of Firehose streams to list. The default value is 10.
iv_deliverystreamtype TYPE /AWS1/FRHDELIVERYSTREAMTYPE /AWS1/FRHDELIVERYSTREAMTYPE¶
The Firehose stream type. This can be one of the following values:
DirectPut: Provider applications access the Firehose stream directly.
KinesisStreamAsSource: The Firehose stream uses a Kinesis data stream as a source.This parameter is optional. If this parameter is omitted, Firehose streams of all types are returned.
iv_exclusivestrtdeliveryst00 TYPE /AWS1/FRHDELIVERYSTREAMNAME /AWS1/FRHDELIVERYSTREAMNAME¶
The list of Firehose streams returned by this call to
ListDeliveryStreamswill start with the Firehose stream whose name comes alphabetically immediately after the name you specify inExclusiveStartDeliveryStreamName.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_frhlstdeliverystrms01 /AWS1/CL_FRHLSTDELIVERYSTRMS01¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->listdeliverystreams(
iv_deliverystreamtype = |string|
iv_exclusivestrtdeliveryst00 = |string|
iv_limit = 123
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_deliverystreamnames( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_deliverystreamname = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
lv_booleanobject = lo_result->get_hasmoredeliverystreams( ).
ENDIF.