diff --git a/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/BaseHookHandlerStd.kt b/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/BaseHookHandlerStd.kt index e14bc4cd..13501a36 100644 --- a/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/BaseHookHandlerStd.kt +++ b/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/BaseHookHandlerStd.kt @@ -29,7 +29,7 @@ abstract class BaseHookHandlerStd : BaseHookHandler { val targetModel = request.hookContext.getTargetModel(AwsS3BucketTargetModel::class.java) val resourceProperties = targetModel.resourceProperties diff --git a/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreCreateHookHandler.kt b/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreCreateHookHandler.kt index 0ad485c7..288ba546 100644 --- a/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreCreateHookHandler.kt +++ b/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreCreateHookHandler.kt @@ -25,7 +25,7 @@ open class PreCreateHookHandler : BaseHookHandlerStd() { request: HookHandlerRequest, callbackContext: CallbackContext?, logger: Logger, - typeConfiguration: TypeConfigurationModel + typeConfiguration: TypeConfigurationModel? ): ProgressEvent { return handlePreCreatePreUpdateRequests(proxy, request, callbackContext, logger, typeConfiguration) } diff --git a/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreUpdateHookHandler.kt b/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreUpdateHookHandler.kt index 7da1f514..35d4ec66 100644 --- a/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreUpdateHookHandler.kt +++ b/hooks/S3_AccessControl/src/main/kotlin/com/awscommunity/s3/accesscontrol/PreUpdateHookHandler.kt @@ -25,7 +25,7 @@ open class PreUpdateHookHandler : BaseHookHandlerStd() { request: HookHandlerRequest, callbackContext: CallbackContext?, logger: Logger, - typeConfiguration: TypeConfigurationModel + typeConfiguration: TypeConfigurationModel? ): ProgressEvent { return handlePreCreatePreUpdateRequests(proxy, request, callbackContext, logger, typeConfiguration) }