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

com.pulumi.awsnative.ses.kotlin.SesFunctions.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ses.kotlin

import com.pulumi.awsnative.ses.SesFunctions.getConfigurationSetEventDestinationPlain
import com.pulumi.awsnative.ses.SesFunctions.getConfigurationSetPlain
import com.pulumi.awsnative.ses.SesFunctions.getContactListPlain
import com.pulumi.awsnative.ses.SesFunctions.getDedicatedIpPoolPlain
import com.pulumi.awsnative.ses.SesFunctions.getEmailIdentityPlain
import com.pulumi.awsnative.ses.SesFunctions.getMailManagerAddonInstancePlain
import com.pulumi.awsnative.ses.SesFunctions.getMailManagerAddonSubscriptionPlain
import com.pulumi.awsnative.ses.SesFunctions.getMailManagerArchivePlain
import com.pulumi.awsnative.ses.SesFunctions.getMailManagerIngressPointPlain
import com.pulumi.awsnative.ses.SesFunctions.getMailManagerRelayPlain
import com.pulumi.awsnative.ses.SesFunctions.getMailManagerRuleSetPlain
import com.pulumi.awsnative.ses.SesFunctions.getMailManagerTrafficPolicyPlain
import com.pulumi.awsnative.ses.SesFunctions.getTemplatePlain
import com.pulumi.awsnative.ses.SesFunctions.getVdmAttributesPlain
import com.pulumi.awsnative.ses.kotlin.inputs.GetConfigurationSetEventDestinationPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetConfigurationSetEventDestinationPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetConfigurationSetPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetConfigurationSetPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetContactListPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetContactListPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetDedicatedIpPoolPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetDedicatedIpPoolPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetEmailIdentityPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetEmailIdentityPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerAddonInstancePlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerAddonInstancePlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerAddonSubscriptionPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerAddonSubscriptionPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerArchivePlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerArchivePlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerIngressPointPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerIngressPointPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerRelayPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerRelayPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerRuleSetPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerRuleSetPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerTrafficPolicyPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerTrafficPolicyPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetTemplatePlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetTemplatePlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.inputs.GetVdmAttributesPlainArgs
import com.pulumi.awsnative.ses.kotlin.inputs.GetVdmAttributesPlainArgsBuilder
import com.pulumi.awsnative.ses.kotlin.outputs.GetConfigurationSetEventDestinationResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetConfigurationSetResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetContactListResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetDedicatedIpPoolResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetEmailIdentityResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerAddonInstanceResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerAddonSubscriptionResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerArchiveResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerIngressPointResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerRelayResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerRuleSetResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerTrafficPolicyResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetTemplateResult
import com.pulumi.awsnative.ses.kotlin.outputs.GetVdmAttributesResult
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import com.pulumi.awsnative.ses.kotlin.outputs.GetConfigurationSetEventDestinationResult.Companion.toKotlin as getConfigurationSetEventDestinationResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetConfigurationSetResult.Companion.toKotlin as getConfigurationSetResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetContactListResult.Companion.toKotlin as getContactListResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetDedicatedIpPoolResult.Companion.toKotlin as getDedicatedIpPoolResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetEmailIdentityResult.Companion.toKotlin as getEmailIdentityResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerAddonInstanceResult.Companion.toKotlin as getMailManagerAddonInstanceResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerAddonSubscriptionResult.Companion.toKotlin as getMailManagerAddonSubscriptionResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerArchiveResult.Companion.toKotlin as getMailManagerArchiveResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerIngressPointResult.Companion.toKotlin as getMailManagerIngressPointResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerRelayResult.Companion.toKotlin as getMailManagerRelayResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerRuleSetResult.Companion.toKotlin as getMailManagerRuleSetResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerTrafficPolicyResult.Companion.toKotlin as getMailManagerTrafficPolicyResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetTemplateResult.Companion.toKotlin as getTemplateResultToKotlin
import com.pulumi.awsnative.ses.kotlin.outputs.GetVdmAttributesResult.Companion.toKotlin as getVdmAttributesResultToKotlin

public object SesFunctions {
    /**
     * Resource schema for AWS::SES::ConfigurationSet.
     * @param argument null
     * @return null
     */
    public suspend fun getConfigurationSet(argument: GetConfigurationSetPlainArgs): GetConfigurationSetResult =
        getConfigurationSetResultToKotlin(getConfigurationSetPlain(argument.toJava()).await())

    /**
     * @see [getConfigurationSet].
     * @param name The name of the configuration set.
     * @return null
     */
    public suspend fun getConfigurationSet(name: String): GetConfigurationSetResult {
        val argument = GetConfigurationSetPlainArgs(
            name = name,
        )
        return getConfigurationSetResultToKotlin(getConfigurationSetPlain(argument.toJava()).await())
    }

    /**
     * @see [getConfigurationSet].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetConfigurationSetPlainArgs].
     * @return null
     */
    public suspend fun getConfigurationSet(argument: suspend GetConfigurationSetPlainArgsBuilder.() -> Unit): GetConfigurationSetResult {
        val builder = GetConfigurationSetPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getConfigurationSetResultToKotlin(getConfigurationSetPlain(builtArgument.toJava()).await())
    }

    /**
     * Resource Type definition for AWS::SES::ConfigurationSetEventDestination
     * @param argument null
     * @return null
     */
    public suspend fun getConfigurationSetEventDestination(argument: GetConfigurationSetEventDestinationPlainArgs): GetConfigurationSetEventDestinationResult =
        getConfigurationSetEventDestinationResultToKotlin(getConfigurationSetEventDestinationPlain(argument.toJava()).await())

    /**
     * @see [getConfigurationSetEventDestination].
     * @param id
     * @return null
     */
    public suspend fun getConfigurationSetEventDestination(id: String): GetConfigurationSetEventDestinationResult {
        val argument = GetConfigurationSetEventDestinationPlainArgs(
            id = id,
        )
        return getConfigurationSetEventDestinationResultToKotlin(getConfigurationSetEventDestinationPlain(argument.toJava()).await())
    }

    /**
     * @see [getConfigurationSetEventDestination].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetConfigurationSetEventDestinationPlainArgs].
     * @return null
     */
    public suspend fun getConfigurationSetEventDestination(argument: suspend GetConfigurationSetEventDestinationPlainArgsBuilder.() -> Unit): GetConfigurationSetEventDestinationResult {
        val builder = GetConfigurationSetEventDestinationPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getConfigurationSetEventDestinationResultToKotlin(getConfigurationSetEventDestinationPlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::SES::ContactList.
     * @param argument null
     * @return null
     */
    public suspend fun getContactList(argument: GetContactListPlainArgs): GetContactListResult =
        getContactListResultToKotlin(getContactListPlain(argument.toJava()).await())

    /**
     * @see [getContactList].
     * @param contactListName The name of the contact list.
     * @return null
     */
    public suspend fun getContactList(contactListName: String): GetContactListResult {
        val argument = GetContactListPlainArgs(
            contactListName = contactListName,
        )
        return getContactListResultToKotlin(getContactListPlain(argument.toJava()).await())
    }

    /**
     * @see [getContactList].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetContactListPlainArgs].
     * @return null
     */
    public suspend fun getContactList(argument: suspend GetContactListPlainArgsBuilder.() -> Unit): GetContactListResult {
        val builder = GetContactListPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getContactListResultToKotlin(getContactListPlain(builtArgument.toJava()).await())
    }

    /**
     * Resource Type definition for AWS::SES::DedicatedIpPool
     * @param argument null
     * @return null
     */
    public suspend fun getDedicatedIpPool(argument: GetDedicatedIpPoolPlainArgs): GetDedicatedIpPoolResult =
        getDedicatedIpPoolResultToKotlin(getDedicatedIpPoolPlain(argument.toJava()).await())

    /**
     * @see [getDedicatedIpPool].
     * @param poolName The name of the dedicated IP pool.
     * @return null
     */
    public suspend fun getDedicatedIpPool(poolName: String): GetDedicatedIpPoolResult {
        val argument = GetDedicatedIpPoolPlainArgs(
            poolName = poolName,
        )
        return getDedicatedIpPoolResultToKotlin(getDedicatedIpPoolPlain(argument.toJava()).await())
    }

    /**
     * @see [getDedicatedIpPool].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetDedicatedIpPoolPlainArgs].
     * @return null
     */
    public suspend fun getDedicatedIpPool(argument: suspend GetDedicatedIpPoolPlainArgsBuilder.() -> Unit): GetDedicatedIpPoolResult {
        val builder = GetDedicatedIpPoolPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getDedicatedIpPoolResultToKotlin(getDedicatedIpPoolPlain(builtArgument.toJava()).await())
    }

    /**
     * Resource Type definition for AWS::SES::EmailIdentity
     * @param argument null
     * @return null
     */
    public suspend fun getEmailIdentity(argument: GetEmailIdentityPlainArgs): GetEmailIdentityResult =
        getEmailIdentityResultToKotlin(getEmailIdentityPlain(argument.toJava()).await())

    /**
     * @see [getEmailIdentity].
     * @param emailIdentity The email address or domain to verify.
     * @return null
     */
    public suspend fun getEmailIdentity(emailIdentity: String): GetEmailIdentityResult {
        val argument = GetEmailIdentityPlainArgs(
            emailIdentity = emailIdentity,
        )
        return getEmailIdentityResultToKotlin(getEmailIdentityPlain(argument.toJava()).await())
    }

    /**
     * @see [getEmailIdentity].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetEmailIdentityPlainArgs].
     * @return null
     */
    public suspend fun getEmailIdentity(argument: suspend GetEmailIdentityPlainArgsBuilder.() -> Unit): GetEmailIdentityResult {
        val builder = GetEmailIdentityPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getEmailIdentityResultToKotlin(getEmailIdentityPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::SES::MailManagerAddonInstance Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getMailManagerAddonInstance(argument: GetMailManagerAddonInstancePlainArgs): GetMailManagerAddonInstanceResult =
        getMailManagerAddonInstanceResultToKotlin(getMailManagerAddonInstancePlain(argument.toJava()).await())

    /**
     * @see [getMailManagerAddonInstance].
     * @param addonInstanceId The unique ID of the Add On instance.
     * @return null
     */
    public suspend fun getMailManagerAddonInstance(addonInstanceId: String): GetMailManagerAddonInstanceResult {
        val argument = GetMailManagerAddonInstancePlainArgs(
            addonInstanceId = addonInstanceId,
        )
        return getMailManagerAddonInstanceResultToKotlin(getMailManagerAddonInstancePlain(argument.toJava()).await())
    }

    /**
     * @see [getMailManagerAddonInstance].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerAddonInstancePlainArgs].
     * @return null
     */
    public suspend fun getMailManagerAddonInstance(argument: suspend GetMailManagerAddonInstancePlainArgsBuilder.() -> Unit): GetMailManagerAddonInstanceResult {
        val builder = GetMailManagerAddonInstancePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMailManagerAddonInstanceResultToKotlin(getMailManagerAddonInstancePlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::SES::MailManagerAddonSubscription Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getMailManagerAddonSubscription(argument: GetMailManagerAddonSubscriptionPlainArgs): GetMailManagerAddonSubscriptionResult =
        getMailManagerAddonSubscriptionResultToKotlin(getMailManagerAddonSubscriptionPlain(argument.toJava()).await())

    /**
     * @see [getMailManagerAddonSubscription].
     * @param addonSubscriptionId The unique ID of the Add On subscription.
     * @return null
     */
    public suspend fun getMailManagerAddonSubscription(addonSubscriptionId: String): GetMailManagerAddonSubscriptionResult {
        val argument = GetMailManagerAddonSubscriptionPlainArgs(
            addonSubscriptionId = addonSubscriptionId,
        )
        return getMailManagerAddonSubscriptionResultToKotlin(getMailManagerAddonSubscriptionPlain(argument.toJava()).await())
    }

    /**
     * @see [getMailManagerAddonSubscription].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerAddonSubscriptionPlainArgs].
     * @return null
     */
    public suspend fun getMailManagerAddonSubscription(argument: suspend GetMailManagerAddonSubscriptionPlainArgsBuilder.() -> Unit): GetMailManagerAddonSubscriptionResult {
        val builder = GetMailManagerAddonSubscriptionPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMailManagerAddonSubscriptionResultToKotlin(getMailManagerAddonSubscriptionPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::SES::MailManagerArchive Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getMailManagerArchive(argument: GetMailManagerArchivePlainArgs): GetMailManagerArchiveResult =
        getMailManagerArchiveResultToKotlin(getMailManagerArchivePlain(argument.toJava()).await())

    /**
     * @see [getMailManagerArchive].
     * @param archiveId The unique identifier of the archive.
     * @return null
     */
    public suspend fun getMailManagerArchive(archiveId: String): GetMailManagerArchiveResult {
        val argument = GetMailManagerArchivePlainArgs(
            archiveId = archiveId,
        )
        return getMailManagerArchiveResultToKotlin(getMailManagerArchivePlain(argument.toJava()).await())
    }

    /**
     * @see [getMailManagerArchive].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerArchivePlainArgs].
     * @return null
     */
    public suspend fun getMailManagerArchive(argument: suspend GetMailManagerArchivePlainArgsBuilder.() -> Unit): GetMailManagerArchiveResult {
        val builder = GetMailManagerArchivePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMailManagerArchiveResultToKotlin(getMailManagerArchivePlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::SES::MailManagerIngressPoint Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getMailManagerIngressPoint(argument: GetMailManagerIngressPointPlainArgs): GetMailManagerIngressPointResult =
        getMailManagerIngressPointResultToKotlin(getMailManagerIngressPointPlain(argument.toJava()).await())

    /**
     * @see [getMailManagerIngressPoint].
     * @param ingressPointId The identifier of the ingress endpoint resource.
     * @return null
     */
    public suspend fun getMailManagerIngressPoint(ingressPointId: String): GetMailManagerIngressPointResult {
        val argument = GetMailManagerIngressPointPlainArgs(
            ingressPointId = ingressPointId,
        )
        return getMailManagerIngressPointResultToKotlin(getMailManagerIngressPointPlain(argument.toJava()).await())
    }

    /**
     * @see [getMailManagerIngressPoint].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerIngressPointPlainArgs].
     * @return null
     */
    public suspend fun getMailManagerIngressPoint(argument: suspend GetMailManagerIngressPointPlainArgsBuilder.() -> Unit): GetMailManagerIngressPointResult {
        val builder = GetMailManagerIngressPointPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMailManagerIngressPointResultToKotlin(getMailManagerIngressPointPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::SES::MailManagerRelay Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getMailManagerRelay(argument: GetMailManagerRelayPlainArgs): GetMailManagerRelayResult =
        getMailManagerRelayResultToKotlin(getMailManagerRelayPlain(argument.toJava()).await())

    /**
     * @see [getMailManagerRelay].
     * @param relayId The unique relay identifier.
     * @return null
     */
    public suspend fun getMailManagerRelay(relayId: String): GetMailManagerRelayResult {
        val argument = GetMailManagerRelayPlainArgs(
            relayId = relayId,
        )
        return getMailManagerRelayResultToKotlin(getMailManagerRelayPlain(argument.toJava()).await())
    }

    /**
     * @see [getMailManagerRelay].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerRelayPlainArgs].
     * @return null
     */
    public suspend fun getMailManagerRelay(argument: suspend GetMailManagerRelayPlainArgsBuilder.() -> Unit): GetMailManagerRelayResult {
        val builder = GetMailManagerRelayPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMailManagerRelayResultToKotlin(getMailManagerRelayPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::SES::MailManagerRuleSet Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getMailManagerRuleSet(argument: GetMailManagerRuleSetPlainArgs): GetMailManagerRuleSetResult =
        getMailManagerRuleSetResultToKotlin(getMailManagerRuleSetPlain(argument.toJava()).await())

    /**
     * @see [getMailManagerRuleSet].
     * @param ruleSetId The identifier of the rule set.
     * @return null
     */
    public suspend fun getMailManagerRuleSet(ruleSetId: String): GetMailManagerRuleSetResult {
        val argument = GetMailManagerRuleSetPlainArgs(
            ruleSetId = ruleSetId,
        )
        return getMailManagerRuleSetResultToKotlin(getMailManagerRuleSetPlain(argument.toJava()).await())
    }

    /**
     * @see [getMailManagerRuleSet].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerRuleSetPlainArgs].
     * @return null
     */
    public suspend fun getMailManagerRuleSet(argument: suspend GetMailManagerRuleSetPlainArgsBuilder.() -> Unit): GetMailManagerRuleSetResult {
        val builder = GetMailManagerRuleSetPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMailManagerRuleSetResultToKotlin(getMailManagerRuleSetPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::SES::MailManagerTrafficPolicy Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getMailManagerTrafficPolicy(argument: GetMailManagerTrafficPolicyPlainArgs): GetMailManagerTrafficPolicyResult =
        getMailManagerTrafficPolicyResultToKotlin(getMailManagerTrafficPolicyPlain(argument.toJava()).await())

    /**
     * @see [getMailManagerTrafficPolicy].
     * @param trafficPolicyId The identifier of the traffic policy resource.
     * @return null
     */
    public suspend fun getMailManagerTrafficPolicy(trafficPolicyId: String): GetMailManagerTrafficPolicyResult {
        val argument = GetMailManagerTrafficPolicyPlainArgs(
            trafficPolicyId = trafficPolicyId,
        )
        return getMailManagerTrafficPolicyResultToKotlin(getMailManagerTrafficPolicyPlain(argument.toJava()).await())
    }

    /**
     * @see [getMailManagerTrafficPolicy].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetMailManagerTrafficPolicyPlainArgs].
     * @return null
     */
    public suspend fun getMailManagerTrafficPolicy(argument: suspend GetMailManagerTrafficPolicyPlainArgsBuilder.() -> Unit): GetMailManagerTrafficPolicyResult {
        val builder = GetMailManagerTrafficPolicyPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMailManagerTrafficPolicyResultToKotlin(getMailManagerTrafficPolicyPlain(builtArgument.toJava()).await())
    }

    /**
     * Resource Type definition for AWS::SES::Template
     * @param argument null
     * @return null
     */
    public suspend fun getTemplate(argument: GetTemplatePlainArgs): GetTemplateResult =
        getTemplateResultToKotlin(getTemplatePlain(argument.toJava()).await())

    /**
     * @see [getTemplate].
     * @param id
     * @return null
     */
    public suspend fun getTemplate(id: String): GetTemplateResult {
        val argument = GetTemplatePlainArgs(
            id = id,
        )
        return getTemplateResultToKotlin(getTemplatePlain(argument.toJava()).await())
    }

    /**
     * @see [getTemplate].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetTemplatePlainArgs].
     * @return null
     */
    public suspend fun getTemplate(argument: suspend GetTemplatePlainArgsBuilder.() -> Unit): GetTemplateResult {
        val builder = GetTemplatePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getTemplateResultToKotlin(getTemplatePlain(builtArgument.toJava()).await())
    }

    /**
     * Resource Type definition for AWS::SES::VdmAttributes
     * @param argument null
     * @return null
     */
    public suspend fun getVdmAttributes(argument: GetVdmAttributesPlainArgs): GetVdmAttributesResult =
        getVdmAttributesResultToKotlin(getVdmAttributesPlain(argument.toJava()).await())

    /**
     * @see [getVdmAttributes].
     * @param vdmAttributesResourceId Unique identifier for this resource
     * @return null
     */
    public suspend fun getVdmAttributes(vdmAttributesResourceId: String): GetVdmAttributesResult {
        val argument = GetVdmAttributesPlainArgs(
            vdmAttributesResourceId = vdmAttributesResourceId,
        )
        return getVdmAttributesResultToKotlin(getVdmAttributesPlain(argument.toJava()).await())
    }

    /**
     * @see [getVdmAttributes].
     * @param argument Builder for [com.pulumi.awsnative.ses.kotlin.inputs.GetVdmAttributesPlainArgs].
     * @return null
     */
    public suspend fun getVdmAttributes(argument: suspend GetVdmAttributesPlainArgsBuilder.() -> Unit): GetVdmAttributesResult {
        val builder = GetVdmAttributesPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getVdmAttributesResultToKotlin(getVdmAttributesPlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy