zio.aws.mediastore.model.DeleteMetricPolicyResponse.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-mediastore_3 Show documentation
Show all versions of zio-aws-mediastore_3 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.mediastore.model
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class DeleteMetricPolicyResponse() {
def buildAwsValue()
: software.amazon.awssdk.services.mediastore.model.DeleteMetricPolicyResponse = {
import DeleteMetricPolicyResponse.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.mediastore.model.DeleteMetricPolicyResponse
.builder()
.build()
}
def asReadOnly: zio.aws.mediastore.model.DeleteMetricPolicyResponse.ReadOnly =
zio.aws.mediastore.model.DeleteMetricPolicyResponse.wrap(buildAwsValue())
}
object DeleteMetricPolicyResponse {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.mediastore.model.DeleteMetricPolicyResponse
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.mediastore.model.DeleteMetricPolicyResponse =
zio.aws.mediastore.model.DeleteMetricPolicyResponse()
}
private final class Wrapper(
impl: software.amazon.awssdk.services.mediastore.model.DeleteMetricPolicyResponse
) extends zio.aws.mediastore.model.DeleteMetricPolicyResponse.ReadOnly
def wrap(
impl: software.amazon.awssdk.services.mediastore.model.DeleteMetricPolicyResponse
): zio.aws.mediastore.model.DeleteMetricPolicyResponse.ReadOnly = new Wrapper(
impl
)
}