@SdkInternalApi
    final ListJournalKinesisStreamsForLedgerResult executeListJournalKinesisStreamsForLedger(
            ListJournalKinesisStreamsForLedgerRequest listJournalKinesisStreamsForLedgerRequest) {

        ExecutionContext executionContext = createExecutionContext(listJournalKinesisStreamsForLedgerRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListJournalKinesisStreamsForLedgerRequest> request = null;
        Response<ListJournalKinesisStreamsForLedgerResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ListJournalKinesisStreamsForLedgerRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(listJournalKinesisStreamsForLedgerRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "QLDB");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListJournalKinesisStreamsForLedger");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<ListJournalKinesisStreamsForLedgerResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new ListJournalKinesisStreamsForLedgerResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Returns all Amazon QLDB journal streams for a given ledger.
</p>
<p>
This action does not return any expired journal streams. For more information, see <a href=
"https://docs.aws.amazon.com/qldb/latest/developerguide/streams.create.html#streams.create.states.expiration"
>Expiration for terminal streams</a> in the <i>Amazon QLDB Developer Guide</i>.
</p>
<p>
This action returns a maximum of <code>MaxResults</code> items. It is paginated so that you can retrieve all the
items by calling <code>ListJournalKinesisStreamsForLedger</code> multiple times.
</p>

@param listJournalKinesisStreamsForLedgerRequest
@return Result of the ListJournalKinesisStreamsForLedger operation returned by the service.
@throws InvalidParameterException
        One or more parameters in the request aren't valid.
@throws ResourceNotFoundException
        The specified resource doesn't exist.
@throws ResourcePreconditionNotMetException
        The operation failed because a condition wasn't satisfied in advance.
@sample AmazonQLDB.ListJournalKinesisStreamsForLedger
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedger"
     target="_top">AWS API Documentation</a>
aws-java-sdk-qldb/src/main/java/com/amazonaws/services/qldb/AmazonQLDBClient.java