Smaws_Client_Kinesis.GetResourcePolicy
val request :
Smaws_Lib.Context.t ->
get_resource_policy_input ->
(get_resource_policy_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of access_denied_exception
| `InvalidArgumentException of invalid_argument_exception
| `LimitExceededException of limit_exceeded_exception
| `ResourceNotFoundException of resource_not_found_exception ])
Stdlib.result
Returns a policy attached to the specified data stream or consumer. Request patterns can be one of the following:
arn:aws.*:kinesis:.*:\d{12}:.*stream/\S+
^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+