Skip to content

Commit 40c8a97

Browse files
chore: Updates version to 1.5.82
1 parent 16c0447 commit 40c8a97

File tree

10 files changed

+430
-56
lines changed

10 files changed

+430
-56
lines changed

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.81
1+
1.5.82

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.82
1+
1.5.83

Sources/Core/AWSSDKDynamic/Sources/AWSSDKDynamic/PackageVersion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
// Code is auto-generated. DO NOT EDIT!
99

10-
public let packageVersion = "1.5.81"
10+
public let packageVersion = "1.5.82"

Sources/Services/AWSBatch/Sources/AWSBatch/Models.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ extension BatchClientTypes {
397397
public var imageIdOverride: Swift.String?
398398
/// The Kubernetes version for the compute environment. If you don't specify a value, the latest version that Batch supports is used.
399399
public var imageKubernetesVersion: Swift.String?
400-
/// The image type to match with the instance type to select an AMI. The supported values are different for ECS and EKS resources. ECS If the imageIdOverride parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (ECS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used. Amazon Web Services will end support for Amazon ECS optimized AL2-optimized and AL2-accelerated AMIs. Starting in January 2026, Batch will change the default AMI for new Amazon ECS compute environments from Amazon Linux 2 to Amazon Linux 2023. We recommend migrating Batch Amazon ECS compute environments to Amazon Linux 2023 to maintain optimal performance and security. For more information on upgrading from AL2 to AL2023, see [How to migrate from ECS AL2 to ECS AL2023](https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html) in the Batch User Guide. ECS_AL2 [Amazon Linux 2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami): Default for all non-GPU instance families. ECS_AL2_NVIDIA [Amazon Linux 2 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami): Default for all GPU instance families (for example P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types. ECS_AL2023 [Amazon Linux 2023](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html): Batch supports Amazon Linux 2023. Amazon Linux 2023 does not support A1 instances. ECS_AL2023_NVIDIA [Amazon Linux 2023 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami): For all GPU instance families and can be used for all non Amazon Web Services Graviton-based instance types. ECS_AL2023_NVIDIA doesn't support p3 and g3 instance types. EKS If the imageIdOverride parameter isn't specified, then a recent [Amazon EKS-optimized Amazon Linux AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) (EKS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon EKS optimized AMI for that image type that Batch supports is used. Starting end of October 2025 Amazon EKS optimized Amazon Linux 2023 AMIs will be the default on Batch for EKS versions prior to 1.33. Starting from Kubernetes version 1.33, EKS optimized Amazon Linux 2023 AMIs will be the default when it becomes supported on Batch. Amazon Web Services will end support for Amazon EKS AL2-optimized and AL2-accelerated AMIs, starting 11/26/25. You can continue using Batch-provided Amazon EKS optimized Amazon Linux 2 AMIs on your Amazon EKS compute environments beyond the 11/26/25 end-of-support date, these compute environments will no longer receive any new software updates, security patches, or bug fixes from Amazon Web Services. For more information on upgrading from AL2 to AL2023, see [How to upgrade from EKS AL2 to EKS AL2023](https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html) in the Batch User Guide. EKS_AL2 [Amazon Linux 2](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): Default for all non-GPU instance families. EKS_AL2_NVIDIA [Amazon Linux 2 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): Default for all GPU instance families (for example, P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types. EKS_AL2023 [Amazon Linux 2023](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): Batch supports Amazon Linux 2023. Amazon Linux 2023 does not support A1 instances. EKS_AL2023_NVIDIA [Amazon Linux 2023 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): GPU instance families and can be used for all non Amazon Web Services Graviton-based instance types.
400+
/// The image type to match with the instance type to select an AMI. The supported values are different for ECS and EKS resources. ECS If the imageIdOverride parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (ECS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used. Amazon Web Services will end support for Amazon ECS optimized AL2-optimized and AL2-accelerated AMIs. Starting in January 2026, Batch will change the default AMI for new Amazon ECS compute environments from Amazon Linux 2 to Amazon Linux 2023. We recommend migrating Batch Amazon ECS compute environments to Amazon Linux 2023 to maintain optimal performance and security. For more information on upgrading from AL2 to AL2023, see [How to migrate from ECS AL2 to ECS AL2023](https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html) in the Batch User Guide. ECS_AL2 [Amazon Linux 2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami): Default for all non-GPU instance families. ECS_AL2_NVIDIA [Amazon Linux 2 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami): Default for all GPU instance families (for example P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types. ECS_AL2023 [Amazon Linux 2023](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html): Batch supports Amazon Linux 2023. Amazon Linux 2023 does not support A1 instances. ECS_AL2023_NVIDIA [Amazon Linux 2023 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami): For all GPU instance families and can be used for all non Amazon Web Services Graviton-based instance types. ECS_AL2023_NVIDIA doesn't support p3 and g3 instance types. EKS If the imageIdOverride parameter isn't specified, then a recent [Amazon EKS-optimized Amazon Linux 2023 AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) (EKS_AL2023) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon EKS optimized AMI for that image type that Batch supports is used. Amazon Linux 2023 AMIs are the default on Batch for Amazon EKS. Amazon Web Services will end support for Amazon EKS AL2-optimized and AL2-accelerated AMIs, starting 11/26/25. You can continue using Batch-provided Amazon EKS optimized Amazon Linux 2 AMIs on your Amazon EKS compute environments beyond the 11/26/25 end-of-support date, these compute environments will no longer receive any new software updates, security patches, or bug fixes from Amazon Web Services. For more information on upgrading from AL2 to AL2023, see [How to upgrade from EKS AL2 to EKS AL2023](https://docs.aws.amazon.com/batch/latest/userguide/eks-migration-2023.html) in the Batch User Guide. EKS_AL2 [Amazon Linux 2](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): Used for non-GPU instance families. EKS_AL2_NVIDIA [Amazon Linux 2 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): Used for GPU instance families (for example, P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types. EKS_AL2023 [Amazon Linux 2023](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): Default for non-GPU instance families. Amazon Linux 2023 does not support A1 instances. EKS_AL2023_NVIDIA [Amazon Linux 2023 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html): Default for GPU instance families and can be used for all non Amazon Web Services Graviton-based instance types.
401401
/// This member is required.
402402
public var imageType: Swift.String?
403403

@@ -572,7 +572,7 @@ extension BatchClientTypes {
572572
///
573573
/// * default_x86_64 to choose x86 based instance types (from the m6i, c6i, r6i, and c7i instance families) that matches the resource demands of the job queue.
574574
///
575-
/// * default_arm64 to choose x86 based instance types (from the m6g, c6g, r6g, and c7g instance families) that matches the resource demands of the job queue.
575+
/// * default_arm64 to choose ARM based instance types (from the m6g, c6g, r6g, and c7g instance families) that matches the resource demands of the job queue.
576576
///
577577
///
578578
/// Starting on 11/01/2025 the behavior of optimal is going to be changed to match default_x86_64. During the change your instance families could be updated to a newer generation. You do not need to perform any actions for the upgrade to happen. For more information about change, see [Optimal instance type configuration to receive automatic instance family updates](https://docs.aws.amazon.com/batch/latest/userguide/optimal-default-instance-troubleshooting.html). Instance family availability varies by Amazon Web Services Region. For example, some Amazon Web Services Regions may not have any fourth generation instance families but have fifth and sixth generation instance families. When using default_x86_64 or default_arm64 instance bundles, Batch selects instance families based on a balance of cost-effectiveness and performance. While newer generation instances often provide better price-performance, Batch may choose an earlier generation instance family if it provides the optimal combination of availability, cost, and performance for your workload. For example, in an Amazon Web Services Region where both c6i and c7i instances are available, Batch might select c6i instances if they offer better cost-effectiveness for your specific job requirements. For more information on Batch instance types and Amazon Web Services Region availability, see [Instance type compute table](https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html) in the Batch User Guide. Batch periodically updates your instances in default bundles to newer, more cost-effective options. Updates happen automatically without requiring any action from you. Your workloads continue running during updates with no interruption This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment.

Sources/Services/AWSBedrockDataAutomation/Sources/AWSBedrockDataAutomation/Models.swift

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,116 @@ extension BedrockDataAutomationClientTypes {
822822
}
823823
}
824824

825+
extension BedrockDataAutomationClientTypes {
826+
827+
/// Configuration for Audio output language
828+
public enum AudioGenerativeOutputLanguage: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
829+
case `default`
830+
case en
831+
case sdkUnknown(Swift.String)
832+
833+
public static var allCases: [AudioGenerativeOutputLanguage] {
834+
return [
835+
.default,
836+
.en
837+
]
838+
}
839+
840+
public init?(rawValue: Swift.String) {
841+
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
842+
self = value ?? Self.sdkUnknown(rawValue)
843+
}
844+
845+
public var rawValue: Swift.String {
846+
switch self {
847+
case .default: return "DEFAULT"
848+
case .en: return "EN"
849+
case let .sdkUnknown(s): return s
850+
}
851+
}
852+
}
853+
}
854+
855+
extension BedrockDataAutomationClientTypes {
856+
857+
/// Supported input languages
858+
public enum Language: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
859+
case cn
860+
case de
861+
case en
862+
case es
863+
case fr
864+
case hk
865+
case it
866+
case ja
867+
case ko
868+
case pt
869+
case tw
870+
case sdkUnknown(Swift.String)
871+
872+
public static var allCases: [Language] {
873+
return [
874+
.cn,
875+
.de,
876+
.en,
877+
.es,
878+
.fr,
879+
.hk,
880+
.it,
881+
.ja,
882+
.ko,
883+
.pt,
884+
.tw
885+
]
886+
}
887+
888+
public init?(rawValue: Swift.String) {
889+
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
890+
self = value ?? Self.sdkUnknown(rawValue)
891+
}
892+
893+
public var rawValue: Swift.String {
894+
switch self {
895+
case .cn: return "CN"
896+
case .de: return "DE"
897+
case .en: return "EN"
898+
case .es: return "ES"
899+
case .fr: return "FR"
900+
case .hk: return "HK"
901+
case .it: return "IT"
902+
case .ja: return "JA"
903+
case .ko: return "KO"
904+
case .pt: return "PT"
905+
case .tw: return "TW"
906+
case let .sdkUnknown(s): return s
907+
}
908+
}
909+
}
910+
}
911+
912+
extension BedrockDataAutomationClientTypes {
913+
914+
/// Optional configuration for audio language settings
915+
public struct AudioLanguageConfiguration: Swift.Sendable {
916+
/// Configuration for Audio output language
917+
public var generativeOutputLanguage: BedrockDataAutomationClientTypes.AudioGenerativeOutputLanguage?
918+
/// Enable multiple language identification in audio
919+
public var identifyMultipleLanguages: Swift.Bool?
920+
/// List of supported audio languages
921+
public var inputLanguages: [BedrockDataAutomationClientTypes.Language]?
922+
923+
public init(
924+
generativeOutputLanguage: BedrockDataAutomationClientTypes.AudioGenerativeOutputLanguage? = nil,
925+
identifyMultipleLanguages: Swift.Bool? = nil,
926+
inputLanguages: [BedrockDataAutomationClientTypes.Language]? = nil
927+
) {
928+
self.generativeOutputLanguage = generativeOutputLanguage
929+
self.identifyMultipleLanguages = identifyMultipleLanguages
930+
self.inputLanguages = inputLanguages
931+
}
932+
}
933+
}
934+
825935
extension BedrockDataAutomationClientTypes {
826936

827937
/// State
@@ -871,12 +981,16 @@ extension BedrockDataAutomationClientTypes {
871981

872982
/// Override Configuration of Audio
873983
public struct AudioOverrideConfiguration: Swift.Sendable {
984+
/// Optional configuration for audio language settings
985+
public var languageConfiguration: BedrockDataAutomationClientTypes.AudioLanguageConfiguration?
874986
/// Configuration to enable/disable processing of modality
875987
public var modalityProcessing: BedrockDataAutomationClientTypes.ModalityProcessingConfiguration?
876988

877989
public init(
990+
languageConfiguration: BedrockDataAutomationClientTypes.AudioLanguageConfiguration? = nil,
878991
modalityProcessing: BedrockDataAutomationClientTypes.ModalityProcessingConfiguration? = nil
879992
) {
993+
self.languageConfiguration = languageConfiguration
880994
self.modalityProcessing = modalityProcessing
881995
}
882996
}
@@ -3172,13 +3286,34 @@ extension BedrockDataAutomationClientTypes.AudioOverrideConfiguration {
31723286

31733287
static func write(value: BedrockDataAutomationClientTypes.AudioOverrideConfiguration?, to writer: SmithyJSON.Writer) throws {
31743288
guard let value else { return }
3289+
try writer["languageConfiguration"].write(value.languageConfiguration, with: BedrockDataAutomationClientTypes.AudioLanguageConfiguration.write(value:to:))
31753290
try writer["modalityProcessing"].write(value.modalityProcessing, with: BedrockDataAutomationClientTypes.ModalityProcessingConfiguration.write(value:to:))
31763291
}
31773292

31783293
static func read(from reader: SmithyJSON.Reader) throws -> BedrockDataAutomationClientTypes.AudioOverrideConfiguration {
31793294
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
31803295
var value = BedrockDataAutomationClientTypes.AudioOverrideConfiguration()
31813296
value.modalityProcessing = try reader["modalityProcessing"].readIfPresent(with: BedrockDataAutomationClientTypes.ModalityProcessingConfiguration.read(from:))
3297+
value.languageConfiguration = try reader["languageConfiguration"].readIfPresent(with: BedrockDataAutomationClientTypes.AudioLanguageConfiguration.read(from:))
3298+
return value
3299+
}
3300+
}
3301+
3302+
extension BedrockDataAutomationClientTypes.AudioLanguageConfiguration {
3303+
3304+
static func write(value: BedrockDataAutomationClientTypes.AudioLanguageConfiguration?, to writer: SmithyJSON.Writer) throws {
3305+
guard let value else { return }
3306+
try writer["generativeOutputLanguage"].write(value.generativeOutputLanguage)
3307+
try writer["identifyMultipleLanguages"].write(value.identifyMultipleLanguages)
3308+
try writer["inputLanguages"].writeList(value.inputLanguages, memberWritingClosure: SmithyReadWrite.WritingClosureBox<BedrockDataAutomationClientTypes.Language>().write(value:to:), memberNodeInfo: "member", isFlattened: false)
3309+
}
3310+
3311+
static func read(from reader: SmithyJSON.Reader) throws -> BedrockDataAutomationClientTypes.AudioLanguageConfiguration {
3312+
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
3313+
var value = BedrockDataAutomationClientTypes.AudioLanguageConfiguration()
3314+
value.inputLanguages = try reader["inputLanguages"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox<BedrockDataAutomationClientTypes.Language>().read(from:), memberNodeInfo: "member", isFlattened: false)
3315+
value.generativeOutputLanguage = try reader["generativeOutputLanguage"].readIfPresent()
3316+
value.identifyMultipleLanguages = try reader["identifyMultipleLanguages"].readIfPresent()
31823317
return value
31833318
}
31843319
}

0 commit comments

Comments
 (0)