aws-lightsail-instance/src/main/java/software/amazon/lightsail/instance/helpers/handler/AddOnsHandler.java [50:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected ProgressEvent<ResourceModel, CallbackContext> update(
            ProgressEvent<ResourceModel, CallbackContext> progress) {
        val addOn = new AddOns(resourceModel, logger, proxyClient, resourceModelRequest);
        logger.log("Executing AWS-Lightsail-Instance::Update::AddOn...");
        return proxy
                .initiate("AWS-Lightsail-Instance::Update::AddOn", proxyClient, progress.getResourceModel(),
                        progress.getCallbackContext())
                .translateToServiceRequest(Translator::translateToCreateRequest)
                .makeServiceCall((awsRequest, client) -> addOn.update(awsRequest))
                .stabilize((awsRequest, awsResponse, client, model, context) -> addOn.isStabilizedUpdate())
                .handleError((awsRequest, e, client, model, context) -> {
                    if (addOn.isSafeExceptionCreateOrUpdate(e)) {
                        return ProgressEvent.progress(progress.getResourceModel(), callbackContext);
                    } else {
                        return handleError(e, progress.getResourceModel(), callbackContext, ImmutableList.of(), logger,
                                this.getClass().getSimpleName());
                    }
                }).progress();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-lightsail-disk/src/main/java/software/amazon/lightsail/disk/helpers/handler/AddOnsHandler.java [47:65]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected ProgressEvent<ResourceModel, CallbackContext> update(
            ProgressEvent<ResourceModel, CallbackContext> progress) {
        val addOn = new AddOns(resourceModel, logger, proxyClient, resourceModelRequest);
        logger.log("Executing AWS-Lightsail-Disk::Update::AddOn...");
        return proxy
                .initiate("AWS-Lightsail-Disk::Update::AddOn", proxyClient, progress.getResourceModel(),
                        progress.getCallbackContext())
                .translateToServiceRequest(Translator::translateToCreateRequest)
                .makeServiceCall((awsRequest, client) -> addOn.update(awsRequest))
                .stabilize((awsRequest, awsResponse, client, model, context) -> addOn.isStabilizedUpdate())
                .handleError((awsRequest, e, client, model, context) -> {
                    if (addOn.isSafeExceptionCreateOrUpdate(e)) {
                        return ProgressEvent.progress(progress.getResourceModel(), callbackContext);
                    } else {
                        return handleError(e, progress.getResourceModel(), callbackContext, ImmutableList.of(), logger,
                                this.getClass().getSimpleName());
                    }
                }).progress();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



