zio.aws.amplifybackend.model.RemoveBackendConfigRequest.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-amplifybackend_3 Show documentation
Show all versions of zio-aws-amplifybackend_3 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.amplifybackend.model
import zio.aws.amplifybackend.model.primitives.__string
import zio.ZIO
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class RemoveBackendConfigRequest(appId: __string) {
def buildAwsValue()
: software.amazon.awssdk.services.amplifybackend.model.RemoveBackendConfigRequest = {
import RemoveBackendConfigRequest.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.amplifybackend.model.RemoveBackendConfigRequest
.builder()
.appId(appId: java.lang.String)
.build()
}
def asReadOnly
: zio.aws.amplifybackend.model.RemoveBackendConfigRequest.ReadOnly =
zio.aws.amplifybackend.model.RemoveBackendConfigRequest
.wrap(buildAwsValue())
}
object RemoveBackendConfigRequest {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.amplifybackend.model.RemoveBackendConfigRequest
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.amplifybackend.model.RemoveBackendConfigRequest =
zio.aws.amplifybackend.model.RemoveBackendConfigRequest(appId)
def appId: __string
def getAppId: ZIO[Any, Nothing, __string] = ZIO.succeed(appId)
}
private final class Wrapper(
impl: software.amazon.awssdk.services.amplifybackend.model.RemoveBackendConfigRequest
) extends zio.aws.amplifybackend.model.RemoveBackendConfigRequest.ReadOnly {
override val appId: __string = impl.appId(): __string
}
def wrap(
impl: software.amazon.awssdk.services.amplifybackend.model.RemoveBackendConfigRequest
): zio.aws.amplifybackend.model.RemoveBackendConfigRequest.ReadOnly =
new Wrapper(impl)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy