AWS SDK

AWS SDK

rev. 2493670155f3f484f4055f00c7816463c1a2ced2..ac5e22252d1e170d05dd8b11ceb2a7a284cd7f2e

Files changed:

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/MembershipType.kt

@@ -9,9 +44,44 @@
   29     29   
            "igmp" -> Igmp
   30     30   
            "static" -> Static
   31     31   
            else -> SdkUnknown(value)
   32     32   
        }
   33     33   
   34     34   
        /**
   35     35   
         * Get a list of all possible variants
   36     36   
         */
   37     37   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MembershipType> = values
   38     38   
   39         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MembershipType> = listOf(
          39  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MembershipType> by lazy { listOf(
   40     40   
            Igmp,
   41     41   
            Static,
   42         -
        )
          42  +
        ) }
   43     43   
    }
   44     44   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/MetadataDefaultHttpTokensState.kt

@@ -15,15 +51,51 @@
   35     35   
            "optional" -> Optional
   36     36   
            "required" -> Required
   37     37   
            else -> SdkUnknown(value)
   38     38   
        }
   39     39   
   40     40   
        /**
   41     41   
         * Get a list of all possible variants
   42     42   
         */
   43     43   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MetadataDefaultHttpTokensState> = values
   44     44   
   45         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MetadataDefaultHttpTokensState> = listOf(
          45  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MetadataDefaultHttpTokensState> by lazy { listOf(
   46     46   
            NoPreference,
   47     47   
            Optional,
   48     48   
            Required,
   49         -
        )
          49  +
        ) }
   50     50   
    }
   51     51   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/Metric.kt

@@ -291,291 +373,373 @@
  311    311   
            "unreserved-total-usage-hrs-inst" -> UnreservedTotalUsageHrsInst
  312    312   
            "unreserved-total-usage-hrs-vcpu" -> UnreservedTotalUsageHrsVcpu
  313    313   
            else -> SdkUnknown(value)
  314    314   
        }
  315    315   
  316    316   
        /**
  317    317   
         * Get a list of all possible variants
  318    318   
         */
  319    319   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.Metric> = values
  320    320   
  321         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.Metric> = listOf(
         321  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.Metric> by lazy { listOf(
  322    322   
            ReservationAvgCommittedSizeInst,
  323    323   
            ReservationAvgCommittedSizeVcpu,
  324    324   
            ReservationAvgFutureSizeInst,
  325    325   
            ReservationAvgFutureSizeVcpu,
  326    326   
            ReservationAvgUtilizationInst,
  327    327   
            ReservationAvgUtilizationVcpu,
  328    328   
            ReservationMaxCommittedSizeInst,
  329    329   
            ReservationMaxCommittedSizeVcpu,
  330    330   
            ReservationMaxFutureSizeInst,
  331    331   
            ReservationMaxFutureSizeVcpu,
  332    332   
            ReservationMaxSizeInst,
  333    333   
            ReservationMaxSizeVcpu,
  334    334   
            ReservationMaxUnusedSizeInst,
  335    335   
            ReservationMaxUnusedSizeVcpu,
  336    336   
            ReservationMaxUtilization,
  337    337   
            ReservationMinCommittedSizeInst,
  338    338   
            ReservationMinCommittedSizeVcpu,
  339    339   
            ReservationMinFutureSizeInst,
  340    340   
            ReservationMinFutureSizeVcpu,
  341    341   
            ReservationMinSizeInst,
  342    342   
            ReservationMinSizeVcpu,
  343    343   
            ReservationMinUnusedSizeInst,
  344    344   
            ReservationMinUnusedSizeVcpu,
  345    345   
            ReservationMinUtilization,
  346    346   
            ReservationTotalCapacityHrsInst,
  347    347   
            ReservationTotalCapacityHrsVcpu,
  348    348   
            ReservationTotalCount,
  349    349   
            ReservationTotalEstimatedCost,
  350    350   
            ReservationUnusedTotalCapacityHrsInst,
  351    351   
            ReservationUnusedTotalCapacityHrsVcpu,
  352    352   
            ReservationUnusedTotalEstimatedCost,
  353    353   
            ReservedTotalEstimatedCost,
  354    354   
            ReservedTotalUsageHrsInst,
  355    355   
            ReservedTotalUsageHrsVcpu,
  356    356   
            SpotAvgRunTimeBeforeInterruptionInst,
  357    357   
            SpotInterruptionRateInst,
  358    358   
            SpotInterruptionRateVcpu,
  359    359   
            SpotMaxRunTimeBeforeInterruptionInst,
  360    360   
            SpotMinRunTimeBeforeInterruptionInst,
  361    361   
            SpotTotalCountInst,
  362    362   
            SpotTotalCountVcpu,
  363    363   
            SpotTotalEstimatedCost,
  364    364   
            SpotTotalInterruptionsInst,
  365    365   
            SpotTotalInterruptionsVcpu,
  366    366   
            SpotTotalUsageHrsInst,
  367    367   
            SpotTotalUsageHrsVcpu,
  368    368   
            UnreservedTotalEstimatedCost,
  369    369   
            UnreservedTotalUsageHrsInst,
  370    370   
            UnreservedTotalUsageHrsVcpu,
  371         -
        )
         371  +
        ) }
  372    372   
    }
  373    373   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/MetricType.kt

@@ -3,3 +37,37 @@
   23     23   
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.ec2.model.MetricType = when (value) {
   24     24   
            "aggregate-latency" -> AggregateLatency
   25     25   
            else -> SdkUnknown(value)
   26     26   
        }
   27     27   
   28     28   
        /**
   29     29   
         * Get a list of all possible variants
   30     30   
         */
   31     31   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MetricType> = values
   32     32   
   33         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MetricType> = listOf(
          33  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MetricType> by lazy { listOf(
   34     34   
            AggregateLatency,
   35         -
        )
          35  +
        ) }
   36     36   
    }
   37     37   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/ModifyAvailabilityZoneOptInStatus.kt

@@ -9,9 +44,44 @@
   29     29   
            "not-opted-in" -> NotOptedIn
   30     30   
            "opted-in" -> OptedIn
   31     31   
            else -> SdkUnknown(value)
   32     32   
        }
   33     33   
   34     34   
        /**
   35     35   
         * Get a list of all possible variants
   36     36   
         */
   37     37   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.ModifyAvailabilityZoneOptInStatus> = values
   38     38   
   39         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.ModifyAvailabilityZoneOptInStatus> = listOf(
          39  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.ModifyAvailabilityZoneOptInStatus> by lazy { listOf(
   40     40   
            NotOptedIn,
   41     41   
            OptedIn,
   42         -
        )
          42  +
        ) }
   43     43   
    }
   44     44   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/ModifyClientVpnEndpointRequest.kt

@@ -1,1 +41,42 @@
    2      2   
    3      3   
package aws.sdk.kotlin.services.ec2.model
    4      4   
    5      5   
import aws.smithy.kotlin.runtime.SdkDsl
    6      6   
    7      7   
private val awsSdkKotlinServicesEc2ModelClientConnectOptionsDslBuilderRef = aws.sdk.kotlin.services.ec2.model.ClientConnectOptions
    8      8   
private val awsSdkKotlinServicesEc2ModelClientLoginBannerOptionsDslBuilderRef = aws.sdk.kotlin.services.ec2.model.ClientLoginBannerOptions
    9      9   
private val awsSdkKotlinServicesEc2ModelClientRouteEnforcementOptionsDslBuilderRef = aws.sdk.kotlin.services.ec2.model.ClientRouteEnforcementOptions
   10     10   
private val awsSdkKotlinServicesEc2ModelConnectionLogOptionsDslBuilderRef = aws.sdk.kotlin.services.ec2.model.ConnectionLogOptions
   11     11   
private val awsSdkKotlinServicesEc2ModelDnsServersOptionsModifyStructureDslBuilderRef = aws.sdk.kotlin.services.ec2.model.DnsServersOptionsModifyStructure
          12  +
private val awsSdkKotlinServicesEc2ModelTransitGatewayConfigurationInputStructureDslBuilderRef = aws.sdk.kotlin.services.ec2.model.TransitGatewayConfigurationInputStructure
   12     13   
   13     14   
public class ModifyClientVpnEndpointRequest private constructor(builder: Builder) {
   14     15   
    /**
   15     16   
     * The options for managing connection authorization for new client connections.
   16     17   
     */
   17     18   
    public val clientConnectOptions: aws.sdk.kotlin.services.ec2.model.ClientConnectOptions? = builder.clientConnectOptions
   18     19   
    /**
   19     20   
     * Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
   20     21   
     */
   21     22   
    public val clientLoginBannerOptions: aws.sdk.kotlin.services.ec2.model.ClientLoginBannerOptions? = builder.clientLoginBannerOptions
@@ -54,55 +191,199 @@
   74     75   
     *
   75     76   
     * Default value: `24`
   76     77   
     */
   77     78   
    public val sessionTimeoutHours: kotlin.Int? = builder.sessionTimeoutHours
   78     79   
    /**
   79     80   
     * Indicates whether the VPN is split-tunnel.
   80     81   
     *
   81     82   
     * For information about split-tunnel VPN endpoints, see [Split-tunnel Client VPN endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) in the *Client VPN Administrator Guide*.
   82     83   
     */
   83     84   
    public val splitTunnel: kotlin.Boolean? = builder.splitTunnel
          85  +
    /**
          86  +
     * The Transit Gateway configuration for the Client VPN endpoint. This option is currently not supported.
          87  +
     */
          88  +
    public val transitGatewayConfiguration: aws.sdk.kotlin.services.ec2.model.TransitGatewayConfigurationInputStructure? = builder.transitGatewayConfiguration
   84     89   
    /**
   85     90   
     * The ID of the VPC to associate with the Client VPN endpoint.
   86     91   
     */
   87     92   
    public val vpcId: kotlin.String? = builder.vpcId
   88     93   
    /**
   89     94   
     * The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
   90     95   
     *
   91     96   
     * Valid Values: `443` | `1194`
   92     97   
     *
   93     98   
     * Default Value: `443`
   94     99   
     */
   95    100   
    public val vpnPort: kotlin.Int? = builder.vpnPort
   96    101   
   97    102   
    public companion object {
   98    103   
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ec2.model.ModifyClientVpnEndpointRequest = Builder().apply(block).build()
   99    104   
    }
  100    105   
  101    106   
    override fun toString(): kotlin.String = buildString {
  102    107   
        append("ModifyClientVpnEndpointRequest(")
  103    108   
        append("clientConnectOptions=$clientConnectOptions,")
  104    109   
        append("clientLoginBannerOptions=$clientLoginBannerOptions,")
  105    110   
        append("clientRouteEnforcementOptions=$clientRouteEnforcementOptions,")
  106    111   
        append("clientVpnEndpointId=$clientVpnEndpointId,")
  107    112   
        append("connectionLogOptions=$connectionLogOptions,")
  108    113   
        append("description=$description,")
  109    114   
        append("disconnectOnSessionTimeout=$disconnectOnSessionTimeout,")
  110    115   
        append("dnsServers=$dnsServers,")
  111    116   
        append("dryRun=$dryRun,")
  112    117   
        append("securityGroupIds=$securityGroupIds,")
  113    118   
        append("selfServicePortal=$selfServicePortal,")
  114    119   
        append("serverCertificateArn=$serverCertificateArn,")
  115    120   
        append("sessionTimeoutHours=$sessionTimeoutHours,")
  116    121   
        append("splitTunnel=$splitTunnel,")
         122  +
        append("transitGatewayConfiguration=$transitGatewayConfiguration,")
  117    123   
        append("vpcId=$vpcId,")
  118    124   
        append("vpnPort=$vpnPort")
  119    125   
        append(")")
  120    126   
    }
  121    127   
  122    128   
    override fun hashCode(): kotlin.Int {
  123    129   
        var result = clientConnectOptions?.hashCode() ?: 0
  124    130   
        result = 31 * result + (this.clientLoginBannerOptions?.hashCode() ?: 0)
  125    131   
        result = 31 * result + (this.clientRouteEnforcementOptions?.hashCode() ?: 0)
  126    132   
        result = 31 * result + (this.clientVpnEndpointId?.hashCode() ?: 0)
  127    133   
        result = 31 * result + (this.connectionLogOptions?.hashCode() ?: 0)
  128    134   
        result = 31 * result + (this.description?.hashCode() ?: 0)
  129    135   
        result = 31 * result + (this.disconnectOnSessionTimeout?.hashCode() ?: 0)
  130    136   
        result = 31 * result + (this.dnsServers?.hashCode() ?: 0)
  131    137   
        result = 31 * result + (this.dryRun?.hashCode() ?: 0)
  132    138   
        result = 31 * result + (this.securityGroupIds?.hashCode() ?: 0)
  133    139   
        result = 31 * result + (this.selfServicePortal?.hashCode() ?: 0)
  134    140   
        result = 31 * result + (this.serverCertificateArn?.hashCode() ?: 0)
  135    141   
        result = 31 * result + (this.sessionTimeoutHours ?: 0)
  136    142   
        result = 31 * result + (this.splitTunnel?.hashCode() ?: 0)
         143  +
        result = 31 * result + (this.transitGatewayConfiguration?.hashCode() ?: 0)
  137    144   
        result = 31 * result + (this.vpcId?.hashCode() ?: 0)
  138    145   
        result = 31 * result + (this.vpnPort ?: 0)
  139    146   
        return result
  140    147   
    }
  141    148   
  142    149   
    override fun equals(other: kotlin.Any?): kotlin.Boolean {
  143    150   
        if (this === other) return true
  144    151   
        if (other == null || this::class != other::class) return false
  145    152   
  146    153   
        other as ModifyClientVpnEndpointRequest
  147    154   
  148    155   
        if (clientConnectOptions != other.clientConnectOptions) return false
  149    156   
        if (clientLoginBannerOptions != other.clientLoginBannerOptions) return false
  150    157   
        if (clientRouteEnforcementOptions != other.clientRouteEnforcementOptions) return false
  151    158   
        if (clientVpnEndpointId != other.clientVpnEndpointId) return false
  152    159   
        if (connectionLogOptions != other.connectionLogOptions) return false
  153    160   
        if (description != other.description) return false
  154    161   
        if (disconnectOnSessionTimeout != other.disconnectOnSessionTimeout) return false
  155    162   
        if (dnsServers != other.dnsServers) return false
  156    163   
        if (dryRun != other.dryRun) return false
  157    164   
        if (securityGroupIds != other.securityGroupIds) return false
  158    165   
        if (selfServicePortal != other.selfServicePortal) return false
  159    166   
        if (serverCertificateArn != other.serverCertificateArn) return false
  160    167   
        if (sessionTimeoutHours != other.sessionTimeoutHours) return false
  161    168   
        if (splitTunnel != other.splitTunnel) return false
         169  +
        if (transitGatewayConfiguration != other.transitGatewayConfiguration) return false
  162    170   
        if (vpcId != other.vpcId) return false
  163    171   
        if (vpnPort != other.vpnPort) return false
  164    172   
  165    173   
        return true
  166    174   
    }
  167    175   
  168    176   
    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ec2.model.ModifyClientVpnEndpointRequest = Builder(this).apply(block).build()
  169    177   
  170    178   
    @SdkDsl
  171    179   
    public class Builder {
@@ -212,220 +319,339 @@
  232    240   
         *
  233    241   
         * Default value: `24`
  234    242   
         */
  235    243   
        public var sessionTimeoutHours: kotlin.Int? = null
  236    244   
        /**
  237    245   
         * Indicates whether the VPN is split-tunnel.
  238    246   
         *
  239    247   
         * For information about split-tunnel VPN endpoints, see [Split-tunnel Client VPN endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) in the *Client VPN Administrator Guide*.
  240    248   
         */
  241    249   
        public var splitTunnel: kotlin.Boolean? = null
         250  +
        /**
         251  +
         * The Transit Gateway configuration for the Client VPN endpoint. This option is currently not supported.
         252  +
         */
         253  +
        public var transitGatewayConfiguration: aws.sdk.kotlin.services.ec2.model.TransitGatewayConfigurationInputStructure? = null
  242    254   
        /**
  243    255   
         * The ID of the VPC to associate with the Client VPN endpoint.
  244    256   
         */
  245    257   
        public var vpcId: kotlin.String? = null
  246    258   
        /**
  247    259   
         * The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
  248    260   
         *
  249    261   
         * Valid Values: `443` | `1194`
  250    262   
         *
  251    263   
         * Default Value: `443`
  252    264   
         */
  253    265   
        public var vpnPort: kotlin.Int? = null
  254    266   
  255    267   
        @PublishedApi
  256    268   
        internal constructor()
  257    269   
        @PublishedApi
  258    270   
        internal constructor(x: aws.sdk.kotlin.services.ec2.model.ModifyClientVpnEndpointRequest) : this() {
  259    271   
            this.clientConnectOptions = x.clientConnectOptions
  260    272   
            this.clientLoginBannerOptions = x.clientLoginBannerOptions
  261    273   
            this.clientRouteEnforcementOptions = x.clientRouteEnforcementOptions
  262    274   
            this.clientVpnEndpointId = x.clientVpnEndpointId
  263    275   
            this.connectionLogOptions = x.connectionLogOptions
  264    276   
            this.description = x.description
  265    277   
            this.disconnectOnSessionTimeout = x.disconnectOnSessionTimeout
  266    278   
            this.dnsServers = x.dnsServers
  267    279   
            this.dryRun = x.dryRun
  268    280   
            this.securityGroupIds = x.securityGroupIds
  269    281   
            this.selfServicePortal = x.selfServicePortal
  270    282   
            this.serverCertificateArn = x.serverCertificateArn
  271    283   
            this.sessionTimeoutHours = x.sessionTimeoutHours
  272    284   
            this.splitTunnel = x.splitTunnel
         285  +
            this.transitGatewayConfiguration = x.transitGatewayConfiguration
  273    286   
            this.vpcId = x.vpcId
  274    287   
            this.vpnPort = x.vpnPort
  275    288   
        }
  276    289   
  277    290   
        @PublishedApi
  278    291   
        internal fun build(): aws.sdk.kotlin.services.ec2.model.ModifyClientVpnEndpointRequest = ModifyClientVpnEndpointRequest(this)
  279    292   
  280    293   
        /**
  281    294   
         * construct an [aws.sdk.kotlin.services.ec2.model.ClientConnectOptions] inside the given [block]
  282    295   
         */
  283    296   
        public fun clientConnectOptions(block: aws.sdk.kotlin.services.ec2.model.ClientConnectOptions.Builder.() -> kotlin.Unit) {
  284    297   
            this.clientConnectOptions = awsSdkKotlinServicesEc2ModelClientConnectOptionsDslBuilderRef(block)
  285    298   
        }
  286    299   
  287    300   
        /**
  288    301   
         * construct an [aws.sdk.kotlin.services.ec2.model.ClientLoginBannerOptions] inside the given [block]
  289    302   
         */
  290    303   
        public fun clientLoginBannerOptions(block: aws.sdk.kotlin.services.ec2.model.ClientLoginBannerOptions.Builder.() -> kotlin.Unit) {
  291    304   
            this.clientLoginBannerOptions = awsSdkKotlinServicesEc2ModelClientLoginBannerOptionsDslBuilderRef(block)
  292    305   
        }
  293    306   
  294    307   
        /**
  295    308   
         * construct an [aws.sdk.kotlin.services.ec2.model.ClientRouteEnforcementOptions] inside the given [block]
  296    309   
         */
  297    310   
        public fun clientRouteEnforcementOptions(block: aws.sdk.kotlin.services.ec2.model.ClientRouteEnforcementOptions.Builder.() -> kotlin.Unit) {
  298    311   
            this.clientRouteEnforcementOptions = awsSdkKotlinServicesEc2ModelClientRouteEnforcementOptionsDslBuilderRef(block)
  299    312   
        }
  300    313   
  301    314   
        /**
  302    315   
         * construct an [aws.sdk.kotlin.services.ec2.model.ConnectionLogOptions] inside the given [block]
  303    316   
         */
  304    317   
        public fun connectionLogOptions(block: aws.sdk.kotlin.services.ec2.model.ConnectionLogOptions.Builder.() -> kotlin.Unit) {
  305    318   
            this.connectionLogOptions = awsSdkKotlinServicesEc2ModelConnectionLogOptionsDslBuilderRef(block)
  306    319   
        }
  307    320   
  308    321   
        /**
  309    322   
         * construct an [aws.sdk.kotlin.services.ec2.model.DnsServersOptionsModifyStructure] inside the given [block]
  310    323   
         */
  311    324   
        public fun dnsServers(block: aws.sdk.kotlin.services.ec2.model.DnsServersOptionsModifyStructure.Builder.() -> kotlin.Unit) {
  312    325   
            this.dnsServers = awsSdkKotlinServicesEc2ModelDnsServersOptionsModifyStructureDslBuilderRef(block)
  313    326   
        }
  314    327   
         328  +
        /**
         329  +
         * construct an [aws.sdk.kotlin.services.ec2.model.TransitGatewayConfigurationInputStructure] inside the given [block]
         330  +
         */
         331  +
        public fun transitGatewayConfiguration(block: aws.sdk.kotlin.services.ec2.model.TransitGatewayConfigurationInputStructure.Builder.() -> kotlin.Unit) {
         332  +
            this.transitGatewayConfiguration = awsSdkKotlinServicesEc2ModelTransitGatewayConfigurationInputStructureDslBuilderRef(block)
         333  +
        }
         334  +
  315    335   
        internal fun correctErrors(): Builder {
  316    336   
            return this
  317    337   
        }
  318    338   
    }
  319    339   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/MonitoringState.kt

@@ -21,21 +58,58 @@
   41     41   
            "enabled" -> Enabled
   42     42   
            "pending" -> Pending
   43     43   
            else -> SdkUnknown(value)
   44     44   
        }
   45     45   
   46     46   
        /**
   47     47   
         * Get a list of all possible variants
   48     48   
         */
   49     49   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MonitoringState> = values
   50     50   
   51         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MonitoringState> = listOf(
          51  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MonitoringState> by lazy { listOf(
   52     52   
            Disabled,
   53     53   
            Disabling,
   54     54   
            Enabled,
   55     55   
            Pending,
   56         -
        )
          56  +
        ) }
   57     57   
    }
   58     58   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/MoveStatus.kt

@@ -9,9 +44,44 @@
   29     29   
            "movingToVpc" -> MovingToVpc
   30     30   
            "restoringToClassic" -> RestoringToClassic
   31     31   
            else -> SdkUnknown(value)
   32     32   
        }
   33     33   
   34     34   
        /**
   35     35   
         * Get a list of all possible variants
   36     36   
         */
   37     37   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MoveStatus> = values
   38     38   
   39         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MoveStatus> = listOf(
          39  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MoveStatus> by lazy { listOf(
   40     40   
            MovingToVpc,
   41     41   
            RestoringToClassic,
   42         -
        )
          42  +
        ) }
   43     43   
    }
   44     44   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/MulticastSupportValue.kt

@@ -9,9 +44,44 @@
   29     29   
            "disable" -> Disable
   30     30   
            "enable" -> Enable
   31     31   
            else -> SdkUnknown(value)
   32     32   
        }
   33     33   
   34     34   
        /**
   35     35   
         * Get a list of all possible variants
   36     36   
         */
   37     37   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MulticastSupportValue> = values
   38     38   
   39         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MulticastSupportValue> = listOf(
          39  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.MulticastSupportValue> by lazy { listOf(
   40     40   
            Disable,
   41     41   
            Enable,
   42         -
        )
          42  +
        ) }
   43     43   
    }
   44     44   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/NatGatewayAddressStatus.kt

@@ -33,33 +72,72 @@
   53     53   
            "succeeded" -> Succeeded
   54     54   
            "unassigning" -> Unassigning
   55     55   
            else -> SdkUnknown(value)
   56     56   
        }
   57     57   
   58     58   
        /**
   59     59   
         * Get a list of all possible variants
   60     60   
         */
   61     61   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayAddressStatus> = values
   62     62   
   63         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayAddressStatus> = listOf(
          63  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayAddressStatus> by lazy { listOf(
   64     64   
            Assigning,
   65     65   
            Associating,
   66     66   
            Disassociating,
   67     67   
            Failed,
   68     68   
            Succeeded,
   69     69   
            Unassigning,
   70         -
        )
          70  +
        ) }
   71     71   
    }
   72     72   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/NatGatewayApplianceModifyState.kt

@@ -15,15 +51,51 @@
   35     35   
            "failed" -> Failed
   36     36   
            "modifying" -> Modifying
   37     37   
            else -> SdkUnknown(value)
   38     38   
        }
   39     39   
   40     40   
        /**
   41     41   
         * Get a list of all possible variants
   42     42   
         */
   43     43   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceModifyState> = values
   44     44   
   45         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceModifyState> = listOf(
          45  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceModifyState> by lazy { listOf(
   46     46   
            Completed,
   47     47   
            Failed,
   48     48   
            Modifying,
   49         -
        )
          49  +
        ) }
   50     50   
    }
   51     51   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/NatGatewayApplianceState.kt

@@ -33,33 +72,72 @@
   53     53   
            "detaching" -> Detaching
   54     54   
            "detach-failed" -> DetachFailed
   55     55   
            else -> SdkUnknown(value)
   56     56   
        }
   57     57   
   58     58   
        /**
   59     59   
         * Get a list of all possible variants
   60     60   
         */
   61     61   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceState> = values
   62     62   
   63         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceState> = listOf(
          63  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceState> by lazy { listOf(
   64     64   
            Attached,
   65     65   
            Attaching,
   66     66   
            AttachFailed,
   67     67   
            Detached,
   68     68   
            Detaching,
   69     69   
            DetachFailed,
   70         -
        )
          70  +
        ) }
   71     71   
    }
   72     72   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/NatGatewayApplianceType.kt

@@ -3,3 +37,37 @@
   23     23   
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceType = when (value) {
   24     24   
            "network-firewall-proxy" -> NetworkFirewallProxy
   25     25   
            else -> SdkUnknown(value)
   26     26   
        }
   27     27   
   28     28   
        /**
   29     29   
         * Get a list of all possible variants
   30     30   
         */
   31     31   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceType> = values
   32     32   
   33         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceType> = listOf(
          33  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayApplianceType> by lazy { listOf(
   34     34   
            NetworkFirewallProxy,
   35         -
        )
          35  +
        ) }
   36     36   
    }
   37     37   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/NatGatewayState.kt

@@ -27,27 +65,65 @@
   47     47   
            "failed" -> Failed
   48     48   
            "pending" -> Pending
   49     49   
            else -> SdkUnknown(value)
   50     50   
        }
   51     51   
   52     52   
        /**
   53     53   
         * Get a list of all possible variants
   54     54   
         */
   55     55   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayState> = values
   56     56   
   57         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayState> = listOf(
          57  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NatGatewayState> by lazy { listOf(
   58     58   
            Available,
   59     59   
            Deleted,
   60     60   
            Deleting,
   61     61   
            Failed,
   62     62   
            Pending,
   63         -
        )
          63  +
        ) }
   64     64   
    }
   65     65   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/NestedVirtualizationSpecification.kt

@@ -9,9 +44,44 @@
   29     29   
            "disabled" -> Disabled
   30     30   
            "enabled" -> Enabled
   31     31   
            else -> SdkUnknown(value)
   32     32   
        }
   33     33   
   34     34   
        /**
   35     35   
         * Get a list of all possible variants
   36     36   
         */
   37     37   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NestedVirtualizationSpecification> = values
   38     38   
   39         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NestedVirtualizationSpecification> = listOf(
          39  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NestedVirtualizationSpecification> by lazy { listOf(
   40     40   
            Disabled,
   41     41   
            Enabled,
   42         -
        )
          42  +
        ) }
   43     43   
    }
   44     44   
}

tmp-codegen-diff/services/ec2/generated-src/main/kotlin/aws/sdk/kotlin/services/ec2/model/NetworkInterfaceAttribute.kt

@@ -27,27 +65,65 @@
   47     47   
            "groupSet" -> GroupSet
   48     48   
            "sourceDestCheck" -> SourceDestCheck
   49     49   
            else -> SdkUnknown(value)
   50     50   
        }
   51     51   
   52     52   
        /**
   53     53   
         * Get a list of all possible variants
   54     54   
         */
   55     55   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NetworkInterfaceAttribute> = values
   56     56   
   57         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NetworkInterfaceAttribute> = listOf(
          57  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.NetworkInterfaceAttribute> by lazy { listOf(
   58     58   
            AssociatePublicIpAddress,
   59     59   
            Attachment,
   60     60   
            Description,
   61     61   
            GroupSet,
   62     62   
            SourceDestCheck,
   63         -
        )
          63  +
        ) }
   64     64   
    }
   65     65   
}