AWS SDK

AWS SDK

rev. 2493670155f3f484f4055f00c7816463c1a2ced2..ac5e22252d1e170d05dd8b11ceb2a7a284cd7f2e (ignoring whitespace)

Files changed:

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/Select.kt

@@ -21,21 +58,58 @@
   41     41   
            "COUNT" -> Count
   42     42   
            "SPECIFIC_ATTRIBUTES" -> SpecificAttributes
   43     43   
            else -> SdkUnknown(value)
   44     44   
        }
   45     45   
   46     46   
        /**
   47     47   
         * Get a list of all possible variants
   48     48   
         */
   49     49   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.Select> = values
   50     50   
   51         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.Select> = listOf(
          51  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.Select> by lazy { listOf(
   52     52   
            AllAttributes,
   53     53   
            AllProjectedAttributes,
   54     54   
            Count,
   55     55   
            SpecificAttributes,
   56         -
        )
          56  +
        ) }
   57     57   
    }
   58     58   
}

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/SseStatus.kt

@@ -27,27 +65,65 @@
   47     47   
            "ENABLING" -> Enabling
   48     48   
            "UPDATING" -> Updating
   49     49   
            else -> SdkUnknown(value)
   50     50   
        }
   51     51   
   52     52   
        /**
   53     53   
         * Get a list of all possible variants
   54     54   
         */
   55     55   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.SseStatus> = values
   56     56   
   57         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.SseStatus> = listOf(
          57  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.SseStatus> by lazy { listOf(
   58     58   
            Disabled,
   59     59   
            Disabling,
   60     60   
            Enabled,
   61     61   
            Enabling,
   62     62   
            Updating,
   63         -
        )
          63  +
        ) }
   64     64   
    }
   65     65   
}

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/SseType.kt

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

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/StreamViewType.kt

@@ -21,21 +58,58 @@
   41     41   
            "NEW_IMAGE" -> NewImage
   42     42   
            "OLD_IMAGE" -> OldImage
   43     43   
            else -> SdkUnknown(value)
   44     44   
        }
   45     45   
   46     46   
        /**
   47     47   
         * Get a list of all possible variants
   48     48   
         */
   49     49   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.StreamViewType> = values
   50     50   
   51         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.StreamViewType> = listOf(
          51  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.StreamViewType> by lazy { listOf(
   52     52   
            KeysOnly,
   53     53   
            NewAndOldImages,
   54     54   
            NewImage,
   55     55   
            OldImage,
   56         -
        )
          56  +
        ) }
   57     57   
    }
   58     58   
}

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/TableClass.kt

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

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/TableStatus.kt

@@ -45,45 +86,86 @@
   65     65   
            "REPLICATION_NOT_AUTHORIZED" -> ReplicationNotAuthorized
   66     66   
            "UPDATING" -> Updating
   67     67   
            else -> SdkUnknown(value)
   68     68   
        }
   69     69   
   70     70   
        /**
   71     71   
         * Get a list of all possible variants
   72     72   
         */
   73     73   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.TableStatus> = values
   74     74   
   75         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.TableStatus> = listOf(
          75  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.dynamodb.model.TableStatus> by lazy { listOf(
   76     76   
            Active,
   77     77   
            Archived,
   78     78   
            Archiving,
   79     79   
            Creating,
   80     80   
            Deleting,
   81     81   
            InaccessibleEncryptionCredentials,
   82     82   
            ReplicationNotAuthorized,
   83     83   
            Updating,
   84         -
        )
          84  +
        ) }
   85     85   
    }
   86     86   
}

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/TimeToLiveStatus.kt

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

tmp-codegen-diff/services/dynamodb/generated-src/main/kotlin/aws/sdk/kotlin/services/dynamodb/model/WitnessStatus.kt

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

tmp-codegen-diff/services/ec2/build.gradle.kts

@@ -1,1 +60,60 @@
    1      1   
    2      2   
description = "The AWS SDK for Kotlin client for EC2"
    3      3   
project.ext.set("aws.sdk.id", "EC2")
    4      4   
    5      5   
kotlin {
    6      6   
    sourceSets {
    7      7   
        commonMain {
    8      8   
            dependencies {
    9         -
                implementation("aws.smithy.kotlin:aws-credentials:1.6.8-SNAPSHOT")
           9  +
                implementation("aws.smithy.kotlin:aws-credentials:1.6.13-SNAPSHOT")
   10     10   
                implementation(project(":aws-runtime:aws-http"))
   11         -
                implementation("aws.smithy.kotlin:aws-protocol-core:1.6.8-SNAPSHOT")
   12         -
                implementation("aws.smithy.kotlin:aws-signing-common:1.6.8-SNAPSHOT")
   13         -
                implementation("aws.smithy.kotlin:aws-signing-default:1.6.8-SNAPSHOT")
   14         -
                implementation("aws.smithy.kotlin:aws-xml-protocols:1.6.8-SNAPSHOT")
   15         -
                implementation("aws.smithy.kotlin:http:1.6.8-SNAPSHOT")
   16         -
                implementation("aws.smithy.kotlin:http-auth:1.6.8-SNAPSHOT")
   17         -
                implementation("aws.smithy.kotlin:http-auth-aws:1.6.8-SNAPSHOT")
   18         -
                implementation("aws.smithy.kotlin:http-client-engine-default:1.6.8-SNAPSHOT")
   19         -
                implementation("aws.smithy.kotlin:identity-api:1.6.8-SNAPSHOT")
   20         -
                implementation("aws.smithy.kotlin:serde:1.6.8-SNAPSHOT")
   21         -
                implementation("aws.smithy.kotlin:serde-form-url:1.6.8-SNAPSHOT")
   22         -
                implementation("aws.smithy.kotlin:serde-xml:1.6.8-SNAPSHOT")
   23         -
                implementation("aws.smithy.kotlin:telemetry-defaults:1.6.8-SNAPSHOT")
          11  +
                implementation("aws.smithy.kotlin:aws-protocol-core:1.6.13-SNAPSHOT")
          12  +
                implementation("aws.smithy.kotlin:aws-signing-common:1.6.13-SNAPSHOT")
          13  +
                implementation("aws.smithy.kotlin:aws-signing-default:1.6.13-SNAPSHOT")
          14  +
                implementation("aws.smithy.kotlin:aws-xml-protocols:1.6.13-SNAPSHOT")
          15  +
                implementation("aws.smithy.kotlin:http:1.6.13-SNAPSHOT")
          16  +
                implementation("aws.smithy.kotlin:http-auth:1.6.13-SNAPSHOT")
          17  +
                implementation("aws.smithy.kotlin:http-auth-aws:1.6.13-SNAPSHOT")
          18  +
                implementation("aws.smithy.kotlin:http-client-engine-default:1.6.13-SNAPSHOT")
          19  +
                implementation("aws.smithy.kotlin:identity-api:1.6.13-SNAPSHOT")
          20  +
                implementation("aws.smithy.kotlin:serde:1.6.13-SNAPSHOT")
          21  +
                implementation("aws.smithy.kotlin:serde-form-url:1.6.13-SNAPSHOT")
          22  +
                implementation("aws.smithy.kotlin:serde-xml:1.6.13-SNAPSHOT")
          23  +
                implementation("aws.smithy.kotlin:telemetry-defaults:1.6.13-SNAPSHOT")
   24     24   
                api(project(":aws-runtime:aws-config"))
   25     25   
                api(project(":aws-runtime:aws-core"))
   26     26   
                api(project(":aws-runtime:aws-endpoint"))
   27         -
                api("aws.smithy.kotlin:http-client:1.6.8-SNAPSHOT")
   28         -
                api("aws.smithy.kotlin:runtime-core:1.6.8-SNAPSHOT")
   29         -
                api("aws.smithy.kotlin:smithy-client:1.6.8-SNAPSHOT")
   30         -
                api("aws.smithy.kotlin:telemetry-api:1.6.8-SNAPSHOT")
          27  +
                api("aws.smithy.kotlin:http-client:1.6.13-SNAPSHOT")
          28  +
                api("aws.smithy.kotlin:runtime-core:1.6.13-SNAPSHOT")
          29  +
                api("aws.smithy.kotlin:smithy-client:1.6.13-SNAPSHOT")
          30  +
                api("aws.smithy.kotlin:telemetry-api:1.6.13-SNAPSHOT")
   31     31   
            }
   32     32   
        }
   33     33   
    }
   34     34   
   35     35   
    jvm {
   36     36   
        compilations {
   37     37   
            val mainPath = getByName("main").output.classesDirs
   38     38   
            val testPath = getByName("test").output.classesDirs
   39     39   
            tasks {
   40     40   
                register<Jar>("smokeTestJar") {

tmp-codegen-diff/services/ec2/build/tmp/jvmJar/MANIFEST.MF

@@ -1,0 +2,0 @@
    1         -
Manifest-Version: 1.0
    2         -

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

@@ -155,155 +214,254 @@
  175    175   
            MutateHeaders().apply {
  176    176   
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
  177    177   
            }
  178    178   
        )
  179    179   
        op.install(UserAgent(awsUserAgentMetadata))
  180    180   
        op.install(RecursionDetection())
  181    181   
        op.interceptors.addAll(config.interceptors)
  182    182   
        return op.roundTrip(client, input)
  183    183   
    }
  184    184   
         185  +
    /**
         186  +
     * Accepts a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner must accept the attachment request before the Client VPN endpoint can route traffic through the Transit Gateway.
         187  +
     */
         188  +
    override suspend fun acceptTransitGatewayClientVpnAttachment(input: AcceptTransitGatewayClientVpnAttachmentRequest): AcceptTransitGatewayClientVpnAttachmentResponse {
         189  +
        val op = SdkHttpOperation.build<AcceptTransitGatewayClientVpnAttachmentRequest, AcceptTransitGatewayClientVpnAttachmentResponse> {
         190  +
            serializeWith = AcceptTransitGatewayClientVpnAttachmentOperationSerializer()
         191  +
            deserializeWith = AcceptTransitGatewayClientVpnAttachmentOperationDeserializer()
         192  +
            operationName = "AcceptTransitGatewayClientVpnAttachment"
         193  +
            serviceName = ServiceId
         194  +
            telemetry {
         195  +
                provider = config.telemetryProvider
         196  +
                scope = telemetryScope
         197  +
                metrics = opMetrics
         198  +
                attributes = attributesOf {
         199  +
                    "rpc.system" to "aws-api"
         200  +
                }
         201  +
            }
         202  +
            execution.auth = OperationAuthConfig(authSchemeAdapter, configuredAuthSchemes, identityProviderConfig)
         203  +
            execution.endpointResolver = EndpointResolverAdapter(config)
         204  +
            execution.retryStrategy = config.retryStrategy
         205  +
            execution.retryPolicy = config.retryPolicy
         206  +
        }
         207  +
        mergeServiceDefaults(op.context)
         208  +
        op.install(AwsRetryHeaderMiddleware())
         209  +
        op.interceptors.add(AwsSpanInterceptor)
         210  +
        op.interceptors.add(BusinessMetricsInterceptor())
         211  +
        if (config.credentialsProvider is StaticCredentialsProvider) {
         212  +
            op.context.emitBusinessMetric(AwsBusinessMetric.Credentials.CREDENTIALS_CODE)
         213  +
        }
         214  +
        op.install(
         215  +
            MutateHeaders().apply {
         216  +
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
         217  +
            }
         218  +
        )
         219  +
        op.install(UserAgent(awsUserAgentMetadata))
         220  +
        op.install(RecursionDetection())
         221  +
        op.interceptors.addAll(config.interceptors)
         222  +
        return op.roundTrip(client, input)
         223  +
    }
         224  +
  185    225   
    /**
  186    226   
     * Accepts a request to associate subnets with a transit gateway multicast domain.
  187    227   
     */
  188    228   
    override suspend fun acceptTransitGatewayMulticastDomainAssociations(input: AcceptTransitGatewayMulticastDomainAssociationsRequest): AcceptTransitGatewayMulticastDomainAssociationsResponse {
  189    229   
        val op = SdkHttpOperation.build<AcceptTransitGatewayMulticastDomainAssociationsRequest, AcceptTransitGatewayMulticastDomainAssociationsResponse> {
  190    230   
            serializeWith = AcceptTransitGatewayMulticastDomainAssociationsOperationSerializer()
  191    231   
            deserializeWith = AcceptTransitGatewayMulticastDomainAssociationsOperationDeserializer()
  192    232   
            operationName = "AcceptTransitGatewayMulticastDomainAssociations"
  193    233   
            serviceName = ServiceId
  194    234   
            telemetry {
@@ -1954,1994 +2014,2054 @@
 1974   2014   
        op.install(RecursionDetection())
 1975   2015   
        op.interceptors.addAll(config.interceptors)
 1976   2016   
        return op.roundTrip(client, input)
 1977   2017   
    }
 1978   2018   
 1979   2019   
    /**
 1980   2020   
     * Bundles an Amazon instance store-backed Windows instance.
 1981   2021   
     *
 1982   2022   
     * During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved.
 1983   2023   
     *
 1984         -
     * This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
        2024  +
     * This action is no longer supported. To create an AMI, use [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). For more information, see [ Create an Amazon EBS-backed AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html) in the *Amazon EC2 User Guide*.
 1985   2025   
     */
 1986   2026   
    override suspend fun bundleInstance(input: BundleInstanceRequest): BundleInstanceResponse {
 1987   2027   
        val op = SdkHttpOperation.build<BundleInstanceRequest, BundleInstanceResponse> {
 1988   2028   
            serializeWith = BundleInstanceOperationSerializer()
 1989   2029   
            deserializeWith = BundleInstanceOperationDeserializer()
 1990   2030   
            operationName = "BundleInstance"
 1991   2031   
            serviceName = ServiceId
 1992   2032   
            telemetry {
 1993   2033   
                provider = config.telemetryProvider
 1994   2034   
                scope = telemetryScope
@@ -9934,9974 +9993,10073 @@
 9954   9994   
            MutateHeaders().apply {
 9955   9995   
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
 9956   9996   
            }
 9957   9997   
        )
 9958   9998   
        op.install(UserAgent(awsUserAgentMetadata))
 9959   9999   
        op.install(RecursionDetection())
 9960  10000   
        op.interceptors.addAll(config.interceptors)
 9961  10001   
        return op.roundTrip(client, input)
 9962  10002   
    }
 9963  10003   
       10004  +
    /**
       10005  +
     * Deletes a Transit Gateway attachment for a Client VPN endpoint. The Transit Gateway owner can delete the attachment to remove the association between the Client VPN endpoint and the Transit Gateway.
       10006  +
     */
       10007  +
    override suspend fun deleteTransitGatewayClientVpnAttachment(input: DeleteTransitGatewayClientVpnAttachmentRequest): DeleteTransitGatewayClientVpnAttachmentResponse {
       10008  +
        val op = SdkHttpOperation.build<DeleteTransitGatewayClientVpnAttachmentRequest, DeleteTransitGatewayClientVpnAttachmentResponse> {
       10009  +
            serializeWith = DeleteTransitGatewayClientVpnAttachmentOperationSerializer()
       10010  +
            deserializeWith = DeleteTransitGatewayClientVpnAttachmentOperationDeserializer()
       10011  +
            operationName = "DeleteTransitGatewayClientVpnAttachment"
       10012  +
            serviceName = ServiceId
       10013  +
            telemetry {
       10014  +
                provider = config.telemetryProvider
       10015  +
                scope = telemetryScope
       10016  +
                metrics = opMetrics
       10017  +
                attributes = attributesOf {
       10018  +
                    "rpc.system" to "aws-api"
       10019  +
                }
       10020  +
            }
       10021  +
            execution.auth = OperationAuthConfig(authSchemeAdapter, configuredAuthSchemes, identityProviderConfig)
       10022  +
            execution.endpointResolver = EndpointResolverAdapter(config)
       10023  +
            execution.retryStrategy = config.retryStrategy
       10024  +
            execution.retryPolicy = config.retryPolicy
       10025  +
        }
       10026  +
        mergeServiceDefaults(op.context)
       10027  +
        op.install(AwsRetryHeaderMiddleware())
       10028  +
        op.interceptors.add(AwsSpanInterceptor)
       10029  +
        op.interceptors.add(BusinessMetricsInterceptor())
       10030  +
        if (config.credentialsProvider is StaticCredentialsProvider) {
       10031  +
            op.context.emitBusinessMetric(AwsBusinessMetric.Credentials.CREDENTIALS_CODE)
       10032  +
        }
       10033  +
        op.install(
       10034  +
            MutateHeaders().apply {
       10035  +
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
       10036  +
            }
       10037  +
        )
       10038  +
        op.install(UserAgent(awsUserAgentMetadata))
       10039  +
        op.install(RecursionDetection())
       10040  +
        op.interceptors.addAll(config.interceptors)
       10041  +
        return op.roundTrip(client, input)
       10042  +
    }
       10043  +
 9964  10044   
    /**
 9965  10045   
     * Deletes the specified Connect attachment. You must first delete any Connect peers for the attachment.
 9966  10046   
     */
 9967  10047   
    override suspend fun deleteTransitGatewayConnect(input: DeleteTransitGatewayConnectRequest): DeleteTransitGatewayConnectResponse {
 9968  10048   
        val op = SdkHttpOperation.build<DeleteTransitGatewayConnectRequest, DeleteTransitGatewayConnectResponse> {
 9969  10049   
            serializeWith = DeleteTransitGatewayConnectOperationSerializer()
 9970  10050   
            deserializeWith = DeleteTransitGatewayConnectOperationDeserializer()
 9971  10051   
            operationName = "DeleteTransitGatewayConnect"
 9972  10052   
            serviceName = ServiceId
 9973  10053   
            telemetry {
@@ -22641,22721 +22700,22820 @@
22661  22741   
            MutateHeaders().apply {
22662  22742   
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
22663  22743   
            }
22664  22744   
        )
22665  22745   
        op.install(UserAgent(awsUserAgentMetadata))
22666  22746   
        op.install(RecursionDetection())
22667  22747   
        op.interceptors.addAll(config.interceptors)
22668  22748   
        return op.roundTrip(client, input)
22669  22749   
    }
22670  22750   
       22751  +
    /**
       22752  +
     * Retrieves the tag keys that are currently being monitored by EC2 Capacity Manager. Monitored tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values.
       22753  +
     */
       22754  +
    override suspend fun getCapacityManagerMonitoredTagKeys(input: GetCapacityManagerMonitoredTagKeysRequest): GetCapacityManagerMonitoredTagKeysResponse {
       22755  +
        val op = SdkHttpOperation.build<GetCapacityManagerMonitoredTagKeysRequest, GetCapacityManagerMonitoredTagKeysResponse> {
       22756  +
            serializeWith = GetCapacityManagerMonitoredTagKeysOperationSerializer()
       22757  +
            deserializeWith = GetCapacityManagerMonitoredTagKeysOperationDeserializer()
       22758  +
            operationName = "GetCapacityManagerMonitoredTagKeys"
       22759  +
            serviceName = ServiceId
       22760  +
            telemetry {
       22761  +
                provider = config.telemetryProvider
       22762  +
                scope = telemetryScope
       22763  +
                metrics = opMetrics
       22764  +
                attributes = attributesOf {
       22765  +
                    "rpc.system" to "aws-api"
       22766  +
                }
       22767  +
            }
       22768  +
            execution.auth = OperationAuthConfig(authSchemeAdapter, configuredAuthSchemes, identityProviderConfig)
       22769  +
            execution.endpointResolver = EndpointResolverAdapter(config)
       22770  +
            execution.retryStrategy = config.retryStrategy
       22771  +
            execution.retryPolicy = config.retryPolicy
       22772  +
        }
       22773  +
        mergeServiceDefaults(op.context)
       22774  +
        op.install(AwsRetryHeaderMiddleware())
       22775  +
        op.interceptors.add(AwsSpanInterceptor)
       22776  +
        op.interceptors.add(BusinessMetricsInterceptor())
       22777  +
        if (config.credentialsProvider is StaticCredentialsProvider) {
       22778  +
            op.context.emitBusinessMetric(AwsBusinessMetric.Credentials.CREDENTIALS_CODE)
       22779  +
        }
       22780  +
        op.install(
       22781  +
            MutateHeaders().apply {
       22782  +
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
       22783  +
            }
       22784  +
        )
       22785  +
        op.install(UserAgent(awsUserAgentMetadata))
       22786  +
        op.install(RecursionDetection())
       22787  +
        op.interceptors.addAll(config.interceptors)
       22788  +
        return op.roundTrip(client, input)
       22789  +
    }
       22790  +
22671  22791   
    /**
22672  22792   
     * Gets usage information about a Capacity Reservation. If the Capacity Reservation is shared, it shows usage information for the Capacity Reservation owner and each Amazon Web Services account that is currently using the shared capacity. If the Capacity Reservation is not shared, it shows only the Capacity Reservation owner's usage.
22673  22793   
     */
22674  22794   
    override suspend fun getCapacityReservationUsage(input: GetCapacityReservationUsageRequest): GetCapacityReservationUsageResponse {
22675  22795   
        val op = SdkHttpOperation.build<GetCapacityReservationUsageRequest, GetCapacityReservationUsageResponse> {
22676  22796   
            serializeWith = GetCapacityReservationUsageOperationSerializer()
22677  22797   
            deserializeWith = GetCapacityReservationUsageOperationDeserializer()
22678  22798   
            operationName = "GetCapacityReservationUsage"
22679  22799   
            serviceName = ServiceId
22680  22800   
            telemetry {
@@ -29698,29818 +29757,29917 @@
29718  29838   
            MutateHeaders().apply {
29719  29839   
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
29720  29840   
            }
29721  29841   
        )
29722  29842   
        op.install(UserAgent(awsUserAgentMetadata))
29723  29843   
        op.install(RecursionDetection())
29724  29844   
        op.interceptors.addAll(config.interceptors)
29725  29845   
        return op.roundTrip(client, input)
29726  29846   
    }
29727  29847   
       29848  +
    /**
       29849  +
     * Rejects a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner can reject the attachment request to prevent the Client VPN endpoint from routing traffic through the Transit Gateway.
       29850  +
     */
       29851  +
    override suspend fun rejectTransitGatewayClientVpnAttachment(input: RejectTransitGatewayClientVpnAttachmentRequest): RejectTransitGatewayClientVpnAttachmentResponse {
       29852  +
        val op = SdkHttpOperation.build<RejectTransitGatewayClientVpnAttachmentRequest, RejectTransitGatewayClientVpnAttachmentResponse> {
       29853  +
            serializeWith = RejectTransitGatewayClientVpnAttachmentOperationSerializer()
       29854  +
            deserializeWith = RejectTransitGatewayClientVpnAttachmentOperationDeserializer()
       29855  +
            operationName = "RejectTransitGatewayClientVpnAttachment"
       29856  +
            serviceName = ServiceId
       29857  +
            telemetry {
       29858  +
                provider = config.telemetryProvider
       29859  +
                scope = telemetryScope
       29860  +
                metrics = opMetrics
       29861  +
                attributes = attributesOf {
       29862  +
                    "rpc.system" to "aws-api"
       29863  +
                }
       29864  +
            }
       29865  +
            execution.auth = OperationAuthConfig(authSchemeAdapter, configuredAuthSchemes, identityProviderConfig)
       29866  +
            execution.endpointResolver = EndpointResolverAdapter(config)
       29867  +
            execution.retryStrategy = config.retryStrategy
       29868  +
            execution.retryPolicy = config.retryPolicy
       29869  +
        }
       29870  +
        mergeServiceDefaults(op.context)
       29871  +
        op.install(AwsRetryHeaderMiddleware())
       29872  +
        op.interceptors.add(AwsSpanInterceptor)
       29873  +
        op.interceptors.add(BusinessMetricsInterceptor())
       29874  +
        if (config.credentialsProvider is StaticCredentialsProvider) {
       29875  +
            op.context.emitBusinessMetric(AwsBusinessMetric.Credentials.CREDENTIALS_CODE)
       29876  +
        }
       29877  +
        op.install(
       29878  +
            MutateHeaders().apply {
       29879  +
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
       29880  +
            }
       29881  +
        )
       29882  +
        op.install(UserAgent(awsUserAgentMetadata))
       29883  +
        op.install(RecursionDetection())
       29884  +
        op.interceptors.addAll(config.interceptors)
       29885  +
        return op.roundTrip(client, input)
       29886  +
    }
       29887  +
29728  29888   
    /**
29729  29889   
     * Rejects a request to associate cross-account subnets with a transit gateway multicast domain.
29730  29890   
     */
29731  29891   
    override suspend fun rejectTransitGatewayMulticastDomainAssociations(input: RejectTransitGatewayMulticastDomainAssociationsRequest): RejectTransitGatewayMulticastDomainAssociationsResponse {
29732  29892   
        val op = SdkHttpOperation.build<RejectTransitGatewayMulticastDomainAssociationsRequest, RejectTransitGatewayMulticastDomainAssociationsResponse> {
29733  29893   
            serializeWith = RejectTransitGatewayMulticastDomainAssociationsOperationSerializer()
29734  29894   
            deserializeWith = RejectTransitGatewayMulticastDomainAssociationsOperationDeserializer()
29735  29895   
            operationName = "RejectTransitGatewayMulticastDomainAssociations"
29736  29896   
            serviceName = ServiceId
29737  29897   
            telemetry {
@@ -32075,32235 +32134,32334 @@
32095  32255   
            MutateHeaders().apply {
32096  32256   
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
32097  32257   
            }
32098  32258   
        )
32099  32259   
        op.install(UserAgent(awsUserAgentMetadata))
32100  32260   
        op.install(RecursionDetection())
32101  32261   
        op.interceptors.addAll(config.interceptors)
32102  32262   
        return op.roundTrip(client, input)
32103  32263   
    }
32104  32264   
       32265  +
    /**
       32266  +
     * Activates or deactivates tag keys for monitoring by EC2 Capacity Manager. Activated tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values.
       32267  +
     */
       32268  +
    override suspend fun updateCapacityManagerMonitoredTagKeys(input: UpdateCapacityManagerMonitoredTagKeysRequest): UpdateCapacityManagerMonitoredTagKeysResponse {
       32269  +
        val op = SdkHttpOperation.build<UpdateCapacityManagerMonitoredTagKeysRequest, UpdateCapacityManagerMonitoredTagKeysResponse> {
       32270  +
            serializeWith = UpdateCapacityManagerMonitoredTagKeysOperationSerializer()
       32271  +
            deserializeWith = UpdateCapacityManagerMonitoredTagKeysOperationDeserializer()
       32272  +
            operationName = "UpdateCapacityManagerMonitoredTagKeys"
       32273  +
            serviceName = ServiceId
       32274  +
            telemetry {
       32275  +
                provider = config.telemetryProvider
       32276  +
                scope = telemetryScope
       32277  +
                metrics = opMetrics
       32278  +
                attributes = attributesOf {
       32279  +
                    "rpc.system" to "aws-api"
       32280  +
                }
       32281  +
            }
       32282  +
            execution.auth = OperationAuthConfig(authSchemeAdapter, configuredAuthSchemes, identityProviderConfig)
       32283  +
            execution.endpointResolver = EndpointResolverAdapter(config)
       32284  +
            execution.retryStrategy = config.retryStrategy
       32285  +
            execution.retryPolicy = config.retryPolicy
       32286  +
        }
       32287  +
        mergeServiceDefaults(op.context)
       32288  +
        op.install(AwsRetryHeaderMiddleware())
       32289  +
        op.interceptors.add(AwsSpanInterceptor)
       32290  +
        op.interceptors.add(BusinessMetricsInterceptor())
       32291  +
        if (config.credentialsProvider is StaticCredentialsProvider) {
       32292  +
            op.context.emitBusinessMetric(AwsBusinessMetric.Credentials.CREDENTIALS_CODE)
       32293  +
        }
       32294  +
        op.install(
       32295  +
            MutateHeaders().apply {
       32296  +
                setIfMissing("Content-Type", "application/x-www-form-urlencoded")
       32297  +
            }
       32298  +
        )
       32299  +
        op.install(UserAgent(awsUserAgentMetadata))
       32300  +
        op.install(RecursionDetection())
       32301  +
        op.interceptors.addAll(config.interceptors)
       32302  +
        return op.roundTrip(client, input)
       32303  +
    }
       32304  +
32105  32305   
    /**
32106  32306   
     * Updates the Organizations access setting for EC2 Capacity Manager. This controls whether Capacity Manager can aggregate data from all accounts in your Amazon Web Services Organization or only from the current account.
32107  32307   
     */
32108  32308   
    override suspend fun updateCapacityManagerOrganizationsAccess(input: UpdateCapacityManagerOrganizationsAccessRequest): UpdateCapacityManagerOrganizationsAccessResponse {
32109  32309   
        val op = SdkHttpOperation.build<UpdateCapacityManagerOrganizationsAccessRequest, UpdateCapacityManagerOrganizationsAccessResponse> {
32110  32310   
            serializeWith = UpdateCapacityManagerOrganizationsAccessOperationSerializer()
32111  32311   
            deserializeWith = UpdateCapacityManagerOrganizationsAccessOperationDeserializer()
32112  32312   
            operationName = "UpdateCapacityManagerOrganizationsAccess"
32113  32313   
            serviceName = ServiceId
32114  32314   
            telemetry {

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

@@ -1,1 +56,58 @@
   17     17   
import aws.sdk.kotlin.services.ec2.auth.Ec2AuthSchemeProvider
   18     18   
import aws.sdk.kotlin.services.ec2.endpoints.DefaultEc2EndpointProvider
   19     19   
import aws.sdk.kotlin.services.ec2.endpoints.Ec2EndpointParameters
   20     20   
import aws.sdk.kotlin.services.ec2.endpoints.Ec2EndpointProvider
   21     21   
import aws.sdk.kotlin.services.ec2.model.AcceptAddressTransferRequest
   22     22   
import aws.sdk.kotlin.services.ec2.model.AcceptAddressTransferResponse
   23     23   
import aws.sdk.kotlin.services.ec2.model.AcceptCapacityReservationBillingOwnershipRequest
   24     24   
import aws.sdk.kotlin.services.ec2.model.AcceptCapacityReservationBillingOwnershipResponse
   25     25   
import aws.sdk.kotlin.services.ec2.model.AcceptReservedInstancesExchangeQuoteRequest
   26     26   
import aws.sdk.kotlin.services.ec2.model.AcceptReservedInstancesExchangeQuoteResponse
          27  +
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayClientVpnAttachmentRequest
          28  +
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayClientVpnAttachmentResponse
   27     29   
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayMulticastDomainAssociationsRequest
   28     30   
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayMulticastDomainAssociationsResponse
   29     31   
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayPeeringAttachmentRequest
   30     32   
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayPeeringAttachmentResponse
   31     33   
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayVpcAttachmentRequest
   32     34   
import aws.sdk.kotlin.services.ec2.model.AcceptTransitGatewayVpcAttachmentResponse
   33     35   
import aws.sdk.kotlin.services.ec2.model.AcceptVpcEndpointConnectionsRequest
   34     36   
import aws.sdk.kotlin.services.ec2.model.AcceptVpcEndpointConnectionsResponse
   35     37   
import aws.sdk.kotlin.services.ec2.model.AcceptVpcPeeringConnectionRequest
   36     38   
import aws.sdk.kotlin.services.ec2.model.AcceptVpcPeeringConnectionResponse
@@ -447,449 +506,510 @@
  467    469   
import aws.sdk.kotlin.services.ec2.model.DeleteTagsRequest
  468    470   
import aws.sdk.kotlin.services.ec2.model.DeleteTagsResponse
  469    471   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorFilterRequest
  470    472   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorFilterResponse
  471    473   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorFilterRuleRequest
  472    474   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorFilterRuleResponse
  473    475   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorSessionRequest
  474    476   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorSessionResponse
  475    477   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorTargetRequest
  476    478   
import aws.sdk.kotlin.services.ec2.model.DeleteTrafficMirrorTargetResponse
         479  +
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayClientVpnAttachmentRequest
         480  +
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayClientVpnAttachmentResponse
  477    481   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayConnectPeerRequest
  478    482   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayConnectPeerResponse
  479    483   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayConnectRequest
  480    484   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayConnectResponse
  481    485   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayMeteringPolicyEntryRequest
  482    486   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayMeteringPolicyEntryResponse
  483    487   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayMeteringPolicyRequest
  484    488   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayMeteringPolicyResponse
  485    489   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayMulticastDomainRequest
  486    490   
import aws.sdk.kotlin.services.ec2.model.DeleteTransitGatewayMulticastDomainResponse
@@ -1053,1057 +1112,1118 @@
 1073   1077   
import aws.sdk.kotlin.services.ec2.model.GetAssociatedIpv6PoolCidrsRequest
 1074   1078   
import aws.sdk.kotlin.services.ec2.model.GetAssociatedIpv6PoolCidrsResponse
 1075   1079   
import aws.sdk.kotlin.services.ec2.model.GetAwsNetworkPerformanceDataRequest
 1076   1080   
import aws.sdk.kotlin.services.ec2.model.GetAwsNetworkPerformanceDataResponse
 1077   1081   
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerAttributesRequest
 1078   1082   
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerAttributesResponse
 1079   1083   
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerMetricDataRequest
 1080   1084   
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerMetricDataResponse
 1081   1085   
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerMetricDimensionsRequest
 1082   1086   
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerMetricDimensionsResponse
        1087  +
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerMonitoredTagKeysRequest
        1088  +
import aws.sdk.kotlin.services.ec2.model.GetCapacityManagerMonitoredTagKeysResponse
 1083   1089   
import aws.sdk.kotlin.services.ec2.model.GetCapacityReservationUsageRequest
 1084   1090   
import aws.sdk.kotlin.services.ec2.model.GetCapacityReservationUsageResponse
 1085   1091   
import aws.sdk.kotlin.services.ec2.model.GetCoipPoolUsageRequest
 1086   1092   
import aws.sdk.kotlin.services.ec2.model.GetCoipPoolUsageResponse
 1087   1093   
import aws.sdk.kotlin.services.ec2.model.GetConsoleOutputRequest
 1088   1094   
import aws.sdk.kotlin.services.ec2.model.GetConsoleOutputResponse
 1089   1095   
import aws.sdk.kotlin.services.ec2.model.GetConsoleScreenshotRequest
 1090   1096   
import aws.sdk.kotlin.services.ec2.model.GetConsoleScreenshotResponse
 1091   1097   
import aws.sdk.kotlin.services.ec2.model.GetDeclarativePoliciesReportSummaryRequest
 1092   1098   
import aws.sdk.kotlin.services.ec2.model.GetDeclarativePoliciesReportSummaryResponse
@@ -1385,1391 +1444,1452 @@
 1405   1411   
import aws.sdk.kotlin.services.ec2.model.RegisterImageRequest
 1406   1412   
import aws.sdk.kotlin.services.ec2.model.RegisterImageResponse
 1407   1413   
import aws.sdk.kotlin.services.ec2.model.RegisterInstanceEventNotificationAttributesRequest
 1408   1414   
import aws.sdk.kotlin.services.ec2.model.RegisterInstanceEventNotificationAttributesResponse
 1409   1415   
import aws.sdk.kotlin.services.ec2.model.RegisterTransitGatewayMulticastGroupMembersRequest
 1410   1416   
import aws.sdk.kotlin.services.ec2.model.RegisterTransitGatewayMulticastGroupMembersResponse
 1411   1417   
import aws.sdk.kotlin.services.ec2.model.RegisterTransitGatewayMulticastGroupSourcesRequest
 1412   1418   
import aws.sdk.kotlin.services.ec2.model.RegisterTransitGatewayMulticastGroupSourcesResponse
 1413   1419   
import aws.sdk.kotlin.services.ec2.model.RejectCapacityReservationBillingOwnershipRequest
 1414   1420   
import aws.sdk.kotlin.services.ec2.model.RejectCapacityReservationBillingOwnershipResponse
        1421  +
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayClientVpnAttachmentRequest
        1422  +
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayClientVpnAttachmentResponse
 1415   1423   
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayMulticastDomainAssociationsRequest
 1416   1424   
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayMulticastDomainAssociationsResponse
 1417   1425   
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayPeeringAttachmentRequest
 1418   1426   
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayPeeringAttachmentResponse
 1419   1427   
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayVpcAttachmentRequest
 1420   1428   
import aws.sdk.kotlin.services.ec2.model.RejectTransitGatewayVpcAttachmentResponse
 1421   1429   
import aws.sdk.kotlin.services.ec2.model.RejectVpcEndpointConnectionsRequest
 1422   1430   
import aws.sdk.kotlin.services.ec2.model.RejectVpcEndpointConnectionsResponse
 1423   1431   
import aws.sdk.kotlin.services.ec2.model.RejectVpcPeeringConnectionRequest
 1424   1432   
import aws.sdk.kotlin.services.ec2.model.RejectVpcPeeringConnectionResponse
@@ -1493,1501 +1600,1610 @@
 1513   1521   
import aws.sdk.kotlin.services.ec2.model.UnassignIpv6AddressesRequest
 1514   1522   
import aws.sdk.kotlin.services.ec2.model.UnassignIpv6AddressesResponse
 1515   1523   
import aws.sdk.kotlin.services.ec2.model.UnassignPrivateIpAddressesRequest
 1516   1524   
import aws.sdk.kotlin.services.ec2.model.UnassignPrivateIpAddressesResponse
 1517   1525   
import aws.sdk.kotlin.services.ec2.model.UnassignPrivateNatGatewayAddressRequest
 1518   1526   
import aws.sdk.kotlin.services.ec2.model.UnassignPrivateNatGatewayAddressResponse
 1519   1527   
import aws.sdk.kotlin.services.ec2.model.UnlockSnapshotRequest
 1520   1528   
import aws.sdk.kotlin.services.ec2.model.UnlockSnapshotResponse
 1521   1529   
import aws.sdk.kotlin.services.ec2.model.UnmonitorInstancesRequest
 1522   1530   
import aws.sdk.kotlin.services.ec2.model.UnmonitorInstancesResponse
        1531  +
import aws.sdk.kotlin.services.ec2.model.UpdateCapacityManagerMonitoredTagKeysRequest
        1532  +
import aws.sdk.kotlin.services.ec2.model.UpdateCapacityManagerMonitoredTagKeysResponse
 1523   1533   
import aws.sdk.kotlin.services.ec2.model.UpdateCapacityManagerOrganizationsAccessRequest
 1524   1534   
import aws.sdk.kotlin.services.ec2.model.UpdateCapacityManagerOrganizationsAccessResponse
 1525   1535   
import aws.sdk.kotlin.services.ec2.model.UpdateInterruptibleCapacityReservationAllocationRequest
 1526   1536   
import aws.sdk.kotlin.services.ec2.model.UpdateInterruptibleCapacityReservationAllocationResponse
 1527   1537   
import aws.sdk.kotlin.services.ec2.model.UpdateSecurityGroupRuleDescriptionsEgressRequest
 1528   1538   
import aws.sdk.kotlin.services.ec2.model.UpdateSecurityGroupRuleDescriptionsEgressResponse
 1529   1539   
import aws.sdk.kotlin.services.ec2.model.UpdateSecurityGroupRuleDescriptionsIngressRequest
 1530   1540   
import aws.sdk.kotlin.services.ec2.model.UpdateSecurityGroupRuleDescriptionsIngressResponse
 1531   1541   
import aws.sdk.kotlin.services.ec2.model.WithdrawByoipCidrRequest
 1532   1542   
import aws.sdk.kotlin.services.ec2.model.WithdrawByoipCidrResponse
 1533   1543   
import aws.smithy.kotlin.runtime.auth.AuthSchemeId
 1534   1544   
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProvider
 1535   1545   
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProviderConfig
 1536   1546   
import aws.smithy.kotlin.runtime.awsprotocol.ClockSkewInterceptor
 1537   1547   
import aws.smithy.kotlin.runtime.client.AbstractSdkClientBuilder
 1538   1548   
import aws.smithy.kotlin.runtime.client.AbstractSdkClientFactory
 1539   1549   
import aws.smithy.kotlin.runtime.client.IdempotencyTokenConfig
 1540   1550   
import aws.smithy.kotlin.runtime.client.IdempotencyTokenProvider
 1541   1551   
import aws.smithy.kotlin.runtime.client.LogMode
 1542   1552   
import aws.smithy.kotlin.runtime.client.RetryClientConfig
 1543   1553   
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfig
 1544   1554   
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfigImpl
 1545   1555   
import aws.smithy.kotlin.runtime.client.SdkClient
 1546   1556   
import aws.smithy.kotlin.runtime.client.SdkClientConfig
 1547   1557   
import aws.smithy.kotlin.runtime.client.region.RegionProvider
 1548   1558   
import aws.smithy.kotlin.runtime.http.auth.AuthScheme
 1549   1559   
import aws.smithy.kotlin.runtime.http.auth.HttpAuthConfig
 1550   1560   
import aws.smithy.kotlin.runtime.http.config.HttpClientConfig
 1551   1561   
import aws.smithy.kotlin.runtime.http.config.HttpEngineConfig
 1552   1562   
import aws.smithy.kotlin.runtime.http.config.TimeoutConfig
 1553   1563   
import aws.smithy.kotlin.runtime.http.engine.HttpClientEngine
 1554   1564   
import aws.smithy.kotlin.runtime.http.engine.HttpEngineConfigImpl
 1555   1565   
import aws.smithy.kotlin.runtime.http.interceptors.HttpInterceptor
 1556   1566   
import aws.smithy.kotlin.runtime.net.url.Url
 1557   1567   
import aws.smithy.kotlin.runtime.retries.RetryStrategy
 1558   1568   
import aws.smithy.kotlin.runtime.retries.policy.RetryPolicy
 1559   1569   
import aws.smithy.kotlin.runtime.telemetry.Global
 1560   1570   
import aws.smithy.kotlin.runtime.telemetry.TelemetryConfig
 1561   1571   
import aws.smithy.kotlin.runtime.telemetry.TelemetryProvider
 1562   1572   
import aws.smithy.kotlin.runtime.util.LazyAsyncValue
 1563   1573   
import kotlin.collections.List
 1564   1574   
import kotlin.jvm.JvmStatic
 1565   1575   
import kotlin.time.Duration
 1566   1576   
import kotlinx.coroutines.runBlocking
 1567   1577   
 1568   1578   
 1569   1579   
public const val ServiceId: String = "EC2"
 1570         -
public const val SdkVersion: String = "1.6.48-SNAPSHOT"
        1580  +
public const val SdkVersion: String = "1.6.61-SNAPSHOT"
 1571   1581   
public const val ServiceApiVersion: String = "2016-11-15"
 1572   1582   
 1573   1583   
/**
 1574   1584   
 * # Amazon Elastic Compute Cloud
 1575   1585   
 * You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information, see the [Amazon EC2 Developer Guide](https://docs.aws.amazon.com/ec2/latest/devguide).
 1576   1586   
 */
 1577   1587   
public interface Ec2Client : SdkClient {
 1578   1588   
    /**
 1579   1589   
     * Ec2Client's configuration
 1580   1590   
     */
@@ -1799,1809 +1858,1873 @@
 1819   1829   
    /**
 1820   1830   
     * Accepts a request to assign billing of the available capacity of a shared Capacity Reservation to your account. For more information, see [ Billing assignment for shared Amazon EC2 Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html).
 1821   1831   
     */
 1822   1832   
    public suspend fun acceptCapacityReservationBillingOwnership(input: AcceptCapacityReservationBillingOwnershipRequest): AcceptCapacityReservationBillingOwnershipResponse
 1823   1833   
 1824   1834   
    /**
 1825   1835   
     * Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.
 1826   1836   
     */
 1827   1837   
    public suspend fun acceptReservedInstancesExchangeQuote(input: AcceptReservedInstancesExchangeQuoteRequest): AcceptReservedInstancesExchangeQuoteResponse
 1828   1838   
        1839  +
    /**
        1840  +
     * Accepts a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner must accept the attachment request before the Client VPN endpoint can route traffic through the Transit Gateway.
        1841  +
     */
        1842  +
    public suspend fun acceptTransitGatewayClientVpnAttachment(input: AcceptTransitGatewayClientVpnAttachmentRequest): AcceptTransitGatewayClientVpnAttachmentResponse
        1843  +
 1829   1844   
    /**
 1830   1845   
     * Accepts a request to associate subnets with a transit gateway multicast domain.
 1831   1846   
     */
 1832   1847   
    public suspend fun acceptTransitGatewayMulticastDomainAssociations(input: AcceptTransitGatewayMulticastDomainAssociationsRequest = AcceptTransitGatewayMulticastDomainAssociationsRequest { }): AcceptTransitGatewayMulticastDomainAssociationsResponse
 1833   1848   
 1834   1849   
    /**
 1835   1850   
     * Accepts a transit gateway peering attachment request. The peering attachment must be in the `pendingAcceptance` state.
 1836   1851   
     */
 1837   1852   
    public suspend fun acceptTransitGatewayPeeringAttachment(input: AcceptTransitGatewayPeeringAttachmentRequest): AcceptTransitGatewayPeeringAttachmentResponse
 1838   1853   
@@ -2163,2178 +2223,2238 @@
 2183   2198   
     * @sample aws.sdk.kotlin.services.ec2.samples.AuthorizeSecurityGroupIngress.sample2
 2184   2199   
     * @sample aws.sdk.kotlin.services.ec2.samples.AuthorizeSecurityGroupIngress.sample3
 2185   2200   
     */
 2186   2201   
    public suspend fun authorizeSecurityGroupIngress(input: AuthorizeSecurityGroupIngressRequest = AuthorizeSecurityGroupIngressRequest { }): AuthorizeSecurityGroupIngressResponse
 2187   2202   
 2188   2203   
    /**
 2189   2204   
     * Bundles an Amazon instance store-backed Windows instance.
 2190   2205   
     *
 2191   2206   
     * During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved.
 2192   2207   
     *
 2193         -
     * This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
        2208  +
     * This action is no longer supported. To create an AMI, use [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). For more information, see [ Create an Amazon EBS-backed AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html) in the *Amazon EC2 User Guide*.
 2194   2209   
     */
 2195   2210   
    public suspend fun bundleInstance(input: BundleInstanceRequest): BundleInstanceResponse
 2196   2211   
 2197   2212   
    /**
 2198   2213   
     * Cancels a bundling operation for an instance store-backed Windows instance.
 2199   2214   
     */
 2200   2215   
    public suspend fun cancelBundleTask(input: CancelBundleTaskRequest): CancelBundleTaskResponse
 2201   2216   
 2202   2217   
    /**
 2203   2218   
     * Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to `cancelled`.
@@ -3668,3683 +3727,3747 @@
 3688   3703   
     *
 3689   3704   
     * You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session.
 3690   3705   
     */
 3691   3706   
    public suspend fun deleteTrafficMirrorTarget(input: DeleteTrafficMirrorTargetRequest): DeleteTrafficMirrorTargetResponse
 3692   3707   
 3693   3708   
    /**
 3694   3709   
     * Deletes the specified transit gateway.
 3695   3710   
     */
 3696   3711   
    public suspend fun deleteTransitGateway(input: DeleteTransitGatewayRequest): DeleteTransitGatewayResponse
 3697   3712   
        3713  +
    /**
        3714  +
     * Deletes a Transit Gateway attachment for a Client VPN endpoint. The Transit Gateway owner can delete the attachment to remove the association between the Client VPN endpoint and the Transit Gateway.
        3715  +
     */
        3716  +
    public suspend fun deleteTransitGatewayClientVpnAttachment(input: DeleteTransitGatewayClientVpnAttachmentRequest): DeleteTransitGatewayClientVpnAttachmentResponse
        3717  +
 3698   3718   
    /**
 3699   3719   
     * Deletes the specified Connect attachment. You must first delete any Connect peers for the attachment.
 3700   3720   
     */
 3701   3721   
    public suspend fun deleteTransitGatewayConnect(input: DeleteTransitGatewayConnectRequest): DeleteTransitGatewayConnectResponse
 3702   3722   
 3703   3723   
    /**
 3704   3724   
     * Deletes the specified Connect peer.
 3705   3725   
     */
 3706   3726   
    public suspend fun deleteTransitGatewayConnectPeer(input: DeleteTransitGatewayConnectPeerRequest): DeleteTransitGatewayConnectPeerResponse
 3707   3727   
@@ -5805,5825 +5864,5889 @@
 5825   5845   
    /**
 5826   5846   
     * Retrieves capacity usage metrics for your EC2 resources. Returns time-series data for metrics like unused capacity, utilization rates, and costs across On-Demand, Spot, and Capacity Reservations. Data can be grouped and filtered by various dimensions such as region, account, and instance family.
 5827   5847   
     */
 5828   5848   
    public suspend fun getCapacityManagerMetricData(input: GetCapacityManagerMetricDataRequest): GetCapacityManagerMetricDataResponse
 5829   5849   
 5830   5850   
    /**
 5831   5851   
     * Retrieves the available dimension values for capacity metrics within a specified time range. This is useful for discovering what accounts, regions, instance families, and other dimensions have data available for filtering and grouping.
 5832   5852   
     */
 5833   5853   
    public suspend fun getCapacityManagerMetricDimensions(input: GetCapacityManagerMetricDimensionsRequest): GetCapacityManagerMetricDimensionsResponse
 5834   5854   
        5855  +
    /**
        5856  +
     * Retrieves the tag keys that are currently being monitored by EC2 Capacity Manager. Monitored tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values.
        5857  +
     */
        5858  +
    public suspend fun getCapacityManagerMonitoredTagKeys(input: GetCapacityManagerMonitoredTagKeysRequest = GetCapacityManagerMonitoredTagKeysRequest { }): GetCapacityManagerMonitoredTagKeysResponse
        5859  +
 5835   5860   
    /**
 5836   5861   
     * Gets usage information about a Capacity Reservation. If the Capacity Reservation is shared, it shows usage information for the Capacity Reservation owner and each Amazon Web Services account that is currently using the shared capacity. If the Capacity Reservation is not shared, it shows only the Capacity Reservation owner's usage.
 5837   5862   
     */
 5838   5863   
    public suspend fun getCapacityReservationUsage(input: GetCapacityReservationUsageRequest): GetCapacityReservationUsageResponse
 5839   5864   
 5840   5865   
    /**
 5841   5866   
     * Describes the allocations from the specified customer-owned address pool.
 5842   5867   
     */
 5843   5868   
    public suspend fun getCoipPoolUsage(input: GetCoipPoolUsageRequest): GetCoipPoolUsageResponse
 5844   5869   
@@ -7052,7077 +7111,7141 @@
 7072   7097   
     *
 7073   7098   
     * After you add the source, use [SearchTransitGatewayMulticastGroups](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SearchTransitGatewayMulticastGroups.html) to verify that the source was added to the multicast group.
 7074   7099   
     */
 7075   7100   
    public suspend fun registerTransitGatewayMulticastGroupSources(input: RegisterTransitGatewayMulticastGroupSourcesRequest): RegisterTransitGatewayMulticastGroupSourcesResponse
 7076   7101   
 7077   7102   
    /**
 7078   7103   
     * Rejects a request to assign billing of the available capacity of a shared Capacity Reservation to your account. For more information, see [ Billing assignment for shared Amazon EC2 Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html).
 7079   7104   
     */
 7080   7105   
    public suspend fun rejectCapacityReservationBillingOwnership(input: RejectCapacityReservationBillingOwnershipRequest): RejectCapacityReservationBillingOwnershipResponse
 7081   7106   
        7107  +
    /**
        7108  +
     * Rejects a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner can reject the attachment request to prevent the Client VPN endpoint from routing traffic through the Transit Gateway.
        7109  +
     */
        7110  +
    public suspend fun rejectTransitGatewayClientVpnAttachment(input: RejectTransitGatewayClientVpnAttachmentRequest): RejectTransitGatewayClientVpnAttachmentResponse
        7111  +
 7082   7112   
    /**
 7083   7113   
     * Rejects a request to associate cross-account subnets with a transit gateway multicast domain.
 7084   7114   
     */
 7085   7115   
    public suspend fun rejectTransitGatewayMulticastDomainAssociations(input: RejectTransitGatewayMulticastDomainAssociationsRequest = RejectTransitGatewayMulticastDomainAssociationsRequest { }): RejectTransitGatewayMulticastDomainAssociationsResponse
 7086   7116   
 7087   7117   
    /**
 7088   7118   
     * Rejects a transit gateway peering attachment request.
 7089   7119   
     */
 7090   7120   
    public suspend fun rejectTransitGatewayPeeringAttachment(input: RejectTransitGatewayPeeringAttachmentRequest): RejectTransitGatewayPeeringAttachmentResponse
 7091   7121   
@@ -7539,7569 +7598,7633 @@
 7559   7589   
    /**
 7560   7590   
     * Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance mode after the cooling-off period has expired.
 7561   7591   
     */
 7562   7592   
    public suspend fun unlockSnapshot(input: UnlockSnapshotRequest): UnlockSnapshotResponse
 7563   7593   
 7564   7594   
    /**
 7565   7595   
     * Disables detailed monitoring for a running instance. For more information, see [Monitoring your instances and volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html) in the *Amazon EC2 User Guide*.
 7566   7596   
     */
 7567   7597   
    public suspend fun unmonitorInstances(input: UnmonitorInstancesRequest): UnmonitorInstancesResponse
 7568   7598   
        7599  +
    /**
        7600  +
     * Activates or deactivates tag keys for monitoring by EC2 Capacity Manager. Activated tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values.
        7601  +
     */
        7602  +
    public suspend fun updateCapacityManagerMonitoredTagKeys(input: UpdateCapacityManagerMonitoredTagKeysRequest = UpdateCapacityManagerMonitoredTagKeysRequest { }): UpdateCapacityManagerMonitoredTagKeysResponse
        7603  +
 7569   7604   
    /**
 7570   7605   
     * Updates the Organizations access setting for EC2 Capacity Manager. This controls whether Capacity Manager can aggregate data from all accounts in your Amazon Web Services Organization or only from the current account.
 7571   7606   
     */
 7572   7607   
    public suspend fun updateCapacityManagerOrganizationsAccess(input: UpdateCapacityManagerOrganizationsAccessRequest): UpdateCapacityManagerOrganizationsAccessResponse
 7573   7608   
 7574   7609   
    /**
 7575   7610   
     * Modifies the number of instances allocated to an interruptible reservation, allowing you to add more capacity or reclaim capacity to your source Capacity Reservation.
 7576   7611   
     */
 7577   7612   
    public suspend fun updateInterruptibleCapacityReservationAllocation(input: UpdateInterruptibleCapacityReservationAllocationRequest): UpdateInterruptibleCapacityReservationAllocationResponse
 7578   7613   
@@ -7600,7635 +7659,7699 @@
 7620   7655   
/**
 7621   7656   
 * Accepts a request to assign billing of the available capacity of a shared Capacity Reservation to your account. For more information, see [ Billing assignment for shared Amazon EC2 Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html).
 7622   7657   
 */
 7623   7658   
public suspend inline fun Ec2Client.acceptCapacityReservationBillingOwnership(crossinline block: AcceptCapacityReservationBillingOwnershipRequest.Builder.() -> Unit): AcceptCapacityReservationBillingOwnershipResponse = acceptCapacityReservationBillingOwnership(AcceptCapacityReservationBillingOwnershipRequest.Builder().apply(block).build())
 7624   7659   
 7625   7660   
/**
 7626   7661   
 * Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.
 7627   7662   
 */
 7628   7663   
public suspend inline fun Ec2Client.acceptReservedInstancesExchangeQuote(crossinline block: AcceptReservedInstancesExchangeQuoteRequest.Builder.() -> Unit): AcceptReservedInstancesExchangeQuoteResponse = acceptReservedInstancesExchangeQuote(AcceptReservedInstancesExchangeQuoteRequest.Builder().apply(block).build())
 7629   7664   
        7665  +
/**
        7666  +
 * Accepts a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner must accept the attachment request before the Client VPN endpoint can route traffic through the Transit Gateway.
        7667  +
 */
        7668  +
public suspend inline fun Ec2Client.acceptTransitGatewayClientVpnAttachment(crossinline block: AcceptTransitGatewayClientVpnAttachmentRequest.Builder.() -> Unit): AcceptTransitGatewayClientVpnAttachmentResponse = acceptTransitGatewayClientVpnAttachment(AcceptTransitGatewayClientVpnAttachmentRequest.Builder().apply(block).build())
        7669  +
 7630   7670   
/**
 7631   7671   
 * Accepts a request to associate subnets with a transit gateway multicast domain.
 7632   7672   
 */
 7633   7673   
public suspend inline fun Ec2Client.acceptTransitGatewayMulticastDomainAssociations(crossinline block: AcceptTransitGatewayMulticastDomainAssociationsRequest.Builder.() -> Unit): AcceptTransitGatewayMulticastDomainAssociationsResponse = acceptTransitGatewayMulticastDomainAssociations(AcceptTransitGatewayMulticastDomainAssociationsRequest.Builder().apply(block).build())
 7634   7674   
 7635   7675   
/**
 7636   7676   
 * Accepts a transit gateway peering attachment request. The peering attachment must be in the `pendingAcceptance` state.
 7637   7677   
 */
 7638   7678   
public suspend inline fun Ec2Client.acceptTransitGatewayPeeringAttachment(crossinline block: AcceptTransitGatewayPeeringAttachmentRequest.Builder.() -> Unit): AcceptTransitGatewayPeeringAttachmentResponse = acceptTransitGatewayPeeringAttachment(AcceptTransitGatewayPeeringAttachmentRequest.Builder().apply(block).build())
 7639   7679   
@@ -7964,8004 +8024,8064 @@
 7984   8024   
 * @sample aws.sdk.kotlin.services.ec2.samples.AuthorizeSecurityGroupIngress.sample2
 7985   8025   
 * @sample aws.sdk.kotlin.services.ec2.samples.AuthorizeSecurityGroupIngress.sample3
 7986   8026   
 */
 7987   8027   
public suspend inline fun Ec2Client.authorizeSecurityGroupIngress(crossinline block: AuthorizeSecurityGroupIngressRequest.Builder.() -> Unit): AuthorizeSecurityGroupIngressResponse = authorizeSecurityGroupIngress(AuthorizeSecurityGroupIngressRequest.Builder().apply(block).build())
 7988   8028   
 7989   8029   
/**
 7990   8030   
 * Bundles an Amazon instance store-backed Windows instance.
 7991   8031   
 *
 7992   8032   
 * During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved.
 7993   8033   
 *
 7994         -
 * This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
        8034  +
 * This action is no longer supported. To create an AMI, use [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). For more information, see [ Create an Amazon EBS-backed AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html) in the *Amazon EC2 User Guide*.
 7995   8035   
 */
 7996   8036   
public suspend inline fun Ec2Client.bundleInstance(crossinline block: BundleInstanceRequest.Builder.() -> Unit): BundleInstanceResponse = bundleInstance(BundleInstanceRequest.Builder().apply(block).build())
 7997   8037   
 7998   8038   
/**
 7999   8039   
 * Cancels a bundling operation for an instance store-backed Windows instance.
 8000   8040   
 */
 8001   8041   
public suspend inline fun Ec2Client.cancelBundleTask(crossinline block: CancelBundleTaskRequest.Builder.() -> Unit): CancelBundleTaskResponse = cancelBundleTask(CancelBundleTaskRequest.Builder().apply(block).build())
 8002   8042   
 8003   8043   
/**
 8004   8044   
 * Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to `cancelled`.
@@ -9469,9509 +9528,9573 @@
 9489   9529   
 *
 9490   9530   
 * You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session.
 9491   9531   
 */
 9492   9532   
public suspend inline fun Ec2Client.deleteTrafficMirrorTarget(crossinline block: DeleteTrafficMirrorTargetRequest.Builder.() -> Unit): DeleteTrafficMirrorTargetResponse = deleteTrafficMirrorTarget(DeleteTrafficMirrorTargetRequest.Builder().apply(block).build())
 9493   9533   
 9494   9534   
/**
 9495   9535   
 * Deletes the specified transit gateway.
 9496   9536   
 */
 9497   9537   
public suspend inline fun Ec2Client.deleteTransitGateway(crossinline block: DeleteTransitGatewayRequest.Builder.() -> Unit): DeleteTransitGatewayResponse = deleteTransitGateway(DeleteTransitGatewayRequest.Builder().apply(block).build())
 9498   9538   
        9539  +
/**
        9540  +
 * Deletes a Transit Gateway attachment for a Client VPN endpoint. The Transit Gateway owner can delete the attachment to remove the association between the Client VPN endpoint and the Transit Gateway.
        9541  +
 */
        9542  +
public suspend inline fun Ec2Client.deleteTransitGatewayClientVpnAttachment(crossinline block: DeleteTransitGatewayClientVpnAttachmentRequest.Builder.() -> Unit): DeleteTransitGatewayClientVpnAttachmentResponse = deleteTransitGatewayClientVpnAttachment(DeleteTransitGatewayClientVpnAttachmentRequest.Builder().apply(block).build())
        9543  +
 9499   9544   
/**
 9500   9545   
 * Deletes the specified Connect attachment. You must first delete any Connect peers for the attachment.
 9501   9546   
 */
 9502   9547   
public suspend inline fun Ec2Client.deleteTransitGatewayConnect(crossinline block: DeleteTransitGatewayConnectRequest.Builder.() -> Unit): DeleteTransitGatewayConnectResponse = deleteTransitGatewayConnect(DeleteTransitGatewayConnectRequest.Builder().apply(block).build())
 9503   9548   
 9504   9549   
/**
 9505   9550   
 * Deletes the specified Connect peer.
 9506   9551   
 */
 9507   9552   
public suspend inline fun Ec2Client.deleteTransitGatewayConnectPeer(crossinline block: DeleteTransitGatewayConnectPeerRequest.Builder.() -> Unit): DeleteTransitGatewayConnectPeerResponse = deleteTransitGatewayConnectPeer(DeleteTransitGatewayConnectPeerRequest.Builder().apply(block).build())
 9508   9553   
@@ -11606,11651 +11665,11715 @@
11626  11671   
/**
11627  11672   
 * Retrieves capacity usage metrics for your EC2 resources. Returns time-series data for metrics like unused capacity, utilization rates, and costs across On-Demand, Spot, and Capacity Reservations. Data can be grouped and filtered by various dimensions such as region, account, and instance family.
11628  11673   
 */
11629  11674   
public suspend inline fun Ec2Client.getCapacityManagerMetricData(crossinline block: GetCapacityManagerMetricDataRequest.Builder.() -> Unit): GetCapacityManagerMetricDataResponse = getCapacityManagerMetricData(GetCapacityManagerMetricDataRequest.Builder().apply(block).build())
11630  11675   
11631  11676   
/**
11632  11677   
 * Retrieves the available dimension values for capacity metrics within a specified time range. This is useful for discovering what accounts, regions, instance families, and other dimensions have data available for filtering and grouping.
11633  11678   
 */
11634  11679   
public suspend inline fun Ec2Client.getCapacityManagerMetricDimensions(crossinline block: GetCapacityManagerMetricDimensionsRequest.Builder.() -> Unit): GetCapacityManagerMetricDimensionsResponse = getCapacityManagerMetricDimensions(GetCapacityManagerMetricDimensionsRequest.Builder().apply(block).build())
11635  11680   
       11681  +
/**
       11682  +
 * Retrieves the tag keys that are currently being monitored by EC2 Capacity Manager. Monitored tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values.
       11683  +
 */
       11684  +
public suspend inline fun Ec2Client.getCapacityManagerMonitoredTagKeys(crossinline block: GetCapacityManagerMonitoredTagKeysRequest.Builder.() -> Unit): GetCapacityManagerMonitoredTagKeysResponse = getCapacityManagerMonitoredTagKeys(GetCapacityManagerMonitoredTagKeysRequest.Builder().apply(block).build())
       11685  +
11636  11686   
/**
11637  11687   
 * Gets usage information about a Capacity Reservation. If the Capacity Reservation is shared, it shows usage information for the Capacity Reservation owner and each Amazon Web Services account that is currently using the shared capacity. If the Capacity Reservation is not shared, it shows only the Capacity Reservation owner's usage.
11638  11688   
 */
11639  11689   
public suspend inline fun Ec2Client.getCapacityReservationUsage(crossinline block: GetCapacityReservationUsageRequest.Builder.() -> Unit): GetCapacityReservationUsageResponse = getCapacityReservationUsage(GetCapacityReservationUsageRequest.Builder().apply(block).build())
11640  11690   
11641  11691   
/**
11642  11692   
 * Describes the allocations from the specified customer-owned address pool.
11643  11693   
 */
11644  11694   
public suspend inline fun Ec2Client.getCoipPoolUsage(crossinline block: GetCoipPoolUsageRequest.Builder.() -> Unit): GetCoipPoolUsageResponse = getCoipPoolUsage(GetCoipPoolUsageRequest.Builder().apply(block).build())
11645  11695   
@@ -12853,12903 +12912,12967 @@
12873  12923   
 *
12874  12924   
 * After you add the source, use [SearchTransitGatewayMulticastGroups](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SearchTransitGatewayMulticastGroups.html) to verify that the source was added to the multicast group.
12875  12925   
 */
12876  12926   
public suspend inline fun Ec2Client.registerTransitGatewayMulticastGroupSources(crossinline block: RegisterTransitGatewayMulticastGroupSourcesRequest.Builder.() -> Unit): RegisterTransitGatewayMulticastGroupSourcesResponse = registerTransitGatewayMulticastGroupSources(RegisterTransitGatewayMulticastGroupSourcesRequest.Builder().apply(block).build())
12877  12927   
12878  12928   
/**
12879  12929   
 * Rejects a request to assign billing of the available capacity of a shared Capacity Reservation to your account. For more information, see [ Billing assignment for shared Amazon EC2 Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html).
12880  12930   
 */
12881  12931   
public suspend inline fun Ec2Client.rejectCapacityReservationBillingOwnership(crossinline block: RejectCapacityReservationBillingOwnershipRequest.Builder.() -> Unit): RejectCapacityReservationBillingOwnershipResponse = rejectCapacityReservationBillingOwnership(RejectCapacityReservationBillingOwnershipRequest.Builder().apply(block).build())
12882  12932   
       12933  +
/**
       12934  +
 * Rejects a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner can reject the attachment request to prevent the Client VPN endpoint from routing traffic through the Transit Gateway.
       12935  +
 */
       12936  +
public suspend inline fun Ec2Client.rejectTransitGatewayClientVpnAttachment(crossinline block: RejectTransitGatewayClientVpnAttachmentRequest.Builder.() -> Unit): RejectTransitGatewayClientVpnAttachmentResponse = rejectTransitGatewayClientVpnAttachment(RejectTransitGatewayClientVpnAttachmentRequest.Builder().apply(block).build())
       12937  +
12883  12938   
/**
12884  12939   
 * Rejects a request to associate cross-account subnets with a transit gateway multicast domain.
12885  12940   
 */
12886  12941   
public suspend inline fun Ec2Client.rejectTransitGatewayMulticastDomainAssociations(crossinline block: RejectTransitGatewayMulticastDomainAssociationsRequest.Builder.() -> Unit): RejectTransitGatewayMulticastDomainAssociationsResponse = rejectTransitGatewayMulticastDomainAssociations(RejectTransitGatewayMulticastDomainAssociationsRequest.Builder().apply(block).build())
12887  12942   
12888  12943   
/**
12889  12944   
 * Rejects a transit gateway peering attachment request.
12890  12945   
 */
12891  12946   
public suspend inline fun Ec2Client.rejectTransitGatewayPeeringAttachment(crossinline block: RejectTransitGatewayPeeringAttachmentRequest.Builder.() -> Unit): RejectTransitGatewayPeeringAttachmentResponse = rejectTransitGatewayPeeringAttachment(RejectTransitGatewayPeeringAttachmentRequest.Builder().apply(block).build())
12892  12947   
@@ -13340,13395 +13399,13459 @@
13360  13415   
/**
13361  13416   
 * Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance mode after the cooling-off period has expired.
13362  13417   
 */
13363  13418   
public suspend inline fun Ec2Client.unlockSnapshot(crossinline block: UnlockSnapshotRequest.Builder.() -> Unit): UnlockSnapshotResponse = unlockSnapshot(UnlockSnapshotRequest.Builder().apply(block).build())
13364  13419   
13365  13420   
/**
13366  13421   
 * Disables detailed monitoring for a running instance. For more information, see [Monitoring your instances and volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html) in the *Amazon EC2 User Guide*.
13367  13422   
 */
13368  13423   
public suspend inline fun Ec2Client.unmonitorInstances(crossinline block: UnmonitorInstancesRequest.Builder.() -> Unit): UnmonitorInstancesResponse = unmonitorInstances(UnmonitorInstancesRequest.Builder().apply(block).build())
13369  13424   
       13425  +
/**
       13426  +
 * Activates or deactivates tag keys for monitoring by EC2 Capacity Manager. Activated tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values.
       13427  +
 */
       13428  +
public suspend inline fun Ec2Client.updateCapacityManagerMonitoredTagKeys(crossinline block: UpdateCapacityManagerMonitoredTagKeysRequest.Builder.() -> Unit): UpdateCapacityManagerMonitoredTagKeysResponse = updateCapacityManagerMonitoredTagKeys(UpdateCapacityManagerMonitoredTagKeysRequest.Builder().apply(block).build())
       13429  +
13370  13430   
/**
13371  13431   
 * Updates the Organizations access setting for EC2 Capacity Manager. This controls whether Capacity Manager can aggregate data from all accounts in your Amazon Web Services Organization or only from the current account.
13372  13432   
 */
13373  13433   
public suspend inline fun Ec2Client.updateCapacityManagerOrganizationsAccess(crossinline block: UpdateCapacityManagerOrganizationsAccessRequest.Builder.() -> Unit): UpdateCapacityManagerOrganizationsAccessResponse = updateCapacityManagerOrganizationsAccess(UpdateCapacityManagerOrganizationsAccessRequest.Builder().apply(block).build())
13374  13434   
13375  13435   
/**
13376  13436   
 * Modifies the number of instances allocated to an interruptible reservation, allowing you to add more capacity or reclaim capacity to your source Capacity Reservation.
13377  13437   
 */
13378  13438   
public suspend inline fun Ec2Client.updateInterruptibleCapacityReservationAllocation(crossinline block: UpdateInterruptibleCapacityReservationAllocationRequest.Builder.() -> Unit): UpdateInterruptibleCapacityReservationAllocationResponse = updateInterruptibleCapacityReservationAllocation(UpdateInterruptibleCapacityReservationAllocationRequest.Builder().apply(block).build())
13379  13439   

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

@@ -27,27 +65,65 @@
   47     47   
            "nvidia" -> Nvidia
   48     48   
            "xilinx" -> Xilinx
   49     49   
            else -> SdkUnknown(value)
   50     50   
        }
   51     51   
   52     52   
        /**
   53     53   
         * Get a list of all possible variants
   54     54   
         */
   55     55   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.AcceleratorManufacturer> = values
   56     56   
   57         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.AcceleratorManufacturer> = listOf(
          57  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.AcceleratorManufacturer> by lazy { listOf(
   58     58   
            AmazonWebServices,
   59     59   
            Amd,
   60     60   
            Habana,
   61     61   
            Nvidia,
   62     62   
            Xilinx,
   63         -
        )
          63  +
        ) }
   64     64   
    }
   65     65   
}

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

@@ -111,111 +163,163 @@
  131    131   
            "v100" -> V100
  132    132   
            "vu9p" -> Vu9P
  133    133   
            else -> SdkUnknown(value)
  134    134   
        }
  135    135   
  136    136   
        /**
  137    137   
         * Get a list of all possible variants
  138    138   
         */
  139    139   
        public fun values(): kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.AcceleratorName> = values
  140    140   
  141         -
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.AcceleratorName> = listOf(
         141  +
        private val values: kotlin.collections.List<aws.sdk.kotlin.services.ec2.model.AcceleratorName> by lazy { listOf(
  142    142   
            A100,
  143    143   
            A10G,
  144    144   
            GaudiHl205,
  145    145   
            H100,
  146    146   
            Inferentia,
  147    147   
            Inferentia2,
  148    148   
            K520,
  149    149   
            K80,
  150    150   
            L4,
  151    151   
            L40S,
  152    152   
            M60,
  153    153   
            RadeonProV520,
  154    154   
            T4,
  155    155   
            T4G,
  156    156   
            Trainium,
  157    157   
            Trainium2,
  158    158   
            U30,
  159    159   
            V100,
  160    160   
            Vu9P,
  161         -
        )
         161  +
        ) }
  162    162   
    }
  163    163   
}

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

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

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

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