AWS SDK

AWS SDK

rev. b9ccf3dabc550b0fbe85e785b19c58a2472f505e..96418c2288c67c1dde0d5d93cadadbf52fc820f4

Files changed:

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

@@ -1,1 +174,186 @@
    9      9   
 */
   10     10   
public class InstanceStatus private constructor(builder: Builder) {
   11     11   
    /**
   12     12   
     * Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.
   13     13   
     */
   14     14   
    public val attachedEbsStatus: aws.sdk.kotlin.services.ec2.model.EbsStatusSummary? = builder.attachedEbsStatus
   15     15   
    /**
   16     16   
     * The Availability Zone of the instance.
   17     17   
     */
   18     18   
    public val availabilityZone: kotlin.String? = builder.availabilityZone
          19  +
    /**
          20  +
     * The ID of the Availability Zone of the instance.
          21  +
     */
          22  +
    public val availabilityZoneId: kotlin.String? = builder.availabilityZoneId
   19     23   
    /**
   20     24   
     * Any scheduled events associated with the instance.
   21     25   
     */
   22     26   
    public val events: List<InstanceStatusEvent>? = builder.events
   23     27   
    /**
   24     28   
     * The ID of the instance.
   25     29   
     */
   26     30   
    public val instanceId: kotlin.String? = builder.instanceId
   27     31   
    /**
   28     32   
     * The intended state of the instance. DescribeInstanceStatus requires that an instance be in the `running` state.
   29     33   
     */
   30     34   
    public val instanceState: aws.sdk.kotlin.services.ec2.model.InstanceState? = builder.instanceState
   31     35   
    /**
   32     36   
     * Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
   33     37   
     */
   34     38   
    public val instanceStatus: aws.sdk.kotlin.services.ec2.model.InstanceStatusSummary? = builder.instanceStatus
   35     39   
    /**
   36     40   
     * The service provider that manages the instance.
   37     41   
     */
   38     42   
    public val operator: aws.sdk.kotlin.services.ec2.model.OperatorResponse? = builder.operator
   39     43   
    /**
   40     44   
     * The Amazon Resource Name (ARN) of the Outpost.
   41     45   
     */
   42     46   
    public val outpostArn: kotlin.String? = builder.outpostArn
   43     47   
    /**
   44     48   
     * Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
   45     49   
     */
   46     50   
    public val systemStatus: aws.sdk.kotlin.services.ec2.model.InstanceStatusSummary? = builder.systemStatus
   47     51   
   48     52   
    public companion object {
   49     53   
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ec2.model.InstanceStatus = Builder().apply(block).build()
   50     54   
    }
   51     55   
   52     56   
    override fun toString(): kotlin.String = buildString {
   53     57   
        append("InstanceStatus(")
   54     58   
        append("attachedEbsStatus=$attachedEbsStatus,")
   55     59   
        append("availabilityZone=$availabilityZone,")
          60  +
        append("availabilityZoneId=$availabilityZoneId,")
   56     61   
        append("events=$events,")
   57     62   
        append("instanceId=$instanceId,")
   58     63   
        append("instanceState=$instanceState,")
   59     64   
        append("instanceStatus=$instanceStatus,")
   60     65   
        append("operator=$operator,")
   61     66   
        append("outpostArn=$outpostArn,")
   62     67   
        append("systemStatus=$systemStatus")
   63     68   
        append(")")
   64     69   
    }
   65     70   
   66     71   
    override fun hashCode(): kotlin.Int {
   67     72   
        var result = attachedEbsStatus?.hashCode() ?: 0
   68     73   
        result = 31 * result + (this.availabilityZone?.hashCode() ?: 0)
          74  +
        result = 31 * result + (this.availabilityZoneId?.hashCode() ?: 0)
   69     75   
        result = 31 * result + (this.events?.hashCode() ?: 0)
   70     76   
        result = 31 * result + (this.instanceId?.hashCode() ?: 0)
   71     77   
        result = 31 * result + (this.instanceState?.hashCode() ?: 0)
   72     78   
        result = 31 * result + (this.instanceStatus?.hashCode() ?: 0)
   73     79   
        result = 31 * result + (this.operator?.hashCode() ?: 0)
   74     80   
        result = 31 * result + (this.outpostArn?.hashCode() ?: 0)
   75     81   
        result = 31 * result + (this.systemStatus?.hashCode() ?: 0)
   76     82   
        return result
   77     83   
    }
   78     84   
   79     85   
    override fun equals(other: kotlin.Any?): kotlin.Boolean {
   80     86   
        if (this === other) return true
   81     87   
        if (other == null || this::class != other::class) return false
   82     88   
   83     89   
        other as InstanceStatus
   84     90   
   85     91   
        if (attachedEbsStatus != other.attachedEbsStatus) return false
   86     92   
        if (availabilityZone != other.availabilityZone) return false
          93  +
        if (availabilityZoneId != other.availabilityZoneId) return false
   87     94   
        if (events != other.events) return false
   88     95   
        if (instanceId != other.instanceId) return false
   89     96   
        if (instanceState != other.instanceState) return false
   90     97   
        if (instanceStatus != other.instanceStatus) return false
   91     98   
        if (operator != other.operator) return false
   92     99   
        if (outpostArn != other.outpostArn) return false
   93    100   
        if (systemStatus != other.systemStatus) return false
   94    101   
   95    102   
        return true
   96    103   
    }
   97    104   
   98    105   
    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ec2.model.InstanceStatus = Builder(this).apply(block).build()
   99    106   
  100    107   
    @SdkDsl
  101    108   
    public class Builder {
  102    109   
        /**
  103    110   
         * Reports impaired functionality that stems from an attached Amazon EBS volume that is unreachable and unable to complete I/O operations.
  104    111   
         */
  105    112   
        public var attachedEbsStatus: aws.sdk.kotlin.services.ec2.model.EbsStatusSummary? = null
  106    113   
        /**
  107    114   
         * The Availability Zone of the instance.
  108    115   
         */
  109    116   
        public var availabilityZone: kotlin.String? = null
         117  +
        /**
         118  +
         * The ID of the Availability Zone of the instance.
         119  +
         */
         120  +
        public var availabilityZoneId: kotlin.String? = null
  110    121   
        /**
  111    122   
         * Any scheduled events associated with the instance.
  112    123   
         */
  113    124   
        public var events: List<InstanceStatusEvent>? = null
  114    125   
        /**
  115    126   
         * The ID of the instance.
  116    127   
         */
  117    128   
        public var instanceId: kotlin.String? = null
  118    129   
        /**
  119    130   
         * The intended state of the instance. DescribeInstanceStatus requires that an instance be in the `running` state.
  120    131   
         */
  121    132   
        public var instanceState: aws.sdk.kotlin.services.ec2.model.InstanceState? = null
  122    133   
        /**
  123    134   
         * Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
  124    135   
         */
  125    136   
        public var instanceStatus: aws.sdk.kotlin.services.ec2.model.InstanceStatusSummary? = null
  126    137   
        /**
  127    138   
         * The service provider that manages the instance.
  128    139   
         */
  129    140   
        public var operator: aws.sdk.kotlin.services.ec2.model.OperatorResponse? = null
  130    141   
        /**
  131    142   
         * The Amazon Resource Name (ARN) of the Outpost.
  132    143   
         */
  133    144   
        public var outpostArn: kotlin.String? = null
  134    145   
        /**
  135    146   
         * Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
  136    147   
         */
  137    148   
        public var systemStatus: aws.sdk.kotlin.services.ec2.model.InstanceStatusSummary? = null
  138    149   
  139    150   
        @PublishedApi
  140    151   
        internal constructor()
  141    152   
        @PublishedApi
  142    153   
        internal constructor(x: aws.sdk.kotlin.services.ec2.model.InstanceStatus) : this() {
  143    154   
            this.attachedEbsStatus = x.attachedEbsStatus
  144    155   
            this.availabilityZone = x.availabilityZone
         156  +
            this.availabilityZoneId = x.availabilityZoneId
  145    157   
            this.events = x.events
  146    158   
            this.instanceId = x.instanceId
  147    159   
            this.instanceState = x.instanceState
  148    160   
            this.instanceStatus = x.instanceStatus
  149    161   
            this.operator = x.operator
  150    162   
            this.outpostArn = x.outpostArn
  151    163   
            this.systemStatus = x.systemStatus
  152    164   
        }
  153    165   
  154    166   
        @PublishedApi

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

@@ -1445,1445 +1514,1539 @@
 1465   1465   
    public object G6E8Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1466   1466   
        override val value: kotlin.String = "g6e.8xlarge"
 1467   1467   
        override fun toString(): kotlin.String = "G6E8Xlarge"
 1468   1468   
    }
 1469   1469   
 1470   1470   
    public object G6EXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1471   1471   
        override val value: kotlin.String = "g6e.xlarge"
 1472   1472   
        override fun toString(): kotlin.String = "G6EXlarge"
 1473   1473   
    }
 1474   1474   
        1475  +
    public object G6F2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1476  +
        override val value: kotlin.String = "g6f.2xlarge"
        1477  +
        override fun toString(): kotlin.String = "G6F2Xlarge"
        1478  +
    }
        1479  +
        1480  +
    public object G6F4Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1481  +
        override val value: kotlin.String = "g6f.4xlarge"
        1482  +
        override fun toString(): kotlin.String = "G6F4Xlarge"
        1483  +
    }
        1484  +
        1485  +
    public object G6FLarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1486  +
        override val value: kotlin.String = "g6f.large"
        1487  +
        override fun toString(): kotlin.String = "G6FLarge"
        1488  +
    }
        1489  +
        1490  +
    public object G6FXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1491  +
        override val value: kotlin.String = "g6f.xlarge"
        1492  +
        override fun toString(): kotlin.String = "G6FXlarge"
        1493  +
    }
        1494  +
 1475   1495   
    public object Gr6_4_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1476   1496   
        override val value: kotlin.String = "gr6.4xlarge"
 1477   1497   
        override fun toString(): kotlin.String = "Gr6_4_Xlarge"
 1478   1498   
    }
 1479   1499   
 1480   1500   
    public object Gr6_8_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1481   1501   
        override val value: kotlin.String = "gr6.8xlarge"
 1482   1502   
        override fun toString(): kotlin.String = "Gr6_8_Xlarge"
 1483   1503   
    }
 1484   1504   
        1505  +
    public object Gr6F4Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1506  +
        override val value: kotlin.String = "gr6f.4xlarge"
        1507  +
        override fun toString(): kotlin.String = "Gr6F4Xlarge"
        1508  +
    }
        1509  +
 1485   1510   
    public object H1_16_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1486   1511   
        override val value: kotlin.String = "h1.16xlarge"
 1487   1512   
        override fun toString(): kotlin.String = "H1_16_Xlarge"
 1488   1513   
    }
 1489   1514   
 1490   1515   
    public object H1_2_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1491   1516   
        override val value: kotlin.String = "h1.2xlarge"
 1492   1517   
        override fun toString(): kotlin.String = "H1_2_Xlarge"
 1493   1518   
    }
 1494   1519   
@@ -1865,1890 +1924,2004 @@
 1885   1910   
    public object I8GMetal24Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1886   1911   
        override val value: kotlin.String = "i8g.metal-24xl"
 1887   1912   
        override fun toString(): kotlin.String = "I8GMetal24Xl"
 1888   1913   
    }
 1889   1914   
 1890   1915   
    public object I8GXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1891   1916   
        override val value: kotlin.String = "i8g.xlarge"
 1892   1917   
        override fun toString(): kotlin.String = "I8GXlarge"
 1893   1918   
    }
 1894   1919   
        1920  +
    public object I8Ge12Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1921  +
        override val value: kotlin.String = "i8ge.12xlarge"
        1922  +
        override fun toString(): kotlin.String = "I8Ge12Xlarge"
        1923  +
    }
        1924  +
        1925  +
    public object I8Ge18Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1926  +
        override val value: kotlin.String = "i8ge.18xlarge"
        1927  +
        override fun toString(): kotlin.String = "I8Ge18Xlarge"
        1928  +
    }
        1929  +
        1930  +
    public object I8Ge24Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1931  +
        override val value: kotlin.String = "i8ge.24xlarge"
        1932  +
        override fun toString(): kotlin.String = "I8Ge24Xlarge"
        1933  +
    }
        1934  +
        1935  +
    public object I8Ge2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1936  +
        override val value: kotlin.String = "i8ge.2xlarge"
        1937  +
        override fun toString(): kotlin.String = "I8Ge2Xlarge"
        1938  +
    }
        1939  +
        1940  +
    public object I8Ge3Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1941  +
        override val value: kotlin.String = "i8ge.3xlarge"
        1942  +
        override fun toString(): kotlin.String = "I8Ge3Xlarge"
        1943  +
    }
        1944  +
        1945  +
    public object I8Ge48Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1946  +
        override val value: kotlin.String = "i8ge.48xlarge"
        1947  +
        override fun toString(): kotlin.String = "I8Ge48Xlarge"
        1948  +
    }
        1949  +
        1950  +
    public object I8Ge6Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1951  +
        override val value: kotlin.String = "i8ge.6xlarge"
        1952  +
        override fun toString(): kotlin.String = "I8Ge6Xlarge"
        1953  +
    }
        1954  +
        1955  +
    public object I8GeLarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1956  +
        override val value: kotlin.String = "i8ge.large"
        1957  +
        override fun toString(): kotlin.String = "I8GeLarge"
        1958  +
    }
        1959  +
        1960  +
    public object I8GeMetal24Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1961  +
        override val value: kotlin.String = "i8ge.metal-24xl"
        1962  +
        override fun toString(): kotlin.String = "I8GeMetal24Xl"
        1963  +
    }
        1964  +
        1965  +
    public object I8GeMetal48Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1966  +
        override val value: kotlin.String = "i8ge.metal-48xl"
        1967  +
        override fun toString(): kotlin.String = "I8GeMetal48Xl"
        1968  +
    }
        1969  +
        1970  +
    public object I8GeXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        1971  +
        override val value: kotlin.String = "i8ge.xlarge"
        1972  +
        override fun toString(): kotlin.String = "I8GeXlarge"
        1973  +
    }
        1974  +
 1895   1975   
    public object Im4Gn16Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1896   1976   
        override val value: kotlin.String = "im4gn.16xlarge"
 1897   1977   
        override fun toString(): kotlin.String = "Im4Gn16Xlarge"
 1898   1978   
    }
 1899   1979   
 1900   1980   
    public object Im4Gn2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 1901   1981   
        override val value: kotlin.String = "im4gn.2xlarge"
 1902   1982   
        override fun toString(): kotlin.String = "Im4Gn2Xlarge"
 1903   1983   
    }
 1904   1984   
@@ -3050,3130 +3184,3379 @@
 3070   3150   
    public object M8GdMetal48Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3071   3151   
        override val value: kotlin.String = "m8gd.metal-48xl"
 3072   3152   
        override fun toString(): kotlin.String = "M8GdMetal48Xl"
 3073   3153   
    }
 3074   3154   
 3075   3155   
    public object M8GdXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3076   3156   
        override val value: kotlin.String = "m8gd.xlarge"
 3077   3157   
        override fun toString(): kotlin.String = "M8GdXlarge"
 3078   3158   
    }
 3079   3159   
        3160  +
    public object M8I12Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3161  +
        override val value: kotlin.String = "m8i.12xlarge"
        3162  +
        override fun toString(): kotlin.String = "M8I12Xlarge"
        3163  +
    }
        3164  +
        3165  +
    public object M8I16Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3166  +
        override val value: kotlin.String = "m8i.16xlarge"
        3167  +
        override fun toString(): kotlin.String = "M8I16Xlarge"
        3168  +
    }
        3169  +
        3170  +
    public object M8I24Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3171  +
        override val value: kotlin.String = "m8i.24xlarge"
        3172  +
        override fun toString(): kotlin.String = "M8I24Xlarge"
        3173  +
    }
        3174  +
        3175  +
    public object M8I2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3176  +
        override val value: kotlin.String = "m8i.2xlarge"
        3177  +
        override fun toString(): kotlin.String = "M8I2Xlarge"
        3178  +
    }
        3179  +
        3180  +
    public object M8I32Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3181  +
        override val value: kotlin.String = "m8i.32xlarge"
        3182  +
        override fun toString(): kotlin.String = "M8I32Xlarge"
        3183  +
    }
        3184  +
        3185  +
    public object M8I48Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3186  +
        override val value: kotlin.String = "m8i.48xlarge"
        3187  +
        override fun toString(): kotlin.String = "M8I48Xlarge"
        3188  +
    }
        3189  +
        3190  +
    public object M8I4Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3191  +
        override val value: kotlin.String = "m8i.4xlarge"
        3192  +
        override fun toString(): kotlin.String = "M8I4Xlarge"
        3193  +
    }
        3194  +
        3195  +
    public object M8I8Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3196  +
        override val value: kotlin.String = "m8i.8xlarge"
        3197  +
        override fun toString(): kotlin.String = "M8I8Xlarge"
        3198  +
    }
        3199  +
        3200  +
    public object M8I96Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3201  +
        override val value: kotlin.String = "m8i.96xlarge"
        3202  +
        override fun toString(): kotlin.String = "M8I96Xlarge"
        3203  +
    }
        3204  +
        3205  +
    public object M8IFlex12Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3206  +
        override val value: kotlin.String = "m8i-flex.12xlarge"
        3207  +
        override fun toString(): kotlin.String = "M8IFlex12Xlarge"
        3208  +
    }
        3209  +
        3210  +
    public object M8IFlex16Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3211  +
        override val value: kotlin.String = "m8i-flex.16xlarge"
        3212  +
        override fun toString(): kotlin.String = "M8IFlex16Xlarge"
        3213  +
    }
        3214  +
        3215  +
    public object M8IFlex2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3216  +
        override val value: kotlin.String = "m8i-flex.2xlarge"
        3217  +
        override fun toString(): kotlin.String = "M8IFlex2Xlarge"
        3218  +
    }
        3219  +
        3220  +
    public object M8IFlex4Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3221  +
        override val value: kotlin.String = "m8i-flex.4xlarge"
        3222  +
        override fun toString(): kotlin.String = "M8IFlex4Xlarge"
        3223  +
    }
        3224  +
        3225  +
    public object M8IFlex8Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3226  +
        override val value: kotlin.String = "m8i-flex.8xlarge"
        3227  +
        override fun toString(): kotlin.String = "M8IFlex8Xlarge"
        3228  +
    }
        3229  +
        3230  +
    public object M8IFlexLarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3231  +
        override val value: kotlin.String = "m8i-flex.large"
        3232  +
        override fun toString(): kotlin.String = "M8IFlexLarge"
        3233  +
    }
        3234  +
        3235  +
    public object M8IFlexXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3236  +
        override val value: kotlin.String = "m8i-flex.xlarge"
        3237  +
        override fun toString(): kotlin.String = "M8IFlexXlarge"
        3238  +
    }
        3239  +
        3240  +
    public object M8ILarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3241  +
        override val value: kotlin.String = "m8i.large"
        3242  +
        override fun toString(): kotlin.String = "M8ILarge"
        3243  +
    }
        3244  +
        3245  +
    public object M8IMetal48Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3246  +
        override val value: kotlin.String = "m8i.metal-48xl"
        3247  +
        override fun toString(): kotlin.String = "M8IMetal48Xl"
        3248  +
    }
        3249  +
        3250  +
    public object M8IMetal96Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3251  +
        override val value: kotlin.String = "m8i.metal-96xl"
        3252  +
        override fun toString(): kotlin.String = "M8IMetal96Xl"
        3253  +
    }
        3254  +
        3255  +
    public object M8IXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3256  +
        override val value: kotlin.String = "m8i.xlarge"
        3257  +
        override fun toString(): kotlin.String = "M8IXlarge"
        3258  +
    }
        3259  +
 3080   3260   
    public object Mac1Metal : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3081   3261   
        override val value: kotlin.String = "mac1.metal"
 3082   3262   
        override fun toString(): kotlin.String = "Mac1Metal"
 3083   3263   
    }
 3084   3264   
 3085   3265   
    public object Mac2M1UltraMetal : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3086   3266   
        override val value: kotlin.String = "mac2-m1ultra.metal"
 3087   3267   
        override fun toString(): kotlin.String = "Mac2M1UltraMetal"
 3088   3268   
    }
 3089   3269   
 3090   3270   
    public object Mac2M2Metal : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3091   3271   
        override val value: kotlin.String = "mac2-m2.metal"
 3092   3272   
        override fun toString(): kotlin.String = "Mac2M2Metal"
 3093   3273   
    }
 3094   3274   
 3095   3275   
    public object Mac2M2ProMetal : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3096   3276   
        override val value: kotlin.String = "mac2-m2pro.metal"
 3097   3277   
        override fun toString(): kotlin.String = "Mac2M2ProMetal"
 3098   3278   
    }
 3099   3279   
 3100   3280   
    public object Mac2Metal : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3101   3281   
        override val value: kotlin.String = "mac2.metal"
 3102   3282   
        override fun toString(): kotlin.String = "Mac2Metal"
 3103   3283   
    }
 3104   3284   
        3285  +
    public object MacM4Metal : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3286  +
        override val value: kotlin.String = "mac-m4.metal"
        3287  +
        override fun toString(): kotlin.String = "MacM4Metal"
        3288  +
    }
        3289  +
        3290  +
    public object MacM4ProMetal : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3291  +
        override val value: kotlin.String = "mac-m4pro.metal"
        3292  +
        override fun toString(): kotlin.String = "MacM4ProMetal"
        3293  +
    }
        3294  +
 3105   3295   
    public object P2_16_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3106   3296   
        override val value: kotlin.String = "p2.16xlarge"
 3107   3297   
        override fun toString(): kotlin.String = "P2_16_Xlarge"
 3108   3298   
    }
 3109   3299   
 3110   3300   
    public object P2_8_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3111   3301   
        override val value: kotlin.String = "p2.8xlarge"
 3112   3302   
        override fun toString(): kotlin.String = "P2_8_Xlarge"
 3113   3303   
    }
 3114   3304   
 3115   3305   
    public object P2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3116   3306   
        override val value: kotlin.String = "p2.xlarge"
 3117   3307   
        override fun toString(): kotlin.String = "P2Xlarge"
 3118   3308   
    }
 3119   3309   
 3120   3310   
    public object P3_16_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3121   3311   
        override val value: kotlin.String = "p3.16xlarge"
 3122   3312   
        override fun toString(): kotlin.String = "P3_16_Xlarge"
 3123   3313   
    }
 3124   3314   
 3125   3315   
    public object P3_2_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3126   3316   
        override val value: kotlin.String = "p3.2xlarge"
 3127   3317   
        override fun toString(): kotlin.String = "P3_2_Xlarge"
 3128   3318   
    }
 3129   3319   
 3130   3320   
    public object P3_8_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3131   3321   
        override val value: kotlin.String = "p3.8xlarge"
 3132   3322   
        override fun toString(): kotlin.String = "P3_8_Xlarge"
 3133   3323   
    }
 3134   3324   
 3135   3325   
    public object P3Dn24Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3136   3326   
        override val value: kotlin.String = "p3dn.24xlarge"
 3137   3327   
        override fun toString(): kotlin.String = "P3Dn24Xlarge"
 3138   3328   
    }
 3139   3329   
 3140   3330   
    public object P4D24Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3141   3331   
        override val value: kotlin.String = "p4d.24xlarge"
 3142   3332   
        override fun toString(): kotlin.String = "P4D24Xlarge"
 3143   3333   
    }
 3144   3334   
 3145   3335   
    public object P4De24Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3146   3336   
        override val value: kotlin.String = "p4de.24xlarge"
 3147   3337   
        override fun toString(): kotlin.String = "P4De24Xlarge"
 3148   3338   
    }
 3149   3339   
 3150   3340   
    public object P5_48_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3151   3341   
        override val value: kotlin.String = "p5.48xlarge"
 3152   3342   
        override fun toString(): kotlin.String = "P5_48_Xlarge"
 3153   3343   
    }
 3154   3344   
        3345  +
    public object P5_4_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        3346  +
        override val value: kotlin.String = "p5.4xlarge"
        3347  +
        override fun toString(): kotlin.String = "P5_4_Xlarge"
        3348  +
    }
        3349  +
 3155   3350   
    public object P5E48Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3156   3351   
        override val value: kotlin.String = "p5e.48xlarge"
 3157   3352   
        override fun toString(): kotlin.String = "P5E48Xlarge"
 3158   3353   
    }
 3159   3354   
 3160   3355   
    public object P5En48Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 3161   3356   
        override val value: kotlin.String = "p5en.48xlarge"
 3162   3357   
        override fun toString(): kotlin.String = "P5En48Xlarge"
 3163   3358   
    }
 3164   3359   
@@ -4225,4420 +4284,4639 @@
 4245   4440   
    public object R8GdMetal48Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 4246   4441   
        override val value: kotlin.String = "r8gd.metal-48xl"
 4247   4442   
        override fun toString(): kotlin.String = "R8GdMetal48Xl"
 4248   4443   
    }
 4249   4444   
 4250   4445   
    public object R8GdXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 4251   4446   
        override val value: kotlin.String = "r8gd.xlarge"
 4252   4447   
        override fun toString(): kotlin.String = "R8GdXlarge"
 4253   4448   
    }
 4254   4449   
        4450  +
    public object R8Gn12Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4451  +
        override val value: kotlin.String = "r8gn.12xlarge"
        4452  +
        override fun toString(): kotlin.String = "R8Gn12Xlarge"
        4453  +
    }
        4454  +
        4455  +
    public object R8Gn16Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4456  +
        override val value: kotlin.String = "r8gn.16xlarge"
        4457  +
        override fun toString(): kotlin.String = "R8Gn16Xlarge"
        4458  +
    }
        4459  +
        4460  +
    public object R8Gn24Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4461  +
        override val value: kotlin.String = "r8gn.24xlarge"
        4462  +
        override fun toString(): kotlin.String = "R8Gn24Xlarge"
        4463  +
    }
        4464  +
        4465  +
    public object R8Gn2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4466  +
        override val value: kotlin.String = "r8gn.2xlarge"
        4467  +
        override fun toString(): kotlin.String = "R8Gn2Xlarge"
        4468  +
    }
        4469  +
        4470  +
    public object R8Gn48Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4471  +
        override val value: kotlin.String = "r8gn.48xlarge"
        4472  +
        override fun toString(): kotlin.String = "R8Gn48Xlarge"
        4473  +
    }
        4474  +
        4475  +
    public object R8Gn4Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4476  +
        override val value: kotlin.String = "r8gn.4xlarge"
        4477  +
        override fun toString(): kotlin.String = "R8Gn4Xlarge"
        4478  +
    }
        4479  +
        4480  +
    public object R8Gn8Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4481  +
        override val value: kotlin.String = "r8gn.8xlarge"
        4482  +
        override fun toString(): kotlin.String = "R8Gn8Xlarge"
        4483  +
    }
        4484  +
        4485  +
    public object R8GnLarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4486  +
        override val value: kotlin.String = "r8gn.large"
        4487  +
        override fun toString(): kotlin.String = "R8GnLarge"
        4488  +
    }
        4489  +
        4490  +
    public object R8GnMedium : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4491  +
        override val value: kotlin.String = "r8gn.medium"
        4492  +
        override fun toString(): kotlin.String = "R8GnMedium"
        4493  +
    }
        4494  +
        4495  +
    public object R8GnMetal24Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4496  +
        override val value: kotlin.String = "r8gn.metal-24xl"
        4497  +
        override fun toString(): kotlin.String = "R8GnMetal24Xl"
        4498  +
    }
        4499  +
        4500  +
    public object R8GnMetal48Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4501  +
        override val value: kotlin.String = "r8gn.metal-48xl"
        4502  +
        override fun toString(): kotlin.String = "R8GnMetal48Xl"
        4503  +
    }
        4504  +
        4505  +
    public object R8GnXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4506  +
        override val value: kotlin.String = "r8gn.xlarge"
        4507  +
        override fun toString(): kotlin.String = "R8GnXlarge"
        4508  +
    }
        4509  +
        4510  +
    public object R8I12Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4511  +
        override val value: kotlin.String = "r8i.12xlarge"
        4512  +
        override fun toString(): kotlin.String = "R8I12Xlarge"
        4513  +
    }
        4514  +
        4515  +
    public object R8I16Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4516  +
        override val value: kotlin.String = "r8i.16xlarge"
        4517  +
        override fun toString(): kotlin.String = "R8I16Xlarge"
        4518  +
    }
        4519  +
        4520  +
    public object R8I24Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4521  +
        override val value: kotlin.String = "r8i.24xlarge"
        4522  +
        override fun toString(): kotlin.String = "R8I24Xlarge"
        4523  +
    }
        4524  +
        4525  +
    public object R8I2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4526  +
        override val value: kotlin.String = "r8i.2xlarge"
        4527  +
        override fun toString(): kotlin.String = "R8I2Xlarge"
        4528  +
    }
        4529  +
        4530  +
    public object R8I32Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4531  +
        override val value: kotlin.String = "r8i.32xlarge"
        4532  +
        override fun toString(): kotlin.String = "R8I32Xlarge"
        4533  +
    }
        4534  +
        4535  +
    public object R8I48Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4536  +
        override val value: kotlin.String = "r8i.48xlarge"
        4537  +
        override fun toString(): kotlin.String = "R8I48Xlarge"
        4538  +
    }
        4539  +
        4540  +
    public object R8I4Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4541  +
        override val value: kotlin.String = "r8i.4xlarge"
        4542  +
        override fun toString(): kotlin.String = "R8I4Xlarge"
        4543  +
    }
        4544  +
        4545  +
    public object R8I8Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4546  +
        override val value: kotlin.String = "r8i.8xlarge"
        4547  +
        override fun toString(): kotlin.String = "R8I8Xlarge"
        4548  +
    }
        4549  +
        4550  +
    public object R8I96Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4551  +
        override val value: kotlin.String = "r8i.96xlarge"
        4552  +
        override fun toString(): kotlin.String = "R8I96Xlarge"
        4553  +
    }
        4554  +
        4555  +
    public object R8IFlex12Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4556  +
        override val value: kotlin.String = "r8i-flex.12xlarge"
        4557  +
        override fun toString(): kotlin.String = "R8IFlex12Xlarge"
        4558  +
    }
        4559  +
        4560  +
    public object R8IFlex16Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4561  +
        override val value: kotlin.String = "r8i-flex.16xlarge"
        4562  +
        override fun toString(): kotlin.String = "R8IFlex16Xlarge"
        4563  +
    }
        4564  +
        4565  +
    public object R8IFlex2Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4566  +
        override val value: kotlin.String = "r8i-flex.2xlarge"
        4567  +
        override fun toString(): kotlin.String = "R8IFlex2Xlarge"
        4568  +
    }
        4569  +
        4570  +
    public object R8IFlex4Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4571  +
        override val value: kotlin.String = "r8i-flex.4xlarge"
        4572  +
        override fun toString(): kotlin.String = "R8IFlex4Xlarge"
        4573  +
    }
        4574  +
        4575  +
    public object R8IFlex8Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4576  +
        override val value: kotlin.String = "r8i-flex.8xlarge"
        4577  +
        override fun toString(): kotlin.String = "R8IFlex8Xlarge"
        4578  +
    }
        4579  +
        4580  +
    public object R8IFlexLarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4581  +
        override val value: kotlin.String = "r8i-flex.large"
        4582  +
        override fun toString(): kotlin.String = "R8IFlexLarge"
        4583  +
    }
        4584  +
        4585  +
    public object R8IFlexXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4586  +
        override val value: kotlin.String = "r8i-flex.xlarge"
        4587  +
        override fun toString(): kotlin.String = "R8IFlexXlarge"
        4588  +
    }
        4589  +
        4590  +
    public object R8ILarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4591  +
        override val value: kotlin.String = "r8i.large"
        4592  +
        override fun toString(): kotlin.String = "R8ILarge"
        4593  +
    }
        4594  +
        4595  +
    public object R8IMetal48Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4596  +
        override val value: kotlin.String = "r8i.metal-48xl"
        4597  +
        override fun toString(): kotlin.String = "R8IMetal48Xl"
        4598  +
    }
        4599  +
        4600  +
    public object R8IMetal96Xl : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4601  +
        override val value: kotlin.String = "r8i.metal-96xl"
        4602  +
        override fun toString(): kotlin.String = "R8IMetal96Xl"
        4603  +
    }
        4604  +
        4605  +
    public object R8IXlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
        4606  +
        override val value: kotlin.String = "r8i.xlarge"
        4607  +
        override fun toString(): kotlin.String = "R8IXlarge"
        4608  +
    }
        4609  +
 4255   4610   
    public object T1Micro : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 4256   4611   
        override val value: kotlin.String = "t1.micro"
 4257   4612   
        override fun toString(): kotlin.String = "T1Micro"
 4258   4613   
    }
 4259   4614   
 4260   4615   
    public object T2_2_Xlarge : aws.sdk.kotlin.services.ec2.model.InstanceType() {
 4261   4616   
        override val value: kotlin.String = "t2.2xlarge"
 4262   4617   
        override fun toString(): kotlin.String = "T2_2_Xlarge"
 4263   4618   
    }
 4264   4619   
@@ -5077,5432 +5138,5498 @@
 5097   5452   
            "g6.8xlarge" -> G6_8_Xlarge
 5098   5453   
            "g6.xlarge" -> G6Xlarge
 5099   5454   
            "g6e.12xlarge" -> G6E12Xlarge
 5100   5455   
            "g6e.16xlarge" -> G6E16Xlarge
 5101   5456   
            "g6e.24xlarge" -> G6E24Xlarge
 5102   5457   
            "g6e.2xlarge" -> G6E2Xlarge
 5103   5458   
            "g6e.48xlarge" -> G6E48Xlarge
 5104   5459   
            "g6e.4xlarge" -> G6E4Xlarge
 5105   5460   
            "g6e.8xlarge" -> G6E8Xlarge
 5106   5461   
            "g6e.xlarge" -> G6EXlarge
        5462  +
            "g6f.2xlarge" -> G6F2Xlarge
        5463  +
            "g6f.4xlarge" -> G6F4Xlarge
        5464  +
            "g6f.large" -> G6FLarge
        5465  +
            "g6f.xlarge" -> G6FXlarge
 5107   5466   
            "gr6.4xlarge" -> Gr6_4_Xlarge
 5108   5467   
            "gr6.8xlarge" -> Gr6_8_Xlarge
        5468  +
            "gr6f.4xlarge" -> Gr6F4Xlarge
 5109   5469   
            "h1.16xlarge" -> H1_16_Xlarge
 5110   5470   
            "h1.2xlarge" -> H1_2_Xlarge
 5111   5471   
            "h1.4xlarge" -> H1_4_Xlarge
 5112   5472   
            "h1.8xlarge" -> H1_8_Xlarge
 5113   5473   
            "hi1.4xlarge" -> Hi1_4_Xlarge
 5114   5474   
            "hpc6a.48xlarge" -> Hpc6A48Xlarge
 5115   5475   
            "hpc6id.32xlarge" -> Hpc6Id32Xlarge
 5116   5476   
            "hpc7a.12xlarge" -> Hpc7A12Xlarge
 5117   5477   
            "hpc7a.24xlarge" -> Hpc7A24Xlarge
 5118   5478   
            "hpc7a.48xlarge" -> Hpc7A48Xlarge
@@ -5161,5521 +5220,5591 @@
 5181   5541   
            "i8g.12xlarge" -> I8G12Xlarge
 5182   5542   
            "i8g.16xlarge" -> I8G16Xlarge
 5183   5543   
            "i8g.24xlarge" -> I8G24Xlarge
 5184   5544   
            "i8g.2xlarge" -> I8G2Xlarge
 5185   5545   
            "i8g.48xlarge" -> I8G48Xlarge
 5186   5546   
            "i8g.4xlarge" -> I8G4Xlarge
 5187   5547   
            "i8g.8xlarge" -> I8G8Xlarge
 5188   5548   
            "i8g.large" -> I8GLarge
 5189   5549   
            "i8g.metal-24xl" -> I8GMetal24Xl
 5190   5550   
            "i8g.xlarge" -> I8GXlarge
        5551  +
            "i8ge.12xlarge" -> I8Ge12Xlarge
        5552  +
            "i8ge.18xlarge" -> I8Ge18Xlarge
        5553  +
            "i8ge.24xlarge" -> I8Ge24Xlarge
        5554  +
            "i8ge.2xlarge" -> I8Ge2Xlarge
        5555  +
            "i8ge.3xlarge" -> I8Ge3Xlarge
        5556  +
            "i8ge.48xlarge" -> I8Ge48Xlarge
        5557  +
            "i8ge.6xlarge" -> I8Ge6Xlarge
        5558  +
            "i8ge.large" -> I8GeLarge
        5559  +
            "i8ge.metal-24xl" -> I8GeMetal24Xl
        5560  +
            "i8ge.metal-48xl" -> I8GeMetal48Xl
        5561  +
            "i8ge.xlarge" -> I8GeXlarge
 5191   5562   
            "im4gn.16xlarge" -> Im4Gn16Xlarge
 5192   5563   
            "im4gn.2xlarge" -> Im4Gn2Xlarge
 5193   5564   
            "im4gn.4xlarge" -> Im4Gn4Xlarge
 5194   5565   
            "im4gn.8xlarge" -> Im4Gn8Xlarge
 5195   5566   
            "im4gn.large" -> Im4GnLarge
 5196   5567   
            "im4gn.xlarge" -> Im4GnXlarge
 5197   5568   
            "inf1.24xlarge" -> Inf1_24_Xlarge
 5198   5569   
            "inf1.2xlarge" -> Inf1_2_Xlarge
 5199   5570   
            "inf1.6xlarge" -> Inf1_6_Xlarge
 5200   5571   
            "inf1.xlarge" -> Inf1Xlarge
@@ -5398,5769 +5472,5866 @@
 5418   5789   
            "m8gd.24xlarge" -> M8Gd24Xlarge
 5419   5790   
            "m8gd.2xlarge" -> M8Gd2Xlarge
 5420   5791   
            "m8gd.48xlarge" -> M8Gd48Xlarge
 5421   5792   
            "m8gd.4xlarge" -> M8Gd4Xlarge
 5422   5793   
            "m8gd.8xlarge" -> M8Gd8Xlarge
 5423   5794   
            "m8gd.large" -> M8GdLarge
 5424   5795   
            "m8gd.medium" -> M8GdMedium
 5425   5796   
            "m8gd.metal-24xl" -> M8GdMetal24Xl
 5426   5797   
            "m8gd.metal-48xl" -> M8GdMetal48Xl
 5427   5798   
            "m8gd.xlarge" -> M8GdXlarge
        5799  +
            "m8i.12xlarge" -> M8I12Xlarge
        5800  +
            "m8i.16xlarge" -> M8I16Xlarge
        5801  +
            "m8i.24xlarge" -> M8I24Xlarge
        5802  +
            "m8i.2xlarge" -> M8I2Xlarge
        5803  +
            "m8i.32xlarge" -> M8I32Xlarge
        5804  +
            "m8i.48xlarge" -> M8I48Xlarge
        5805  +
            "m8i.4xlarge" -> M8I4Xlarge
        5806  +
            "m8i.8xlarge" -> M8I8Xlarge
        5807  +
            "m8i.96xlarge" -> M8I96Xlarge
        5808  +
            "m8i-flex.12xlarge" -> M8IFlex12Xlarge
        5809  +
            "m8i-flex.16xlarge" -> M8IFlex16Xlarge
        5810  +
            "m8i-flex.2xlarge" -> M8IFlex2Xlarge
        5811  +
            "m8i-flex.4xlarge" -> M8IFlex4Xlarge
        5812  +
            "m8i-flex.8xlarge" -> M8IFlex8Xlarge
        5813  +
            "m8i-flex.large" -> M8IFlexLarge
        5814  +
            "m8i-flex.xlarge" -> M8IFlexXlarge
        5815  +
            "m8i.large" -> M8ILarge
        5816  +
            "m8i.metal-48xl" -> M8IMetal48Xl
        5817  +
            "m8i.metal-96xl" -> M8IMetal96Xl
        5818  +
            "m8i.xlarge" -> M8IXlarge
 5428   5819   
            "mac1.metal" -> Mac1Metal
 5429   5820   
            "mac2-m1ultra.metal" -> Mac2M1UltraMetal
 5430   5821   
            "mac2-m2.metal" -> Mac2M2Metal
 5431   5822   
            "mac2-m2pro.metal" -> Mac2M2ProMetal
 5432   5823   
            "mac2.metal" -> Mac2Metal
        5824  +
            "mac-m4.metal" -> MacM4Metal
        5825  +
            "mac-m4pro.metal" -> MacM4ProMetal
 5433   5826   
            "p2.16xlarge" -> P2_16_Xlarge
 5434   5827   
            "p2.8xlarge" -> P2_8_Xlarge
 5435   5828   
            "p2.xlarge" -> P2Xlarge
 5436   5829   
            "p3.16xlarge" -> P3_16_Xlarge
 5437   5830   
            "p3.2xlarge" -> P3_2_Xlarge
 5438   5831   
            "p3.8xlarge" -> P3_8_Xlarge
 5439   5832   
            "p3dn.24xlarge" -> P3Dn24Xlarge
 5440   5833   
            "p4d.24xlarge" -> P4D24Xlarge
 5441   5834   
            "p4de.24xlarge" -> P4De24Xlarge
 5442   5835   
            "p5.48xlarge" -> P5_48_Xlarge
        5836  +
            "p5.4xlarge" -> P5_4_Xlarge
 5443   5837   
            "p5e.48xlarge" -> P5E48Xlarge
 5444   5838   
            "p5en.48xlarge" -> P5En48Xlarge
 5445   5839   
            "p6-b200.48xlarge" -> P6B200_48_Xlarge
 5446   5840   
            "p6e-gb200.36xlarge" -> P6EGb200_36_Xlarge
 5447   5841   
            "r3.2xlarge" -> R3_2_Xlarge
 5448   5842   
            "r3.4xlarge" -> R3_4_Xlarge
 5449   5843   
            "r3.8xlarge" -> R3_8_Xlarge
 5450   5844   
            "r3.large" -> R3Large
 5451   5845   
            "r3.xlarge" -> R3Xlarge
 5452   5846   
            "r4.16xlarge" -> R4_16_Xlarge
@@ -5633,6027 +5692,6118 @@
 5653   6047   
            "r8gd.24xlarge" -> R8Gd24Xlarge
 5654   6048   
            "r8gd.2xlarge" -> R8Gd2Xlarge
 5655   6049   
            "r8gd.48xlarge" -> R8Gd48Xlarge
 5656   6050   
            "r8gd.4xlarge" -> R8Gd4Xlarge
 5657   6051   
            "r8gd.8xlarge" -> R8Gd8Xlarge
 5658   6052   
            "r8gd.large" -> R8GdLarge
 5659   6053   
            "r8gd.medium" -> R8GdMedium
 5660   6054   
            "r8gd.metal-24xl" -> R8GdMetal24Xl
 5661   6055   
            "r8gd.metal-48xl" -> R8GdMetal48Xl
 5662   6056   
            "r8gd.xlarge" -> R8GdXlarge
        6057  +
            "r8gn.12xlarge" -> R8Gn12Xlarge
        6058  +
            "r8gn.16xlarge" -> R8Gn16Xlarge
        6059  +
            "r8gn.24xlarge" -> R8Gn24Xlarge
        6060  +
            "r8gn.2xlarge" -> R8Gn2Xlarge
        6061  +
            "r8gn.48xlarge" -> R8Gn48Xlarge
        6062  +
            "r8gn.4xlarge" -> R8Gn4Xlarge
        6063  +
            "r8gn.8xlarge" -> R8Gn8Xlarge
        6064  +
            "r8gn.large" -> R8GnLarge
        6065  +
            "r8gn.medium" -> R8GnMedium
        6066  +
            "r8gn.metal-24xl" -> R8GnMetal24Xl
        6067  +
            "r8gn.metal-48xl" -> R8GnMetal48Xl
        6068  +
            "r8gn.xlarge" -> R8GnXlarge
        6069  +
            "r8i.12xlarge" -> R8I12Xlarge
        6070  +
            "r8i.16xlarge" -> R8I16Xlarge
        6071  +
            "r8i.24xlarge" -> R8I24Xlarge
        6072  +
            "r8i.2xlarge" -> R8I2Xlarge
        6073  +
            "r8i.32xlarge" -> R8I32Xlarge
        6074  +
            "r8i.48xlarge" -> R8I48Xlarge
        6075  +
            "r8i.4xlarge" -> R8I4Xlarge
        6076  +
            "r8i.8xlarge" -> R8I8Xlarge
        6077  +
            "r8i.96xlarge" -> R8I96Xlarge
        6078  +
            "r8i-flex.12xlarge" -> R8IFlex12Xlarge
        6079  +
            "r8i-flex.16xlarge" -> R8IFlex16Xlarge
        6080  +
            "r8i-flex.2xlarge" -> R8IFlex2Xlarge
        6081  +
            "r8i-flex.4xlarge" -> R8IFlex4Xlarge
        6082  +
            "r8i-flex.8xlarge" -> R8IFlex8Xlarge
        6083  +
            "r8i-flex.large" -> R8IFlexLarge
        6084  +
            "r8i-flex.xlarge" -> R8IFlexXlarge
        6085  +
            "r8i.large" -> R8ILarge
        6086  +
            "r8i.metal-48xl" -> R8IMetal48Xl
        6087  +
            "r8i.metal-96xl" -> R8IMetal96Xl
        6088  +
            "r8i.xlarge" -> R8IXlarge
 5663   6089   
            "t1.micro" -> T1Micro
 5664   6090   
            "t2.2xlarge" -> T2_2_Xlarge
 5665   6091   
            "t2.large" -> T2Large
 5666   6092   
            "t2.medium" -> T2Medium
 5667   6093   
            "t2.micro" -> T2Micro
 5668   6094   
            "t2.nano" -> T2Nano
 5669   6095   
            "t2.small" -> T2Small
 5670   6096   
            "t2.xlarge" -> T2Xlarge
 5671   6097   
            "t3.2xlarge" -> T3_2_Xlarge
 5672   6098   
            "t3.large" -> T3Large
@@ -6045,6471 +6106,6537 @@
 6065   6491   
            G6_8_Xlarge,
 6066   6492   
            G6Xlarge,
 6067   6493   
            G6E12Xlarge,
 6068   6494   
            G6E16Xlarge,
 6069   6495   
            G6E24Xlarge,
 6070   6496   
            G6E2Xlarge,
 6071   6497   
            G6E48Xlarge,
 6072   6498   
            G6E4Xlarge,
 6073   6499   
            G6E8Xlarge,
 6074   6500   
            G6EXlarge,
        6501  +
            G6F2Xlarge,
        6502  +
            G6F4Xlarge,
        6503  +
            G6FLarge,
        6504  +
            G6FXlarge,
 6075   6505   
            Gr6_4_Xlarge,
 6076   6506   
            Gr6_8_Xlarge,
        6507  +
            Gr6F4Xlarge,
 6077   6508   
            H1_16_Xlarge,
 6078   6509   
            H1_2_Xlarge,
 6079   6510   
            H1_4_Xlarge,
 6080   6511   
            H1_8_Xlarge,
 6081   6512   
            Hi1_4_Xlarge,
 6082   6513   
            Hpc6A48Xlarge,
 6083   6514   
            Hpc6Id32Xlarge,
 6084   6515   
            Hpc7A12Xlarge,
 6085   6516   
            Hpc7A24Xlarge,
 6086   6517   
            Hpc7A48Xlarge,
@@ -6129,6560 +6188,6630 @@
 6149   6580   
            I8G12Xlarge,
 6150   6581   
            I8G16Xlarge,
 6151   6582   
            I8G24Xlarge,
 6152   6583   
            I8G2Xlarge,
 6153   6584   
            I8G48Xlarge,
 6154   6585   
            I8G4Xlarge,
 6155   6586   
            I8G8Xlarge,
 6156   6587   
            I8GLarge,
 6157   6588   
            I8GMetal24Xl,
 6158   6589   
            I8GXlarge,
        6590  +
            I8Ge12Xlarge,
        6591  +
            I8Ge18Xlarge,
        6592  +
            I8Ge24Xlarge,
        6593  +
            I8Ge2Xlarge,
        6594  +
            I8Ge3Xlarge,
        6595  +
            I8Ge48Xlarge,
        6596  +
            I8Ge6Xlarge,
        6597  +
            I8GeLarge,
        6598  +
            I8GeMetal24Xl,
        6599  +
            I8GeMetal48Xl,
        6600  +
            I8GeXlarge,
 6159   6601   
            Im4Gn16Xlarge,
 6160   6602   
            Im4Gn2Xlarge,
 6161   6603   
            Im4Gn4Xlarge,
 6162   6604   
            Im4Gn8Xlarge,
 6163   6605   
            Im4GnLarge,
 6164   6606   
            Im4GnXlarge,
 6165   6607   
            Inf1_24_Xlarge,
 6166   6608   
            Inf1_2_Xlarge,
 6167   6609   
            Inf1_6_Xlarge,
 6168   6610   
            Inf1Xlarge,
@@ -6366,6808 +6440,6905 @@
 6386   6828   
            M8Gd24Xlarge,
 6387   6829   
            M8Gd2Xlarge,
 6388   6830   
            M8Gd48Xlarge,
 6389   6831   
            M8Gd4Xlarge,
 6390   6832   
            M8Gd8Xlarge,
 6391   6833   
            M8GdLarge,
 6392   6834   
            M8GdMedium,
 6393   6835   
            M8GdMetal24Xl,
 6394   6836   
            M8GdMetal48Xl,
 6395   6837   
            M8GdXlarge,
        6838  +
            M8I12Xlarge,
        6839  +
            M8I16Xlarge,
        6840  +
            M8I24Xlarge,
        6841  +
            M8I2Xlarge,
        6842  +
            M8I32Xlarge,
        6843  +
            M8I48Xlarge,
        6844  +
            M8I4Xlarge,
        6845  +
            M8I8Xlarge,
        6846  +
            M8I96Xlarge,
        6847  +
            M8IFlex12Xlarge,
        6848  +
            M8IFlex16Xlarge,
        6849  +
            M8IFlex2Xlarge,
        6850  +
            M8IFlex4Xlarge,
        6851  +
            M8IFlex8Xlarge,
        6852  +
            M8IFlexLarge,
        6853  +
            M8IFlexXlarge,
        6854  +
            M8ILarge,
        6855  +
            M8IMetal48Xl,
        6856  +
            M8IMetal96Xl,
        6857  +
            M8IXlarge,
 6396   6858   
            Mac1Metal,
 6397   6859   
            Mac2M1UltraMetal,
 6398   6860   
            Mac2M2Metal,
 6399   6861   
            Mac2M2ProMetal,
 6400   6862   
            Mac2Metal,
        6863  +
            MacM4Metal,
        6864  +
            MacM4ProMetal,
 6401   6865   
            P2_16_Xlarge,
 6402   6866   
            P2_8_Xlarge,
 6403   6867   
            P2Xlarge,
 6404   6868   
            P3_16_Xlarge,
 6405   6869   
            P3_2_Xlarge,
 6406   6870   
            P3_8_Xlarge,
 6407   6871   
            P3Dn24Xlarge,
 6408   6872   
            P4D24Xlarge,
 6409   6873   
            P4De24Xlarge,
 6410   6874   
            P5_48_Xlarge,
        6875  +
            P5_4_Xlarge,
 6411   6876   
            P5E48Xlarge,
 6412   6877   
            P5En48Xlarge,
 6413   6878   
            P6B200_48_Xlarge,
 6414   6879   
            P6EGb200_36_Xlarge,
 6415   6880   
            R3_2_Xlarge,
 6416   6881   
            R3_4_Xlarge,
 6417   6882   
            R3_8_Xlarge,
 6418   6883   
            R3Large,
 6419   6884   
            R3Xlarge,
 6420   6885   
            R4_16_Xlarge,
@@ -6601,7066 +6660,7157 @@
 6621   7086   
            R8Gd24Xlarge,
 6622   7087   
            R8Gd2Xlarge,
 6623   7088   
            R8Gd48Xlarge,
 6624   7089   
            R8Gd4Xlarge,
 6625   7090   
            R8Gd8Xlarge,
 6626   7091   
            R8GdLarge,
 6627   7092   
            R8GdMedium,
 6628   7093   
            R8GdMetal24Xl,
 6629   7094   
            R8GdMetal48Xl,
 6630   7095   
            R8GdXlarge,
        7096  +
            R8Gn12Xlarge,
        7097  +
            R8Gn16Xlarge,
        7098  +
            R8Gn24Xlarge,
        7099  +
            R8Gn2Xlarge,
        7100  +
            R8Gn48Xlarge,
        7101  +
            R8Gn4Xlarge,
        7102  +
            R8Gn8Xlarge,
        7103  +
            R8GnLarge,
        7104  +
            R8GnMedium,
        7105  +
            R8GnMetal24Xl,
        7106  +
            R8GnMetal48Xl,
        7107  +
            R8GnXlarge,
        7108  +
            R8I12Xlarge,
        7109  +
            R8I16Xlarge,
        7110  +
            R8I24Xlarge,
        7111  +
            R8I2Xlarge,
        7112  +
            R8I32Xlarge,
        7113  +
            R8I48Xlarge,
        7114  +
            R8I4Xlarge,
        7115  +
            R8I8Xlarge,
        7116  +
            R8I96Xlarge,
        7117  +
            R8IFlex12Xlarge,
        7118  +
            R8IFlex16Xlarge,
        7119  +
            R8IFlex2Xlarge,
        7120  +
            R8IFlex4Xlarge,
        7121  +
            R8IFlex8Xlarge,
        7122  +
            R8IFlexLarge,
        7123  +
            R8IFlexXlarge,
        7124  +
            R8ILarge,
        7125  +
            R8IMetal48Xl,
        7126  +
            R8IMetal96Xl,
        7127  +
            R8IXlarge,
 6631   7128   
            T1Micro,
 6632   7129   
            T2_2_Xlarge,
 6633   7130   
            T2Large,
 6634   7131   
            T2Medium,
 6635   7132   
            T2Micro,
 6636   7133   
            T2Nano,
 6637   7134   
            T2Small,
 6638   7135   
            T2Xlarge,
 6639   7136   
            T3_2_Xlarge,
 6640   7137   
            T3Large,

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

@@ -1,1 +90,91 @@
   13     13   
     */
   14     14   
    public val deleteOnTermination: kotlin.Boolean? = builder.deleteOnTermination
   15     15   
    /**
   16     16   
     * Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
   17     17   
     */
   18     18   
    public val encrypted: kotlin.Boolean? = builder.encrypted
   19     19   
    /**
   20     20   
     * The number of I/O operations per second (IOPS). For `gp3`, `io1`, and `io2` volumes, this represents the number of IOPS that are provisioned for the volume. For `gp2` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
   21     21   
     *
   22     22   
     * The following are the supported values for each volume type:
   23         -
     * + `gp3`: 3,000 - 16,000 IOPS
          23  +
     * + `gp3`: 3,000 - 80,000 IOPS
   24     24   
     * + `io1`: 100 - 64,000 IOPS
   25     25   
     * + `io2`: 100 - 256,000 IOPS
   26     26   
     *
   27     27   
     * For `io2` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). On other instances, you can achieve performance up to 32,000 IOPS.
   28     28   
     *
   29     29   
     * This parameter is supported for `io1`, `io2`, and `gp3` volumes only.
   30     30   
     */
   31     31   
    public val iops: kotlin.Int? = builder.iops
   32     32   
    /**
   33     33   
     * Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
   34     34   
     */
   35     35   
    public val kmsKeyId: kotlin.String? = builder.kmsKeyId
   36     36   
    /**
   37     37   
     * The ID of the snapshot.
   38     38   
     */
   39     39   
    public val snapshotId: kotlin.String? = builder.snapshotId
   40     40   
    /**
   41         -
     * The throughput to provision for a `gp3` volume, with a maximum of 1,000 MiB/s.
          41  +
     * The throughput to provision for a `gp3` volume, with a maximum of 2,000 MiB/s.
   42     42   
     *
   43         -
     * Valid Range: Minimum value of 125. Maximum value of 1000.
          43  +
     * Valid Range: Minimum value of 125. Maximum value of 2,000.
   44     44   
     */
   45     45   
    public val throughput: kotlin.Int? = builder.throughput
   46     46   
    /**
   47     47   
     * Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as *volume initialization*. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.
   48     48   
     *
   49     49   
     * This parameter is supported only for volumes created from snapshots. Omit this parameter if:
   50     50   
     * + You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.
   51     51   
     * + You want to create a volume that is initialized at the default rate.
   52     52   
     *
   53     53   
     * For more information, see [ Initialize Amazon EBS volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) in the *Amazon EC2 User Guide*.
   54     54   
     *
   55     55   
     * Valid range: 100 - 300 MiB/s
   56     56   
     */
   57     57   
    public val volumeInitializationRate: kotlin.Int? = builder.volumeInitializationRate
   58     58   
    /**
   59     59   
     * The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:
   60         -
     * + `gp2` and `gp3`: 1 - 16,384 GiB
          60  +
     * + `gp2`: 1 - 16,384 GiB
          61  +
     * + `gp3`: 1 - 65,536 GiB
   61     62   
     * + `io1`: 4 - 16,384 GiB
   62     63   
     * + `io2`: 4 - 65,536 GiB
   63     64   
     * + `st1` and `sc1`: 125 - 16,384 GiB
   64     65   
     * + `standard`: 1 - 1024 GiB
   65     66   
     */
   66     67   
    public val volumeSize: kotlin.Int? = builder.volumeSize
   67     68   
    /**
   68     69   
     * The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the *Amazon EBS User Guide*.
   69     70   
     */
   70     71   
    public val volumeType: aws.sdk.kotlin.services.ec2.model.VolumeType? = builder.volumeType
@@ -108,109 +205,207 @@
  128    129   
         */
  129    130   
        public var deleteOnTermination: kotlin.Boolean? = null
  130    131   
        /**
  131    132   
         * Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
  132    133   
         */
  133    134   
        public var encrypted: kotlin.Boolean? = null
  134    135   
        /**
  135    136   
         * The number of I/O operations per second (IOPS). For `gp3`, `io1`, and `io2` volumes, this represents the number of IOPS that are provisioned for the volume. For `gp2` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
  136    137   
         *
  137    138   
         * The following are the supported values for each volume type:
  138         -
         * + `gp3`: 3,000 - 16,000 IOPS
         139  +
         * + `gp3`: 3,000 - 80,000 IOPS
  139    140   
         * + `io1`: 100 - 64,000 IOPS
  140    141   
         * + `io2`: 100 - 256,000 IOPS
  141    142   
         *
  142    143   
         * For `io2` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). On other instances, you can achieve performance up to 32,000 IOPS.
  143    144   
         *
  144    145   
         * This parameter is supported for `io1`, `io2`, and `gp3` volumes only.
  145    146   
         */
  146    147   
        public var iops: kotlin.Int? = null
  147    148   
        /**
  148    149   
         * Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
  149    150   
         */
  150    151   
        public var kmsKeyId: kotlin.String? = null
  151    152   
        /**
  152    153   
         * The ID of the snapshot.
  153    154   
         */
  154    155   
        public var snapshotId: kotlin.String? = null
  155    156   
        /**
  156         -
         * The throughput to provision for a `gp3` volume, with a maximum of 1,000 MiB/s.
         157  +
         * The throughput to provision for a `gp3` volume, with a maximum of 2,000 MiB/s.
  157    158   
         *
  158         -
         * Valid Range: Minimum value of 125. Maximum value of 1000.
         159  +
         * Valid Range: Minimum value of 125. Maximum value of 2,000.
  159    160   
         */
  160    161   
        public var throughput: kotlin.Int? = null
  161    162   
        /**
  162    163   
         * Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as *volume initialization*. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.
  163    164   
         *
  164    165   
         * This parameter is supported only for volumes created from snapshots. Omit this parameter if:
  165    166   
         * + You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.
  166    167   
         * + You want to create a volume that is initialized at the default rate.
  167    168   
         *
  168    169   
         * For more information, see [ Initialize Amazon EBS volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) in the *Amazon EC2 User Guide*.
  169    170   
         *
  170    171   
         * Valid range: 100 - 300 MiB/s
  171    172   
         */
  172    173   
        public var volumeInitializationRate: kotlin.Int? = null
  173    174   
        /**
  174    175   
         * The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:
  175         -
         * + `gp2` and `gp3`: 1 - 16,384 GiB
         176  +
         * + `gp2`: 1 - 16,384 GiB
         177  +
         * + `gp3`: 1 - 65,536 GiB
  176    178   
         * + `io1`: 4 - 16,384 GiB
  177    179   
         * + `io2`: 4 - 65,536 GiB
  178    180   
         * + `st1` and `sc1`: 125 - 16,384 GiB
  179    181   
         * + `standard`: 1 - 1024 GiB
  180    182   
         */
  181    183   
        public var volumeSize: kotlin.Int? = null
  182    184   
        /**
  183    185   
         * The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the *Amazon EBS User Guide*.
  184    186   
         */
  185    187   
        public var volumeType: aws.sdk.kotlin.services.ec2.model.VolumeType? = null

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

@@ -1,1 +83,79 @@
    5      5   
import aws.smithy.kotlin.runtime.SdkDsl
    6      6   
    7      7   
/**
    8      8   
 * Amazon Elastic Inference is no longer available.
    9      9   
 *
   10     10   
 *  Describes an elastic inference accelerator.
   11     11   
 */
   12     12   
public class LaunchTemplateElasticInferenceAccelerator private constructor(builder: Builder) {
   13     13   
    /**
   14     14   
     * The number of elastic inference accelerators to attach to the instance.
   15         -
     *
   16         -
     * Default: 1
   17     15   
     */
   18     16   
    public val count: kotlin.Int? = builder.count
   19     17   
    /**
   20     18   
     * The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
   21     19   
     */
   22     20   
    public val type: kotlin.String? = builder.type
   23     21   
   24     22   
    public companion object {
   25     23   
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ec2.model.LaunchTemplateElasticInferenceAccelerator = Builder().apply(block).build()
   26     24   
    }
   27     25   
   28     26   
    override fun toString(): kotlin.String = buildString {
   29     27   
        append("LaunchTemplateElasticInferenceAccelerator(")
   30     28   
        append("count=$count,")
   31     29   
        append("type=$type")
   32     30   
        append(")")
   33     31   
    }
   34     32   
   35     33   
    override fun hashCode(): kotlin.Int {
   36     34   
        var result = count ?: 0
   37     35   
        result = 31 * result + (this.type?.hashCode() ?: 0)
   38     36   
        return result
   39     37   
    }
   40     38   
   41     39   
    override fun equals(other: kotlin.Any?): kotlin.Boolean {
   42     40   
        if (this === other) return true
   43     41   
        if (other == null || this::class != other::class) return false
   44     42   
   45     43   
        other as LaunchTemplateElasticInferenceAccelerator
   46     44   
   47     45   
        if (count != other.count) return false
   48     46   
        if (type != other.type) return false
   49     47   
   50     48   
        return true
   51     49   
    }
   52     50   
   53     51   
    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ec2.model.LaunchTemplateElasticInferenceAccelerator = Builder(this).apply(block).build()
   54     52   
   55     53   
    @SdkDsl
   56     54   
    public class Builder {
   57     55   
        /**
   58     56   
         * The number of elastic inference accelerators to attach to the instance.
   59         -
         *
   60         -
         * Default: 1
   61     57   
         */
   62     58   
        public var count: kotlin.Int? = null
   63     59   
        /**
   64     60   
         * The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
   65     61   
         */
   66     62   
        public var type: kotlin.String? = null
   67     63   
   68     64   
        @PublishedApi
   69     65   
        internal constructor()
   70     66   
        @PublishedApi

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

@@ -1,1 +83,79 @@
    5      5   
import aws.smithy.kotlin.runtime.SdkDsl
    6      6   
    7      7   
/**
    8      8   
 * Amazon Elastic Inference is no longer available.
    9      9   
 *
   10     10   
 *  Describes an elastic inference accelerator.
   11     11   
 */
   12     12   
public class LaunchTemplateElasticInferenceAcceleratorResponse private constructor(builder: Builder) {
   13     13   
    /**
   14     14   
     * The number of elastic inference accelerators to attach to the instance.
   15         -
     *
   16         -
     * Default: 1
   17     15   
     */
   18     16   
    public val count: kotlin.Int? = builder.count
   19     17   
    /**
   20     18   
     * The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
   21     19   
     */
   22     20   
    public val type: kotlin.String? = builder.type
   23     21   
   24     22   
    public companion object {
   25     23   
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ec2.model.LaunchTemplateElasticInferenceAcceleratorResponse = Builder().apply(block).build()
   26     24   
    }
   27     25   
   28     26   
    override fun toString(): kotlin.String = buildString {
   29     27   
        append("LaunchTemplateElasticInferenceAcceleratorResponse(")
   30     28   
        append("count=$count,")
   31     29   
        append("type=$type")
   32     30   
        append(")")
   33     31   
    }
   34     32   
   35     33   
    override fun hashCode(): kotlin.Int {
   36     34   
        var result = count ?: 0
   37     35   
        result = 31 * result + (this.type?.hashCode() ?: 0)
   38     36   
        return result
   39     37   
    }
   40     38   
   41     39   
    override fun equals(other: kotlin.Any?): kotlin.Boolean {
   42     40   
        if (this === other) return true
   43     41   
        if (other == null || this::class != other::class) return false
   44     42   
   45     43   
        other as LaunchTemplateElasticInferenceAcceleratorResponse
   46     44   
   47     45   
        if (count != other.count) return false
   48     46   
        if (type != other.type) return false
   49     47   
   50     48   
        return true
   51     49   
    }
   52     50   
   53     51   
    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ec2.model.LaunchTemplateElasticInferenceAcceleratorResponse = Builder(this).apply(block).build()
   54     52   
   55     53   
    @SdkDsl
   56     54   
    public class Builder {
   57     55   
        /**
   58     56   
         * The number of elastic inference accelerators to attach to the instance.
   59         -
         *
   60         -
         * Default: 1
   61     57   
         */
   62     58   
        public var count: kotlin.Int? = null
   63     59   
        /**
   64     60   
         * The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
   65     61   
         */
   66     62   
        public var type: kotlin.String? = null
   67     63   
   68     64   
        @PublishedApi
   69     65   
        internal constructor()
   70     66   
        @PublishedApi

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

@@ -1,1 +57,55 @@
   16     16   
    public val httpEndpoint: aws.sdk.kotlin.services.ec2.model.LaunchTemplateInstanceMetadataEndpointState? = builder.httpEndpoint
   17     17   
    /**
   18     18   
     * Enables or disables the IPv6 endpoint for the instance metadata service.
   19     19   
     *
   20     20   
     * Default: `disabled`
   21     21   
     */
   22     22   
    public val httpProtocolIpv6: aws.sdk.kotlin.services.ec2.model.LaunchTemplateInstanceMetadataProtocolIpv6? = builder.httpProtocolIpv6
   23     23   
    /**
   24     24   
     * The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
   25     25   
     *
   26         -
     * Default: 1
   27         -
     *
   28     26   
     * Possible values: Integers from 1 to 64
   29     27   
     */
   30     28   
    public val httpPutResponseHopLimit: kotlin.Int? = builder.httpPutResponseHopLimit
   31     29   
    /**
   32     30   
     * Indicates whether IMDSv2 is required.
   33     31   
     * + `optional` - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
   34     32   
     * + `required` - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
   35     33   
     */
   36     34   
    public val httpTokens: aws.sdk.kotlin.services.ec2.model.LaunchTemplateHttpTokensState? = builder.httpTokens
   37     35   
    /**
@@ -82,80 +143,139 @@
  102    100   
        public var httpEndpoint: aws.sdk.kotlin.services.ec2.model.LaunchTemplateInstanceMetadataEndpointState? = null
  103    101   
        /**
  104    102   
         * Enables or disables the IPv6 endpoint for the instance metadata service.
  105    103   
         *
  106    104   
         * Default: `disabled`
  107    105   
         */
  108    106   
        public var httpProtocolIpv6: aws.sdk.kotlin.services.ec2.model.LaunchTemplateInstanceMetadataProtocolIpv6? = null
  109    107   
        /**
  110    108   
         * The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
  111    109   
         *
  112         -
         * Default: 1
  113         -
         *
  114    110   
         * Possible values: Integers from 1 to 64
  115    111   
         */
  116    112   
        public var httpPutResponseHopLimit: kotlin.Int? = null
  117    113   
        /**
  118    114   
         * Indicates whether IMDSv2 is required.
  119    115   
         * + `optional` - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
  120    116   
         * + `required` - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
  121    117   
         */
  122    118   
        public var httpTokens: aws.sdk.kotlin.services.ec2.model.LaunchTemplateHttpTokensState? = null
  123    119   
        /**

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

@@ -1,1 +161,173 @@
    9      9   
 */
   10     10   
public class LaunchTemplatePlacement private constructor(builder: Builder) {
   11     11   
    /**
   12     12   
     * The affinity setting for the instance on the Dedicated Host.
   13     13   
     */
   14     14   
    public val affinity: kotlin.String? = builder.affinity
   15     15   
    /**
   16     16   
     * The Availability Zone of the instance.
   17     17   
     */
   18     18   
    public val availabilityZone: kotlin.String? = builder.availabilityZone
          19  +
    /**
          20  +
     * The ID of the Availability Zone of the instance.
          21  +
     */
          22  +
    public val availabilityZoneId: kotlin.String? = builder.availabilityZoneId
   19     23   
    /**
   20     24   
     * The Group ID of the placement group. You must specify the Placement Group **Group ID** to launch an instance in a shared placement group.
   21     25   
     */
   22     26   
    public val groupId: kotlin.String? = builder.groupId
   23     27   
    /**
   24     28   
     * The name of the placement group for the instance.
   25     29   
     */
   26     30   
    public val groupName: kotlin.String? = builder.groupName
   27     31   
    /**
   28     32   
     * The ID of the Dedicated Host for the instance.
   29     33   
     */
   30     34   
    public val hostId: kotlin.String? = builder.hostId
   31     35   
    /**
   32     36   
     * The ARN of the host resource group in which to launch the instances.
   33     37   
     */
   34     38   
    public val hostResourceGroupArn: kotlin.String? = builder.hostResourceGroupArn
   35     39   
    /**
   36     40   
     * The number of the partition the instance should launch in. Valid only if the placement group strategy is set to `partition`.
   37     41   
     */
   38     42   
    public val partitionNumber: kotlin.Int? = builder.partitionNumber
   39     43   
    /**
   40     44   
     * Reserved for future use.
   41     45   
     */
   42     46   
    public val spreadDomain: kotlin.String? = builder.spreadDomain
   43     47   
    /**
   44     48   
     * The tenancy of the instance. An instance with a tenancy of `dedicated` runs on single-tenant hardware.
   45     49   
     */
   46     50   
    public val tenancy: aws.sdk.kotlin.services.ec2.model.Tenancy? = builder.tenancy
   47     51   
   48     52   
    public companion object {
   49     53   
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ec2.model.LaunchTemplatePlacement = Builder().apply(block).build()
   50     54   
    }
   51     55   
   52     56   
    override fun toString(): kotlin.String = buildString {
   53     57   
        append("LaunchTemplatePlacement(")
   54     58   
        append("affinity=$affinity,")
   55     59   
        append("availabilityZone=$availabilityZone,")
          60  +
        append("availabilityZoneId=$availabilityZoneId,")
   56     61   
        append("groupId=$groupId,")
   57     62   
        append("groupName=$groupName,")
   58     63   
        append("hostId=$hostId,")
   59     64   
        append("hostResourceGroupArn=$hostResourceGroupArn,")
   60     65   
        append("partitionNumber=$partitionNumber,")
   61     66   
        append("spreadDomain=$spreadDomain,")
   62     67   
        append("tenancy=$tenancy")
   63     68   
        append(")")
   64     69   
    }
   65     70   
   66     71   
    override fun hashCode(): kotlin.Int {
   67     72   
        var result = affinity?.hashCode() ?: 0
   68     73   
        result = 31 * result + (this.availabilityZone?.hashCode() ?: 0)
          74  +
        result = 31 * result + (this.availabilityZoneId?.hashCode() ?: 0)
   69     75   
        result = 31 * result + (this.groupId?.hashCode() ?: 0)
   70     76   
        result = 31 * result + (this.groupName?.hashCode() ?: 0)
   71     77   
        result = 31 * result + (this.hostId?.hashCode() ?: 0)
   72     78   
        result = 31 * result + (this.hostResourceGroupArn?.hashCode() ?: 0)
   73     79   
        result = 31 * result + (this.partitionNumber ?: 0)
   74     80   
        result = 31 * result + (this.spreadDomain?.hashCode() ?: 0)
   75     81   
        result = 31 * result + (this.tenancy?.hashCode() ?: 0)
   76     82   
        return result
   77     83   
    }
   78     84   
   79     85   
    override fun equals(other: kotlin.Any?): kotlin.Boolean {
   80     86   
        if (this === other) return true
   81     87   
        if (other == null || this::class != other::class) return false
   82     88   
   83     89   
        other as LaunchTemplatePlacement
   84     90   
   85     91   
        if (affinity != other.affinity) return false
   86     92   
        if (availabilityZone != other.availabilityZone) return false
          93  +
        if (availabilityZoneId != other.availabilityZoneId) return false
   87     94   
        if (groupId != other.groupId) return false
   88     95   
        if (groupName != other.groupName) return false
   89     96   
        if (hostId != other.hostId) return false
   90     97   
        if (hostResourceGroupArn != other.hostResourceGroupArn) return false
   91     98   
        if (partitionNumber != other.partitionNumber) return false
   92     99   
        if (spreadDomain != other.spreadDomain) return false
   93    100   
        if (tenancy != other.tenancy) return false
   94    101   
   95    102   
        return true
   96    103   
    }
   97    104   
   98    105   
    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ec2.model.LaunchTemplatePlacement = Builder(this).apply(block).build()
   99    106   
  100    107   
    @SdkDsl
  101    108   
    public class Builder {
  102    109   
        /**
  103    110   
         * The affinity setting for the instance on the Dedicated Host.
  104    111   
         */
  105    112   
        public var affinity: kotlin.String? = null
  106    113   
        /**
  107    114   
         * The Availability Zone of the instance.
  108    115   
         */
  109    116   
        public var availabilityZone: kotlin.String? = null
         117  +
        /**
         118  +
         * The ID of the Availability Zone of the instance.
         119  +
         */
         120  +
        public var availabilityZoneId: kotlin.String? = null
  110    121   
        /**
  111    122   
         * The Group ID of the placement group. You must specify the Placement Group **Group ID** to launch an instance in a shared placement group.
  112    123   
         */
  113    124   
        public var groupId: kotlin.String? = null
  114    125   
        /**
  115    126   
         * The name of the placement group for the instance.
  116    127   
         */
  117    128   
        public var groupName: kotlin.String? = null
  118    129   
        /**
  119    130   
         * The ID of the Dedicated Host for the instance.
  120    131   
         */
  121    132   
        public var hostId: kotlin.String? = null
  122    133   
        /**
  123    134   
         * The ARN of the host resource group in which to launch the instances.
  124    135   
         */
  125    136   
        public var hostResourceGroupArn: kotlin.String? = null
  126    137   
        /**
  127    138   
         * The number of the partition the instance should launch in. Valid only if the placement group strategy is set to `partition`.
  128    139   
         */
  129    140   
        public var partitionNumber: kotlin.Int? = null
  130    141   
        /**
  131    142   
         * Reserved for future use.
  132    143   
         */
  133    144   
        public var spreadDomain: kotlin.String? = null
  134    145   
        /**
  135    146   
         * The tenancy of the instance. An instance with a tenancy of `dedicated` runs on single-tenant hardware.
  136    147   
         */
  137    148   
        public var tenancy: aws.sdk.kotlin.services.ec2.model.Tenancy? = null
  138    149   
  139    150   
        @PublishedApi
  140    151   
        internal constructor()
  141    152   
        @PublishedApi
  142    153   
        internal constructor(x: aws.sdk.kotlin.services.ec2.model.LaunchTemplatePlacement) : this() {
  143    154   
            this.affinity = x.affinity
  144    155   
            this.availabilityZone = x.availabilityZone
         156  +
            this.availabilityZoneId = x.availabilityZoneId
  145    157   
            this.groupId = x.groupId
  146    158   
            this.groupName = x.groupName
  147    159   
            this.hostId = x.hostId
  148    160   
            this.hostResourceGroupArn = x.hostResourceGroupArn
  149    161   
            this.partitionNumber = x.partitionNumber
  150    162   
            this.spreadDomain = x.spreadDomain
  151    163   
            this.tenancy = x.tenancy
  152    164   
        }
  153    165   
  154    166   
        @PublishedApi

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

@@ -1,1 +161,181 @@
    7      7   
/**
    8      8   
 * Describes the placement of an instance.
    9      9   
 */
   10     10   
public class LaunchTemplatePlacementRequest private constructor(builder: Builder) {
   11     11   
    /**
   12     12   
     * The affinity setting for an instance on a Dedicated Host.
   13     13   
     */
   14     14   
    public val affinity: kotlin.String? = builder.affinity
   15     15   
    /**
   16     16   
     * The Availability Zone for the instance.
          17  +
     *
          18  +
     * Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but not both
   17     19   
     */
   18     20   
    public val availabilityZone: kotlin.String? = builder.availabilityZone
          21  +
    /**
          22  +
     * The ID of the Availability Zone for the instance.
          23  +
     *
          24  +
     * Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but not both
          25  +
     */
          26  +
    public val availabilityZoneId: kotlin.String? = builder.availabilityZoneId
   19     27   
    /**
   20     28   
     * The Group Id of a placement group. You must specify the Placement Group **Group Id** to launch an instance in a shared placement group.
   21     29   
     */
   22     30   
    public val groupId: kotlin.String? = builder.groupId
   23     31   
    /**
   24     32   
     * The name of the placement group for the instance.
   25     33   
     */
   26     34   
    public val groupName: kotlin.String? = builder.groupName
   27     35   
    /**
   28     36   
     * The ID of the Dedicated Host for the instance.
   29     37   
     */
   30     38   
    public val hostId: kotlin.String? = builder.hostId
   31     39   
    /**
   32     40   
     * The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the **Tenancy** parameter or set it to `host`.
   33     41   
     */
   34     42   
    public val hostResourceGroupArn: kotlin.String? = builder.hostResourceGroupArn
   35     43   
    /**
   36     44   
     * The number of the partition the instance should launch in. Valid only if the placement group strategy is set to `partition`.
   37     45   
     */
   38     46   
    public val partitionNumber: kotlin.Int? = builder.partitionNumber
   39     47   
    /**
   40     48   
     * Reserved for future use.
   41     49   
     */
   42     50   
    public val spreadDomain: kotlin.String? = builder.spreadDomain
   43     51   
    /**
   44     52   
     * The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
   45     53   
     */
   46     54   
    public val tenancy: aws.sdk.kotlin.services.ec2.model.Tenancy? = builder.tenancy
   47     55   
   48     56   
    public companion object {
   49     57   
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ec2.model.LaunchTemplatePlacementRequest = Builder().apply(block).build()
   50     58   
    }
   51     59   
   52     60   
    override fun toString(): kotlin.String = buildString {
   53     61   
        append("LaunchTemplatePlacementRequest(")
   54     62   
        append("affinity=$affinity,")
   55     63   
        append("availabilityZone=$availabilityZone,")
          64  +
        append("availabilityZoneId=$availabilityZoneId,")
   56     65   
        append("groupId=$groupId,")
   57     66   
        append("groupName=$groupName,")
   58     67   
        append("hostId=$hostId,")
   59     68   
        append("hostResourceGroupArn=$hostResourceGroupArn,")
   60     69   
        append("partitionNumber=$partitionNumber,")
   61     70   
        append("spreadDomain=$spreadDomain,")
   62     71   
        append("tenancy=$tenancy")
   63     72   
        append(")")
   64     73   
    }
   65     74   
   66     75   
    override fun hashCode(): kotlin.Int {
   67     76   
        var result = affinity?.hashCode() ?: 0
   68     77   
        result = 31 * result + (this.availabilityZone?.hashCode() ?: 0)
          78  +
        result = 31 * result + (this.availabilityZoneId?.hashCode() ?: 0)
   69     79   
        result = 31 * result + (this.groupId?.hashCode() ?: 0)
   70     80   
        result = 31 * result + (this.groupName?.hashCode() ?: 0)
   71     81   
        result = 31 * result + (this.hostId?.hashCode() ?: 0)
   72     82   
        result = 31 * result + (this.hostResourceGroupArn?.hashCode() ?: 0)
   73     83   
        result = 31 * result + (this.partitionNumber ?: 0)
   74     84   
        result = 31 * result + (this.spreadDomain?.hashCode() ?: 0)
   75     85   
        result = 31 * result + (this.tenancy?.hashCode() ?: 0)
   76     86   
        return result
   77     87   
    }
   78     88   
   79     89   
    override fun equals(other: kotlin.Any?): kotlin.Boolean {
   80     90   
        if (this === other) return true
   81     91   
        if (other == null || this::class != other::class) return false
   82     92   
   83     93   
        other as LaunchTemplatePlacementRequest
   84     94   
   85     95   
        if (affinity != other.affinity) return false
   86     96   
        if (availabilityZone != other.availabilityZone) return false
          97  +
        if (availabilityZoneId != other.availabilityZoneId) return false
   87     98   
        if (groupId != other.groupId) return false
   88     99   
        if (groupName != other.groupName) return false
   89    100   
        if (hostId != other.hostId) return false
   90    101   
        if (hostResourceGroupArn != other.hostResourceGroupArn) return false
   91    102   
        if (partitionNumber != other.partitionNumber) return false
   92    103   
        if (spreadDomain != other.spreadDomain) return false
   93    104   
        if (tenancy != other.tenancy) return false
   94    105   
   95    106   
        return true
   96    107   
    }
   97    108   
   98    109   
    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ec2.model.LaunchTemplatePlacementRequest = Builder(this).apply(block).build()
   99    110   
  100    111   
    @SdkDsl
  101    112   
    public class Builder {
  102    113   
        /**
  103    114   
         * The affinity setting for an instance on a Dedicated Host.
  104    115   
         */
  105    116   
        public var affinity: kotlin.String? = null
  106    117   
        /**
  107    118   
         * The Availability Zone for the instance.
         119  +
         *
         120  +
         * Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but not both
  108    121   
         */
  109    122   
        public var availabilityZone: kotlin.String? = null
         123  +
        /**
         124  +
         * The ID of the Availability Zone for the instance.
         125  +
         *
         126  +
         * Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but not both
         127  +
         */
         128  +
        public var availabilityZoneId: kotlin.String? = null
  110    129   
        /**
  111    130   
         * The Group Id of a placement group. You must specify the Placement Group **Group Id** to launch an instance in a shared placement group.
  112    131   
         */
  113    132   
        public var groupId: kotlin.String? = null
  114    133   
        /**
  115    134   
         * The name of the placement group for the instance.
  116    135   
         */
  117    136   
        public var groupName: kotlin.String? = null
  118    137   
        /**
  119    138   
         * The ID of the Dedicated Host for the instance.
  120    139   
         */
  121    140   
        public var hostId: kotlin.String? = null
  122    141   
        /**
  123    142   
         * The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the **Tenancy** parameter or set it to `host`.
  124    143   
         */
  125    144   
        public var hostResourceGroupArn: kotlin.String? = null
  126    145   
        /**
  127    146   
         * The number of the partition the instance should launch in. Valid only if the placement group strategy is set to `partition`.
  128    147   
         */
  129    148   
        public var partitionNumber: kotlin.Int? = null
  130    149   
        /**
  131    150   
         * Reserved for future use.
  132    151   
         */
  133    152   
        public var spreadDomain: kotlin.String? = null
  134    153   
        /**
  135    154   
         * The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
  136    155   
         */
  137    156   
        public var tenancy: aws.sdk.kotlin.services.ec2.model.Tenancy? = null
  138    157   
  139    158   
        @PublishedApi
  140    159   
        internal constructor()
  141    160   
        @PublishedApi
  142    161   
        internal constructor(x: aws.sdk.kotlin.services.ec2.model.LaunchTemplatePlacementRequest) : this() {
  143    162   
            this.affinity = x.affinity
  144    163   
            this.availabilityZone = x.availabilityZone
         164  +
            this.availabilityZoneId = x.availabilityZoneId
  145    165   
            this.groupId = x.groupId
  146    166   
            this.groupName = x.groupName
  147    167   
            this.hostId = x.hostId
  148    168   
            this.hostResourceGroupArn = x.hostResourceGroupArn
  149    169   
            this.partitionNumber = x.partitionNumber
  150    170   
            this.spreadDomain = x.spreadDomain
  151    171   
            this.tenancy = x.tenancy
  152    172   
        }
  153    173   
  154    174   
        @PublishedApi

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

@@ -10,10 +70,70 @@
   30     30   
    public val associationDefaultRouteTableId: kotlin.String? = builder.associationDefaultRouteTableId
   31     31   
    /**
   32     32   
     * Enable or disable automatic acceptance of attachment requests.
   33     33   
     */
   34     34   
    public val autoAcceptSharedAttachments: aws.sdk.kotlin.services.ec2.model.AutoAcceptSharedAttachmentsValue? = builder.autoAcceptSharedAttachments
   35     35   
    /**
   36     36   
     * Enable or disable automatic association with the default association route table.
   37     37   
     */
   38     38   
    public val defaultRouteTableAssociation: aws.sdk.kotlin.services.ec2.model.DefaultRouteTableAssociationValue? = builder.defaultRouteTableAssociation
   39     39   
    /**
   40         -
     * Enable or disable automatic propagation of routes to the default propagation route table.
          40  +
     * Indicates whether resource attachments automatically propagate routes to the default propagation route table. Enabled by default. If `defaultRouteTablePropagation` is set to `enable`, Amazon Web Services Transit Gateway will create the default transit gateway route table.
   41     41   
     */
   42     42   
    public val defaultRouteTablePropagation: aws.sdk.kotlin.services.ec2.model.DefaultRouteTablePropagationValue? = builder.defaultRouteTablePropagation
   43     43   
    /**
   44     44   
     * Enable or disable DNS support.
   45     45   
     */
   46     46   
    public val dnsSupport: aws.sdk.kotlin.services.ec2.model.DnsSupportValue? = builder.dnsSupport
   47     47   
    /**
   48     48   
     * The ID of the default propagation route table.
   49     49   
     */
   50     50   
    public val propagationDefaultRouteTableId: kotlin.String? = builder.propagationDefaultRouteTableId
@@ -127,127 +187,187 @@
  147    147   
        public var associationDefaultRouteTableId: kotlin.String? = null
  148    148   
        /**
  149    149   
         * Enable or disable automatic acceptance of attachment requests.
  150    150   
         */
  151    151   
        public var autoAcceptSharedAttachments: aws.sdk.kotlin.services.ec2.model.AutoAcceptSharedAttachmentsValue? = null
  152    152   
        /**
  153    153   
         * Enable or disable automatic association with the default association route table.
  154    154   
         */
  155    155   
        public var defaultRouteTableAssociation: aws.sdk.kotlin.services.ec2.model.DefaultRouteTableAssociationValue? = null
  156    156   
        /**
  157         -
         * Enable or disable automatic propagation of routes to the default propagation route table.
         157  +
         * Indicates whether resource attachments automatically propagate routes to the default propagation route table. Enabled by default. If `defaultRouteTablePropagation` is set to `enable`, Amazon Web Services Transit Gateway will create the default transit gateway route table.
  158    158   
         */
  159    159   
        public var defaultRouteTablePropagation: aws.sdk.kotlin.services.ec2.model.DefaultRouteTablePropagationValue? = null
  160    160   
        /**
  161    161   
         * Enable or disable DNS support.
  162    162   
         */
  163    163   
        public var dnsSupport: aws.sdk.kotlin.services.ec2.model.DnsSupportValue? = null
  164    164   
        /**
  165    165   
         * The ID of the default propagation route table.
  166    166   
         */
  167    167   
        public var propagationDefaultRouteTableId: kotlin.String? = null

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

@@ -1,1 +77,78 @@
    6      6   
    7      7   
public class ModifyVolumeRequest private constructor(builder: Builder) {
    8      8   
    /**
    9      9   
     * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
   10     10   
     */
   11     11   
    public val dryRun: kotlin.Boolean? = builder.dryRun
   12     12   
    /**
   13     13   
     * The target IOPS rate of the volume. This parameter is valid only for `gp3`, `io1`, and `io2` volumes.
   14     14   
     *
   15     15   
     * The following are the supported values for each volume type:
   16         -
     * + `gp3`: 3,000 - 16,000 IOPS
          16  +
     * + `gp3`: 3,000 - 80,000 IOPS
   17     17   
     * + `io1`: 100 - 64,000 IOPS
   18     18   
     * + `io2`: 100 - 256,000 IOPS
   19     19   
     *
   20     20   
     * For `io2` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). On other instances, you can achieve performance up to 32,000 IOPS.
   21     21   
     *
   22     22   
     * Default: The existing value is retained if you keep the same volume type. If you change the volume type to `io1`, `io2`, or `gp3`, the default is 3,000.
   23     23   
     */
   24     24   
    public val iops: kotlin.Int? = builder.iops
   25     25   
    /**
   26     26   
     * Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the volume to up to 16 [ Nitro-based instances](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) in the same Availability Zone. This parameter is supported with `io1` and `io2` volumes only. For more information, see [ Amazon EBS Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html) in the *Amazon EBS User Guide*.
   27     27   
     */
   28     28   
    public val multiAttachEnabled: kotlin.Boolean? = builder.multiAttachEnabled
   29     29   
    /**
   30     30   
     * The target size of the volume, in GiB. The target volume size must be greater than or equal to the existing size of the volume.
   31     31   
     *
   32     32   
     * The following are the supported volumes sizes for each volume type:
   33         -
     * + `gp2` and `gp3`: 1 - 16,384 GiB
          33  +
     * + `gp2`: 1 - 16,384 GiB
          34  +
     * + `gp3`: 1 - 65,536 GiB
   34     35   
     * + `io1`: 4 - 16,384 GiB
   35     36   
     * + `io2`: 4 - 65,536 GiB
   36     37   
     * + `st1` and `sc1`: 125 - 16,384 GiB
   37     38   
     * + `standard`: 1 - 1024 GiB
   38     39   
     *
   39     40   
     * Default: The existing size is retained.
   40     41   
     */
   41     42   
    public val size: kotlin.Int? = builder.size
   42     43   
    /**
   43         -
     * The target throughput of the volume, in MiB/s. This parameter is valid only for `gp3` volumes. The maximum value is 1,000.
          44  +
     * The target throughput of the volume, in MiB/s. This parameter is valid only for `gp3` volumes. The maximum value is 2,000.
   44     45   
     *
   45     46   
     * Default: The existing value is retained if the source and target volume type is `gp3`. Otherwise, the default value is 125.
   46     47   
     *
   47         -
     * Valid Range: Minimum value of 125. Maximum value of 1000.
          48  +
     * Valid Range: Minimum value of 125. Maximum value of 2,000.
   48     49   
     */
   49     50   
    public val throughput: kotlin.Int? = builder.throughput
   50     51   
    /**
   51     52   
     * The ID of the volume.
   52     53   
     */
   53     54   
    public val volumeId: kotlin.String? = builder.volumeId
   54     55   
    /**
   55     56   
     * The target EBS volume type of the volume. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the *Amazon EBS User Guide*.
   56     57   
     *
   57     58   
     * Default: The existing type is retained.
@@ -87,88 +178,180 @@
  107    108   
    @SdkDsl
  108    109   
    public class Builder {
  109    110   
        /**
  110    111   
         * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
  111    112   
         */
  112    113   
        public var dryRun: kotlin.Boolean? = null
  113    114   
        /**
  114    115   
         * The target IOPS rate of the volume. This parameter is valid only for `gp3`, `io1`, and `io2` volumes.
  115    116   
         *
  116    117   
         * The following are the supported values for each volume type:
  117         -
         * + `gp3`: 3,000 - 16,000 IOPS
         118  +
         * + `gp3`: 3,000 - 80,000 IOPS
  118    119   
         * + `io1`: 100 - 64,000 IOPS
  119    120   
         * + `io2`: 100 - 256,000 IOPS
  120    121   
         *
  121    122   
         * For `io2` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). On other instances, you can achieve performance up to 32,000 IOPS.
  122    123   
         *
  123    124   
         * Default: The existing value is retained if you keep the same volume type. If you change the volume type to `io1`, `io2`, or `gp3`, the default is 3,000.
  124    125   
         */
  125    126   
        public var iops: kotlin.Int? = null
  126    127   
        /**
  127    128   
         * Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the volume to up to 16 [ Nitro-based instances](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) in the same Availability Zone. This parameter is supported with `io1` and `io2` volumes only. For more information, see [ Amazon EBS Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html) in the *Amazon EBS User Guide*.
  128    129   
         */
  129    130   
        public var multiAttachEnabled: kotlin.Boolean? = null
  130    131   
        /**
  131    132   
         * The target size of the volume, in GiB. The target volume size must be greater than or equal to the existing size of the volume.
  132    133   
         *
  133    134   
         * The following are the supported volumes sizes for each volume type:
  134         -
         * + `gp2` and `gp3`: 1 - 16,384 GiB
         135  +
         * + `gp2`: 1 - 16,384 GiB
         136  +
         * + `gp3`: 1 - 65,536 GiB
  135    137   
         * + `io1`: 4 - 16,384 GiB
  136    138   
         * + `io2`: 4 - 65,536 GiB
  137    139   
         * + `st1` and `sc1`: 125 - 16,384 GiB
  138    140   
         * + `standard`: 1 - 1024 GiB
  139    141   
         *
  140    142   
         * Default: The existing size is retained.
  141    143   
         */
  142    144   
        public var size: kotlin.Int? = null
  143    145   
        /**
  144         -
         * The target throughput of the volume, in MiB/s. This parameter is valid only for `gp3` volumes. The maximum value is 1,000.
         146  +
         * The target throughput of the volume, in MiB/s. This parameter is valid only for `gp3` volumes. The maximum value is 2,000.
  145    147   
         *
  146    148   
         * Default: The existing value is retained if the source and target volume type is `gp3`. Otherwise, the default value is 125.
  147    149   
         *
  148         -
         * Valid Range: Minimum value of 125. Maximum value of 1000.
         150  +
         * Valid Range: Minimum value of 125. Maximum value of 2,000.
  149    151   
         */
  150    152   
        public var throughput: kotlin.Int? = null
  151    153   
        /**
  152    154   
         * The ID of the volume.
  153    155   
         */
  154    156   
        public var volumeId: kotlin.String? = null
  155    157   
        /**
  156    158   
         * The target EBS volume type of the volume. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the *Amazon EBS User Guide*.
  157    159   
         *
  158    160   
         * Default: The existing type is retained.

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

@@ -1,1 +193,221 @@
   10     10   
public class Placement private constructor(builder: Builder) {
   11     11   
    /**
   12     12   
     * The affinity setting for the instance on the Dedicated Host.
   13     13   
     *
   14     14   
     * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) or [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html).
   15     15   
     */
   16     16   
    public val affinity: kotlin.String? = builder.affinity
   17     17   
    /**
   18     18   
     * The Availability Zone of the instance.
   19     19   
     *
   20         -
     * If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
          20  +
     * On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.
   21     21   
     *
   22     22   
     * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
   23     23   
     */
   24     24   
    public val availabilityZone: kotlin.String? = builder.availabilityZone
   25     25   
    /**
   26         -
     * The ID of the placement group that the instance is in. If you specify `GroupId`, you can't specify `GroupName`.
          26  +
     * The ID of the Availability Zone of the instance.
          27  +
     *
          28  +
     * On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.
          29  +
     *
          30  +
     * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
          31  +
     */
          32  +
    public val availabilityZoneId: kotlin.String? = builder.availabilityZoneId
          33  +
    /**
          34  +
     * The ID of the placement group that the instance is in.
          35  +
     *
          36  +
     * On input, you can specify `GroupId` or `GroupName`, but not both.
   27     37   
     */
   28     38   
    public val groupId: kotlin.String? = builder.groupId
   29     39   
    /**
   30         -
     * The name of the placement group that the instance is in. If you specify `GroupName`, you can't specify `GroupId`.
          40  +
     * The name of the placement group that the instance is in.
          41  +
     *
          42  +
     * On input, you can specify `GroupId` or `GroupName`, but not both.
   31     43   
     */
   32     44   
    public val groupName: kotlin.String? = builder.groupName
   33     45   
    /**
   34     46   
     * The ID of the Dedicated Host on which the instance resides.
   35     47   
     *
   36     48   
     * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) or [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html).
   37     49   
     */
   38     50   
    public val hostId: kotlin.String? = builder.hostId
   39     51   
    /**
   40     52   
     * The ARN of the host resource group in which to launch the instances.
   41     53   
     *
   42         -
     * If you specify this parameter, either omit the **Tenancy** parameter or set it to `host`.
          54  +
     * On input, if you specify this parameter, either omit the **Tenancy** parameter or set it to `host`.
   43     55   
     *
   44     56   
     * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
   45     57   
     */
   46     58   
    public val hostResourceGroupArn: kotlin.String? = builder.hostResourceGroupArn
   47     59   
    /**
   48     60   
     * The number of the partition that the instance is in. Valid only if the placement group strategy is set to `partition`.
   49     61   
     *
   50     62   
     * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
   51     63   
     */
   52     64   
    public val partitionNumber: kotlin.Int? = builder.partitionNumber
   53     65   
    /**
   54     66   
     * Reserved for future use.
   55     67   
     */
   56     68   
    public val spreadDomain: kotlin.String? = builder.spreadDomain
   57     69   
    /**
   58     70   
     * The tenancy of the instance. An instance with a tenancy of `dedicated` runs on single-tenant hardware.
   59     71   
     *
   60     72   
     * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). The `host` tenancy is not supported for [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) or for T3 instances that are configured for the `unlimited` CPU credit option.
   61     73   
     */
   62     74   
    public val tenancy: aws.sdk.kotlin.services.ec2.model.Tenancy? = builder.tenancy
   63     75   
   64     76   
    public companion object {
   65     77   
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ec2.model.Placement = Builder().apply(block).build()
   66     78   
    }
   67     79   
   68     80   
    override fun toString(): kotlin.String = buildString {
   69     81   
        append("Placement(")
   70     82   
        append("affinity=$affinity,")
   71     83   
        append("availabilityZone=$availabilityZone,")
          84  +
        append("availabilityZoneId=$availabilityZoneId,")
   72     85   
        append("groupId=$groupId,")
   73     86   
        append("groupName=$groupName,")
   74     87   
        append("hostId=$hostId,")
   75     88   
        append("hostResourceGroupArn=$hostResourceGroupArn,")
   76     89   
        append("partitionNumber=$partitionNumber,")
   77     90   
        append("spreadDomain=$spreadDomain,")
   78     91   
        append("tenancy=$tenancy")
   79     92   
        append(")")
   80     93   
    }
   81     94   
   82     95   
    override fun hashCode(): kotlin.Int {
   83     96   
        var result = affinity?.hashCode() ?: 0
   84     97   
        result = 31 * result + (this.availabilityZone?.hashCode() ?: 0)
          98  +
        result = 31 * result + (this.availabilityZoneId?.hashCode() ?: 0)
   85     99   
        result = 31 * result + (this.groupId?.hashCode() ?: 0)
   86    100   
        result = 31 * result + (this.groupName?.hashCode() ?: 0)
   87    101   
        result = 31 * result + (this.hostId?.hashCode() ?: 0)
   88    102   
        result = 31 * result + (this.hostResourceGroupArn?.hashCode() ?: 0)
   89    103   
        result = 31 * result + (this.partitionNumber ?: 0)
   90    104   
        result = 31 * result + (this.spreadDomain?.hashCode() ?: 0)
   91    105   
        result = 31 * result + (this.tenancy?.hashCode() ?: 0)
   92    106   
        return result
   93    107   
    }
   94    108   
   95    109   
    override fun equals(other: kotlin.Any?): kotlin.Boolean {
   96    110   
        if (this === other) return true
   97    111   
        if (other == null || this::class != other::class) return false
   98    112   
   99    113   
        other as Placement
  100    114   
  101    115   
        if (affinity != other.affinity) return false
  102    116   
        if (availabilityZone != other.availabilityZone) return false
         117  +
        if (availabilityZoneId != other.availabilityZoneId) return false
  103    118   
        if (groupId != other.groupId) return false
  104    119   
        if (groupName != other.groupName) return false
  105    120   
        if (hostId != other.hostId) return false
  106    121   
        if (hostResourceGroupArn != other.hostResourceGroupArn) return false
  107    122   
        if (partitionNumber != other.partitionNumber) return false
  108    123   
        if (spreadDomain != other.spreadDomain) return false
  109    124   
        if (tenancy != other.tenancy) return false
  110    125   
  111    126   
        return true
  112    127   
    }
  113    128   
  114    129   
    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ec2.model.Placement = Builder(this).apply(block).build()
  115    130   
  116    131   
    @SdkDsl
  117    132   
    public class Builder {
  118    133   
        /**
  119    134   
         * The affinity setting for the instance on the Dedicated Host.
  120    135   
         *
  121    136   
         * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) or [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html).
  122    137   
         */
  123    138   
        public var affinity: kotlin.String? = null
  124    139   
        /**
  125    140   
         * The Availability Zone of the instance.
  126    141   
         *
  127         -
         * If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
         142  +
         * On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.
  128    143   
         *
  129    144   
         * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
  130    145   
         */
  131    146   
        public var availabilityZone: kotlin.String? = null
  132    147   
        /**
  133         -
         * The ID of the placement group that the instance is in. If you specify `GroupId`, you can't specify `GroupName`.
         148  +
         * The ID of the Availability Zone of the instance.
         149  +
         *
         150  +
         * On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.
         151  +
         *
         152  +
         * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
         153  +
         */
         154  +
        public var availabilityZoneId: kotlin.String? = null
         155  +
        /**
         156  +
         * The ID of the placement group that the instance is in.
         157  +
         *
         158  +
         * On input, you can specify `GroupId` or `GroupName`, but not both.
  134    159   
         */
  135    160   
        public var groupId: kotlin.String? = null
  136    161   
        /**
  137         -
         * The name of the placement group that the instance is in. If you specify `GroupName`, you can't specify `GroupId`.
         162  +
         * The name of the placement group that the instance is in.
         163  +
         *
         164  +
         * On input, you can specify `GroupId` or `GroupName`, but not both.
  138    165   
         */
  139    166   
        public var groupName: kotlin.String? = null
  140    167   
        /**
  141    168   
         * The ID of the Dedicated Host on which the instance resides.
  142    169   
         *
  143    170   
         * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) or [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html).
  144    171   
         */
  145    172   
        public var hostId: kotlin.String? = null
  146    173   
        /**
  147    174   
         * The ARN of the host resource group in which to launch the instances.
  148    175   
         *
  149         -
         * If you specify this parameter, either omit the **Tenancy** parameter or set it to `host`.
         176  +
         * On input, if you specify this parameter, either omit the **Tenancy** parameter or set it to `host`.
  150    177   
         *
  151    178   
         * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
  152    179   
         */
  153    180   
        public var hostResourceGroupArn: kotlin.String? = null
  154    181   
        /**
  155    182   
         * The number of the partition that the instance is in. Valid only if the placement group strategy is set to `partition`.
  156    183   
         *
  157    184   
         * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
  158    185   
         */
  159    186   
        public var partitionNumber: kotlin.Int? = null
  160    187   
        /**
  161    188   
         * Reserved for future use.
  162    189   
         */
  163    190   
        public var spreadDomain: kotlin.String? = null
  164    191   
        /**
  165    192   
         * The tenancy of the instance. An instance with a tenancy of `dedicated` runs on single-tenant hardware.
  166    193   
         *
  167    194   
         * This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). The `host` tenancy is not supported for [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) or for T3 instances that are configured for the `unlimited` CPU credit option.
  168    195   
         */
  169    196   
        public var tenancy: aws.sdk.kotlin.services.ec2.model.Tenancy? = null
  170    197   
  171    198   
        @PublishedApi
  172    199   
        internal constructor()
  173    200   
        @PublishedApi
  174    201   
        internal constructor(x: aws.sdk.kotlin.services.ec2.model.Placement) : this() {
  175    202   
            this.affinity = x.affinity
  176    203   
            this.availabilityZone = x.availabilityZone
         204  +
            this.availabilityZoneId = x.availabilityZoneId
  177    205   
            this.groupId = x.groupId
  178    206   
            this.groupName = x.groupName
  179    207   
            this.hostId = x.hostId
  180    208   
            this.hostResourceGroupArn = x.hostResourceGroupArn
  181    209   
            this.partitionNumber = x.partitionNumber
  182    210   
            this.spreadDomain = x.spreadDomain
  183    211   
            this.tenancy = x.tenancy
  184    212   
        }
  185    213   
  186    214   
        @PublishedApi

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

@@ -16,16 +83,85 @@
   36     36   
    public val disableApiTermination: kotlin.Boolean? = builder.disableApiTermination
   37     37   
    /**
   38     38   
     * Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
   39     39   
     */
   40     40   
    public val ebsOptimized: kotlin.Boolean? = builder.ebsOptimized
   41     41   
    /**
   42     42   
     * Deprecated.
   43     43   
     *
   44     44   
     * Amazon Elastic Graphics reached end of life on January 8, 2024.
   45     45   
     */
          46  +
    @Deprecated("Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.")
   46     47   
    public val elasticGpuSpecifications: List<ElasticGpuSpecification>? = builder.elasticGpuSpecifications
   47     48   
    /**
   48     49   
     * Amazon Elastic Inference is no longer available.
   49     50   
     *
   50     51   
     * An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
   51     52   
     *
   52     53   
     * You cannot specify accelerators from different generations in the same request.
   53     54   
     */
          55  +
    @Deprecated("Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.")
   54     56   
    public val elasticInferenceAccelerators: List<LaunchTemplateElasticInferenceAccelerator>? = builder.elasticInferenceAccelerators
   55     57   
    /**
   56     58   
     * Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see [What is Nitro Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) in the *Amazon Web Services Nitro Enclaves User Guide*.
   57     59   
     *
   58     60   
     * You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.
   59     61   
     */
   60     62   
    public val enclaveOptions: aws.sdk.kotlin.services.ec2.model.LaunchTemplateEnclaveOptionsRequest? = builder.enclaveOptions
   61     63   
    /**
   62     64   
     * Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the [hibernation prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). For more information, see [Hibernate your Amazon EC2 instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the *Amazon EC2 User Guide*.
   63     65   
     */
@@ -334,336 +401,405 @@
  354    356   
        public var disableApiTermination: kotlin.Boolean? = null
  355    357   
        /**
  356    358   
         * Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
  357    359   
         */
  358    360   
        public var ebsOptimized: kotlin.Boolean? = null
  359    361   
        /**
  360    362   
         * Deprecated.
  361    363   
         *
  362    364   
         * Amazon Elastic Graphics reached end of life on January 8, 2024.
  363    365   
         */
         366  +
        @Deprecated("Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.")
  364    367   
        public var elasticGpuSpecifications: List<ElasticGpuSpecification>? = null
  365    368   
        /**
  366    369   
         * Amazon Elastic Inference is no longer available.
  367    370   
         *
  368    371   
         * An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
  369    372   
         *
  370    373   
         * You cannot specify accelerators from different generations in the same request.
  371    374   
         */
         375  +
        @Deprecated("Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.")
  372    376   
        public var elasticInferenceAccelerators: List<LaunchTemplateElasticInferenceAccelerator>? = null
  373    377   
        /**
  374    378   
         * Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see [What is Nitro Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) in the *Amazon Web Services Nitro Enclaves User Guide*.
  375    379   
         *
  376    380   
         * You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.
  377    381   
         */
  378    382   
        public var enclaveOptions: aws.sdk.kotlin.services.ec2.model.LaunchTemplateEnclaveOptionsRequest? = null
  379    383   
        /**
  380    384   
         * Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the [hibernation prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). For more information, see [Hibernate your Amazon EC2 instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the *Amazon EC2 User Guide*.
  381    385   
         */

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

@@ -75,75 +134,139 @@
   95     95   
    public object HostReservation : aws.sdk.kotlin.services.ec2.model.ResourceType() {
   96     96   
        override val value: kotlin.String = "host-reservation"
   97     97   
        override fun toString(): kotlin.String = "HostReservation"
   98     98   
    }
   99     99   
  100    100   
    public object Image : aws.sdk.kotlin.services.ec2.model.ResourceType() {
  101    101   
        override val value: kotlin.String = "image"
  102    102   
        override fun toString(): kotlin.String = "Image"
  103    103   
    }
  104    104   
         105  +
    public object ImageUsageReport : aws.sdk.kotlin.services.ec2.model.ResourceType() {
         106  +
        override val value: kotlin.String = "image-usage-report"
         107  +
        override fun toString(): kotlin.String = "ImageUsageReport"
         108  +
    }
         109  +
  105    110   
    public object ImportImageTask : aws.sdk.kotlin.services.ec2.model.ResourceType() {
  106    111   
        override val value: kotlin.String = "import-image-task"
  107    112   
        override fun toString(): kotlin.String = "ImportImageTask"
  108    113   
    }
  109    114   
  110    115   
    public object ImportSnapshotTask : aws.sdk.kotlin.services.ec2.model.ResourceType() {
  111    116   
        override val value: kotlin.String = "import-snapshot-task"
  112    117   
        override fun toString(): kotlin.String = "ImportSnapshotTask"
  113    118   
    }
  114    119   
@@ -488,493 +547,553 @@
  508    513   
            "dhcp-options" -> DhcpOptions
  509    514   
            "egress-only-internet-gateway" -> EgressOnlyInternetGateway
  510    515   
            "elastic-gpu" -> ElasticGpu
  511    516   
            "elastic-ip" -> ElasticIp
  512    517   
            "export-image-task" -> ExportImageTask
  513    518   
            "export-instance-task" -> ExportInstanceTask
  514    519   
            "fleet" -> Fleet
  515    520   
            "fpga-image" -> FpgaImage
  516    521   
            "host-reservation" -> HostReservation
  517    522   
            "image" -> Image
         523  +
            "image-usage-report" -> ImageUsageReport
  518    524   
            "import-image-task" -> ImportImageTask
  519    525   
            "import-snapshot-task" -> ImportSnapshotTask
  520    526   
            "instance" -> Instance
  521    527   
            "instance-connect-endpoint" -> InstanceConnectEndpoint
  522    528   
            "instance-event-window" -> InstanceEventWindow
  523    529   
            "internet-gateway" -> InternetGateway
  524    530   
            "ipam" -> Ipam
  525    531   
            "ipam-external-resource-verification-token" -> IpamExternalResourceVerificationToken
  526    532   
            "ipam-pool" -> IpamPool
  527    533   
            "ipam-resource-discovery" -> IpamResourceDiscovery
@@ -593,599 +652,659 @@
  613    619   
            DhcpOptions,
  614    620   
            EgressOnlyInternetGateway,
  615    621   
            ElasticGpu,
  616    622   
            ElasticIp,
  617    623   
            ExportImageTask,
  618    624   
            ExportInstanceTask,
  619    625   
            Fleet,
  620    626   
            FpgaImage,
  621    627   
            HostReservation,
  622    628   
            Image,
         629  +
            ImageUsageReport,
  623    630   
            ImportImageTask,
  624    631   
            ImportSnapshotTask,
  625    632   
            Instance,
  626    633   
            InstanceConnectEndpoint,
  627    634   
            InstanceEventWindow,
  628    635   
            InternetGateway,
  629    636   
            Ipam,
  630    637   
            IpamExternalResourceVerificationToken,
  631    638   
            IpamPool,
  632    639   
            IpamResourceDiscovery,

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

@@ -42,42 +101,102 @@
   62     62   
    public val networkInterfaceId: kotlin.String? = builder.networkInterfaceId
   63     63   
    /**
   64     64   
     * The Amazon Resource Name (ARN) of the ODB network.
   65     65   
     */
   66     66   
    public val odbNetworkArn: kotlin.String? = builder.odbNetworkArn
   67     67   
    /**
   68     68   
     * Describes how the route was created.
   69     69   
     * + `CreateRouteTable` - The route was automatically created when the route table was created.
   70     70   
     * + `CreateRoute` - The route was manually added to the route table.
   71     71   
     * + `EnableVgwRoutePropagation` - The route was propagated by route propagation.
          72  +
     * + `Advertisement` - The route was created dynamically by Amazon VPC Route Server.
   72     73   
     */
   73     74   
    public val origin: aws.sdk.kotlin.services.ec2.model.RouteOrigin? = builder.origin
   74     75   
    /**
   75     76   
     * The state of the route. The `blackhole` state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated).
   76     77   
     */
   77     78   
    public val state: aws.sdk.kotlin.services.ec2.model.RouteState? = builder.state
   78     79   
    /**
   79     80   
     * The ID of a transit gateway.
   80     81   
     */
   81     82   
    public val transitGatewayId: kotlin.String? = builder.transitGatewayId
@@ -199,200 +258,260 @@
  219    220   
        public var networkInterfaceId: kotlin.String? = null
  220    221   
        /**
  221    222   
         * The Amazon Resource Name (ARN) of the ODB network.
  222    223   
         */
  223    224   
        public var odbNetworkArn: kotlin.String? = null
  224    225   
        /**
  225    226   
         * Describes how the route was created.
  226    227   
         * + `CreateRouteTable` - The route was automatically created when the route table was created.
  227    228   
         * + `CreateRoute` - The route was manually added to the route table.
  228    229   
         * + `EnableVgwRoutePropagation` - The route was propagated by route propagation.
         230  +
         * + `Advertisement` - The route was created dynamically by Amazon VPC Route Server.
  229    231   
         */
  230    232   
        public var origin: aws.sdk.kotlin.services.ec2.model.RouteOrigin? = null
  231    233   
        /**
  232    234   
         * The state of the route. The `blackhole` state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated).
  233    235   
         */
  234    236   
        public var state: aws.sdk.kotlin.services.ec2.model.RouteState? = null
  235    237   
        /**
  236    238   
         * The ID of a transit gateway.
  237    239   
         */
  238    240   
        public var transitGatewayId: kotlin.String? = null

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

@@ -1,1 +51,58 @@
    1      1   
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
    2      2   
    3      3   
package aws.sdk.kotlin.services.ec2.model
    4      4   
    5      5   
import kotlin.collections.List
    6      6   
    7      7   
public sealed class RouteOrigin {
    8      8   
    public abstract val value: kotlin.String
    9      9   
          10  +
    public object Advertisement : aws.sdk.kotlin.services.ec2.model.RouteOrigin() {
          11  +
        override val value: kotlin.String = "Advertisement"
          12  +
        override fun toString(): kotlin.String = "Advertisement"
          13  +
    }
          14  +
   10     15   
    public object CreateRoute : aws.sdk.kotlin.services.ec2.model.RouteOrigin() {
   11     16   
        override val value: kotlin.String = "CreateRoute"
   12     17   
        override fun toString(): kotlin.String = "CreateRoute"
   13     18   
    }
   14     19   
   15     20   
    public object CreateRouteTable : aws.sdk.kotlin.services.ec2.model.RouteOrigin() {
   16     21   
        override val value: kotlin.String = "CreateRouteTable"
   17     22   
        override fun toString(): kotlin.String = "CreateRouteTable"
   18     23   
    }
   19     24   
   20     25   
    public object EnableVgwRoutePropagation : aws.sdk.kotlin.services.ec2.model.RouteOrigin() {
   21     26   
        override val value: kotlin.String = "EnableVgwRoutePropagation"
   22     27   
        override fun toString(): kotlin.String = "EnableVgwRoutePropagation"
   23     28   
    }
   24     29   
   25     30   
    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.ec2.model.RouteOrigin() {
   26     31   
        override fun toString(): kotlin.String = "SdkUnknown($value)"
   27     32   
    }
   28     33   
   29     34   
    public companion object {
   30     35   
        /**
   31     36   
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
   32     37   
         */
   33     38   
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.ec2.model.RouteOrigin = when (value) {
          39  +
            "Advertisement" -> Advertisement
   34     40   
            "CreateRoute" -> CreateRoute
   35     41   
            "CreateRouteTable" -> CreateRouteTable
   36     42   
            "EnableVgwRoutePropagation" -> EnableVgwRoutePropagation
   37     43   
            else -> SdkUnknown(value)
   38     44   
        }
   39     45   
   40     46   
        /**
   41     47   
         * Get a list of all possible variants
   42     48   
         */
   43     49   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.RouteOrigin> = values
   44     50   
   45     51   
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.RouteOrigin> = listOf(
          52  +
            Advertisement,
   46     53   
            CreateRoute,
   47     54   
            CreateRouteTable,
   48     55   
            EnableVgwRoutePropagation,
   49     56   
        )
   50     57   
    }
   51     58   
}

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

@@ -1,1 +44,51 @@
   10     10   
    public object Active : aws.sdk.kotlin.services.ec2.model.RouteState() {
   11     11   
        override val value: kotlin.String = "active"
   12     12   
        override fun toString(): kotlin.String = "Active"
   13     13   
    }
   14     14   
   15     15   
    public object Blackhole : aws.sdk.kotlin.services.ec2.model.RouteState() {
   16     16   
        override val value: kotlin.String = "blackhole"
   17     17   
        override fun toString(): kotlin.String = "Blackhole"
   18     18   
    }
   19     19   
          20  +
    public object Filtered : aws.sdk.kotlin.services.ec2.model.RouteState() {
          21  +
        override val value: kotlin.String = "filtered"
          22  +
        override fun toString(): kotlin.String = "Filtered"
          23  +
    }
          24  +
   20     25   
    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.ec2.model.RouteState() {
   21     26   
        override fun toString(): kotlin.String = "SdkUnknown($value)"
   22     27   
    }
   23     28   
   24     29   
    public companion object {
   25     30   
        /**
   26     31   
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
   27     32   
         */
   28     33   
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.ec2.model.RouteState = when (value) {
   29     34   
            "active" -> Active
   30     35   
            "blackhole" -> Blackhole
          36  +
            "filtered" -> Filtered
   31     37   
            else -> SdkUnknown(value)
   32     38   
        }
   33     39   
   34     40   
        /**
   35     41   
         * Get a list of all possible variants
   36     42   
         */
   37     43   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.RouteState> = values
   38     44   
   39     45   
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.RouteState> = listOf(
   40     46   
            Active,
   41     47   
            Blackhole,
          48  +
            Filtered,
   42     49   
        )
   43     50   
    }
   44     51   
}