Skip to content

/AWS1/CL_KNS=>GETRESOURCEPOLICY()

About GetResourcePolicy

Returns a policy attached to the specified data stream or consumer. Request patterns can be one of the following:

  • Data stream pattern: arn:aws.*:kinesis:.*:\d{12}:.*stream/\S+

  • Consumer pattern: ^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/KNSRESOURCEARN /AWS1/KNSRESOURCEARN

The Amazon Resource Name (ARN) of the data stream or consumer.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_KNSGETRESRCPLYOUTPUT /AWS1/CL_KNSGETRESRCPLYOUTPUT