public ProgressEvent handleRequest()

in aws-devopsguru-notificationchannel/src/main/java/software/amazon/devopsguru/notificationchannel/ListHandler.java [20:37]


    public ProgressEvent<ResourceModel, CallbackContext> handleRequest(
        final AmazonWebServicesClientProxy proxy,
        final ResourceHandlerRequest<ResourceModel> request,
        final CallbackContext callbackContext,
        final ProxyClient<DevOpsGuruClient> proxyClient,
        final Logger logger) {

        this.logger = logger;

        final ResourceModel model = request.getDesiredResourceState();

        final String awsAccountId = request.getAwsAccountId();

        return proxy.initiate("AWS-DevOpsGuru-NotificationChannel::List", proxyClient, model, callbackContext)
                .translateToServiceRequest(Translator::translateToListNotificationChannelRequest)
                .makeServiceCall((awsRequest, client) -> listResource(awsRequest, client, model, awsAccountId, request.getNextToken()))
                .done(this::constructResourceModelFromResponse);
    }