All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.http4k.connect.amazon.cloudfront.cloudfrontExtensions.kt Maven / Gradle / Ivy

package org.http4k.connect.amazon.cloudfront

import dev.forkhandles.result4k.Result
import kotlin.Int
import kotlin.String
import kotlin.Unit
import kotlin.collections.List
import org.http4k.connect.RemoteFailure
import org.http4k.connect.amazon.cloudfront.action.CreateInvalidation
import org.http4k.connect.amazon.cloudfront.model.CallerReference
import org.http4k.connect.amazon.cloudfront.model.DistributionId

/**
 * @see org.http4k.connect.amazon.cloudfront.action.CreateInvalidation
 */
public fun CloudFront.createInvalidation(
  distributionId: DistributionId,
  paths: List,
  quantity: Int,
  callerRef: CallerReference,
): Result = invoke(CreateInvalidation(distributionId, paths, quantity, callerRef))

/**
 * @see org.http4k.connect.amazon.cloudfront.action.CreateInvalidation
 */
public fun CloudFront.createInvalidation(distributionId: DistributionId, path: String): Result = invoke(CreateInvalidation(distributionId, path))

/**
 * @see org.http4k.connect.amazon.cloudfront.action.CreateInvalidation
 */
public fun CloudFront.createInvalidation(
  distributionId: DistributionId,
  path: String,
  callerRef: CallerReference,
): Result = invoke(CreateInvalidation(distributionId, path, callerRef))




© 2015 - 2025 Weber Informatics LLC | Privacy Policy